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

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

Turns out supporting HighlightFlag.PHRASES and HighlightFlag.MULTI_TERM_QUERY 
is out of reach due to absence of methods like TermSpans.collect(SpanCollector) 
in Matches. Thus, when Interval wildcard is expanded I didnt' find a way to let 
highlighter know detailed info about match. I suppose it's out of scope for 
now., 

> 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
>
>          Time Spent: 10m
>  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