Open mcorner opened 5 years ago
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",
And the elasticsearch port should be configurable (AWS uses 80 and 443)
To be compatible with Amazon ECS paths have to start with '/'
So: indexResponse = restClient.performRequest("GET", index + "/_search",
should be: