随笔分类 - es
摘要:首先搞清楚这个报错是什么意思 {"msg":"Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]; nested exception is ElasticsearchSta
阅读全文
摘要:创建索引,user为索引名称 PUT http://192.168.0.110:9200/user 查询索引基本信息 GET http://192.168.0.110:9200/user 查询所有索引 GET http://192.168.0.110:9200/_cat/indices? 删除索引
阅读全文
摘要:调整系统参数 vi /etc/sysctl.conf #添加下面配置: vm.max_map_count= 262144 #生效 sysctl -p es配置文件修改 cat jvm.options -Xms16g -Xmx16g 配置证书 cd /usr/share/elasticsearch/b
阅读全文