[docs] fix _scroll_id reference in scroll example
This commit is contained in:
@ -18,7 +18,7 @@ client.search({
|
||||
if (response.hits.total > allTitles.length) {
|
||||
// ask elasticsearch for the next set of hits from this search
|
||||
client.scroll({
|
||||
scrollId: response.scroll_id,
|
||||
scrollId: response._scroll_id,
|
||||
scroll: '30s'
|
||||
}, getMoreUntilDone);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user