Hello, In the schema.xml file you can contenate much easier.
<field name="name" type="text" indexed="true" stored="true" multiValued="true" /> <copyField source="fname" dest="name" /> <copyField source="lname" dest="name" /> </fields> Hope this helps On Tue, Mar 29, 2011 at 3:01 PM, neha <pneha...@yahoo.com> wrote: > 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-tp2749988p2749988.html > Sent from the Solr - User mailing list archive at Nabble.com. >