Brian,

Be sure to have...

transformer="RegexTransformer"

...in your <entity ...> tag.  It’s the RegexTransformer class that looks for 
"splitBy".

See https://wiki.apache.org/solr/DataImportHandler#RegexTransformer for more 
information.

James Dyer
Ingram Content Group


-----Original Message-----
From: Brian Narsi [mailto:bnars...@gmail.com] 
Sent: Friday, December 04, 2015 3:10 PM
To: solr-user@lucene.apache.org
Subject: Data Import Handler - Multivalued fields - splitBy

I have the following:

<field name="OrderNumbers" type="text" indexed="true" stored="true"
required="true" multiValued="true" />



I believe I had the following working (splitting on pipe delimited)

<field column="OrderNumbers" splitBy="\|" sourceColName="OrderNumbers" />

But it does not work now.



In-fact now I have even tried

<field column="OrderNumbers" splitBy="," sourceColName="OrderNumbers" />

But I cannot get the values to split into an array.

Any thoughts/suggestions what may be wrong?

Thanks,

Reply via email to