Here are a few bits:
http://www.lucenebook.com/search?query=indexing+numbers
The Wiki and the FAQ also have some information about indexing numbers/dates.
Basically, you want them small (ints, faster sorting, if you need sorting), and 
you don't want them too fine, if you'll be expanding them into Boolean OR query.

Otis


----- Original Message ----
From: Shivani Sawhney <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Wednesday, February 15, 2006 11:36:37 PM
Subject: How to index numeric fields

Hi,

What is the best way to index numeric decimal fields, like experience, when
I want to use a range search on this field?

 

Thanks in advance.

 

Regards,

Shivani

 

 





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to