You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by StrW_dev <r....@structweb.nl> on 2015/05/12 12:11:42 UTC
scoreMode ToParentBlockJoinQuery
Hi
Is it possible to configure the scoreMode of the Parent block join query
parser (ToParentBlockJoinQuery)?
It seems it's set to none, while i would require max in this case.
What I want is to filter on child documents, but still use the
relevance/boost of these child documents in the final score.
Gr.
--
View this message in context: http://lucene.472066.n3.nabble.com/scoreMode-ToParentBlockJoinQuery-tp4205020.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: scoreMode ToParentBlockJoinQuery
Posted by Mikhail Khludnev <mk...@griddynamics.com>.
Hello,
Here is the patch
https://issues.apache.org/jira/browse/SOLR-5882
On Tue, May 12, 2015 at 1:11 PM, StrW_dev <r....@structweb.nl> wrote:
> Hi
>
> Is it possible to configure the scoreMode of the Parent block join query
> parser (ToParentBlockJoinQuery)?
> It seems it's set to none, while i would require max in this case.
>
> What I want is to filter on child documents, but still use the
> relevance/boost of these child documents in the final score.
>
> Gr.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/scoreMode-ToParentBlockJoinQuery-tp4205020.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics
<http://www.griddynamics.com>
<mk...@griddynamics.com>
Re: scoreMode ToParentBlockJoinQuery
Posted by Alessandro Benedetti <be...@gmail.com>.
So , have you customised your Solr with a plugin ?
Do you have additional info or documentation ? What is the new child
transformer ? I never used it !
Cheers
2015-05-12 16:12 GMT+01:00 StrW_dev <r....@structweb.nl>:
> I actually did some digging and changed the default ScoreMode in the source
> code, which actually allowed me to do what I want.
>
> So now I use the parent block join query which propogates the score. With
> the new child transformer for the return field I can even get the child
> info
> in the result :).
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/scoreMode-ToParentBlockJoinQuery-tp4205020p4205074.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
--------------------------
Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti
"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"
William Blake - Songs of Experience -1794 England
Re: scoreMode ToParentBlockJoinQuery
Posted by StrW_dev <r....@structweb.nl>.
I actually did some digging and changed the default ScoreMode in the source
code, which actually allowed me to do what I want.
So now I use the parent block join query which propogates the score. With
the new child transformer for the return field I can even get the child info
in the result :).
--
View this message in context: http://lucene.472066.n3.nabble.com/scoreMode-ToParentBlockJoinQuery-tp4205020p4205074.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: scoreMode ToParentBlockJoinQuery
Posted by Alessandro Benedetti <be...@gmail.com>.
Hi ,
One year ago or something, it was not possible to have in Solr the results
of the Join sorted ( it was not using the lucene sorting) .
In solr it was only a filter query with no scoring.
I should verify if we are currently in the same scenario.
For sure it should not be a big deal to port the lucene feature in Solr.
Cheers
2015-05-12 11:11 GMT+01:00 StrW_dev <r....@structweb.nl>:
> Hi
>
> Is it possible to configure the scoreMode of the Parent block join query
> parser (ToParentBlockJoinQuery)?
> It seems it's set to none, while i would require max in this case.
>
> What I want is to filter on child documents, but still use the
> relevance/boost of these child documents in the final score.
>
> Gr.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/scoreMode-ToParentBlockJoinQuery-tp4205020.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
--------------------------
Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti
"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"
William Blake - Songs of Experience -1794 England