Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 929 Bytes

README.textile

File metadata and controls

11 lines (8 loc) · 929 Bytes

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