Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

*easy* way to perform range searches on numeric values

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


wsnyder6 at gmail

Apr 6, 2006, 7:16 AM

Post #1 of 1 (263 views)
Permalink
*easy* way to perform range searches on numeric values

Hello,

How can I configure Lucene to handle numeric range searches? (This question
has been asked 100 times, I'm sure.)

I've tried the suggestions on the SearchNumericalFields wiki page. This
seems to work for simple queries. Searching for "line:[1 to 10]" gives me
lines 1 thru 10 of the documents I am searching.

BUT it doesn't work if I want to search mutiple fields (e.g. making
CustomQueryParser extend MultiFieldQueryParser ).

Is there another way to configure numeric range searched aside from what is
posted on the wiki? If not, does anyone have any suggestions on how I would
go about getting a numeric range search to work on a mult-field search.

Any help is appreciated!

--Bill

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.