To be compatible with Amazon ECS paths have to start with '/' So: indexResponse = restClient.performRequest("GET", index + "/_search", should be: indexResponse = restClient.performRequest("GET", "/" + index + "/_search",
To be compatible with Amazon ECS paths have to start with '/'
So:
indexResponse = restClient.performRequest("GET", index + "/_search",
should be: