On Tue, May 26, 2009 at 2:22 PM, Michael McCandless <luc...@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. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org