I am trying to index the PDF file in the solr using the following tutorial http://wiki.apache.org/solr/ExtractingRequestHandler But everytime i am firing the command
java -jar post.jar *.pdf
it says some org.apache.solr.common.SolrException: Invalid UTF-8 middle byte 0xe3 Error Kindly help me in indexing the PDF to solr server.Is there any other integration then tika which can help me.
There is obviously some encoding issue here.
I remember doing something like this a few months ago, and it is fairly easy if you can write your own piece of Java code. These are mostly simple to write, and they work like a charm!
来源:https://stackoverflow.com/questions/18767945/contentextraction-of-pdf-file-in-solr-using-apache-tika