I am getting this error on latest version of elastic:
Result window is too large, from + size must be less than or equal to:  but was .
so i was try to add at the elasticsearch.yml configuration file at the end this:
index.max_result_window = 5000000;
but then elastic search refuse to start with error elasticsearch: in 'reader', line 90, column 1:
and that line is the one that i was add...
I know it may be not the best way to solve this but why it doesn't accept it?