Instantly share code, notes, and snippets.

@kimchy /config
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

This comment has been minimized.

Show comment
Hide comment
@zhmz1326

zhmz1326 commented Mar 1, 2017

Cool!

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