You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/01/27 11:04:35 UTC

[jira] [Commented] (LUCENE-6201) MinShouldMatchSumScorer should advance less and score lazily

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

Robert Muir commented on LUCENE-6201:
-------------------------------------

One concern i have is this seems to make the fast queries faster and the slow ones slower. The bottleneck for many apps will be the behavior on high freq queries (e.g. HighMinShouldMatch4)

An alternative way to implement this, where there is less advance()'ing is to implement it in BS1 with the new range api. 

> MinShouldMatchSumScorer should advance less and score lazily
> ------------------------------------------------------------
>
>                 Key: LUCENE-6201
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6201
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6201.patch
>
>
> MinShouldMatchSumScorer currently computes the score eagerly, even on documents that do not eventually match if it cannot find {{minShouldMatch}} matches on the same document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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