小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

6.2.elasticsearch.yml(中文配置詳解)(2019-05-16)

 印度阿三17 2019-07-04

# =============== 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 and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www./guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
# 集群名稱(chēng),默認(rèn)是elasticsearch,必須修改
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
# 節(jié)點(diǎn)名稱(chēng),必須修改
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
# 可以指定es的數(shù)據(jù)存儲(chǔ)目錄,默認(rèn)存儲(chǔ)在es_home/data目錄下,強(qiáng)烈建議修改
#path.data: /home/es/elasticsearch/data
#
# Path to log files:
# 可以指定es的日志存儲(chǔ)目錄,默認(rèn)存儲(chǔ)在es_home/logs目錄下,強(qiáng)烈建議修改
#path.logs: /home/es/elasticsearch/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
# 鎖定物理內(nèi)存地址,防止elasticsearch內(nèi)存被交換出去,也就是避免es使用swap交換分區(qū)
#bootstrap.memory_lock: true
#
#
# 確保ES_HEAP_SIZE參數(shù)設(shè)置為系統(tǒng)可用內(nèi)存的一半左右
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
#
# 當(dāng)系統(tǒng)進(jìn)行內(nèi)存交換的時(shí)候,es的性能很差
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
# 為es設(shè)置ip綁定,默認(rèn)是127.0.0.1,也就是默認(rèn)只能通過(guò)127.0.0.1 或者localhost才能訪問(wèn)
# 一旦自定義設(shè)置了 network.host ,Elasticsearch 會(huì)假定你正在從開(kāi)發(fā)模式轉(zhuǎn)移到生產(chǎn)模式,并將許多系統(tǒng)啟動(dòng)檢查從警告升級(jí)到異常
#network.host: 192.168.75.206
#
# Set a custom port for HTTP:
#
# 為es設(shè)置自定義端口,默認(rèn)是9200
# 注意:在同一個(gè)服務(wù)器中啟動(dòng)多個(gè)es節(jié)點(diǎn)的話(huà),默認(rèn)監(jiān)聽(tīng)的端口號(hào)會(huì)自動(dòng)加1:例如:9200,9201,9202...
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
# 當(dāng)啟動(dòng)新節(jié)點(diǎn)時(shí),通過(guò)這個(gè)ip列表進(jìn)行節(jié)點(diǎn)發(fā)現(xiàn),組建集群
# 注意:如果是發(fā)現(xiàn)其他服務(wù)器中的es服務(wù),可以不指定端口[默認(rèn)9300],如果是發(fā)現(xiàn)同一個(gè)服務(wù)器中的es服務(wù),就需要指定端口了。
#discovery.seed_hosts: ["192.168.75.206"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
# 初始化時(shí)的master節(jié)點(diǎn)
#cluster.initial_master_nodes: ["192.168.75.206"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
# 一個(gè)集群中的N個(gè)節(jié)點(diǎn)啟動(dòng)后,才允許進(jìn)行數(shù)據(jù)恢復(fù)處理,默認(rèn)是1
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
#
# ---------------------------------- Various -----------------------------------
# 設(shè)置是否可以通過(guò)正則或者_(dá)all刪除或者關(guān)閉索引庫(kù),默認(rèn)true表示必須需要顯式指定索引庫(kù)名稱(chēng)
# 生產(chǎn)環(huán)境建議設(shè)置為true,刪除索引庫(kù)的時(shí)候必須顯式指定,否則可能會(huì)誤刪索引庫(kù)中的索引庫(kù)。
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
#
#只有head節(jié)點(diǎn)需要配置,其他非head節(jié)點(diǎn)不要配置,不然建不起集群
#http.cors.enabled: true
#http.cors.allow-origin: "*"

來(lái)源:https://www./content-4-299051.html

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶(hù)發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶(hù) 評(píng)論公約

    類(lèi)似文章 更多