public
Last active

  • Download Gist
config
1 2 3 4 5 6
index:
analysis:
analyzer:
string_lowercase:
tokenizer: keyword
filter: lowercase
index and mapping
1 2 3 4 5 6 7 8 9 10 11 12
curl -XPUT localhost:9200/test -d '{
"mappings" : {
"type1" : {
"properties" : {
"field1" : {
"type" : "string",
"analyzer" : "string_lowercase"
}
}
}
}
}'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.