You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/10/02 20:29:00 UTC
[jira] [Created] (LUCENE-9556) UnifiedHighlighter: distinguish no
field from no passages in field
David Smiley created LUCENE-9556:
------------------------------------
Summary: UnifiedHighlighter: distinguish no field from no passages in field
Key: LUCENE-9556
URL: https://issues.apache.org/jira/browse/LUCENE-9556
Project: Lucene - Core
Issue Type: Improvement
Components: modules/highlighter
Reporter: David Smiley
The UnifiedHighlighter does not distinguish between highlighting a field that is absent on a document, and highlighting a field that is present but no passages were found (can happen for a variety of reasons) -- both cases produce null. While not a huge deal in general, it's an annoyance. It can be useful for the user/client to detect the content was present but not highlightable so that it might take some default action, like returning the whole field value (possibly to process in some way) or highlighting some other field.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org