added 1.4 api, updated 1.3 api

This commit is contained in:
Spencer Alger
2014-09-25 16:04:41 -07:00
parent cf46e2148d
commit 1620048869
5 changed files with 295 additions and 33 deletions

View File

@ -12,7 +12,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);
});