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.
Hi,
I read the "sorting and score ordering -
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09775.html"
thread from the archive and I think, I have a very similar problem but I
still don't understand how the sorting is supposed to work if there are
multiple fields given to Sort(SortField[]) cons