Haven't tried your use case but i believe DIH's ScriptTransformer can do the 
trick. It seems to operate on rows so you can fetch both fields and add a 
concatenated field.

http://wiki.apache.org/solr/DataImportHandler#ScriptTransformer

> I have two multivalued DIH fields "fname" and "lname". I want to
> concatenate each of the fname and lname pairs to get a third multivalued
> DIH field "name".
> 
> I tried this :
> 
> 
> 
> 
> But the result is :  [Lars L., Helle K., Thomas A., Jes] [Thomsen, Iversen,
> Brinck, Olesen],  instead of   Lars L. Thomsen, Helle K. Iverson, Thomas A
> Brinck, Jes Oleson.
> 
> Is there a way to iterate through the multivalued fields or is there
> something more simple to do this.
> 
> Thanks,
> Neha
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp27
> 49988p2749988.html Sent from the Solr - User mailing list archive at
> Nabble.com.

Reply via email to