Skip to content

Add minimum_should_match to terms_set #2901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions specification/_types/query_dsl/term.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
Id,
Ids,
IndexName,
MinimumShouldMatch,
MultiTermQueryRewrite,
Routing
} from '@_types/common'
Expand Down Expand Up @@ -252,6 +253,12 @@ export class TermsLookup {
}

export class TermsSetQuery extends QueryBase {
/**
* Specification describing number of matching terms required to return a document.
* @availability stack since=8.10.0
* @availability serverless
*/
minimum_should_match?: MinimumShouldMatch
/**
* Numeric field containing the number of matching terms required to return a document.
*/
Expand Down
Loading