-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Fix parsing RareTerms aggregation response failed in RestHighLevelClient #64454
Conversation
Pinging @elastic/es-core-features (:Core/Features/Java High Level REST Client) |
Thanks for your contribution @gaobinlong. Overall it looks pretty good. |
Jenkins test this please |
@swallez, some test failures here, I have merged the master branch into this branch, can you help to trigger the test again? |
Jenkins test this please |
@swallez, the test failure may not relate to the code change of this pr? I'm confused about that. https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-2/12303/testReport/junit/org.elasticsearch.xpack.datastreams/DataStreamRestIT/testDSXpackUsage/ |
@elasticmachine update branch |
@elasticmachine ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @gaobinlong!
…ent (elastic#64454) - Add LongRareTerms and StringRareTerms to the DefaultNamedXContents, ensure that the response of RareTerms aggregation can be parsed correctly. - Add testSearchWithRareTermsAgg method to test the response of RareTerms aggregation can be parsed correctly. - Add some test code to ensure the AggregationsTests can execute successfully.
…ent (#65103) Backport of #64454 - Add LongRareTerms and StringRareTerms to the DefaultNamedXContents, ensure that the response of RareTerms aggregation can be parsed correctly. - Add testSearchWithRareTermsAgg method to test the response of RareTerms aggregation can be parsed correctly. - Add some test code to ensure the AggregationsTests can execute successfully. Co-authored-by: bellengao <gbl_long@163.com>
…ent (elastic#65103) Backport of elastic#64454 - Add LongRareTerms and StringRareTerms to the DefaultNamedXContents, ensure that the response of RareTerms aggregation can be parsed correctly. - Add testSearchWithRareTermsAgg method to test the response of RareTerms aggregation can be parsed correctly. - Add some test code to ensure the AggregationsTests can execute successfully. Co-authored-by: bellengao <gbl_long@163.com>
…5144) Backport of #64454 - Add LongRareTerms and StringRareTerms to the DefaultNamedXContents, ensure that the response of RareTerms aggregation can be parsed correctly. - Add testSearchWithRareTermsAgg method to test the response of RareTerms aggregation can be parsed correctly. - Add some test code to ensure the AggregationsTests can execute successfully. Co-authored-by: bellengao <gbl_long@163.com>
Backported to 7.x and 7.10. |
Relates to #63025.
The main changes are:
LongRareTerms
andStringRareTerms
to theDefaultNamedXContents
, ensure that the response of RareTerms aggregation can be parsed correctly.testSearchWithRareTermsAgg
method to test the response of RareTerms aggregation can be parsed correctly.AggregationsTests
can execute successfully.