Skip to content

Instantly share code, notes, and snippets.

View ivpusic's full-sized avatar
👨‍💻

Ivan Pusic ivpusic

👨‍💻
View GitHub Profile
@ivpusic
ivpusic / es config
Created June 8, 2014 19:40
elasticsearch init script
#!/usr/bin/env bash
echo 'Removing old indexes'
curl -XDELETE 'http://localhost:9200/categories'
curl -XDELETE 'http://localhost:9200/products'
echo '\n\n'
echo 'Removing old rivers'
curl -XDELETE 'localhost:9200/_river/mongodb'