lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Harwood (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-798) Factory for RangeFilters that caches sections of ranges to reduce disk reads
Date Mon, 12 Feb 2007 23:41:05 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Harwood updated LUCENE-798:
--------------------------------

    Attachment: CachedRangesFilterFactory.java

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


Mime
View raw message