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

Mikhail Khludnev commented on LUCENE-9031:
------------------------------------------

I'm not sure I've got your point. I did cache for queries. But it requires some 
code change in TermIS.

Also added Interval queries into TestUnifiedHighlighter.

Couldn't make I.fixField() to highlight correctly, to be continued.

Also, it seems like highlighting of BQ of SHOULDs is deferent from highlighting 
Intervals.or(), I'm not sure if Intervals has any method, highlighted by the 
same way as BQ of SHOULDs. 

Attached patch with many repeats just for Yetus.     

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