I tried specifying the field type using a SortField object but I got the same result. I'll be glad to write a stand-alone test case. Should I post the code to this thread when I'm done or should I submit some sort of bug report? Thanks.
> From: [EMAIL PROTECTED] > To: java-user@lucene.apache.org > Subject: Re: Sort by date with Lucene 2.2.0 ... > Date: Fri, 19 Oct 2007 19:50:46 +0200 > > On Thursday 18 October 2007 21:35, Dragon Fly wrote: > > > I'm am trying to sort a date field in my index but I'm seeing strange > > results. I have searched the Lucene user mail archive for Datetools but > > still couldn't figure out the problem. > > It shouldn't make a difference but does it help if you specify the field > type using a SortField object? If not, could you make this a stand-alone > test case so people can easier debug it? > > Regards > Daniel > > -- > http://www.danielnaber.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline