Skip to content
Node gadgets for Elastic Search
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
proxy
README.textile

README.textile

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

Something went wrong with that request. Please try again.