On Jun 11, 2008, at 3:46 AM, Thomas Lauer wrote:
now I want tho add die files to solr. I have start solr on windows
in the example directory with java -jar start.jar
I have the following Error Message:
C:\test\output>java -jar post.jar *.xml
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in
UTF-8, other encodings are not currently supported
This is your issue right here. You have to save that second file in
UTF-8.
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file 1.xml
SimplePostTool: POSTing file 2.xml
SimplePostTool: FATAL: Connection error (is Solr running at http://localhost:8983/solr/update
?): java.io.IOException: S
erver returned HTTP response code: 400 for URL:
http://localhost:8983/solr/update
C:\test\output>
Regards Thomas Lauer
__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-
Version 3175 (20080611) __________
E-Mail wurde geprüft mit ESET NOD32 Antivirus.
http://www.eset.com
--------------------------
Grant Ingersoll
http://www.lucidimagination.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ