org.apache.solr.common.SolrException: Internal Server Error

2012-03-22 Thread qingwei201314
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(

org.apache.solr.common.SolrException: parsing error

2012-03-22 Thread qingwei201314
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.common.SolrException: Internal Server Error

2012-03-20 Thread qingwei201314
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);