[
https://issues.apache.org/jira/browse/LUCENE-9633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss resolved LUCENE-9633.
---------------------------------
Resolution: Fixed
> Improve match highlighter behavior for degenerate intervals (on non-existing
> positions)
> ---------------------------------------------------------------------------------------
>
> Key: LUCENE-9633
> URL: https://issues.apache.org/jira/browse/LUCENE-9633
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Interval functions can produce match spans on non-existing or otherwise
> degenerate token positions. For example,
> {code}
> extend(foo 5 5)
> {code}
> would create an interval to the left and right of each term foo, regardless
> of whether such positions actually exist in the token stream.
> This issue improves match highlighter to still work in such cases. This is
> actually fun to play with as you can highlight and visualize actual interval
> spans even for functions that expand or manipulate other sources' context.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]