[
https://issues.apache.org/jira/browse/LUCENE-6543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6543:
---------------------------------
Attachment: LUCENE-6543.patch
Here is a patch. It also changes FilteredDocIdSetIterator to not cache the
current doc ID.
> Our caching weight wrappers should not apply acceptDocs as a two-phase
> verification
> -----------------------------------------------------------------------------------
>
> Key: LUCENE-6543
> URL: https://issues.apache.org/jira/browse/LUCENE-6543
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-6543.patch
>
>
> Today our caching weight wrappers return the cached doc id set as an
> approximation and use acceptDocs as a verification. This is abusing the
> two-phase iteration API given that checking acceptDocs is always fast.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]