¿El cliente Java de ElasticSearch utiliza la API REST?

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 .wars. There's a method for deploying ES as a .war but it offers only the REST interface.

preguntado el 28 de agosto de 12 a las 10:08

1 Respuestas

No, ES's REST API is using the Java API internally (see aquí) 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.

Respondido 29 ago 12, 18:08

Thanks - any idea how the Java API is manifested? Some custom protocol over TCP? RMI? - IngenieroMejor_DJ

De acuerdo con esta código, usa Netty and TCP - A21z

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.