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

David Smiley commented on LUCENE-9431:
--------------------------------------

If I recall, the ability to turn off support for multiTermQueries (e.g. 
wildcards) and position sensitive queries (e.g. phrases) in the name of 
performance or whatever is incompatible with WEIGHT_MATCHES mode.

if you look at getFlags, the idea is to add WEIGHT_MATCHES to it so long as 
both PHRASES & MULTITERM_QUERY are already in it, and that 
PASSAGE_RELEVANCY_OVER_SPEED is not.

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

Reply via email to