Skip to content
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

Add missing shard_min_doc_count to TermsAggregation #2175

Merged
merged 4 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
40 changes: 26 additions & 14 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions specification/_types/aggregations/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,11 @@ export class TermsAggregation extends BucketAggregationBase {
*/
order?: AggregateOrder
script?: Script
/**
* Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.
* Terms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.
*/
shard_min_doc_count?: long
/**
* The number of candidate terms produced by each shard.
* By default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.
Expand Down
Loading