lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <amo...@infosciences.com>
Subject RE: Sorting on tokenized fields
Date Wed, 21 Jul 2004 13:18:44 GMT
You can create a new field which contains the full untokened string and use
it as a sort field.


-----Original Message-----
From: Florian Sauvin [mailto:florian@archive.org] 
Sent: Tuesday, July 20, 2004 20:13 PM
To: Lucene Users List
Subject: Sorting on tokenized fields


I see in the Javadoc that it is only possible to sort on fields that 
are not tokenized, I have two questions about that:

1) What happens if the field is tokenized, is sorting done anyway, 
using the first term only?

2) Is there a way to do some sorting anyway, by concatenating all the 
tokens into one string?

--

Florian


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message