Thanks Stefan.
/update/csv handler was not defined in my solrconfig.xml. After defining it
in the solconfig I could get the CSV files indexed using following two
commands:
> java -Dcommit=no -Durl=http://localhost:8983/solr/core0/update/csv -jar
post.jar books.csv
> java -Dcommit=yes -Durl=http:/
Sandeep,
did you check that this handler is defined in your solrconfig?
Otherwise it will not work, and you'll get an HTTP 404
Regards
Stefan
Am 02.07.2011 17:15, schrieb sandeep:
post.jar is used to post xml files. You can use curl to feed csv.
http://wiki.apache.org/solr/UpdateCSV
I tried
> post.jar is used to post xml files. You can use curl to feed csv.
> http://wiki.apache.org/solr/UpdateCSV
I tried using curl as well to post the CSV data using following command.
curl http://localhost:8983/solr/core0/update/csv --data-binary @books.csv -H
'Content-type:text/plain;charset=utf-
> I am trying to index CSV data in
> multicore setup using post.jar.
>
> Here is what I have tried so far:
> 1) Started the server using "java
> -Dsolr.solr.home=multicore -jar
> start.jar"
>
> 2a) Tried to post to "localhost:8983/solr/core0/update/csv"
> using "java
> -Dcommit=no -Durl=http://lo