I've really been scratching my head on this, but nothing seems to be
working. So far, I have everything working as expected, but what I wan't
now is when someone types "wifi", it searches results with "Wi-Fi"
I have word-delimiter on, and have made all recommended changes, but I'm
still not seeing expected results.
{
"settings": {
"analysis" : {
"analyzer" : {
"translation_index_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": [ "standard","lowercase","translation_ngram",
"my_word_delimiter" ]
},
...
"filter" : {
"translation_ngram": {
"type": "nGram",
"min_gram": 1,
"max_gram": 10
},
"my_word_delimiter" : {
"type": "word_delimiter",
"catenate_words" : true,
"split_on_case_change" : false,
"preserve_original" : true
}
From what I've read "catenate_words" should turn "wi-fi" into "wifi" when
analyzed.... and the "lowercase" should help with the capital "W" and "F"
in "Wi-Fi". I was thinking maybe the "split_on_case_change" was an issue,
but I've set that to false too.
What am I missing here? Any help would be appreciated. Thanks.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cc15349b-bbee-474a-a425-daa25c55e831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.