Starting Solr with the command line

java -Dsolr.solr.home=example-DIH/solr -jar start.jar


and then trying to import some data with

java -Durl=http://localhost:8983/solr/tika/update -Dtype=application/pdf -jar post.jar *.pdf

fails with error

SimplePostTool: WARNING: Solr returned an error #400 Bad Request
SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8983/solr/tika/update

These are all valid PDFs that I have previously been able to import with Solr Cell.

What am I doing wrong?

Dr Peter J Bleackley
Computational Linguistics Contractor
Playful Technology Ltd


Reply via email to