appbaseio / appbase-js

appbase.io search client library for JavaScript
MIT License
42 stars 18 forks source link

.search() method is throwing a ReferenceError #2

Closed siddharthlatest closed 9 years ago

siddharthlatest commented 9 years ago

After instantiating Reference object, applying .search() method like below

var response = streamingClient.search({
  "type": "books",
  "body": {
    "query": {"match_all": {}
  }
})

throws error