On Wed, Jul 15, 2009 at 4:12 PM, Uwe Schindler<[email protected]> wrote:
> As far as I know, Shalin implemented the Collectors in Solr with the method > allowDocsOutOfOrder() returning false. So the collectors should create > DocIdSet with correct order. I think you meant "so the Scorers will be created so that they provide docIDs in order". Ie, Lucene first asks the Collector if it'll accept docs out of order. If it returns false, then it asks the Weight for a Scorer that always returns docs in order. But in the case of BooleanQuery this is a sizable performance hit, if it's a query (only OR'd terms and at most 32 MUST_NOT terms) that can use BooleanScorer not BooleanScorer2. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
