[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) {
|
if (response.hits.total > allTitles.length) {
|
||||||
// ask elasticsearch for the next set of hits from this search
|
// ask elasticsearch for the next set of hits from this search
|
||||||
client.scroll({
|
client.scroll({
|
||||||
scrollId: response.scroll_id,
|
scrollId: response._scroll_id,
|
||||||
scroll: '30s'
|
scroll: '30s'
|
||||||
}, getMoreUntilDone);
|
}, getMoreUntilDone);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user