lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Jones (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1459) CachingWrapperFilter crashes if you call both bits() and getDocIdSet()
Date Tue, 18 Nov 2008 21:19:44 GMT

     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message