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:
<field name="merchantList"  type="string" indexed="true"  stored="true"
multiValued="true" omitNorms="true" termVectors="false"
termPositions="false" termOffsets="false"/>

This is the column in CSV (merchantList):
....values....,"16179:10950",.....values..


This is the URL I call:
http://localhost/solr/coll1/update/csv?commit=true&f.merchantList.split=true&f.merchantList.separator=%3A&f.merchantList.encapsulator=
"&escape=\&stream.file=/data/dump/log_20130101'

Currently when I load the data, I see this:
        "merchantList": ["16179:10950"],
But I want this:
        "merchantList": ["16179","10950"],


This example is int but I have intentionally kept it as a string since some
values can also be a string.

Any suggestions where I am going wrong?

-- 
Thanks,
-Utkarsh

Reply via email to