Re: Sorting nested document

2022-03-14 Thread Mikhail Khludnev
Hello, May https://solr.apache.org/guide/8_0/function-queries.html#childfield-field-function work in your case? On Tue, Mar 8, 2022 at 3:11 PM Pranaya Behera wrote: > I have the documents as parent-child relationship: > https://gist.github.com/shadow-fox/fb525a7efe66622230e61d6253b6cfa9 > > How

Sorting nested document

2022-03-08 Thread Pranaya Behera
I have the documents as parent-child relationship: https://gist.github.com/shadow-fox/fb525a7efe66622230e61d6253b6cfa9 How to sort the parent (type_s:product)s based on the grandchildren (type_s:vendor) field value ? |parent = type_s: product children = type_s: sku grandchildren = type_s:sto