On Monday 18 October 2004 23:39, Angelov, Rossen wrote:
> Is there any workaround for sorting on tokenized fields?
Just save the field a second time under a different name and use
Field.Keyword() for that. Then you can use it for sorting, and still use
the original field for searching.
Regards
-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Monday, October 18, 2004 4:33 PM
To: Lucene Users List
Subject: Re: sorting on multiple fields
On Monday 18 October 2004 21:25, Angelov, Rossen wrote:
> The
> first one represents date in format mmddMMHHSS and the second one
> are th
On Monday 18 October 2004 21:25, Angelov, Rossen wrote:
> The
> first one represents date in format mmddMMHHSS and the second one
> are the article headlines.
The headlines are probably tokenized, right? Sorting then won't work, I
think the API documentation contains some details about this.