Skip to content

feat: add size and shard_size getters/setters to TermsAggregation - #22

Draft
shyim wants to merge 2 commits into
mainfrom
feat/terms-aggregation-size-shard-size
Draft

feat: add size and shard_size getters/setters to TermsAggregation#22
shyim wants to merge 2 commits into
mainfrom
feat/terms-aggregation-size-shard-size

Conversation

@shyim

@shyim shyim commented May 6, 2026

Copy link
Copy Markdown
Owner

Closes #17

  • Added $size and $shardSize properties with getSize()/setSize() and getShardSize()/setShardSize() methods
  • Updated getArray() to include both parameters (handles 0 value correctly)
  • SignificantTermsAggregation and SignificantTextAggregation inherit the new API

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.

Feature Request : Handle "size" in aggregations

1 participant