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

Reply via email to