
Elasticsearch
hello_yajing
正在努力的程序猿一枚!
展开
-
IK分词插件安装过程
1.安装mvn:1.安装 wget 命令:yum -y install wget2.下载maven安装包wget http://mirrors.cnnic.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz3. 解压maven安装包tar -zxvf apache-maven-3.5.4-bin.tar.gz4. 配置mavenvim /etc/profile5. ...原创 2020-06-17 11:50:30 · 343 阅读 · 0 评论 -
Kibana-----------安装过程
0、查看kibana进程:#使用以下命令就可以查到进程id 了 。netstat -tunlp|grep 5601netstat -tunlp|grep kibana#开启防火墙,并开启5601端口systemctl status firewalldfirewall-cmd --permanent --zone=public -add-port=5601/tcp;1、下载安装#本机已下载完成cd /usr/local/srcrz #选...原创 2020-06-17 11:42:16 · 726 阅读 · 0 评论 -
Elasticsearch-----------安装过程及报错解决总结
一、下载Elasticsearch1.自行从官方下载2.解压及配置文件修改cd /usr/local/src rz命令,将本地Elasticsearch压缩包上传 tar -zxvf elasticsearch-6.5.0.tar.gz mv elasticsearch-6.5.0 /usr/local/tools/ #远程访问开启:yml文件修改:network.host:内网ip地址http.port:9200 #重启即可#若报bind Exceptio..原创 2020-06-17 11:37:34 · 478 阅读 · 0 评论 -
ES自带分词器及IK分词器笔记
一、分词1、自带分词简单了解standard:英文大写转小写,按空格分词,中文按单个字分词。POST _analyze{ "analyzer": "standard", "text": "Like X 国庆放假的"}标准分析器接受下列参数: max_token_length : 最大token长度,默认255。 stopwords : 预定义的停止词列表,如_english_ 或包含停止词列表的数组,默认是 _none_。 stopwords_p...转载 2020-06-17 11:16:51 · 1536 阅读 · 0 评论 -
Elasticsearch 操作异常总结
1.Unexpected end-of-inputUnexpected end-of-input: expected close marker for Object (start marker at [Source:org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@5dae9215; line: 1, column: 1]) at[Source:org.elasticsearch.co原创 2020-05-14 10:20:33 · 3760 阅读 · 0 评论 -
Elasticsearch基本操作---自学笔记(待更新)
一、增删改查查询所有GET _search{“query”:{“match_all”:{}}}添加索引-自定义idPUT /lib/{"settings": {"index":{"number_of_shards": 5,"number_of_replicas": 1}}}添加索引-默认设置PUT lib...原创 2020-06-16 17:47:26 · 312 阅读 · 0 评论 -
Elasticsearch集群 启动报错:java.lang.IllegalStateException: failed to obtain node locks...
错误信息[centos@xnzysq20190320001-1 elasticsearch-6.5.0]$ ./bin/elasticsearch[2020-06-04T01:46:04,912][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-3] uncaught exception in thread [main]org.elasticsearch.bootstrap.StartupException: java.lang.I原创 2020-06-04 10:07:19 · 3350 阅读 · 0 评论