[ https://issues.apache.org/jira/browse/LUCENE-9031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982299#comment-16982299 ]
Mikhail Khludnev commented on LUCENE-9031: ------------------------------------------ [~dsmiley], I'd happy to make it it better. Initially there's a loop through regular and intervals query see [^LUCENE-9031.patch] I can't see how subclassing may help here it looks like {code:java} void testFoo() { // index Query = createQforFoo(); // highlight // assert } Query createQforFoo() { return new BQB... } {code} I can make it even like this if you think it's better than looping. > 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, LUCENE-9031.patch, > LUCENE-9031.patch, LUCENE-9031.patch > > Time Spent: 3h 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