Skip to content

Add basic aggregation support to OpenSearch#49

Merged
KurtThiemann merged 1 commit intoaternosorg:masterfrom
KurtThiemann:opensearch-aggregations
Feb 11, 2026
Merged

Add basic aggregation support to OpenSearch#49
KurtThiemann merged 1 commit intoaternosorg:masterfrom
KurtThiemann:opensearch-aggregations

Conversation

@KurtThiemann
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds basic support for returning OpenSearch aggregations as part of the search result.

Changes:

  • Adds an aggregations property plus getter/setter on SearchResult.
  • Populates SearchResult::aggregations from the OpenSearch response when present.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/Search/SearchResult.php Stores and exposes OpenSearch aggregations on the result object.
src/Driver/OpenSearch/OpenSearch.php Copies response->aggregations into SearchResult during search.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KurtThiemann KurtThiemann merged commit 9d8a2ac into aternosorg:master Feb 11, 2026
3 checks passed
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.

3 participants