Hi..
I have installes solr on my PC and I am trying to index files using (either of) following commands:
1. java -Durl=
http://10.1.11.143:8080/solr/#/ -jar post.jar solr.xml monitor.xml
2. java -Durl=
http://10.1.11.143:8080/solr/update?commit=true -jar post.jar solr.xml monitor.xml
But both times I am getting following errors:
SimplePostTool version 1.5
Posting files to base url
http://10.1.11.143:8080/solr/#/ using content-type application/xml..
POSTing file solr.xml
SimplePostTool: WARNING: Solr returned an error #500 Internal Server Error
SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 500 for URL:
http://10.1.11.143:8080/solr/#/POSTing file monitor.xml
SimplePostTool: WARNING: Solr returned an error #500 Internal Server Error
SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 500 for URL:
http://10.1.11.143:8080/solr/#/2 files indexed.
COMMITting Solr index changes to
http://10.1.11.143:8080/solr/#/..
SimplePostTool: WARNING: Solr returned an error #500 Internal Server Error for url
http://10.1.11.143:8080/solr/#/?commit=trueTime spent: 0:00:00.018
Can somebody tell me what should I do to overcome this error?