Does the ElasticSearch Java client use the ES cluster's REST API behind the scenes? I'm wondering if it's possible to deploy an ES cluster via AWS ElasticBeanstalk which requires .war
s. There's a method for deploying ES as a .war
but it offers only the REST interface.
1 Answer
No, ES's REST API is using the Java API internally (see here) so the Java client is not going through the REST API.
If you deployed ES is only providing the REST API, I guess you'll have to use it even from a Java app.
-
Thanks - any idea how the Java API is manifested? Some custom protocol over TCP? RMI?– DeejUKAug 30, 2012 at 8:48
-