You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jim Ferenczi (JIRA)" <ji...@apache.org> on 2018/10/18 08:10:00 UTC

[jira] [Comment Edited] (LUCENE-8507) TopFieldCollector should set minimum competitive score if the primary sort is by relevancy

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

Jim Ferenczi edited comment on LUCENE-8507 at 10/18/18 8:09 AM:
----------------------------------------------------------------

Here is a new patch that tweaks the logics a bit in order to reduce the additional conditions we need to check to set the minimum score. I ran a benchmark with luceneutil on queries sorted by field to compare with current master:
{noformat}
Report after iter 19:
                    TaskQPS lucene_baseline      StdDevQPS lucene_candidate      StdDev                Pct diff
       HighTermMonthSort       38.06      (9.6%)       37.53      (9.9%)   -1.4% ( -19% -   19%)
   HighTermDayOfYearSort       16.22      (7.0%)       16.47      (6.0%)    1.5% ( -10% -   15%)
{noformat}


was (Author: jim.ferenczi):
Here is a new patch that tweaks the logics a bit in order to reduce the additional conditions we need to check to set the minimum score. I ran a benchmark with luceneutil on queries sorted by field to compare with current master:
{noformat}
Report after iter 19:
                    TaskQPS lucene_baseline      StdDevQPS lucene_candidate      StdDev                Pct diff
       HighTermMonthSort       38.06      (9.6%)       37.53      (9.9%)   -1.4% ( -19% -   19%)
   HighTermDayOfYearSort       16.22      (7.0%)       16.47      (6.0%)    1.5% ( -10% -   15%)
{noformat}

> TopFieldCollector should set minimum competitive score if the primary sort is by relevancy
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-8507
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8507
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jim Ferenczi
>            Priority: Minor
>         Attachments: LUCENE-8507.patch, LUCENE-8507.patch
>
>
> When the primary sort in the TopFieldCollector is set to relevancy it is possible to update the minimum competitive score like the TopScoreCollector does. 



--
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