Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/reference/search/request/scroll.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ request) tells Elasticsearch how long it should keep the search context alive.
Its value (e.g. `1m`, see <<time-units>>) does not need to be long enough to
process all data -- it just needs to be long enough to process the previous
batch of results. Each `scroll` request (with the `scroll` parameter) sets a
new expiry time.
new expiry time. If the `scroll` parameter is not passed, then the next
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a scroll request doesn't pass in scroll then we'll free the scroll context as part of that scroll request. The words you use makes it seem like the next scroll request would free the context.

scroll request will close the search context.

Normally, the background merge process optimizes the
index by merging together smaller segments to create new bigger segments, at
Expand Down