Is it possible to do something like this with the new keyword type?
PUT book
{
"settings": {
"analysis": {
"analyzer": {
"code": {
"type": "custom",
"tokenizer":"keyword",
"filter": ["lowercase","asciifolding"]
}
}
}
},
"mappings": {
"book": {
"properties": {
"tags": {
"type":"keyword",
"analyzer": "code"
}
}
}
}
}
Note: the applied token filters do not split into multiple terms