You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Surendra <cs...@gmail.com> on 2011/07/06 08:30:07 UTC

Re: upgrading to Tika 0.9 on Solr 1.4.1

I have upgraded my Solr Distribution to 3.2 and also the referring jars of my
application (especially the solr jar was 1.4.1 in my application which calls
solr...hence causing javabin exception...) . Also updated the
pdfbox/jempbox/fontbox to latest versions and Tika to 0.9 version...which made
things up for me!

-- Surendranadh



Re: upgrading to Tika 0.9 on Solr 1.4.1

Posted by bing <JS...@hotmail.com>.
Hi, all, 

I tried to upgrade tika0.8 to tika0.10 on solr3.3.0, following the similar
steps, but failed. 

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 

Anyone tried similar things before. Pls advice. Thank you. 

Best Regards, 
Bing 
    

--
View this message in context: http://lucene.472066.n3.nabble.com/upgrading-to-Tika-0-9-on-Solr-1-4-1-tp2570526p3772177.html
Sent from the Solr - User mailing list archive at Nabble.com.