[
https://issues.apache.org/jira/browse/LUCENE-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6761:
---------------------------------
Attachment: LUCENE-6761.patch
Here is a simple patch.
> 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: [email protected]
For additional commands, e-mail: [email protected]