You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/01/25 17:10:50 UTC
[jira] Closed: (LUCENE-798) Factory for RangeFilters that caches
sections of ranges to reduce disk reads
[ https://issues.apache.org/jira/browse/LUCENE-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler closed LUCENE-798.
--------------------------------
Resolution: Not A Problem
This patch does not apply anymore, as Filters no longer use BitSets, but DocIdSets. Also this issue is solved by NumericRangeQuery, NumericRangeFilter, FieldCacheRangeFilter - one of these classes should meet your requirements.
> Factory for RangeFilters that caches sections of ranges to reduce disk reads
> ----------------------------------------------------------------------------
>
> Key: LUCENE-798
> URL: https://issues.apache.org/jira/browse/LUCENE-798
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Search
> Reporter: Mark Harwood
> Attachments: CachedRangesFilterFactory.java
>
>
> RangeFilters can be cached using CachingWrapperFilter but are only re-used if a user happens to use *exactly* the same upper/lower bounds.
> This class demonstrates a caching approach where *sections* of ranges are cached as bitsets and these are re-used/combined to construct large range filters if they fall within the required range. This can improve the "cache hit" ratio and avoid going to disk to read large lists of Doc ids from TermDocs.
> This class needs some more work to add thread safety but I'm making it available to gather feedback on the design at this early stage before making robust.
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org