Scroll api:How to understand “Keeping the search context alive”?

scroll api:How to understand “Keeping the search context alive”?

Returning for the next batch of results before your locked point-in-time view of the data times out

First scroll search,I got the response,then I calculate the datas using 10 seconds.And then I do the secound scroll search,,,,,,
Hypothesis:Every time,using 10 seconds to calculate the datas.

So,"Keeping the search context alive" must gr 10 seconds?

Yes. You must return before the deadline you set for yourself expires. If you said you’d be back in 10 seconds but took 12 then that ship has already sailed.

1 Like

Thanks,It is relly helps me.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.