lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Filter for excluding docs in a date range
Date Sat, 05 Nov 2011 21:59:04 GMT
What do you mean with multiple numeric fields?

Just guessing: FieldCacheRangeFilter does not allow the same field multiple
times per document, but NumericRangeFilter does.


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Tobias Knaup []
> Sent: Saturday, November 05, 2011 10:55 PM
> To:
> Subject: Filter for excluding docs in a date range
> Hi all,
> I'm trying to come up with a filter that works for the following problem:
> My documents each have a set of dates, and I need a filter that excludes
> documents that have a date within a given range.
> My first stab at it was to index the dates in a NumericField, one value
per date,
> and use a range filter negated by a BooleanFilter.
> I tried NumericRangeFilter and FieldCacheRangeFilter, but they both don't
> seem to support multiple numeric fields.
> Any suggestions?
> Thanks a lot,
> Tobi

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message