Hi,
I make tests my first tests with solr.
My problem ist I have 2 xml files
1)
<add>
<doc>
<field name="id">TWINX2048-3200PRO</field>
<field name="name">CORSAIR XMS 2GB (2 x 1GB) 184-Pin DDR SDRAM Unbuffered
DDR 400 (PC 3200) Dual Channel Kit System Memory - Retail</field>
<field name="manu">Corsair Microsystems Inc.</field>
<field name="cat">electronics</field>
<field name="cat">memory</field>
<field name="features">CAS latency 2, 2-3-3-6 timing, 2.75v, unbuffered,
heat-spreader</field>
<field name="price">185</field>
<field name="popularity">5</field>
<field name="inStock">true</field>
</doc>
(this ist the XML from the Samples)
2)
<?xml version="1.0" encoding="utf-8"?>
<add>
<doc>
<field name="guid">85f4fdf9-e596-4974-a5b9-57778e38067b</field>
<field name="dokumenteid">143885</field>
<field name="erstelldatum">28.10.2005 13:06:15</field>
<field name="beschreibung">Rechnung 2005-025235</field>
<field name="ordner">Rechnungsduplikate</field>
<field name="register">2002</field>
<field name="pfad">0000330T.doc</field>
<field name="anwendung">KIS</field>
<field name="Benutzer">Bonow</field>
<field name="mandantenid">25906</field>
<field name="mandant">Hofma GmbH</field>
<field name="verzeichnis">Mandant</field>
</doc>
</add>
(the second have I create)
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
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