I added these for my own benefit, you're welcome to it if you're interested. The additions relate to adding, viewing and removing mappings and rivers, and should be roughly in the same style as the existing calls.
Added methods exposing the adding and deleting of rivers
Added methods to expose mapping PUT and mapping GET
Normalised createRiver to putRiver, added deleteMapping and getRiver …
Added count method
Added terms and removed some erroneous debug
This is wonderful, thanks. Would you mind adding in some tests for the APIs?
Sure, I'll send another pull request shortly. I'm currently testing some ideas around a high-level object layer wrapping CouchDB and Elasticsearch so if that goes ahead there may be a whole lot more pull requests.