lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject xpathentityprocessor with flattern true
Date Fri, 06 Jan 2012 14:15:41 GMT
Hello all,

i want to get whole xmldata into one field, for that i am using
xpathentityprocessor with flattern=true
but still it doesn't work as expected.

e.g.  sample  xml is        <root><doc>abc</doc><part><id>abc</id>

main part i want is i want all "id" nodes into single field

 <entity name="x" onError="abort"  processor="XPathEntityProcessor"
flatten="true"  forEach="/root/part/id" url="${myfilepath}" dataSource="FD">
                     <field column="CommonIDs" xpath="/root/part/id" />

CommonIDs is single valued field, should contain "<id>abc</id>
<id>def</id>" if it takes root node also it will also fine for me.

please help me to solve this problem,

Vishal Parekh

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message