
ElasticSearch6
蚊子hello
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ElasticSearch6安装问题
1) max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 解决办法: 切换到root用户 在 limits.conf 文件中添加下面四行 vi /etc/security/limits.conf soft nofile 65536 hard nofile 13...转载 2018-11-19 14:56:24 · 121 阅读 · 0 评论 -
ElasticSearch6.3.1安装sql插件
1: 获取ES6.3.1 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.1.tar.gz 2: 获取安装ES_SQL插件 ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sq...转载 2018-11-19 16:20:37 · 691 阅读 · 0 评论 -
ElasticSearch6安装head插件
1: 安装git 1.1 从yum安装git yum -y install git 1.2 创建创库 cd /usr/local mkdir git cd git git init --bare hello.git 1.3 创建git用户并赋予hello仓库权限 useradd git useradd git ch...转载 2018-11-20 14:31:55 · 128 阅读 · 0 评论 -
ElasticSearch_1_导入官网测试数据
一) 准备测试数据 去官网下载测试数据 https://download.elastic.co/demos/kibana/gettingstarted/logs.jsonl.gz https://download.elastic.co/demos/kibana/gettingstarted/accounts.zip https://download.elastic.co/demos/kibana/...原创 2019-01-21 11:24:40 · 7986 阅读 · 0 评论 -
ElasticSearch_2_文档API
1: 阅读和编写文件         ES的每个索引(INDEX) 都被分为碎片,每个碎片都可以有多个副本,这些副本就是复制组,在添加或者删除文档时必须保持同步,否则将会导致从一个副本中读取的数据和从另一个副本中读取的数据结果将完全不同,保转载 2019-01-21 17:02:03 · 194 阅读 · 0 评论 -
ElasticSearch_3_GET API
1: 概念 顾名思义,该API是查询获取数据的接口, 2:样例 获取索引twitter中文档_doc中id为1的数据 GET twitter/_doc/1转载 2019-01-27 00:15:23 · 153 阅读 · 0 评论 -
ElasticSearch_4_DELETE API
一:概念 该API可以根据文档的id删除id,例如删除index为twitter1,文档为_doc ,id为1的文档,语句如下 DELETE twitter1/_doc/1 执行结果如下: { "_index": "twitter1", "_type": "_doc", "_id": "1", "_version": 2, "resul转载 2019-02-15 23:09:44 · 144 阅读 · 0 评论 -
ElasticSearch_5_DELETE BY QUERY API
一:概念 根据查询api删除数据 POST twitter/_delete_by_query { "query":{ "match": { "message": "cool" } } } 执行结果如下: { "took": 121, "timed_out": false, "total":转载 2019-02-15 23:38:44 · 175 阅读 · 0 评论