Skip to content

Instantly share code, notes, and snippets.

@uzicorp
uzicorp / script
Created April 19, 2012 16:20
Experiment with Shingle Filter and Stoplist
#!/bin/sh
curl -XDELETE http://localhost:9200/shinglephrase
curl -XPOST http://localhost:9200/shinglephrase/ -d '
{
"settings":{
"index":{
"number_of_shards":5,
"number_of_replicas":1