Filter for excluding docs in a date range

2011-11-05 Thread Tobias Knaup
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 all 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

RE: Filter for excluding docs in a date range

2011-11-05 Thread Uwe Schindler
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 - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original