Re: convert text file to solr document where delimiter fields are fields of document

2013-08-21 Thread Jack Krupansky
Yes, post.jar supports csv files. -- Jack Krupansky -Original Message- From: bharat Sent: Wednesday, August 21, 2013 1:57 AM To: solr-user@lucene.apache.org Subject: Re: convert text file to solr document where delimiter fields are fields of document Thanks all of you for quick

Re: convert text file to solr document where delimiter fields are fields of document

2013-08-20 Thread bharat
Thanks all of you for quick reply. Your guidance helps me lot. I am new to Solr so may be it is basic questions : 1) Is there any way we can import csv file using post.jar? (As I am windows user) 2) I declared DataImportHandlers, I use Solr Admin (default solr UI) to import the data for DIH, so h

Re: convert text file to solr document where delimiter fields are fields of document

2013-08-20 Thread Aloke Ghoshal
Hi, Since your data is well delimited, I'd suggest using CSV Updater, with the delimiter/ separator set to: *'~*' See: http://wiki.apache.org/solr/UpdateCSV#separator Looks like you might also have to additionally split based on your second delimiter: *';'* See: http://wiki.apache.org/solr/Update

Re: convert text file to solr document where delimiter fields are fields of document

2013-08-20 Thread Jack Krupansky
You can directly update Solr using a "CSV" file and specify an alternate separator character: http://wiki.apache.org/solr/UpdateCSV#separator -- Jack Krupansky -Original Message- From: bharat Sent: Tuesday, August 20, 2013 5:01 AM To: solr-user@lucene.apache.org Subject: convert text

Re: convert text file to solr document where delimiter fields are fields of document

2013-08-20 Thread tamanjit.bin...@yahoo.co.in
Hi, Try this: http://wiki.apache.org/solr/DataImportHandler#FileDataSource and http://wiki.apache.org/solr/DataImportHandler#httpds -- View this message in context: http://l