lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject SortField questions
Date Tue, 04 Aug 2009 02:29:56 GMT
Why is "reversed" passed into SortField.getComparator(), and what does it mean?
Should it always be passed as sortField.getReversed() (and if so, why
does the param exist at all)?

Also, FieldComparator has no javadoc for most of it's methods.  For example:
    public void setNextReader(IndexReader reader, int docBase,  int
numSlotsFull) throws IOException;

I can figure out the other params, but how does one set numSlotsFull
and what does it mean?

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
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