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.

Reply via email to