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:29:20 UTC

[jira] [Updated] (SOLR-5454) Create collection of child scorers in BooleanScorer2 only once

     [ https://issues.apache.org/jira/browse/SOLR-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Kudryavtsev updated SOLR-5454:
-------------------------------------

    Attachment: SOLR-5454.patch

> 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
>
>         Attachments: SOLR-5454.patch
>
>
> 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