Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
SOLR-16111 hl.queryFieldPattern support (advanced alternative to hl.requireFieldMatch)
- Closed
- links to