tags:

views:

74

answers:

1

I am using solar application in multicore mode, and I am unable to post data(xml),when i am trying to post a data by command line(cmd windows) to solr then i get an error...

-> missing solr core name in path

so please give me detailed answer

+1  A: 

Make sure that the core name is in the path:

http://host:8983/solr/CORE/update

When using the post.jar in a multicore setup, you have to override the default url parameter with a url that contains the CORE name: java -Durl=http://... -jar post.jar

You can type java -jar post.jar -help to get the list of parameters that can be overridden.

Pascal Dimassimo
ya it is in path, but when i gv it a post command like -> java -jar post.jar abc.xml it give an error -> missing solr core name in path so plz tell me exact command to post a new file for a specific core
manish
see my update above
Pascal Dimassimo