Skip to content

Instantly share code, notes, and snippets.

@kimchy
Created Nov 29, 2011
Embed
What would you like to do?
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
Copy link

zhmz1326 commented Mar 1, 2017

Cool!

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