I solved this problem using the flatten="true" attribute.

Given this schema
<people>
 <person>
  <names>
   <name>
    <firstName>Joe</firstName>
    <lastName>Smith</firstName>
   </name>
  </names>
 </person>
</people>

<field column="attr_names" xpath="/people/person/names/name" flatten="true"
/>

attr_names is a multiValued field in my schema.xml. The flatten attribute
tells solr to take all the text from the specified node and below.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2875435.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to