Update TermsAggregation, CardinalityExecutionMode fields #982
Merged
karenyrx merged 3 commits intoopensearch-project:mainfrom Dec 3, 2025
Merged
Update TermsAggregation, CardinalityExecutionMode fields #982karenyrx merged 3 commits intoopensearch-project:mainfrom
TermsAggregation, CardinalityExecutionMode fields #982karenyrx merged 3 commits intoopensearch-project:mainfrom
Conversation
Contributor
Changes AnalysisCommit SHA: 1e400ea API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/19878183105/artifacts/4745024278 API Coverage
|
Signed-off-by: Karen X <karenxyr@gmail.com>
dae64cc to
52bca8c
Compare
TermsAggregation, CardinalityExecutionMode protos
TermsAggregation, CardinalityExecutionMode protos TermsAggregation, CardinalityExecutionMode fields
Contributor
Spec Test Coverage Analysis
|
Signed-off-by: Xi Lu <fridalu66@gmail.com>
lucy66hw
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
1. TermsAggregation: Removed unsupported fields
Removed
missing_orderandmissing_bucketfields fromTermsAggregationas they are not supported by TermsAggregationBuilder.TermsAggregationBuilder.PARSER(lines 119-159) does not parsemissing_orderormissing_bucketfieldsTermsAggregationBuilder.doXContentBody()(lines 353-404) does not serialize these fieldsCompositeAggregationand were incorrectly included in theTermsAggregationspecSource references:
2. TermsAggregation: Added missing
shard_min_doc_countfieldAdded the
shard_min_doc_countfield which is supported by TermsAggregationBuilder.PARSER but was missing from the spec3. CardinalityExecutionMode: Added
segment_ordinalsenum valueAdded
segment_ordinalsexecution hint option introduced in OpenSearch 2.19.1 via PR #17312.Source references:
execution_hintfor Cardinality aggregationIssues Resolved
Part of opensearch-project/opensearch-protobufs#30
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.