Set the multiValued="true" attribute on the field definition. Note it is case sensitive.
See: http://wiki.apache.org/solr/SchemaXml Best Erick On Tue, Mar 29, 2011 at 3:58 PM, Marcelo Iturbe <marc...@santiago.cl> wrote: > Hello, > 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, > mv...@yahoo.org appears in Solr). > > The XML for each entity is as follows: > > <entry> > <id>http://www.google.com/m8/feeds/contacts/me%40here.com/base/0 > </id> > <updated>2011-03-25T06:34:29.714Z</updated> > <category scheme='http://schemas.google.com/g/2005#kind' term=' > http://schemas.google.com/contact/2008#contact'/> > <title type='text'>Marcelo Vera</title> > <link rel='self' type='application/atom+xml' href=' > https://www.google.com/m8/feeds/contacts/me%40here.com/full/0'/> > <link rel='edit' type='application/atom+xml' href=' > https://www.google.com/m8/feeds/contacts/me%40here.com/full/0/1301034869714001'/ >> > <gd:email rel='http://schemas.google.com/g/2005#other' address=' > marc...@here.com' primary='true'/> > <gd:email rel='http://schemas.google.com/g/2005#home' address=' > marcelo.v...@there.com'/> > <gd:email rel='http://schemas.google.com/g/2005#other' address=' > mv...@yahoo.org'/> > </entry> > > The "gd:email" node can repeat indefenate number of times, how can I feed > each value of address to Solr? > > Thanks >