What I want: 

docids that matched the search string are : 
5
4
3
2
1


 What I am getting : 

docids that matched the search string are : 
999
998
997
996
995


I am lucene sort object, and it is constructed like this : 
Sort srt = new Sort(new SortField(null,SortField.DOC,true));

How do I get what I want ? Do I really need to use sort ? 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-do-we-reverse-sort-on-the-docid-tp2947495p2947495.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Reply via email to