OpenSearch/client/rest-high-level/src
Sylvain Wallez b2475f9ccf
Fix parsing RareTerms aggregation response in RestHighLevelClient (#65144)
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>
2020-11-17 17:43:51 +01:00
..
main Fix parsing RareTerms aggregation response in RestHighLevelClient (#65144) 2020-11-17 17:43:51 +01:00
test Fix parsing RareTerms aggregation response in RestHighLevelClient (#65144) 2020-11-17 17:43:51 +01:00