Re: sorting on multiple fields

2004-10-18 Thread Daniel Naber
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

RE: sorting on multiple fields

2004-10-18 Thread Angelov, Rossen
- 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

Re: sorting on multiple fields

2004-10-18 Thread Daniel Naber
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.

sorting on multiple fields

2004-10-18 Thread Angelov, Rossen
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