We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
["_shards", "hits", "timed_out", "took"]
Whereas when i verify by making the http request instead to the endpoint , I get the desired aggregations.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: