Create a gist now

Instantly share code, notes, and snippets.

@kimchy /config
Created Nov 29, 2011

index:
analysis:
analyzer:
string_lowercase:
tokenizer: keyword
filter: lowercase
curl -XPUT localhost:9200/test -d '{
"mappings" : {
"type1" : {
"properties" : {
"field1" : {
"type" : "string",
"analyzer" : "string_lowercase"
}
}
}
}
}'
@zhmz1326
zhmz1326 commented Mar 1, 2017 edited

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment