Search elasticsearch with java client using JSON query

yeah, this is ES-java TransportClient API. is this what you want?