lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Modifying the stored norm type
Date Thu, 22 Jun 2006 14:20:10 GMT
On 6/22/06, karl wettin <> 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

-Yonik Solr, the open-source Lucene search server

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

View raw message