lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Updated: (LUCENE-1487) FieldCacheTermsFilter
Date Tue, 23 Jun 2009 23:01:07 GMT


Uwe Schindler updated LUCENE-1487:

    Comment: was deleted

(was: Sorry *EDIT*:
This Filter is really cool on iterating on the FieldCache for StringIndex and can be even
faster for ranges, that are int/float/double/... - so why not retrofit to our new naming-convention
and extend:

- FieldCacheRangeFilter.newTermRange()
- FieldCacheRangeFilter.newByteRange()
- FieldCacheRangeFilter.newShortRange()
- FieldCacheRangeFilter.newIntRange()
- ...

It could because of that also be used on "old" int/long fields of dates, if a good parser
is given (parser that does SimpleDateFormat -> long -> FieldCache -> direct comparison
on this raw numbers). I would try to extend this to all types and it can be faster than TrieRange,
if the range is already in FieldCache!)

> FieldCacheTermsFilter
> ---------------------
>                 Key: LUCENE-1487
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: Tim Sturge
>             Fix For: 2.9
>         Attachments:,, LUCENE-1487.patch
> This is a companion to FieldCacheRangeFilter except it operates on a set of terms rather
than a range. It works best when the set is comparatively large or the terms are comparatively

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:
For additional commands, e-mail:

View raw message