RE: Data Import Handler for CSV file

2014-10-10 Thread Dyer, James
ache.org; Ahmet Arslan Subject: Re: Data Import Handler for CSV file Hi Ahmet, Thank you for this replay. Agree with you that csv update handler is fast but we need always to specify columns in the http request. In addition, I don't find documentation how to use csv update from solrj. Could y

Re: Data Import Handler for CSV file

2014-10-09 Thread Ahmet Arslan
Hi, I think you can define field names in the first line of csv. Why don't you use curl to index csv? I don't have full working example with DIH but I have following example that indexed every line as a separate solr scoument. You need to add a transformer that splits each line according to co

Re: Data Import Handler for CSV file

2014-10-09 Thread Alexandre Rafalovitch
You could always define the parameters in the solrconfig.XML on a custom handler. Don't have to pass the same values over and over again. Regards, Alex On 09/10/2014 5:26 pm, "nabil Kouici" wrote: > Hi Ahmet, > > Thank you for this replay. Agree with you that csv update handler is fast > bu

Re: Data Import Handler for CSV file

2014-10-09 Thread nabil Kouici
Hi Ahmet, Thank you for this replay. Agree with you that csv update handler is fast but we need always to specify columns in the http request. In addition, I don't find documentation how to use csv update from solrj. Could you please send me an example of DIH to load CSV file? Regards, Nabil.

Re: Data Import Handler for CSV file

2014-10-09 Thread Ahmet Arslan
Hi Nabil, whats wrong with csv update handler? It is quite fast. By the way DIH has line entity processor, yes it is doable with existing DIH components. Ahmet On Thursday, October 9, 2014 9:58 PM, nabil Kouici wrote: Hi All, Is it possible to have in solr a DIH to load from CSV file.