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

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

Ok. (As I said, I will abandon this huge one 
https://github.com/apache/lucene-solr/pull/985) Just for the reference, I've 
fixed one postings MTQ highlight for intervals. Most changes seems reasonable, 
eg MultTermsIS is visited as a regular WildcardQuerry. One thing, which puzzled 
me a little 
https://github.com/apache/lucene-solr/pull/985/files#diff-f5538289e23aabdd53bc3bcbc59da342L239
 I think submatch of disjunction is an one of the legs. But not, underneath of 
one of the legs, just because submatches of TermIS is null. Also, this fix have 
broken a lot of existing UH-MTQ tests - not good.
Most of them fails in late assert while juggling passages 
https://github.com/apache/lucene-solr/blob/master/lucene/highlighter/src/java/org/apache/lucene/search/uhighlight/OffsetsEnum.java#L219.
 

> 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