[ https://issues.apache.org/jira/browse/SOLR-16120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Poerschke resolved SOLR-16120. ---------------------------------------- Fix Version/s: 9.1 main (10.0) Resolution: Fixed * glob-free hl.fl expansion was optimised by not unnecessarily determining the fields available for highlighting; * with-glob hl.fl expansion was optimised by extracting a regex Pattern that can be re-used when matching the fields available for highlighting; > optimise glob-free hl.fl expansion > ---------------------------------- > > Key: SOLR-16120 > URL: https://issues.apache.org/jira/browse/SOLR-16120 > Project: Solr > Issue Type: Task > Components: highlighter > Reporter: Christine Poerschke > Assignee: Christine Poerschke > Priority: Minor > Fix For: 9.1, main (10.0) > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Currently {{SolrDocumentFetcher.getStoredHighlightFieldNames()}} is always > called but the result is actually only used if there's a {{\*}} present e.g. > {{hl.fl=fieldA,fieldB*}} would use it but {{hl.fl=fieldA,fieldB}} or > {{hl.fl=fieldA}} would not use it. > If a field names supplier is used instead of the field names themselves the > call can be deferred until needed and thus avoided if not needed. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org