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

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

Another way to do it would be to have a cached `Query[]` array alongside the 
`posAndOffsets[]` one, that can be resized and populated in the `cache()` 
method? That way the `CachingMatchesIterator` doesn't need to know anything 
about the internals of its cached iterator.

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