lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Au <bill.w...@gmail.com>
Subject Re: Nested objects in Solr
Date Fri, 24 Jul 2015 13:52:12 GMT
What exactly do you mean by nested objects in Solr.  It would help if you
give an example.  The Solr schema is flat as far as I know.

Bill

On Fri, Jul 24, 2015 at 9:24 AM, Rajesh <rajesh.panneerselvam@aspiresys.com>
wrote:

> You can use nested entities like below.
>
> <document>
> <entity name="OuterEntity" pk="id"
>                 query="SELECT * FROM User">
>                  <field column="id" name="id" />
>                 <field column="name" name="name" />
>
>                 <entity name="InnerEntity" child="true"
>                         query="select * from subject" >
>                    </entity>
> </entity>
> </document>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Nested-objects-in-Solr-tp4213212p4219039.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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