ElasticSearch
ElasticSearch5.x与ElasticSearch7.x命令使用及语法
Zakza
编程是一门艺术~
展开
-
Elasticsearch X-pack证书过期解决方法
目录证书未过期重新编译破解x-pack-5.6.2.jar重启Es服务证书已过期重新生成x-pack-5.6.2.jar,步骤同上创建license.jsonlicense.json目录下注册证书验证成功证书未过期重新编译破解x-pack-5.6.2.jarversion="5.6.2"cd /app/soft/es/elasticsearch-${version}/plugins/x-pack/mkdir tmpcp -rf x-pack-${ve原创 2022-01-13 17:38:38 · 1804 阅读 · 0 评论 -
ElasticSeach5.6.2 x-pack插件离线安装到创建连接实例
已安装好elasticsearch5.6.2下载x-pack插件上传插件到服务器 /data路径下切换用户,然后安装./elastic-plugin install file:///data/x-pack-5.6.2.zip参考这个Java 连接ElasticSearch5.6.2maven配置<!--不加这个仓库可能下载不到依赖--> <repositories> <repository>原创 2021-11-22 11:21:24 · 1446 阅读 · 0 评论 -
ElasticSearch7 常用Restful Api(使用总结,持续更新)
7.x版本对比5.x版本,移除的type字段,默认使用_doc type类型常用api#创建索引和mappingPUT datacenter_laws{ "settings": { "number_of_shards": 3, "index.refresh_interval": "5s" }, "mappings": { "properties": { "id": { "type": "keyword", "ign原创 2021-08-19 17:14:05 · 522 阅读 · 0 评论 -
Elasticsearch常见问题及解决办法
elasticsearch.yml添加设置最大句子数量indices.query.bool.max_clause_count:10240原创 2021-07-02 15:54:21 · 1086 阅读 · 0 评论 -
Springboot整合BBoss-Elasticsearch启动一直连127.0.0.1(解决方法)
官方解决方法点我跳转可用原创 2021-06-02 10:30:57 · 854 阅读 · 0 评论 -
ElasticSearch5.6 常用总结(持续更新)
查询详细信息GET _cat/indices查询es健康状态,red:服务不可用,yellow:有问题但能用,green:大草原GET _cat/health查询映射GET 索引/_mapping复制索引POST _reindex{ "size": 1, "source": { "index": "旧索引" }, "dest": { "index": "新索引", "op_type": "create" }}.原创 2021-03-12 17:08:32 · 324 阅读 · 0 评论 -
ElasticSearch安装部署及常见文件解决
ElasticSearch下载https://www.elastic.co/cn/downloads/elasticsearchKibana下载地址https://www.elastic.co/downloads/kibanaElasticsearch与Kibana的版本需要一致1、创建用户:elasticsearch[root@iZbp1bb2egi7w0ueys548pZ bin]# adduser elasticsearch 2、创建用户密码,需要输入两次[roo原创 2020-06-23 11:50:47 · 151 阅读 · 0 评论