Merge pull request #139 from Vineeth-Mohan/patch-1
Typo ( hists -> hits)
This commit is contained in:
@ -1557,7 +1557,7 @@ client.search({
|
|||||||
q: 'title:test'
|
q: 'title:test'
|
||||||
}, function getMoreUntilDone(error, response) {
|
}, function getMoreUntilDone(error, response) {
|
||||||
// collect the title from each response
|
// collect the title from each response
|
||||||
response.hits.hists.forEach(function (hit) {
|
response.hits.hits.forEach(function (hit) {
|
||||||
allTitles.push(hit.fields.title);
|
allTitles.push(hit.fields.title);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user