elasticsearch/elasticsearch-js — pull request #150 by tanguylebarzic (2014-10-08 11:53:39+00:00)
Title: Fix non-working example in quick_start

- Wrap the 'filtered' object in a top-level query object (otherwise same issue as https://github.com/elasticsearch/elasticsearch/issues/1688)
- Fix typo (err => error) in the callback.
It's nice to be able to start from a working example and iterate from here. Thanks!