lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerome <>
Subject solr nested multivalued fields
Date Tue, 12 Jun 2012 08:10:48 GMT

I would like to produce the following result in a Solr search result but not
sure it is possible to do? (Using Solr 3.6)

   <arr name="groups">
         <str name="firstName">John</str>
         <str name="lastName">Darby</str>
         <str name="firstName">Sue</str>
         <str name="lastName">Berger</str>

However, i cant seem to manage getting this Tree like structre in my
results. At best I can get something to look like the following which is not
even close:

   <arr name="groups">

There are two problem here. Firstly, I cannot seem to "group" these people
into a meaningful tag structure as per the top example. Second, I cant for
the life of me get the tags to display an attribute name like "lastName" or
"firstName" when inside an array?

In my project I am pulling this data using a DIH and from the example above
one can see that this is a on-to-many relationship between groups and users.

I really would appreciate it is someone has some suggestions or alternative

Any assistance would be greatly appreciated

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

View raw message