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

Return all results from an aggregated ES query #109

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

darmstrong-r7
Copy link
Contributor

Elastic limits the number of results returned when aggregated to 10. This PR introduces the size attribute to the aggregates to return an increased number of results. Set to 10000 to based upon opensearch limits, rather the the ES limit of 65536.

REF: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-size

@scudette scudette merged commit c7e8780 into Velocidex:master Aug 31, 2023
1 check passed
@darmstrong-r7 darmstrong-r7 deleted the roughnecks/endpoint-7560 branch September 11, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants