ES接口
2021-07-16 本文已影响0人
刘晓佳rachel
image.png
创建索引
转自:https://blog.csdn.net/weixin_38011805/article/details/114371567
1.创建索引
PUT /{索引名字}
body内容为:{
"settings": {
"number_of_shards": 3,
"number_of_replicas": 2
}
}
样例:
创建索引