lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <>
Subject RE: sorting tokenized field
Date Fri, 10 Dec 2004 19:30:44 GMT
I have suggested a solution for this problem ( ) you can use the
patch suggested there and recompile lucene.


-----Original Message-----
From: Erik Hatcher [] 
Sent: Friday, December 10, 2004 13:53 PM
To: Lucene Users List
Subject: Re: sorting tokenized field

On Dec 10, 2004, at 1:40 PM, Praveen Peddi wrote:
> I read that the tokenised fields cannot be sorted. In order to sort
> tokenized field, either the application has to duplicate field with 
> diff name and not tokenize it or come up with something else. But 
> shouldn't the search engine takecare of this? Are there any plans of 
> putting this functionality built into lucene?

It would be wasteful for Lucene to assume any field you add should be 
available for sorting.

Adding one more line to your indexing code to accommodate your sorting 
needs seems a pretty small price to pay.  Do you have suggestions to 
improve how this works?   Or how it is documented?


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

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

View raw message