[
https://issues.apache.org/jira/browse/LUCENE-9274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058188#comment-17058188
]
David Smiley commented on LUCENE-9274:
--------------------------------------
Yes indeed; the latter part of my comment here:
https://issues.apache.org/jira/browse/LUCENE-8158?focusedCommentId=16352779&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16352779
I just filed a new issue for this: LUCENE-9277. I have no plans to work on
this anytime soon but I'm always happy to code review / merge (which itself is
plenty of work – _alas_).
> UnifiedHighlighter cannot handle SpanMultiTermQueryWrapper with an Automaton
> of type SINGLE
> -------------------------------------------------------------------------------------------
>
> Key: LUCENE-9274
> URL: https://issues.apache.org/jira/browse/LUCENE-9274
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 8.4
> Reporter: Christoph Goller
> Priority: Major
> Attachments: TestUnifiedHighlighterMTQ.java
>
>
> MultiTermHighlighting.extractAutomata ignores a Term from a SINGLE Automaton
> and Highlighting does not work.
> Of course an AutomatonQuery with a single term does not make much sense, but
> it may be generated by an automatic process.
> Possible fixes:
> * Either implement consumeTerms in MultiTermHighlighting.AutomataCollector
> * Or remove special case for SINGLE in CompiledAutomaton.visit
> I attatch a Unit Test
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]