Skip to content

Commit d360ce9

Browse files
committed
Add minimum_should_match to terms_set
1 parent b26b9a1 commit d360ce9

File tree

1 file changed

+5
-0
lines changed
  • specification/_types/query_dsl

1 file changed

+5
-0
lines changed

specification/_types/query_dsl/term.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
Id,
2727
Ids,
2828
IndexName,
29+
MinimumShouldMatch,
2930
MultiTermQueryRewrite,
3031
Routing
3132
} from '@_types/common'
@@ -252,6 +253,10 @@ export class TermsLookup {
252253
}
253254

254255
export class TermsSetQuery extends QueryBase {
256+
/**
257+
* Specification describing number of matching terms required to return a document.
258+
*/
259+
minimum_should_match?: MinimumShouldMatch
255260
/**
256261
* Numeric field containing the number of matching terms required to return a document.
257262
*/

0 commit comments

Comments
 (0)