-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
This is an issue I found while trying to run a search query using the GET method.
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html
Elasticsearch.get(MyApp.ElasticsearchCluster, "/posts/_doc/_search", '{ "aggs": { "my-agg-name": { "terms": { "field": "my-field" } } } }')
The response returned has these keys ["_shards", "hits", "timed_out", "took"] I was expecting it to return the aggregations along with the results.
Whereas when i verify by making the http request instead to the endpoint , I get the desired aggregations.
Metadata
Metadata
Assignees
Labels
No labels