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

Adrien Grand commented on LUCENE-6695:
--------------------------------------

Thanks Uwe, I'll do that. Eventually I would like to remove this rewrite() 
method from the public API of Query, it should really be an implementation 
detail of createWeight!

> BlendedTermQuery
> ----------------
>
>                 Key: LUCENE-6695
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6695
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6695.patch
>
>
> It is sometimes desirable to ignore differences between index statistics of 
> several terms so that they produce the same scores, for instance if you 
> resolve synonyms at search time or if you want to search across several 
> fields. Elasticsearch has been using this approach for its multi_match query 
> for some time now.
> We already blend statistics in TopTermsBlendedFreqScoringRewrite (used by 
> FuzzyQuery) but it could be helpful to have a dedicated query to choose 
> manually which terms to blend stats from.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to