You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vladimir Sutskever <Vl...@jpmorgan.com> on 2010/08/03 16:18:19 UTC

Importing CSV with post.jar


Instructions on importing csv file with post.jar, to a custom URL:

Had some problems finding this information - on forums - so decided to post this.


STEP #1: Import file

java -Durl=http://localhost:8983/solr/clients_ib/update/csv -Dcommit=no -jar post.jar data.csv


STEP #2: Commit

java -Dcommit=yes -Durl=http://localhost:8983/solr/clients_ib/update -jar post.jar





Kind regards,

Vladimir Sutskever
Investment Bank - Technology
JPMorgan Chase, Inc.



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.