Hi hpotla,
Use a Solr sub-query.
https://nightlies.apache.org/solr/draft-guides/solr-reference-guide-main/transforming-result-documents.html#subquery
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Wed, May 19, 2021 at 12:31 PM Hima Bindu wrote:
>
Hi,
I have a requirement to group my results based on a field in child document.
Eg: In below documents, I need to group based on field “title” in child
documents.
My results should have list of parent documents and each parent document should
have child documents grouped by their title.
I