报错信息:
IllegalArgumentException: mapper [signStatus] of different type, current_typ....type.........
大概就是,打开elasticsearch服务器后,开启项目,会报上面的错误,在独立整合elasticsearch和spring的时候,是正确无误的。排除了整合的失误这一方面。
先删除索引库中存在的数据(可能是之前存入了一些数据,现在的mapping type和索引库不一致导致的),然后重新启动