Skip to content

Instantly share code, notes, and snippets.

@hukl
hukl / gist:961310
Created May 8, 2011 11:10 — forked from clintongormley/gist:961303
Ngram example
###################
# CREATE THE INDEX:
###################
curl -XPUT 'http://127.0.0.1:9200/test/?pretty=1' -d '
{
"settings" : {
"analysis" : {
"filter" : {
"edge_ngram" : {
"side" : "front",