lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: SortField questions
Date Tue, 04 Aug 2009 15:18:10 GMT
On Tue, Aug 4, 2009 at 9:56 AM, Yonik Seeley<> wrote:
> OK, it sounds like it should always be the same as SortField.getReversed() then?
> In which case it seems redundant to pass it into
> SortField.getComparator() since SortField already keeps track of it?

Duh, right.  I'll remove as an arg and simply use SortField's reverse
attr directly.

In fact I think SortField.getComparator should be package private?

I'll fold this into LUCENE-1779.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message