[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] [Commented] (LUCENE-8204) ReqOptSumScorer should leverage sub scorers' per-block max scores
From:       "Adrien Grand (JIRA)" <jira () apache ! org>
Date:       2018-07-31 20:04:01
Message-ID: JIRA.13145023.1521032344000.130647.1533067441486 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LUCENE-8204?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564306#comment-16564306 ] 

Adrien Grand commented on LUCENE-8204:
--------------------------------------

+1 on the approach, thanks for the explanation about why we need to care about \
requiring the opt clause on the whole block. It would be nice to only wrap the \
approximation when scoreMode == TOP_SCORES?

Tests could use CheckHits#checkTopScores which does a bit more testing than just \
checking whether top hits are ok. It'd also be nice to have one explicit test for the \
case that the scorer keeps advancing block by block all the time, and another one for \
the case that it considers the whole segment to decide that the opt clause is \
required.

> ReqOptSumScorer should leverage sub scorers' per-block max scores
> -----------------------------------------------------------------
> 
> Key: LUCENE-8204
> URL: https://issues.apache.org/jira/browse/LUCENE-8204
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-8204.patch, LUCENE-8204.patch
> 
> 
> Currently it only looks at max scores on the entire segment. Given that per-block \
> max scores usually give lower upper bounds of the score, this should help. This is \
> especially important for LUCENE-8197 to work well since the main query would \
> typically be added as a MUST clauses of a boolean query while the query that scores \
> on features would be a SHOULD clause.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic