Hi Michael,
I've seen that our main problem is that copy() method is always sending
documents in the same order (between two queries with same content in
different time). So it is a problem if we use compareBottom a lot because
the documents at the begining of the queue recieve more comparations
The API is definitely confusing.
setBottom is called by Lucene to notify your FieldComparator which
slot holds the "weakest" entry. You can at that point cache that
entry (eg IntComparator stores the bottom int value at that point),
or, simply store that bottom slot in an instance variable.
The