[ 
https://issues.apache.org/jira/browse/SOLR-7655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579478#comment-14579478
 ] 

David Smiley commented on SOLR-7655:
------------------------------------

This was discovered via a commenter here: 
https://issues.apache.org/jira/browse/SOLR-5855?focusedCommentId=14578437&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14578437
  (the purpose of that issue is unrelated to the discovery in the stack traces 
posted)

> Perf bug- DefaultSolrHighlighter.getSpanQueryScorer triggers 
> MultiFields.getMergedFieldInfos
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7655
>                 URL: https://issues.apache.org/jira/browse/SOLR-7655
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 5.0
>            Reporter: David Smiley
>            Assignee: David Smiley
>
> It appears grabbing the FieldInfos from the SlowCompositeReaderWrapper is 
> slow.  It isn't cached.  The DefaultSolrHighligher in SOLR-6196 (v5.0) uses 
> it to ascertain if there are payloads.  Instead it can grab it from the Terms 
> instance, which is cached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to