Haskell API to elasticsearch's REST interface