You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Julie Tibshirani (Jira)" <ji...@apache.org> on 2020/07/14 17:40:00 UTC

[jira] [Updated] (LUCENE-9427) Unified highlighter can fail to highlight fuzzy query

     [ https://issues.apache.org/jira/browse/LUCENE-9427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julie Tibshirani updated LUCENE-9427:
-------------------------------------
    Description: 
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.

  was:
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.


> 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
>
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org