> 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://localhost:8983/solr/core0/update/csv -jar > post.jar > test.csv" > Error: SimplePostTool: FATAL: Solr returned an error > #404 Not Found > > 2b) Tried to send CSV data to core0 using "java -Durl= > http://localhost:8983/solr/core0/update > -jar post.jar test.csv" > Error: SimplePostTool: FATAL: Solr returned an error > #400 Unexpected > character 'S' (code 83) in prolog; expected > '<' at [row,col > {unknown-source}]: [1,1] > > I could feed in the xml files to core0 without any issues. > > Am I missing something here?
post.jar is used to post xml files. You can use curl to feed csv. http://wiki.apache.org/solr/UpdateCSV