lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: valid scores for sorting
Date Tue, 26 May 2009 18:50:12 GMT
On Tue, May 26, 2009 at 2:41 PM, Yonik Seeley
<yonik@lucidimagination.com> wrote:
> On Tue, May 26, 2009 at 2:22 PM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>> Hmm -- IndexSearcher tries to detect when SortComparatorSource is
>> used, and drive the search with the toplevel reader, so that code is
>> not supposed to be reached.  Do you remember what tickled it?
>
> Solr's search code is now using the IndexSearcher.search(query,
> luceneFilter, collector) method.
> Since it doesn't pass a Sort (it's part of the collector instead), I
> guess this logic is bypassed.
> From a back compat point of view, this is fine of course since
> "Collector" didn't previously exist.

Ahhh OK, phew :)

Mike

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


Mime
View raw message