No Support to change the default bucket value in MultiTermAggregation

2.4.0 (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:

Currently there is no support to provided in Java Client library for the parameters mentioned in this document Bucket aggregations - OpenSearch documentation

I can get the relevant result from curl request, but unfortunately the library doesn’t provide us the capability to change the default size parameter value

Configuration:

a -> a.multiTerms(mt -> mt.terms(multiTermsList)
                       // .size(1000) this is not possible ("cannot resolve size method in Builder")

Is there any workaround present for this?

This sounds like a gap that needs fixing in the opensearch-java client. Feel free to open an issue here: Sign in to GitHub · GitHub

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.