Adrien Grand created LUCENE-5922:
------------------------------------
Summary: 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: 4.11
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]