6 messages in org.apache.lucene.java-userReverse sorting by index order
FromSent OnAttachments
Oren ShirNov 3, 2005 6:36 am 
Andy LeeNov 3, 2005 6:55 am 
Oren ShirNov 3, 2005 7:21 am 
Andy LeeNov 3, 2005 7:26 am 
Oren ShirNov 3, 2005 7:57 am 
Oren ShirNov 3, 2005 8:30 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Reverse sorting by index orderActions...
From:Oren Shir (sho@gmail.com)
Date:Nov 3, 2005 6:36:43 am
List:org.apache.lucene.java-user

Hi,

If I understand correctly, when sorting by Sort.INDEXORDER the oldest documents that were added to the index will be returned first. I want the reverse, because I'm more interested in newer documents.

1) Is there a simple way?

2) Will going over the Hits object in reverse order be much more consuming?