You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Animesh Pandey (Jira)" <ji...@apache.org> on 2021/10/05 02:18:00 UTC

[jira] [Commented] (LUCENE-9431) UnifiedHighlighter: Make WEIGHT_MATCHES the default

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

Animesh Pandey commented on LUCENE-9431:
----------------------------------------

[~dsmiley] Hi, I wanted to confirm if my understanding is correct regarding this issue. By making WEIGHT_MATCHES as default, do we mean that for UnifiedHighlighter we just add HighlightFlag.WEIGHT_MATCHES to getFlags(String field) method? I did that just to check what happens and I see like 20 unit tests fail in uhighlight package.

> UnifiedHighlighter: Make WEIGHT_MATCHES the default
> ---------------------------------------------------
>
>                 Key: LUCENE-9431
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9431
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: David Smiley
>            Priority: Minor
>              Labels: newdev
>             Fix For: main (9.0)
>
>
> This mode uses Lucene's modern mechanism of exposing information that previously required complicated highlighting machinery.  It's also likely to generally work better out-of-the-box and with custom queries.



--
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