How to configure an external elasticsearch server?

(from github.com/marfago)
Is it possible to use an external elasticsearch server instead of the embedded one?

(from github.com/marevol)
Yes. RPM distribution uses an external elasticsearch by default.
To use it, please set the following environment variable.

export ES_HTTP_URL=http://localhost:9200
export ES_TRANSPORT_URL=localhost:9300

(from github.com/marfago)
Thank you.