You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 also redundant.
Relates to elastic#27096
Copy file name to clipboardExpand all lines: docs/reference/query-dsl/common-terms-query.asciidoc
+2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
[[query-dsl-common-terms-query]]
2
2
=== Common Terms Query
3
3
4
+
deprecated[7.3.0,Replaced by the more performant `max_score` optimization which is applied automatically without any configuration on a <<query-dsl-match-query>>]
5
+
4
6
The `common` terms query is a modern alternative to stopwords which
5
7
improves the precision and recall of search results (by taking stopwords
0 commit comments