lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Iturbe <>
Subject DIH with XML question.
Date Tue, 29 Mar 2011 19:58:04 GMT
I have an XML with multiple nodes with the same name.

In the data-config.xml document, I have set up:

   <field column="email" xpath="/feed/entry/email/@address" />

But this only feeds the last email address into Solr (in the case bellow, appears in Solr).

The XML for each entity is as follows:

            <category scheme='' term=''/>
            <title type='text'>Marcelo Vera</title>
            <link rel='self' type='application/atom+xml' href=''/>
            <link rel='edit' type='application/atom+xml' href=''/
            <gd:email rel='' address='' primary='true'/>
            <gd:email rel='' address=''/>
            <gd:email rel='' address=''/>

The "gd:email" node can repeat indefenate number of times, how can I feed
each value of address to Solr?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message