Question about Scroll time

Hi,
Could anybody let me know the behavior of scroll when I am scanning
through an index and the actions I take during this take more time than the
scheduled scroll time?
The documentation states that "the scroll parameter is a time value
parameter (for example: scroll=5m), indicating for how long the nodes that
participate in the search will maintain relevant resources in order to
continue and support it"
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html
but does not say what the behavior will be after that time interval.

Are the subsequent search results which I get after the scroll time
expires, not to be trusted?

Thanks,
Praveen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6ea47483-3719-449b-b5ed-07a7764fd309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey,

if that specified time expires, file handles are closed and the state of
time you used to dump out all your data is no longer preserved. While
running scroll requests in the background, new lucene segments might be
created or deleted, and a scroll requests keeps those deleted file handles
open to ensure the data you requested is always the data, when the scroll
request started. Makes sense?

--Alex

On Fri, Apr 11, 2014 at 2:01 AM, Robbie pherur@ciphercloud.com wrote:

Hi,
Could anybody let me know the behavior of scroll when I am scanning
through an index and the actions I take during this take more time than the
scheduled scroll time?
The documentation states that "the scroll parameter is a time value
parameter (for example: scroll=5m), indicating for how long the nodes that
participate in the search will maintain relevant resources in order to
continue and support it"

Elasticsearch Platform — Find real-time answers at scale | Elastic
but does not say what the behavior will be after that time interval.

Are the subsequent search results which I get after the scroll time
expires, not to be trusted?

Thanks,
Praveen

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6ea47483-3719-449b-b5ed-07a7764fd309%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/6ea47483-3719-449b-b5ed-07a7764fd309%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-BrnJdbsPw9g3-a59e8Q84T7-90%3DSSkW-%3Ds1N5TBGrGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

In addition to Alex, if the cleanup process has "expired" your search
context due to timeout, you will get an error back the next time you scroll.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fd9d450d-d20a-4643-be9e-2f55529cb953%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.