由于spring-data-elasticsearch必須升級(jí)到3.0.7,導(dǎo)致spring必須升級(jí)到2.x,也直接導(dǎo)致了后面踩到的坑。 docker安裝es會(huì)默認(rèn)安裝x-path plugin 雖然spring-data支持es5.x,但是功能并不非常完善,因此如果安裝了x-path插件,需要引入org.elasticsearch.client:x-pack-transport:5.5.0,版本必須和es版本一致,并且自己實(shí)現(xiàn)Trans...
www.dbjr.com.cn/article/1418...htm 2025-5-27