Skip to content

Instantly share code, notes, and snippets.

@lukleh
lukleh / elasticsearch_mapping.sh
Created March 2, 2011 18:58 — forked from vhyza/elasticsearch_mapping.sh
ElasticSearch mapping for language stemming
echo "Delete DBs"
curl -s -X DELETE 'http://localhost:9200/test_twitter_cs/'
echo
curl -s -X DELETE 'http://localhost:9200/test_twitter_en/'
echo
echo "Create Czech index"
curl -s -X PUT 'http://localhost:9200/test_twitter_cs/'
echo
echo "Create English index"
curl -s -X PUT 'http://localhost:9200/test_twitter_en/'