Skip to content

Instantly share code, notes, and snippets.

View mariomgrullon's full-sized avatar

Mario Grullon mariomgrullon

View GitHub Profile
@mariomgrullon
mariomgrullon / create_index.sh
Created June 20, 2017 20:40 — forked from bonzanini/create_index.sh
Elasticsearch/Python test
curl -XPOST http://localhost:9200/test/articles/1 -d '{
"content": "The quick brown fox"
}'
curl -XPOST http://localhost:9200/test/articles/2 -d '{
"content": "What does the fox say?"
}'
curl -XPOST http://localhost:9200/test/articles/3 -d '{
"content": "The quick brown fox jumped over the lazy dog"
}'
curl -XPOST http://localhost:9200/test/articles/4 -d '{