Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As far as I can tell, the /update/extract
handler which we recently added to solrconfig.xml
needs the solr-cell-*.jar
archive, which we currently don't load.
So, unless I'm mistaken, if we want the extraction handler, we should also include the Solr Cell library.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2564955-3--include_solr_cell.patch | 5.26 KB | drunken monkey |
Comments
Comment #2
Nick_vhI'm not against including it in the main config files. Better defaults for everyone and less fuzz when wanting to make text extraction work.
Comment #3
drunken monkeyOK, good. The attached patch should do this. (Tested only with Solr 5, but the changes are the same for 3 and 4.)
This patch necessarily also includes #2564953: Fix commented-out dist/ .jar file paths, since it changes exactly the same lines.
Comment #4
Nick_vhDid you test that extraction is working correctly on all versions? I checked and all versions already include /extraction/lib so that's a good sign. When talking about testing, might be good if we somehow add a testing framework to this schema. Something that can test the functionality in travis with direct queries to solr for each version?
Comment #5
drunken monkeyI tested only with Solr 5, sorry. Travis integration would of course help a lot here, you're right.
Comment #6
protools CreditAttribution: protools commentedsame Issue for Apache Solr Search
Comment #7
protools CreditAttribution: protools commentedby defaults in solr 5
Comment #8
protools CreditAttribution: protools commentedand relate to https://issues.apache.org/jira/browse/SOLR-6688
section
must be commented
Comment #9
protools CreditAttribution: protools commentedwere is dir contrib and
dist
should be created ? in /var/solr/data/drupal ?ore if this is defaults dir in /opt/solr , then config must look like i wrote in post #7