Hi all,

I have a query related to using filters.

My search would something like this:

title:java* +pricerange:[00100 TO 01000] +daterange:[20000101 TO 20071231]

which retrieves all books with title "java" that have a price between 100 & 1000 and a fall between Jan 01,2000 & Dec 31,2007 daterange.

Can I use multiple filters in such a case (RangeFilter for pricerange & QueryWrapperFilter for daterange)?

How do I specify multiple filters to the IndexSearcher (the API does not support it as of now)?

Note: I am even open to using RangeQuery as long as it does not hamper performance of search. My reading of the mailing list suggests me that using filters would be better (RangeFilter) than query (RangeQuery): http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg10687.html

Rakesh S

Post free property ads on Yello Classifieds now! www.yello.in

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 10 | next ›
Discussion Overview
groupjava-user @
postedJan 2, '08 at 7:29p
activeJan 5, '08 at 12:07a



site design / logo © 2022 Grokbase