You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2015/06/10 15:01:02 UTC
[jira] [Resolved] (SOLR-7655) Perf bug-
DefaultSolrHighlighter.getSpanQueryScorer triggers
MultiFields.getMergedFieldInfos
[ https://issues.apache.org/jira/browse/SOLR-7655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley resolved SOLR-7655.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.2.1
[~shalinmangar] I didn't see you online and I saw it wasn't committed yet so I did so now.
> 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
> Fix For: 5.2.1
>
> Attachments: SOLR-7655.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org