-
Notifications
You must be signed in to change notification settings - Fork 199
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
[BUG] Unable to deserialize adjacency matrix aggregation buckets #1478
Comments
@CodeSlothTrent Could you please try removing |
Hi @Xtansia 👋 Without that parameter I receive the following exception:
Thanks! |
@CodeSlothTrent Ah that actually helps a lot! While not immediately obvious because of the error that it's hitting, this is due to |
Hi @Xtansia Thanks for confirming 👍 |
What is the bug?
A clear and concise description of the bug.
The OpenSearchClient is unable to deserialize Adjacency Matrix aggregation results.
How can one reproduce the bug?
Steps to reproduce the behavior.
A unit test can be found in the public repository at the following link:
https://github.com/CodeSlothTrent/codesloth-search-samples-java/blob/cab26928e8ccf367f9e8e10b01e1c4bc77ab2602/OpenSearchSamples/src/test/java/KeywordDemo/KeywordAggregationTests.java#L271
Code copied here for reference
Example query produced
What is the expected behavior?
A clear and concise description of what you expected to happen.
The above query when run in opensearch dashboards developer tools returns results
However, looking at the results in code, the buckets are not populated
What is your host/environment?
Operating system, version.
Windows 11 Home. opensearch-java 2.15.0.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: