The max_result_window
is a dynamic index level setting, not node specific. The default is 10,000, so if that's the value you'd like to set, there should be no need.
You can adjust it by updating either a specific index settings or globally across all existing indices:
PUT _settings
{
"index.max_result_window": 11000
}
The above would update all existing indices. To have it take effect on future indices, you'd need an index template that targets specific index patterns (or just * for global) - as an example:
PUT _template/example
{
"index_patterns": ["settings_test*"],
"settings": {
"index.max_result_window": 12000
}
}
PUT settings_test
The above would yield the following:
GET settings_test
...
{
"settings_test" : {
"aliases" : { },
"mappings" : { },
"settings" : {
"index" : {
...
"max_result_window" : "12000",
...
}
}
}
}
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html