[
https://issues.apache.org/jira/browse/LUCENE-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Jones updated LUCENE-1459:
-------------------------------
Attachment: caching-wrapper-filter.diff
Patch against 2.4.0 to be more careful about returning from the cache
> CachingWrapperFilter crashes if you call both bits() and getDocIdSet()
> ----------------------------------------------------------------------
>
> Key: LUCENE-1459
> URL: https://issues.apache.org/jira/browse/LUCENE-1459
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Matt Jones
> Attachments: caching-wrapper-filter.diff
>
>
> CachingWrapperFilter uses only a single cache, so calling bits() after
> calling getDocIdSet() will result in a type error. Additionally, more code
> than is necessary is wrapped in the @synchronized blocks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]