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

[Backport 2.x] _doc_count elasticsearch PR #4037

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport fb7d81a from #3985

Bucket aggregations compute bucket doc_count values by incrementing
the doc_count by 1 for every document collected in the bucket.

When using summary fields (such as aggregate_metric_double) one
field may represent more than one document. To provide this
functionality this commit implements a new field mapper (named
doc_count field mapper). This field is a positive integer representing
the number of documents aggregated in a single summary field.

Bucket aggregations check if a field of type doc_count exists in a
document and take this value into consideration when computing doc
counts.

Note: This originated from upstream PR 64503.

Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
(cherry picked from commit fb7d81a)
@opensearch-trigger-bot opensearch-trigger-bot bot requested review from a team and reta as code owners July 28, 2022 19:34
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@nknize nknize added feature New feature or request Indexing & Search v2.3.0 'Issues and PRs related to version v2.3.0' v2.2.0 and removed v2.3.0 'Issues and PRs related to version v2.3.0' labels Jul 28, 2022
@dblock dblock merged commit 5091f2a into 2.x Aug 1, 2022
@github-actions github-actions bot deleted the backport/backport-3985-to-2.x branch August 1, 2022 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants