Hi Henrique,

Solr supports posting a csv with multiple rows. Have a look at the
documentation in the ref. guide here:
https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers#UploadingDatawithIndexHandlers-CSVFormattedIndexUpdates



On Tue, Feb 17, 2015 at 2:44 PM, Henrique Oliveira <hensan...@gmail.com>
wrote:

> Hi all,
>
> I was wondering if there is a way to tell Solr to treat a CSV entry as
> multiple documents instead of one document. For instance, suppose that a
> CSV file has 4 fields and a single entry:
> t1,v1,v2,v3
> 2015-01-01T01:00:59Z,0.3,0.5,0.7
>
> I want Solr to update its index like it were 3 different documents:
> t1,v
> 2015-01-01T01:00:59Z,0.3
> 2015-01-01T01:00:59Z,0.5
> 2015-01-01T01:00:59Z,0.7
>
> Is that possible, or do I have to create a different CSV for it?
>
> Many thanks,
> Henrique.




-- 
Anshum Gupta
http://about.me/anshumgupta

Reply via email to