Re: indexing .docx using solrj

2013-12-22 Thread Andrea Gazzarini
The error you were getting is a LinkageError so, simplifying, a class that was available at compile time is not there at runtime (again, very simplicistic definition because in this way this could be similar to a ClassNotFoundException...and isn't). Probably the class (and the jar) is there somewh

Re: indexing .docx using solrj

2013-12-21 Thread Ahmet Arslan
It looks like class path jars are mixed. Make clean fresh installation from scratch is recommended.  On Saturday, December 21, 2013 11:52 PM, sweety wrote: yes,i copied all jars from contrib/extraction to solr/lib. It is not getting the poi jar now, as mentioned in above post of mine, new err

Re: indexing .docx using solrj

2013-12-21 Thread sweety
yes,i copied all jars from contrib/extraction to solr/lib. It is not getting the poi jar now, as mentioned in above post of mine, new error it shows now. -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-docx-using-solrj-tp4107737p4107758.html Sent from the Solr - Use

Re: indexing .docx using solrj

2013-12-21 Thread Ahmet Arslan
Hi, Did you add jar files under contrib/extraction/lib too? Since you are already using solrJ consider using  http://searchhub.org/2012/02/14/indexing-with-solrj/ On Saturday, December 21, 2013 11:29 PM, sweety wrote: solr: 4.2 tomcat: 7.0 jdk1.7.0.45 i have created solr home in c:\solr as

Re: indexing .docx using solrj

2013-12-21 Thread sweety
It is working now,i just restarted computer. But i dont still get the reason for the error. Thank you though,for your efforts. -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-docx-using-solrj-tp4107737p4107755.html Sent from the Solr - User mailing list archive at N

Re: indexing .docx using solrj

2013-12-21 Thread sweety
solr: 4.2 tomcat: 7.0 jdk1.7.0.45 i have created solr home in c:\solr as in java options: -Dsolr.solr.home=C:\solr c:solr/lib contains: tika jars, actually i pasted all the jars from the solr 4.2 dist,contrib folders in c:solr/lib tomcat/lib contains: all the jars when installed. -- View t

Re: indexing .docx using solrj

2013-12-21 Thread Andrea Gazzarini
Ok, then please tell us a bit more about your context: - versions (solr / java / tomcat) - where are tika libs? In solr.home lib or in tomcat lib? On 21 Dec 2013 21:15, "sweety" wrote: > I have added that jar,in the build path. > but the same error,i get. > Why is eclipse not recognising that ja

Re: indexing .docx using solrj

2013-12-21 Thread sweety
Jar is already there in the lib folder of solr home. -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-docx-using-solrj-tp4107737p4107748.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: indexing .docx using solrj

2013-12-21 Thread Andrea Gazzarini
That is not a jar for your (eclipse) compiler but for tomcat. You should have that jar available in tomcat or (better) in lib folder of your solr.home Eclipse doesn't need to rcognise that On 21 Dec 2013 21:15, "sweety" wrote: > I have added that jar,in the build path. > but the same error,i get

Re: indexing .docx using solrj

2013-12-21 Thread sweety
I have added that jar,in the build path. but the same error,i get. Why is eclipse not recognising that jar?? Logs also show this, Caused by: java.lang.NoClassDefFoundError: org/apache/xml/serialize/BaseMarkupSerializer at org.apache.solr.handler.extraction.ExtractingRequestHandler.newLoad

Re: indexing .docx using solrj

2013-12-21 Thread Andrea Gazzarini
That class seems to be in xercesImpl jar...probably is a dependency of tika or a required lib of the underlying parser used for that kind of document Andrea On 21 Dec 2013 20:07, "sweety" wrote: > i am trying to index .docx file using solrj, i referred this link: > http://wiki.apache.org/solr/Co