You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/02 12:18:46 UTC

[jira] [Commented] (LUCENE-6761) MatchAllDocsQuery should not expose approximations

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

ASF subversion and git services commented on LUCENE-6761:
---------------------------------------------------------

Commit 1700754 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1700754 ]

LUCENE-6761: MatchAllDocsQuery's Scorers do not expose approximations anymore.

> MatchAllDocsQuery should not expose approximations
> --------------------------------------------------
>
>                 Key: LUCENE-6761
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6761
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Trivial
>         Attachments: LUCENE-6761.patch
>
>
> This is a relic from when queries had to deal with deleted docs themselves: MatchAllDocsQuery used to return an iterator that matched everything as an approximation and applied live docs in the confirmation phase. But now that live docs are checked on top, it should just returns an efficient Scorer that matches every 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