[
https://issues.apache.org/jira/browse/LUCENE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695991#comment-15695991
]
David Smiley commented on LUCENE-7575:
--------------------------------------
This should be straight-forward to add to the term & automata extraction
routines.
PhraseHelper is a bit more work when it comes time to actually executing the
SpanQuery... it probably needs to wrap the LeafReader in order to always return
the field being highlighted no matter which field is being asked for. If the
query contains the same span query except differentiated by field (e.g. same
SpanNear tree but only different field), it would be nice if it could be
identified so that we don't do the work additional times. But that's not
essential.
> UnifiedHighlighter: add requireFieldMatch=false support
> -------------------------------------------------------
>
> Key: LUCENE-7575
> URL: https://issues.apache.org/jira/browse/LUCENE-7575
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/highlighter
> Reporter: David Smiley
>
> The UnifiedHighlighter (like the PostingsHighlighter) only supports
> highlighting queries for the same fields that are being highlighted. The
> original Highlighter and FVH support loosening this, AKA
> requireFieldMatch=false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]