ES数据库命令

ES数据库命令:
创建索引并且设置副本数为0:
curl -XPUT 'http://192.168.1.50:9200/dbdemo/' -H 'Content-Type: application/json'  -d '{

     "settings" : {
        
         "index" : {
           
           
             
              "number_of_replicas" : 0 
        
            }
    
}
}'

猜你喜欢

转载自blog.csdn.net/qq_36618850/article/details/85316844