[ https://issues.apache.org/jira/browse/SOLR-7655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580428#comment-14580428 ]
Ere Maijala commented on SOLR-7655: ----------------------------------- Took me a while to get a build environment up, but results look very promising. My very unscientific benchmark shows that the highlighter may now be even a bit faster than in Solr 4.10.2 at least in some cases. Thanks for the great work, [~dsmiley]! > 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 > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org