Im trying to invoke search queries via GET body request.
While trying to execute the example request code here - https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_example_requests.html
org.elasticsearch.client.ResponseException: GET https://myhost.com/es/_search: HTTP/1.1 400 Error
While an invalid query, for example trying to sort by a non existent field, that gives a similar ResponseException 400 error, shows up on elasticsearch logs, the above isnt showing up in logs at all.
Hence proving difficult to debug too.
Any help would be greatly appreciated.