updated APIs

This commit is contained in:
Spencer Alger
2014-10-07 08:47:14 -07:00
parent 35023bb64f
commit 923a36e29d
9 changed files with 341 additions and 10 deletions

View File

@ -1557,7 +1557,7 @@ client.search({
q: 'title:test'
}, function getMoreUntilDone(error, response) {
// collect the title from each response
response.hits.hists.forEach(function (hit) {
response.hits.hits.forEach(function (hit) {
allTitles.push(hit.fields.title);
});