转自:https://blog.csdn.net/weixin_38011805/article/details/114371567
1.创建索引
PUT /{索引名字}
body内容为:{
"settings": {
"number_of_shards": 3,
"number_of_replicas": 2
}
}
样例:
创建索引
转自:https://blog.csdn.net/weixin_38011805/article/details/114371567
PUT /{索引名字}
body内容为:{
"settings": {
"number_of_shards": 3,
"number_of_replicas": 2
}
}
样例:
本文标题:ES接口
本文链接:https://www.haomeiwen.com/subject/nflbpltx.html
网友评论