logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

java操作es创建索引和索引设置

:1.HttpPost httpPost=HttpPost(ip/索引命/类型命)2.StringEntity stringEntity = new StringEntity("{空大括号,创建索引时用空大括号}",“UTF-8”)3.httpPost.setEntity(stringEntity),设置请求体4.httpPost.setheader(“Content-Type”,“applica

#java#elasticsearch#数据库
到底了