You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stewart Sims (JIRA)" <ji...@apache.org> on 2013/08/15 12:04:48 UTC
[jira] [Created] (SOLR-5158) PostingsHighlighter - optionally
return unhighlighted fields
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org