
Elasticsearch:No handler for type [string] declared on field[XXX]的解决办法
报错原因我使用的Elasticsearch是7.7.0版本,按照学习文档创建字段时,使用了{"type":"string","index":"not_analyzed"}。原因分析检查拼写无误之后,我决定去查Elasticsearch新版本特性,因为之前也踩过head插件的安装方法的坑,就是因为版本问题。果不其然,Elasticsearch从5.X就引入了tex