Closed zhengw77 closed 5 years ago
ES6.5.1版本使用插件后,后台看到更新,但实际使用时不见效果,是什么原因,怎么解决?谢谢。 { "number_of_shards" : 1, "number_of_replicas" : 0, "analysis" : { "analyzer" : { "ik_syno_smart" : { "type" : "custom", "tokenizer" : "ik_smart", "filter" : ["my_stop_filter", "my_syno_filter"], "char_filter" : ["my_char_filter"] }, "ik_syno_max_word" : { "type" : "custom", "tokenizer" : "ik_max_word", "filter" : ["my_syno_filter", "my_stop_filter"], "char_filter" : ["my_char_filter"] } }, "filter" : { "my_stop_filter" : { "type" : "stop", "stopwords" : [" "] }, "my_syno_filter" : { "type" : "dynamic_synonym", "synonyms_path" : "analysis/synonyms.txt", "interval": 30 } }, "char_filter" : { "my_char_filter" : { "type" : "mapping", "mappings" : ["| => |"] } } } }
你这个是怎么解决的?
ES6.5.1版本使用插件后,后台看到更新,但实际使用时不见效果,是什么原因,怎么解决?谢谢。 { "number_of_shards" : 1, "number_of_replicas" : 0, "analysis" : { "analyzer" : { "ik_syno_smart" : { "type" : "custom", "tokenizer" : "ik_smart", "filter" : ["my_stop_filter", "my_syno_filter"], "char_filter" : ["my_char_filter"] }, "ik_syno_max_word" : { "type" : "custom", "tokenizer" : "ik_max_word", "filter" : ["my_syno_filter", "my_stop_filter"], "char_filter" : ["my_char_filter"] } }, "filter" : { "my_stop_filter" : { "type" : "stop", "stopwords" : [" "] }, "my_syno_filter" : { "type" : "dynamic_synonym", "synonyms_path" : "analysis/synonyms.txt", "interval": 30 } }, "char_filter" : { "my_char_filter" : { "type" : "mapping", "mappings" : ["| => |"] } } } }