Hi, all, 

I tried to upgrade tika0.8 to tika0.10 on solr3.3.0,  but failed. Following
are some technical details. 
Anyone tried similar things before? Pls advice. Thank you. 


1. Replace the following jars in /contrib/extraction/ 
fontbox-1.6.0, jempbox-1.6.0, pdfbox-1.6.0, tika-core-0.10,
tika-parsers-0.10;

2. Copy all the jars in /contrib/langid/* from solr3.5.0 

3. Copy /dist/apache-solr-langid-3.5.0 from solr3.5.0

4. Configure solrconfig.xml in solr3.3.0, adding the following lib and
definition of updateRequestProcessorChain.

  <lib dir="../../contrib/langid/lib" />
  <lib dir="../../dist/" regex="apache-solr-langid-\d.*\.jar" />

  <updateRequestProcessorChain name="langid">
      
           <processor
class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
 
         <str name="langid.fl">text,title,author</str>
         <str name="langid.langField">language_s</str>
         <str name="langid.fallback">en</str>
       </processor>
       <processor class="solr.LogUpdateProcessorFactory" />
       <processor class="solr.RunUpdateProcessorFactory" />
     </updateRequestProcessorChain>


Errors:  (typical errors when factory is not found)

org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory'
at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
at 



Best Regards, 
Bing 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Failed-to-upgrade-tika0-8-to-tika0-10-in-solr3-3-0-tp3772180p3772180.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to