2013 4:35 PM
To: solr-user@lucene.apache.org
Subject: Re: Using split in updateCSV for SolrCloud 4.4
Interestingly this URL by Jack works:
1. curl '
http://localhost/solr/prodinfo/update/csv?commit=true&f.merchantList.split=true&f.merchantList.separator=%3A&f.merchantList.encapsul
t;> features.encapsulator=%22<
> http://localhost:8983/solr/update/csv?commit=true&f.features.split=true&f.features.separator=%3A&f.features.encapsulator=%22
> >"
> >> -H "Content-Type: text/csv" -d '
> >> id,name,features
> >> doc-1,do
eatures.separator=%3A&f.features.encapsulator=%22>"
>> -H "Content-Type: text/csv" -d '
>> id,name,features
>> doc-1,doc1,feat1:feat2'
>>
>> You may need to add &stream.contentType=text/csv to you command.
>>
>> -- Jack Krupan
content for test.csv:
id,name,features_ss,junk_s
doc-1,doc1,"feat1:feat2",junk
Can you confirm whether this exact case works for you?
-- Jack Krupansky
-Original Message-
From: Utkarsh Sengar
Sent: Thursday, October 10, 2013 8:48 PM
To: solr-user@lucene.apache.org
Subject: Re: Using spl
ate/csv?commit=true&f.features.split=true&f.features.separator=%3A&f.features.encapsulator=%22>"
>> -H "Content-Type: text/csv" -d '
>> id,name,features
>> doc-1,doc1,feat1:feat2'
>>
>> You may need to add &stream.conte
;
> -----Original Message- From: Utkarsh Sengar
> Sent: Thursday, October 10, 2013 4:51 PM
> To: solr-user@lucene.apache.org
> Subject: Using split in updateCSV for SolrCloud 4.4
>
>
> Hello,
>
> I am trying to use split:
> http://wiki.apache.org/solr/**UpdateCSV#
nt-Type: text/csv" -d '
id,name,features
doc-1,doc1,feat1:feat2'
You may need to add &stream.contentType=text/csv to you command.
-- Jack Krupansky
-Original Message-
From: Utkarsh Sengar
Sent: Thursday, October 10, 2013 4:51 PM
To: solr-user@lucene.apache.org
Subje
Hello,
I am trying to use split: http://wiki.apache.org/solr/UpdateCSV#split while
loading some csv data via updateCSV.
This is the field:
This is the column in CSV (merchantList):
values,"16179:10950",.values..
This is the URL I call:
http://localhost/solr/coll1/update/csv?commit