[docs] fix _scroll_id reference in scroll example

This commit is contained in:
spalger
2016-11-21 15:02:26 -07:00
parent 44cbf5fa86
commit 02978bb6e0

View File

@ -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 {