Skip to content

Instantly share code, notes, and snippets.

View haydenmarchant's full-sized avatar

haydenmarchant

View GitHub Profile
#delete index
curl -XDELETE 'http://localhost:9200/blog'
#Create index with mapping
curl -XPUT 'http://localhost:9200/blog' -d '
{
"mappings": {
"post": {
"properties": {
"title": {