
elasticsearch
罗罗的1024
做个幸福的小吃货
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ElasticSearch7的简单使用
简介es开箱即用es建立索引快,查询慢es仅仅支持json格式yum安装1、下载并安装ES的YUM公钥rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch2、配置ELASTICSEARCH的YUM源vim /etc/yum.repos.d/elasticsearch.repo[elasticsearch-7.x] name=Elasticsearch repository for 7.x packagesbas原创 2021-09-21 22:04:56 · 1153 阅读 · 1 评论 -
ES7的termQuery查询无效,报错:Fielddata is disabled on text fields by default。
在使用termQuery进行查询时,控制台报错如下Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set fielddata=true on [content] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use原创 2021-03-15 16:03:06 · 738 阅读 · 0 评论 -
failed to obtain node locks, tried [[/usr/local/elasticsearch-7.1.1/data/my-application]] with lock
failed to obtain node locks, tried [[/usr/local/elasticsearch-7.1.1/data/my-application]] with lock解决方案elasticsearch进程被占用,杀掉重启即可原创 2021-03-12 00:34:55 · 1786 阅读 · 1 评论 -
ERROR: [1] bootstrap checks failed
查看错误日志[1] bootstrap checks failed[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured[2021-03-11T11:57:48,648][INFO ][o.e原创 2021-03-11 12:32:26 · 1673 阅读 · 0 评论