reate the TopFieldCollectors.
Regards,
Raimon Bosch.
Michael McCandless-2 wrote:
>
> 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 (e
don't get a way to maximize this amount of documents without forcing
numHits. If we use a simple comparation the sorter is always sorting our
most relevant document, so maybe we need a pseudo-random function? We are
interested in sort a big amount of documents.
Thanks in advance,
Raimon Bosch
the function but I don't understand
it 100%. Any ideas?
Regards,
Raimon Bosch.
--
View this message in context:
http://www.nabble.com/CompareBottom-and-setBottom-in-TopFieldCollector-and-FieldComparator-tp24425303p24425303.html
Sent from the Lucene
Hi!
We are doing a migration from ScoreDocComparator to FieldComparator in order
to get better performance and try its new features. I was wondering how we
can acces to ScoreDoc's of a document inside FieldComparator. Can we use
FieldComparator as ScoreDocComparator?
Thanks in advance,
R