AW: Sort by nested field but only in matching nested documents

2018-02-22 Thread Florian Fankhauser
Thanks for your answer, Mikhail. Florian -Ursprüngliche Nachricht- Von: Mikhail Khludnev [mailto:m...@apache.org] Gesendet: Dienstag, 6. Februar 2018 11:44 An: solr-user Betreff: Re: Sort by nested field but only in matching nested documents Hello

Re: Sort by nested field but only in matching nested documents

2018-02-06 Thread Mikhail Khludnev
Hello Florian, No. As an alternative you can put it into q param, suppressing scoring from undesired clauses with ^=0 On Thu, Feb 1, 2018 at 5:22 PM, Florian Fankhauser wrote: > Hello, > given the following document structure (books as parent, libraries having > these

Sort by nested field but only in matching nested documents

2018-02-01 Thread Florian Fankhauser
Hello, given the following document structure (books as parent, libraries having these books as children): book 1000 Mr. Mercedes Stephen King library 1000/100 20160810