DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26702>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26702 [PATCH] arbitrary sorting ------- Additional Comments From [EMAIL PROTECTED] 2004-02-12 23:19 ------- A thought: Should SortField have another field: private boolean isIncreasing = false; public void setIncreasing(boolean isIncreasing) { this.isIncreasing = isIncreasing; } Normally each of these sorts results by decreasing values, but, specifying this would cause them to be reversed. Or, alternately, you could have a natural ordering for each (decreasing for doc and score, increasing for others) and specify an isReversed flag to reverse things. One way or the other, we probably ought to support reversed results, no? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]