[
https://issues.apache.org/jira/browse/LUCENE-9633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248124#comment-17248124
]
ASF subversion and git services commented on LUCENE-9633:
---------------------------------------------------------
Commit a6481439556c2f9dcb038d233d7eee4179f4ffff in lucene-solr's branch
refs/heads/master from Dawid Weiss
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a648143 ]
LUCENE-9633: Improve match highlighter behavior for degenerate intervals (on
non-existing positions). (#2127)
> 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]