lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <>
Subject [jira] [Commented] (SOLR-6234) Scoring modes for query time join
Date Fri, 10 Jul 2015 15:13:05 GMT


Mikhail Khludnev commented on SOLR-6234:

bq. it may be easiest for JoinQParser to detect "score=..." and delegate 

bq. the "multiVals=true|false" parameter is supposed to do?
it's just exposing JoinUtil.createJoinQuery() functionality, it implies that fromField is
multivalue SortedSetDV and these values are looped. 
bq. exactly what query is the boost applied to 
this parser calls JoinUtil.createJoinQuery() and then calls setBoost() on its' result. 

bq. why aren't we using standard boosting mechanisms?
I might be unaware of 'standard boosting mechanisms' I only aware about \{!boost but people
ask for more sugar.  

> Scoring modes for query time join 
> ----------------------------------
>                 Key: SOLR-6234
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: query parsers
>    Affects Versions: 5.3
>            Reporter: Mikhail Khludnev
>            Assignee: Timothy Potter
>              Labels: features, patch, test
>             Fix For: 5.3
>         Attachments: SOLR-6234.patch, SOLR-6234.patch, SOLR-6234.patch, otherHandler.patch
> it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. It supports:
> - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil)
>  - {{score=none}} is *default*, eg if you *omit* this localparam 
> - supports {{b=100}} param to pass {{Query.setBoost()}}.
> - {{multiVals=true|false}} is introduced 
> - there is a test coverage for cross core join case. 
> - so far it joins string and multivalue string fields (Sorted, SortedSet, Binary), but
not Numerics DVs. follow-up LUCENE-5868  
> -there was a bug in cross core join, however there is a workaround for it- it's fixed
in Dec'14 patch.
> Note: the development of this patch was sponsored by an anonymous contributor and approved
for release under Apache License.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message