On 6/22/06, karl wettin <[EMAIL PROTECTED]> wrote:
I tried to make a quick and dirty proof of concept, but noticed that no
matter what order TermDocs return the documents, the collector get
ascending document number order.

TermDocs should also always return documents in ascending order for a
single term (that's how they are stored internally).

What dictates the collected document order?

The scorers, and a general agreement.  The older BooleanScorer did
some document re-arrangement, but still relied on every other Scorer
delivered documents in-order.
The new BooleanScorer2 (default since 1.9) delivers docs in order.
Going in document order makes the whole process of matching/scoring
efficient.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to