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