lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
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?


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

View raw message