I post a *.doc file to the solr server, but I always get the error:
org.apache.solr.common.SolrException: parsing error
at
org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:43)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.
My solr server is running, and following is my client code:
File file = new File("1.pdf");
String urlString = constant.getUrl();
StreamingUpdateSolrServer solr = new
StreamingUpdateSolrServer(
I use the solrJ to index a pdf file.
File file = new File("1.pdf");
String urlString = constant.getUrl();
StreamingUpdateSolrServer solr = new
StreamingUpdateSolrServer(
urlString, 1, 1);