[
https://issues.apache.org/jira/browse/LUCENE-9634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298790#comment-17298790
]
Dawid Weiss commented on LUCENE-9634:
-------------------------------------
Hi Zach. My thinking was that if offsets are available in the index then they
should be used (then there's no need to reanalyze the input)... I think any
improvement here would be beneficial if you can make it work with the various
sources of information (that result from different indexing strategies). Feel
free to play around - the more tests you can make green, the better. ;)
> Highlighting of degenerate spans on fields *with offsets* doesn't work
> properly
> -------------------------------------------------------------------------------
>
> Key: LUCENE-9634
> URL: https://issues.apache.org/jira/browse/LUCENE-9634
> Project: Lucene - Core
> Issue Type: Sub-task
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
>
> Match highlighter works fine with degenerate interval positions when
> {{OffsetsFromPositions}} strategy is used to compute offsets but will show
> incorrect offset ranges if offsets are read from directly from the
> {{MatchIterator}} ({{OffsetsFromMatchIterator}}).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]