You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/02/19 11:05:01 UTC
[jira] Resolved: (LUCENE-1459) CachingWrapperFilter crashes if you
call both bits() and getDocIdSet()
[ https://issues.apache.org/jira/browse/LUCENE-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-1459.
----------------------------------------
Resolution: Fixed
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
Committed revision 745800 on 2.4 branch.
> 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
> Assignee: Michael McCandless
> Fix For: 2.4.1, 2.9
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org