Dawid Weiss created LUCENE-9633:
-----------------------------------

             Summary: 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


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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to