Hello,

AFAIK {!join} doesn't supply any meaningful scores.
I can suggest https://issues.apache.org/jira/browse/SOLR-6234

On Tue, Dec 2, 2014 at 4:35 AM, Darin Amos <dari...@gmail.com> wrote:

> Hello,
>
> I had sent an email a few days ago talking about implementing a custom
> rollup query component. I have changed directions a little bit because I
> have learned about the JoinQuery.
>
> I have an index that contains a combination of parent and child documents.
> The parent child relationship is always one-to-many.
>
> Here is a very simple sample query:
>
>
> http://localhost:8983/solr/testcore/select?q=*:*&fq={!join%20from=parent%20to=id}type:child
> <
> http://localhost:8983/solr/testcore/select?q=*:*&fq=%7B!join%20from=parent%20to=id%7Dtype:child
> >
>
> When I have a more specific query that actually give some meaningful
> weights: <  q=name:(*Shirt*)%20OR%20name:(*Small*)  >, it appears the
> rollup query assigns a weight to the parent of the last document
> encountered. For example, if a parents 2 children has weights of 1.4 and
> 0.4 without the join query, the parent has a weight of 0.4 after the join
> query.
>
> Is there a way that I can extend or modify the join query so it would
> assign the highest child weight to the parent document?
>
> Thanks!!
>
> Darin




-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to