lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From audev <>
Subject DIH XML Entity Help (Newbie)
Date Mon, 27 Sep 2010 22:13:53 GMT

I am trying to configure the data-config.xml using the XPathEntityProcessor
to index nested xml entities such as the following:
    <intervention_name>fentanyl sublingual spray</intervention_name>
    <intervention_name>questionnaire administration</intervention_name>

The data-config.xml looks like this:
<entity name="intervention" url="${studiesdir.fileAbsolutePath}"
processor="XPathEntityProcessor" forEach="/clinical_study/intervention/">
<field column="intervention_type_t"  multiValued="true"  
xpath="/clinical_study/intervention/intervention_type" />  
<field column="intervention_name_t"   multiValued="true"     
xpath="/clinical_study/intervention/intervention_name" />

but it only indexes the first occurrence of  intervention_type_t and
intervention_name_t and they are placed as children of root entity instead
of being children of intervention.

I would appreciate your help!

Thanks in advance,

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

View raw message