Skip to content

Instantly share code, notes, and snippets.

View mchruszcz's full-sized avatar

Michal Chruszcz mchruszcz

  • Cuvva
  • London, United Kingdom
View GitHub Profile
@vhyza
vhyza / es_fields_test.sh
Created June 10, 2011 10:16
Elasticsearch fields test
# Remove index
curl -s -XDELETE "http://localhost:9200/fields_test"
# Set new index with mapping
curl -s -XPUT "http://localhost:9200/fields_test" -d '
{
"mappings": {
"tweet" : {
"properties" : {