Hello, Check this http://blog-archive.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html Let me know if you need further comments.
On Thu, May 19, 2016 at 4:25 PM, Pranaya Behera <pranaya.beh...@igp.com> wrote: > Example would be: > Lets say that I have a product document with regular fields as name, > price, desc, is_parent. it has child documents such as > CA:: fields as a,b,c,rank > and another child document as > CB:: fields as x,y,z. > I am using the query where {!parent which="is_parent:true"}a:some AND > b:somethingelse , here only CA child document is used for searching no > other child document has been touched. this CA has rank field. I want to > sort the parents using this field. > Product contains multiple CA documents. But the query matches only one > document exactly. > > > On Thursday 19 May 2016 04:09 PM, Pranaya Behera wrote: > >> While searching in the lucene code base I found >> /ToParentBlockJoinSortField /but its not in the solr or even in solrj as >> well. How would I use it with solrj as I can't find anything to query it >> through the UI. >> >> On Thursday 19 May 2016 11:29 AM, Pranaya Behera wrote: >> >>> Hi, >>> >>> How can I sort the results i.e. from a block join parent query >>> using the field from child document field ? >>> >>> Thanks & Regards >>> >>> Pranaya Behera >>> >>> >> > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>