lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jafarim <>
Subject Sorting direction
Date Sat, 26 May 2007 08:25:54 GMT
Hi folks,

- I am wondering whether there is any mechanism to specify the sorting
direction (i.e. ascending/descending) without being obliged to make a custom
Sorter. I add a "timeOfIndexing" field in order that I can retrive results
based ob recentness later. But the sorter sorts in an ascending manner and
hence, old results are top results.

- Can I count on Sorter.INDEX_ORDER instead of "timeOfIndexing" field for
this purpose?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message