1、创建索引报错
ElasticsearchStatusException[Elasticsearch exception [type=mapper_parsing_exception, reason=Failed to parse mapping [doc]: analyzer [ik_max_word] not found for field [description]]
]; nested: ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=analyzer [ik_max_word] not found for field [description]]];
原因:
需要安装ik分析器
解决方法:Elasticsearch集成IK分词器