Hello all,

I have more than one record having same time stamp. When i sort by date time in 
decending order, the set of records which have same time stamp are displayed in 
the order of insertion. Basically it is displayed with asscending order of 
docid. But i want the reverse of that.

Consider the below set of records.
record_1  201207170101
record_2  201207170101
record_3  201207170102
record_4  201207170102

After search, it displays the results in below order
record_3  201207170102
record_4  201207170102
record_1  201207170101
record_2  201207170101

But i want, sort on date time and again sort on docid in reverse order.
record_4  201207170102
record_3  201207170102
record_2  201207170101
record_1  201207170101

Is it good to use multiple sort fields? Using sort on docid will consume any 
memory? Is there any other way out to acheive this.

Regards
Ganesh

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to