Hi, I have an index like:
"name": {
"type": "keyword"
},
"address": {
"type": "keyword"
},
"addressText": {
"type": "text",
"analyzer": "autocomplete",
"search_analyzer": "autocomplete_search"
},
"nameText": {
"type": "text",
"analyzer": "autocomplete",
"search_analyzer": "autocomplete_search"
},
autocomplete_search
"autocomplete_filter": {
"type": "edge_ngram",
"min_gram": 1,
"max_gram": 50,
"token_chars": [
"letter"
]
}
I use "Text" fields for autocomplete and normal fields for exact match. I have a problem with special character when i use keyword type for search.
For the exact match, i use the entire word and I have a problem with so many special character, i have data from all languages, like ( ' , - , _ ) for example.
thank you in advance for your support.