> The HitCollector used will determine how things are ordered. 
> In 2.4, the 
> TopDocCollector will order by relevancy and the 
> TopFieldDocCollector can 
> order by
> relevancy, index order, or by field. Lucene delivers the hit 
> ids to the 
> HitCollector and it can order as it pleases.


So HitCollector#collect(int doc, float score) is not called in a special
(default) order and must order the docs itself by score if one needs the
hits sorted by relevance?


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to