Fix typo in scroll timeout example

Closes #16075
This commit is contained in:
Jason Tedor 2016-01-19 08:42:29 -05:00
parent e7aae1b79e
commit d2ad2e8eee
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ do {
//Handle the hit...
}
scrollResp = client.prepareSearchScroll(scrollResp.getScrollId()).setScroll(new TimeValue(600000)).execute().actionGet();
scrollResp = client.prepareSearchScroll(scrollResp.getScrollId()).setScroll(new TimeValue(60000)).execute().actionGet();
} while(scrollResp.getHits().getHits().length != 0); // Zero hits mark the end of the scroll and the while loop.
--------------------------------------------------