Skip to content

Instantly share code, notes, and snippets.

View mackd's full-sized avatar

David Mack mackd

View GitHub Profile
@mackd
mackd / refresh_interval_problem.sh
Created March 22, 2012 16:02
recreate problem with updating refresh_interval at runtime
# Run this on a completely vanilla, fresh instance of elasticsearch 0.19.x
# Create index with initial -1 refresh interval.
curl -XPUT 'http://localhost:9200/twitter/?pretty=true' -d '
index :
refresh_interval: "-1"
'
# Update refresh interval using update settings to 1s.