相关疑难解决方法(0)

非生产模式下的 Elasticsearch docker 容器以消除 vm.max_map_count=262144 要求

如何配置 elasticsearch docker 容器 (elasticsearch:7.5.0) 以使用更少的资源并在非生产模式下运行?

我想在 Jenkins 和我的桌面上运行容器,并且正在满足这个弹性文档中在生产中运行 docker 图像的要求

我想弄清楚如何修改我复制到容器中的 elasticsearch.yml 以将其配置为将容器设置为资源密集程度较低的模式。

有人知道怎么做吗?

elasticsearch docker

6
推荐指数
2
解决办法
6125
查看次数

弹性搜索“master_not_discovered_exception”centos

删除 /var/lib/elasticseach 后:此处更正

我不得不删除它,因为我在尝试从索引搜索时遇到了一些错误,并且一些 stackoverflow 答案指出最好删除数据路径并重新启动 Elasticsearch。

我在 centos 上,正在尝试为 laravel scout 配置它。

当我尝试做诸如PUT /indexGET /_cluster/health?pretty我得到的事情时

{
  "error": {
    "root_cause": [
      {
        "type": "master_not_discovered_exception",
        "reason": null
      }
    ],
    "type": "master_not_discovered_exception",
    "reason": null
  },
  "status": 503
}
Run Code Online (Sandbox Code Playgroud)

这是我的elasticsearch.yml

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish …
Run Code Online (Sandbox Code Playgroud)

elasticsearch

4
推荐指数
1
解决办法
7970
查看次数

标签 统计

elasticsearch ×2

docker ×1