Open anegrin opened 6 years ago
example: query with routing
curl -X POST http://localhost:8222/index/type/_count?routing=123 -d '{ "query": { "term": { "user": 123 } } }'
aws-es-proxy verbose log prints:
2018/08/12 08:18:32 Generated fresh AWS Credentials object
and the curl returns empty response
< HTTP/1.1 200 OK < Date: Sun, 12 Aug 2018 08:18:32 GMT < Content-Length: 0 < Content-Type: text/plain; charset=utf-8
workaround: send a GET instead of a POST but this is not working with _delete_by_query as it requires POST
Hi, Interesting will investigate this.
example: query with routing
aws-es-proxy verbose log prints:
2018/08/12 08:18:32 Generated fresh AWS Credentials object
and the curl returns empty response
workaround: send a GET instead of a POST but this is not working with _delete_by_query as it requires POST