Using post.jar to index a CSV file isn't exactly straightforward.
But can be done like this:
java -Durl=http://localhost:8983/solr/update/csv -Dcommit=no -jar
post.jar books.csv
followed by:
java -Dcommit=yes -jar post.jar
You have to be sure to specify the URL that maps to the CSV
Good eavening,
I tryed to indexing the Test csv..
i use this: java -Durl=http://localhost:8983/solr/core0/update -jar post.jar
books.csv
But i become an error.
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
other encodings are not currently supported
SimplePostTool:
Thanks, it works realy fine..
Maby you have an Ideo, to search in Core0 and Core1
I want to search in all cores, or only in 2 of 3 cores.
try this
java -Durl=http://localhost:8983/solr/core0/update -jar post.jar *.xml
On Wed, Nov 25, 2009 at 3:23 PM, Jörg Agatz wrote:
> Hallo, at the moment i tryed to create a Solr instance wite more then one
> Cores
>
> I use solr 1.4 and multicore Runs :-)
> But i dont know how i post a XML in o
Hallo, at the moment i tryed to create a Solr instance wite more then one
Cores
I use solr 1.4 and multicore Runs :-)
But i dont know how i post a XML in one of my cores. At the Moment i use
"java -jar post.jar *.xml"
now i will fill the core0 index with core0*.xml , and core1 with core1*.xml
Bu