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