Re: Group by and filtering on child documents.

2019-06-06 Thread Mikhail Khludnev
On Wed, Jun 5, 2019 at 12:23 PM Jai Jamba wrote: > Can you help me with the subquery way, i tried that long back but it was > giving me some exception (can't remember that). > Well... me either. > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html > --

Re: Group by and filtering on child documents.

2019-06-05 Thread Jai Jamba
Can you help me with the subquery way, i tried that long back but it was giving me some exception (can't remember that). -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Group by and filtering on child documents.

2019-06-05 Thread Mikhail Khludnev
Hello, Jai. It seems like sort functionality needs to be developed for https://lucene.apache.org/solr/guide/7_4/transforming-result-documents.html#child-childdoctransformerfactory However, it might be already reachable via more comprehensive

Re: Group by and filtering on child documents.

2019-06-04 Thread Jai Jamba
Hello Mikhail, I am sorry, I forgot to include below in my main query json (*"fields": "* [child limit=-1]"*) . I am extracting all the fields along with its nested docs. So I want as a part of results and not part of facet. I would expect out of the docs that i listed, it should return only

Re: Group by and filtering on child documents.

2019-06-04 Thread Mikhail Khludnev
Hello, Jai. I'm not sure I understand. Where do you need that max child price, at parent results or at the facet? On Tue, Jun 4, 2019 at 11:12 AM Jai Jamba wrote: > Hi, > Below is my document structure and underneath I have mentioned my multi > select facet query. I have one query related to

Group by and filtering on child documents.

2019-06-04 Thread Jai Jamba
Hi, Below is my document structure and underneath I have mentioned my multi select facet query. I have one query related to filtering where I am not sure how can I get the child documents having some field value equivalent to maximum value of that field in the available child docs ("Price" field