elasticsearch 同义词配置
在elasticsearch-2.3.1/config目录下面,存放synonyms.txt curl -XPOST 'http://localhost:9200/sy' -d '{ "analysis": { "analyzer":{ "mysynonym":{ "type": "custom", "tokenizer":"ik_max_word", "filter":[ "local_synonym" ] } }, "filter":{ "local_synonym":{ "expand":true, "ignore_case":true, "type":"synonym", "synonyms_path":"synonym.txt" } }...