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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to