You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by David Weitzman <da...@optonline.net> on 2003/05/28 02:26:04 UTC

Sort results by date alone?

I think it's possible, but I'm not sure how Scorers work.  I just want to
place the most recent hits at the front and the oldest ones at the back
(where "date" is a field in the documents).  Is there a simple way to do
this?

Thanks,

David Weitzman




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


RE: Sort results by date alone?

Posted by Aviran Mordo <am...@infosciences.com>.
I think I saw a solution for this in the past. Try to search the mailing
list.
Anyway you can always use the SearchBean which is in lucene sandbox to
sort by any field.

-----Original Message-----
From: news [mailto:news@main.gmane.org] On Behalf Of David Weitzman
Sent: Tuesday, May 27, 2003 8:26 PM
To: lucene-user@jakarta.apache.org
Subject: Sort results by date alone?


I think it's possible, but I'm not sure how Scorers work.  I just want
to place the most recent hits at the front and the oldest ones at the
back (where "date" is a field in the documents).  Is there a simple way
to do this?

Thanks,

David Weitzman




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org