Skip to content

Conversation

@matriv
Copy link
Contributor

@matriv matriv commented May 30, 2019

Since the max_score optimization landed in Elasticsearch 7,
the CommonTermsQuery is redundant and slower. Moreover the
cutoff_frequency parameter for MatchQuery and MultiMatchQuery
is redundant.

Relates to #37096

(cherry picked from commit 04b7449)

* Deprecate CommonTermsQuery and cutoff_frequency

Since the max_score optimization landed in Elasticsearch 7,
the CommonTermsQuery is redundant and slower. Moreover the
cutoff_frequency parameter for MatchQuery and MultiMatchQuery
is redundant.

Relates to elastic#27096


(cherry picked from commit 04b7449)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@matriv matriv merged commit ce30afc into elastic:7.x May 30, 2019
@matriv matriv deleted the backport-42619 branch May 30, 2019 16:04
matriv added a commit to matriv/elasticsearch that referenced this pull request May 31, 2019
Add deprecation entries for 7.3 regarding `common` query
and `cutoff_frequency` parameter.

Follows: elastic#42691
matriv added a commit that referenced this pull request May 31, 2019
Add deprecation entries for 7.3 regarding `common` query
and `cutoff_frequency` parameter.

Follows: #42691
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants