lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: docBase Parameter in Collector.setNextReader
Date Fri, 13 Nov 2009 00:33:57 GMT
On Thu, Nov 12, 2009 at 5:28 PM, Uwe Schindler <uwe@thetaphi.de> wrote:

> Mike: What was the reason for this change?

We first thought this (visiting segments from largest to smallest
size) improved performance, but, then we decided a better optimization
was for Collectors to save tie breaking by knowing the docIDs will
always arrive in order.  So we reverted the change.

> By the way. Oal.util.SortTemplate
> is now dead code, but it's released, so we cannot remove it (but it's really
> handy). :-)

Sigh!  We need a dead-code-finder.  Would have also discovered we no
longer use Directory.touchFile ;)

Mike

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


Mime
View raw message