Hello, Am a newbie to SOLR. I am trying to learn it now. i have downloaded apache-solr 1.2.0.zip file. I have tried the examples in the exampledocs of solr 1.2. The xml file examples are working fine. Able to index them also. But i could not get the result for csv file i.e book.csv. I am getting the error * org.apache.solr.core.SolrException: missing content stream at org.apache.solr.handler.CSVRequestHandler.handleRequestBody(CSVRequesthandler.java:50) * ............................................. ....................................... and getting the the contents of the csv file on the console (where i run solr start.jar file(Am using Windows XP/DOS prompt))
What i have done is, Changed the following in solrconfig.xml, <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" /> <requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy" /> Used the following to send CSV data to solr, c:/solr1.2/example/exampledocs>*curl http://localhost:8983/solr/update/csv--data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8' *Please give me a quick reply as am planning to use solr in my present project. Thanks in Advance, Ricky