DeejUK
DeejUK

Reputation: 13501

Does ElasticSearch's Java Client use REST API?

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.

Upvotes: 1

Views: 795

Answers (1)

A21z
A21z

Reputation: 1067

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.

Upvotes: 1

Related Questions