Thanks Stefan 

currently in dataconfig file part of xPathEntityProcessor

<entity name="x" processor="XPathEntityProcessor" forEach="/FULL"
url="D:\Files\${_FileName}" dataSource="FD">                            
                <field column="id" xpath="/FULL/Customer/@id" />
                <field column="Customer" xpath="/Full/Customer" />
            </entity>

and when i do make search i get following search result

<result name="response" numFound="1" start="0">
     <doc>
         <arr name="Customer">
            <str>CustomerA</str>
            <str>AnyC</str>
        </arr>
         <arr name="id">
            <str>1</str>
            <str>3</str>
        </arr>
   </doc>
</result>

but i want following result

<result name="response" numFound="1" start="0">
     <doc>
         <arr name="Combine">
            <str>1,CustomerA</str>
            <str>3,AnyC</str>
        </arr>
   </doc>
</result>     OR

<result name="response" numFound="1" start="0">
     <doc>
         <arr name="Combine">
            <str id="1">CustomerA</str>
            <str id="3">AnyC</str>
        </arr>
   </doc>
</result>

or any other format but i want both combine,

Thanks

Vishal Parekh

--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-concatenate-two-nodes-of-xml-with-xpathentityprocessor-tp2861260p2865508.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to