lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: SortField questions
Date Tue, 04 Aug 2009 15:18:10 GMT
On Tue, Aug 4, 2009 at 9:56 AM, Yonik Seeley<yonik@lucidimagination.com> 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.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message