curl -XPUT http://localhost:9200/my_index/_settings?preserve_existing=true -H 'Content-Type: application/json' -d'
{ "max_result_window" : "2000000000" }'