Skip to content

Instantly share code, notes, and snippets.

# Remove old data
curl -XDELETE "http://localhost:9200/test"
# Create index with settings
curl -XPOST "http://localhost:9200/test/" -d '
{
"settings":{
"index":{
}
}