Re: Using post.jr for indexing in Solr 5.4.0

2016-01-01 Thread Zheng Lin Edwin Yeo
Yes, I'm trying to clean up the text before indexing, but I have not tried on UpdateRequestProcessor. I have been modifying the SolrContentHandler to do that. Regards, Edwin On 1 January 2016 at 16:32, Alexandre Rafalovitch wrote: > Wait? You are trying to clean up text just before indexing? Ha

Re: Using post.jr for indexing in Solr 5.4.0

2016-01-01 Thread Alexandre Rafalovitch
Wait? You are trying to clean up text just before indexing? Have you tried an UpdateRequestProcessor to do that? Regards, Alex On 1 Jan 2016 1:14 am, "Zheng Lin Edwin Yeo" wrote: > Yes, I tried using the latest post.jar, and I got the same error. > > I have shortlisted the problem down to th

Re: Using post.jr for indexing in Solr 5.4.0

2015-12-31 Thread Zheng Lin Edwin Yeo
Hi, This is the latest error that I got even after I update all the class and dependency jars to the latest version. SimplePostTool: WARNING: Response: 5000 java.lang.NullPointerException at org.apache.tika.parser.AutoDetectParser.(AutoDetectParser .java:77) at org.apache.

Re: Using post.jr for indexing in Solr 5.4.0

2015-12-31 Thread Zheng Lin Edwin Yeo
Yes, I tried using the latest post.jar, and I got the same error. I have shortlisted the problem down to the org.apache.solr.handler.extraction.ExtractingDocumentLoader, as I have modified my SolrContentHandler to remove things like \n, \t and \r from being indexed. for this, I have repackaged all

Re: Using post.jr for indexing in Solr 5.4.0

2015-12-31 Thread Erik Hatcher
Looks like you don't have Solr "Cell" lib's pointed to properly in your solrconfig. Try /update/extract directly taking post.jar out if the equation to troubleshoot. What's your exact command line? Erik > On Dec 31, 2015, at 00:42, Zheng Lin Edwin Yeo wrote: > > Hi, > > Would like t

Re: Using post.jr for indexing in Solr 5.4.0

2015-12-30 Thread davidphilip cherian
Did you try using the latest post jar (shipped with 5.4 version) to index same docs? What happened? Did you get the same error or no? On Thu, Dec 31, 2015 at 11:12 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > Would like to find out, is there any changes to the post.jar for Solr 5.4? > I tried to u

Using post.jr for indexing in Solr 5.4.0

2015-12-30 Thread Zheng Lin Edwin Yeo
Hi, Would like to find out, is there any changes to the post.jar for Solr 5.4? I tried to use the post.jar from Solr 5.3.0, and it gives me the following error during indexing: java.lang.NoSuchMethodError: org.apache.solr.h andler.extraction.ExtractingDocumentLoader.(Lorg/apache/solr/reques