Stewart Sims created SOLR-5158:
----------------------------------
Summary: PostingsHighlighter - optionally return unhighlighted
fields
Key: SOLR-5158
URL: https://issues.apache.org/jira/browse/SOLR-5158
Project: Solr
Issue Type: Improvement
Components: highlighter
Affects Versions: 4.2.1
Reporter: Stewart Sims
Priority: Minor
The PostingsHighlighter mechanism currently returns all fields specified in the
hl.fl parameter for each document, even if they do not have hits within them.
This can lead to a lot of empty / self-closing tags if highlighting on a large
number of fields which may be undesirable.
It would be useful if a user could specify using a parameter such as
'hl.ignoreUnhighlightedFields=true' that these fields are not returned in the
response.
See
http://lucene.472066.n3.nabble.com/PostingsHighlighter-returning-fields-which-don-t-match-td4084495.html
for a suggestions on implementation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]