我使用http://192.168.1.78:9200/_analyze?报错 "failed to find global tokenizer under [synonyms_anlyzer]"
报错
{"error":
{"root_cause":[
{"type":"illegal_argument_exception","reason":"failed to find global tokenizer under [synonyms_anlyzer]"}
],
"type":"illegal_argument_exception","reason":"failed to find global tokenizer under [synonyms_anlyzer]"},"status":400}
解决:
没有添加索引名,添加上就可以了
http://192.168.1.78:9200/relay_protection_data/_analyze