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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -