On Thu, Oct 15, 2009 at 6:04 PM, Yonik Seeley
<yo...@lucidimagination.com> wrote:
> On Thu, Oct 15, 2009 at 5:33 PM, Michael McCandless
> <luc...@mikemccandless.com> wrote:
>> Though it'd be odd if the switch to searching by segment
>> really was most of the gains here.
>
> I had assumed that much of the improvement was due to ditching
> MultiTermEnum/MultiTermDocs.
> Note that LUCENE-1483 was before LUCENE-1596... but that only helps
> with queries that use a TermEnum (range, prefix, etc).

Yeah, and all the tests I did in LUCENE-1483 were either TermQuery or
AllDocsQuery so LUCENE-1596 shouldn't have helped.

Ditching MultiTermDocs just means saving one method call, and also
saving having to do 2nd pass on each bulk-read of docs/freqs adding in
the base to the docs.  Maybe that 2nd pass was a big part of the gain.

Mike

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

Reply via email to