How to aggregate paging in ElasticSearch?

When I execute the query below, how do I download aggs results?

And is there a method to put aggs results in the hits part as a result of json?

 POST http://myElastic.com/test/e1,e2,e3/_search { "aggs":{ "dedup" : { "terms":{ "field": "id" }, "aggs":{ "dedup_docs":{ "top_hits":{ "size":1 } } } } } } 
+1
source share
1 answer

Based on the problem below on the Elasticearch github website, I don't think you can request:

https://github.com/elastic/elasticsearch/issues/4915

Sounds like a general request. Add your own feedback, and they can come close to adding it.

0
source

All Articles