
elasticsearch
文章平均质量分 61
Baristas
这个作者很懒,什么都没留下…
展开
-
Elasticsearch在ubuntu下的安装
一、找到Elasticsearch官网https://www.elastic.co/downloads/elasticsearch如图选择TAR包,将其链接地址复制 到ubuntu系统下,我安装在/home/ubuntu/目录下使用wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.1.tar.gz原创 2018-01-02 15:35:54 · 1604 阅读 · 1 评论 -
ElasticSearch设定外网访问9200端口
安装好ElasticSearch后,在服务器上试过几个http命令后,最终还是转成本地测试最爽,但是通过本地能连接上ElasticSearch还是最好的,不过测试:ip:9200发现是不能访问的,在网上查了很多的资料,如何开放9200端口,发现网上的有些还是有点问题的一,更改elasticsearch.yml文件在目录config/elasticsearch.yml文件中添加如下: networ原创 2018-01-03 01:52:00 · 8572 阅读 · 2 评论 -
关于ElasticSearch的聚类时出现fielddata=true问题
在ElasticSearch中默认fielddata默认是false的,因为开启Text的fielddata后对内存的占用很高index:megacorp type:employee如果进行聚合查询时候:GET /megacorp/employee/_search{ "aggs": { "all_interests": { "terms": { "fie原创 2018-01-04 18:32:29 · 31300 阅读 · 6 评论 -
关于ElasticSearch使用Groovy做局部更新出现问题:Variable [new_tag] is not defined.
遇见问题特此记录希望能帮助到看到的人在跟着ElasticSearch权威指南学习过程中依旧发现有些语句是不再支持的在局部更新一节,依照Demo当前的数据索引结果是这样的:{ _index: "website", _type: "blog", _id: "123", _version: 5, found: true, _source: {原创 2018-01-16 03:11:07 · 2370 阅读 · 3 评论