Skip to content

Instantly share code, notes, and snippets.

@kimchy
Created May 23, 2011 20:58
Show Gist options
  • Select an option

  • Save kimchy/987589 to your computer and use it in GitHub Desktop.

Select an option

Save kimchy/987589 to your computer and use it in GitHub Desktop.
curl -XPUT localhost:9200/_settings -d '{
"index.translog.flush_threshold_ops" : 9999999,
"index.translog.flush_threshold_size" : "9999gb",
"index.translog.flush_threshold_period" : "999999h"
}'
// copy over the three nodes now
// now, restore to default settings
curl -XPUT localhost:9200/_settings -d '{
"index.translog.flush_threshold_ops" : 2000,
"index.translog.flush_threshold_size" : "200mb",
"index.translog.flush_threshold_period" : "30m"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment