[ 
https://issues.apache.org/jira/browse/LUCENE-9031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971395#comment-16971395
 ] 

Alan Woodward commented on LUCENE-9031:
---------------------------------------

Can we restrict this change to just be the alterations to 
CachedMatchesIterator?  And make sure that we have a test for the new behaviour 
in TestIntervals directly, rather than relying on highlighter tests to check 
the behaviour?  I think the changes to MultiTermIntervalsSource.visit() need 
rethinking - wrapping things in a fake query seems like a hack just to support 
a particular way of highlighting things, which feels wrong to me.

> UnsupportedOperationException on highlighting Interval Query
> ------------------------------------------------------------
>
>                 Key: LUCENE-9031
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9031
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/queries
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>            Priority: Major
>             Fix For: 8.4
>
>         Attachments: LUCENE-9031.patch, LUCENE-9031.patch, LUCENE-9031.patch, 
> LUCENE-9031.patch, LUCENE-9031.patch, LUCENE-9031.patch
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> When UnifiedHighlighter highlights Interval Query it encounters 
> UnsupportedOperationException. 



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