February 2011 Archives

Lazyweb: ElasticSearch proxy

Hi all

We get a lot of people who want to use javascript to talk to their ElasticSearch server, directly from the browser.

This poses a problem, as ElasticSearch doesn't offer any authentication, or request filtering.

I'd like to write ElasticSearch::Proxy, which would be configurable to:


  • allow restriction on GET/HEAD/POST/PUT/DELETE requests

  • parse the incoming JSON request, filter out anything that shouldn't be allowed, and then forward the request on to the ES server

About Clinton Gormley

user-pic The doctor will see you now...