added 1.4 api, updated 1.3 api
This commit is contained in:
@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user