Issue in scroll

I am using scroll functionality, after upgrading to ES 6, I am getting below warning.

Elasticsearch-6.6.0-a9861f4 "Trying to create more than 500 scroll contexts will not be allowed in the next major version by default. You can change the [search.max_open_scroll_context] setting to use a greater default value or lower the number of scrolls that you need to run in parallel."

When I read about it, it was told to set parameter search.max_open_scroll_context

I have a doubt, how to set and to which object. Help me with syntax.

Please suggest...

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