Node gadgets for Elastic Search
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of lukas-vlcek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Node gadgets for Elastic Search

Proxy server

Basically, the proxy server can do the following for you:

  • It can restrict access to Elastic Search REST API (defaults to safe operations only).
  • You can provide handlers to modify HTTP client request (e.g. you can ensure that size is not too big) and Elastic Search response (e.g. you can remove sensitive data).
  • It can round-robin client requests among active HTTP enabled nodes (it periodically refreshes list of active nodes), thus, it can provide a single URL for clients to communicate with Elastic Search cluster.

You can find simple example in proxy-example.js
More detailed documenation can be found in source code of elasticsearch-proxy.js