I have an index with 10M documents with nearly 1M unique names and 20 shards, when I use terms aggregation it produces an approximate aggregation result as an CURL request, but when I try to replicate the approximation in REST high level client in Java, it produces accurate aggregation results.
Is there any way to replicate the approximate aggregation results using the REST hlc? Thanks.
achieved in Elasticsearch-head plugin - shows 7 instead of 13, actual count in kibana