lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pranaya Behera <>
Subject How to get parent as well as children with one query ?
Date Tue, 02 Feb 2016 06:46:24 GMT
     I have my parent document mapped in the field named isParent: 
Boolean value. Now children has their own ids, they don't match to parent.

I am searching query.setQuery("level:0") This gives me all the parent 
documents but not the associated children.
I have looked at the


But I couldnt fully understand how this is to achieve. Could someone 
give one example on how to achieve in both cases ?

Thanks & Regards
Pranaya Behera

View raw message