Skip to content

Instantly share code, notes, and snippets.

curl -XDELETE localhost:9200/test
#create a test index with shingle mapping
curl -XPUT localhost:9200/test -d '{
"settings":{
"index":{
"analysis":{
"analyzer":{
"analyzer_shingle":{
"tokenizer":"standard",