Skip to content

Instantly share code, notes, and snippets.

View Pyppe's full-sized avatar

Pyry-Samuli Lahti Pyppe

View GitHub Profile
curl -XPOST http://localhost:9200/_optimize
curl -XPOST http://localhost:9200/_flush
curl -XPOST http://localhost:9200/_all/_close
# DO THE BACKUP
curl -XPOST http://localhost:9200/_all/_open