elasticsearch - Using Mapping char filter with synonyms token filter does not work -


synonyms , my_char_filter works fine when used separately , synonyms stop working when use these 2 together. use elastic v 5.5

"analysis": {   "analyzer": {     "my_custom_analyzer": {       "type":      "custom",       "tokenizer": "keyword",       "filter": ["synonym"],       "char_filter": ["my_char_filter"]     }   },   "filter" : {                 "synonym" : {                     "type" : "synonym",                     "synonyms" : [                         "i-pod, pod => ipod",                         "universe, cosmos"                     ]                 }             },   "char_filter": {     "my_char_filter": {       "type": "mapping",       "mappings": [         "i => ı",         "e => ə",         "o => ö",         "u => ü",         "c => ç",         "g => ğ",         "sh =>ş",         "ch =>ç"         ] } 

} }


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -