lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjun Dhar <>
Subject Why Numeric (IntField) tokenized true by Default?
Date Mon, 03 Jun 2013 08:00:03 GMT
This post was updated on Jun 03, 2013; 3:48am.
If One refers to the JavaDoc for Sort it states that INDEX and and the field
should NOT be TOKENIZED. 
Its a common use case for Numbers to be Sorted. 

Am curious to find the default values of say IntField as : 

Any reason why its tokenized by default? 
The constructors suggest you should play with STORE or NO STORE @ best. But
I feel there is sufficient reason to have to define your own FieldType for
sorting ?

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message