You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2022/03/28 10:27:00 UTC

[jira] [Created] (SOLR-16120) optimise glob-free hl.fl expansion

Christine Poerschke created SOLR-16120:
------------------------------------------

             Summary: 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


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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org