Elasticsearch2.2.0配置文件说明
为什么80%的码农都做不了架构师?>>>
官方配置文档
https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html
配置详解
# ---------------------------------- Cluster (集群配置)-----------------------------------
#
# cluster.name: my-application (自定义集群名称,相同集群该名称相同 my-application)
#
# ------------------------------------ Node ------------------------------------
#node.name: node-1 (当前节点名称,同一个集群中不能重复)#
# Add custom attributes to the node:
#
# node.rack: r1
#
# ----------------------------------- Paths (数据,日志路径配合)------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#path.data: /home/yang/elasticsearch-2.2.0/data (数据存储路径,支持多路径)
#
# Path to log files:
#path.logs: /home/yang/elasticsearch-2.2.0/logs (日志文件存储路径)
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
# bootstrap.mlockall: true (是否锁住内存,指长期占用该内存,不产生内存交换,防止内存交换导致性能降低,配合内存设置使用)
#
# Make sure that the `ES_HEAP_SIZE` environment variable is set to about half the memory
# available on the system and that the owner of the process is allowed to use this limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network(网络配置) -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
# network.host: 192.168.0.1 (IP地址,url访问的ip)
#
# Set a custom port for HTTP:
#
# http.port: 9200 (http访问端口)
#
# For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html>
#
# --------------------------------- Discovery (节点发现配置)----------------------------------
#
# Pass an initial list of hosts to perform discovery when new node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
# discovery.zen.ping.unicast.hosts: ["host1", "host2"] (初始主节点列表,默认启动是按照这个初始化master节点)
#
# Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
#
# discovery.zen.minimum_master_nodes: 3(集群中主节点数,默认 节点数/2 + 1)
#
# For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html>
#
# ---------------------------------- Gateway-------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
# gateway.recover_after_nodes: 3 (n个节点启动后开始数据恢复)
#
# For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
#
# ---------------------------------- Various -----------------------------------
#
# Disable starting multiple nodes on a single system:
#
# node.max_local_storage_nodes: 1 (禁用多节点从同一个位置启动)
#
# Require explicit names when deleting indices:
#
# action.destructive_requires_name: true (设置是否可以通过正则或者_all删除或者关闭索引)
转载于:https://my.oschina.net/UpBoy/blog/618175
Elasticsearch2.2.0配置文件说明相关推荐
- ElasticSearch2.2.0安装
一.ElasticSearch2.2.0安装 1.下载ElasticSearch2.2.0安装包 https://download.elastic.co/elasticsearch/elastics ...
- Linux下Elasticsearch-2.4.0的安装与简单配置(单节点)Head插件安装(已测试)
下载地址: https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-0 传到服务器 ftp工具或者 rz指令,解压文件: ta ...
- nginx-1.14.0配置文件 配置域名转发到端口
liunx卸载nginx 执行 yum remove nginx搜索 find / -name 'nginx'rm -rf 删除nginx相关目录 安装nginx 1:首先我们需要下载nginx: w ...
- Redis3.0 配置文件说明
背景: 以前有篇文章已经结果过了,现在复习一下,对Redis3.0进行说明: 参数说明: #redis.conf # Redis configuration file example. # ./red ...
- 【vue系列之二】详解vue-cli 2.0配置文件
上次给大家分享的是用vue-cli快速搭建vue项目,虽然很省时间和精力,但想要真正搞明白,我们还需要对其原理一探究竟. 大家拿到一个项目,要快速上手,正确的思路是这样的: 首先,如果在项目有read ...
- NET2.0配置文件加密(WEBWindows)
posted on 2006年5月6日 15:42 由 吴頔 WEB篇 网上已经有很多文章提到: ASP.NET 2.0加密Web.config 配置文件 Keeping se ...
- MongoDB4.0 配置文件
2019独角兽企业重金招聘Python工程师标准>>> Core Options 4.0 新增 cloud Options + mongos-only Options + 去掉 Te ...
- 3D打印机固件 Marlin 1.1.0 配置文件 说明
本文关于marlin配置文件的翻译,如有错漏请多多指出,共同修正 感谢! 版本信息: Release Candidate -- Marlin 1.1.0-RC8 - 6 Dec 2016 /** * ...
- OpenCV | 基于visual studio 2010版本的OpenCV3.0.0配置文件
博主github:https://github.com/MichaelBeechan 博主CSDN:https://blog.csdn.net/u011344545 基于PX4FLOW光流传感器的四旋 ...
最新文章
- Docker的基本使用-Ubuntu18.04
- IOS 常见面试汇总
- mac python request ssl错误解决
- python入门到实践-Python编程从入门到实践(基础入门)
- 【Machine Learning】K-means算法及C语言实现
- APP技巧:手机连接WiFi后,移动数据流量要不要关闭,看完你就懂了!
- lua windows下编译
- php composer使用过程
- 重磅开源!《30天吃掉那只 TensorFlow2.0 》(附下载)
- 微信公众号开发之授权获取用户信息
- 比特币矿商比特微正筹备美股上市
- 团队项目第二周 - 需求规格说明书 - 天冷记得穿秋裤队
- 创建设备文件节点_使用device_create实例分析
- oracle 没有debug权限,开启Oracle的debug级别日志
- 金士顿优盘不被电脑识别的小技巧
- 中文语句情感分类系统的设计与实现
- Kali 里边没有声声音 解决办法 有帮助的话给兄弟点个赞 感激不尽
- esp8266烧录html方法,将ESP8266刷成可以使用网页配置的固件和步骤
- IP地址、路由器、数据分片、地址管理、子网掩码、路由选择、公网与私网
- HDOJ 题目1217 Arbitrage(最短路径,Floyd)