You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrey Kudryavtsev (JIRA)" <ji...@apache.org> on 2013/11/17 10:27:20 UTC
[jira] [Created] (SOLR-5454) Create collection of child scorers in
BooleanScorer2 only once
Andrey Kudryavtsev created SOLR-5454:
----------------------------------------
Summary: Create collection of child scorers in BooleanScorer2 only once
Key: SOLR-5454
URL: https://issues.apache.org/jira/browse/SOLR-5454
Project: Solr
Issue Type: Improvement
Reporter: Andrey Kudryavtsev
Priority: Minor
Fix For: 5.0
I use big hierarchical search query with boolean queries on different levels. After main search I do some post filtering and need to recursively visit scorer's tree using Scorer#getChildren() method. And I've got hotspot here - in BooleanScorer2#getChildren() new list of children scorers created and
collected on every call i.e. on every matched document. I think we can eliminate this hotspot by creating this list once as children scorers won't change there state.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org