[
https://issues.apache.org/jira/browse/LUCENE-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand resolved LUCENE-5922.
----------------------------------
Resolution: Fixed
Fix Version/s: 5.0
Thanks Ryan!
> DocValuesDocIdSet is not cacheable
> ----------------------------------
>
> Key: LUCENE-5922
> URL: https://issues.apache.org/jira/browse/LUCENE-5922
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 4.10
> Reporter: Adrien Grand
> Fix For: 5.0, 4.11
>
> Attachments: LUCENE-5922.patch
>
>
> This DocIdSet claims it is cacheable although bad things could happen if it
> was cached since it is not thread-safe and keeps handles to open files.
> The fix is simple, especially given that this doc id set is cheap to create.
> But I'm wondering if there is a way we could protect ourselves from such bugs
> in the future.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]