On 2/21/2021 3:07 PM, cratervoid wrote:
Thanks Shawn, I copied the solrconfig.xml file from the gettingstarted
example on 7.7.3 installation to the 8.8.0 installation, restarted the
server and it now works. Comparing the two files it looks like as you said
this section was left out of the _default/solrconfig.xml file in version
8.8.0:

<requestHandler name="/update/extract"
                   startup="lazy"
                   class="solr.extraction.ExtractingRequestHandler" >
     <lst name="defaults">
       <str name="lowernames">true</str>
       <str name="fmap.meta">ignored_</str>
       <str name="fmap.content">_text_</str>
     </lst>
   </requestHandler>

So those trying out the tutorial will need to add this section to get it to
work for sample.html.


This line from that config also is involved:

<lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />

That loads the contrib jars needed for the ExtractingRequestHandler to work right. There are a LOT of jars there. Tika is a very heavyweight piece of software.

Thanks,
Shawn

Reply via email to