On 28 January 2013 15:30, Neha Jatav <neha.ja...@gmail.com> wrote: [...] > I am not able to files to SOLR using post.jar. I am getting the following > message. I get 0 results upon querying:- > > > > C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=<solr-url>/update > -jar post.jar *.xml [...]
Please read and follow the instructions in example/README.txt under the top-level of a Solr distribution for how to index documents using post.jar. Here, <solr-url> is a path like http://localhost:8983/solr/ (assuming you are using the built-in Jetty container) and not a literal value, and you should not actually need -Durl=... Regards, Gora