[
https://issues.apache.org/jira/browse/LUCENE-9427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172273#comment-17172273
]
ASF subversion and git services commented on LUCENE-9427:
---------------------------------------------------------
Commit b6806355c3cf7c866ab3b2302b78f2b478691876 in lucene-solr's branch
refs/heads/branch_8x from Julie Tibshirani
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b680635 ]
LUCENE-9427: Fuzzy query should always call consumeTermsMatching in visitor
> Unified highlighter can fail to highlight fuzzy query
> -----------------------------------------------------
>
> Key: LUCENE-9427
> URL: https://issues.apache.org/jira/browse/LUCENE-9427
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Julie Tibshirani
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> If a fuzzy query corresponds to an exact match (for example it has with
> maxEdits: 0), then the unified highlighter doesn't produce highlights for the
> matching terms.
> I think this is due to the fact that when visiting a fuzzy query, the exact
> terms are now consumed separately from automata. The unified highlighter
> doesn't account for the terms and misses highlighting them.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]