不要急,总有办法的

elasticsearch如何去操作api

Elasticsearch | 作者 elasticstar | 发布于2017年11月14日 | 阅读数:1983

ES小白
想问问怎么关掉_all域
因为想要缩短索引速度
index.number_of_replicas: 0 新版不能在配置文件里面改吗?
怎么改呢 真心请教各位大大
已邀请:

AlixMu - Elasticsearch小轿车司机

赞同来自:

通过索引模版配置
https://www.elastic.co/guide/e ... .html

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

curl -XPUT "http://localhost:9200/_settings" -d' 
{  "number_of_replicas" : 0 } '

[已注销]

赞同来自:

看看官网教程吧,你想问的应该都有答案

要回复问题请先登录注册