<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                elasticsearch.yml配置詳解 ~~~ # 變量可以用${}這樣的形式賦予 #node.rack: ${RACK_ENV_VAR} ~~~ ~~~ # 集群的名稱 cluster.name: jdxia ~~~ ~~~ # 節點名稱 node.name: "w1" # 1. You want this node to never become a master node, only to hold data. # This will be the "workhorse" of your cluster. # 他是子節點,存儲數據 #node.master: false #node.data: true # 2. You want this node to only serve as a master: to not store any data and # to have free resources. This will be the "coordinator" of your cluster. # 假如你的設置是這樣,他只做master,不做索引和分片,master節點就是協調各個節點 #node.master: true #node.data: false # # 3. You want this node to be neither master nor data node, but # to act as a "search load balancer" (fetching data from nodes, # aggregating results, etc.) # 都設置為false,他是做了個負載均衡器 #node.master: false #node.data: false ~~~ 數據讀取是由集群中各個節點共同完成的,而數據的修改是由集群的master來完成的 ~~~ # 每個節點定義與之關聯的屬性,進行碎片分配時的過濾,這邊使用默認值就行 #node.rack: rack314 # 設置一臺服務器能運行的節點數目,一般一臺服務器就部署1臺 #node.max_local_storage_nodes: 1 ~~~ ~~~ #定義碎片的數量 #index.number_of_shards: 5 #定義副本的數量 #index.number_of_replicas: 1 ~~~ ~~~ #定義配置文件的位置 #path.conf: /path/to/conf #定義索引數據存放的位置 #path.data: /path/to/data #也可以定義多個路徑 #path.data: /path/to/data1,/path/to/data2 #定義臨時文件的路徑 #path.work: /path/to/work #定義日志文件的路徑 #path.logs: /path/to/logs #定義插件的位置 #path.plugins: /path/to/plugins ~~~ ~~~ # 插件的名字,如果這個節點這個插件沒有安裝就不能啟動 #plugin.mandatory: mapper-attachments,lang-groovy ~~~ ~~~ # 設為true表示會鎖定一些內存給es,一般這個內存是給jvm的 bootstrap.mlockall: true ~~~ ~~~ # elasticsearch綁定的地址,可以(IPv4 or IPv6) #network.bind_host: 192.168.0.1 # es發布的地址,就是和其他節點通信的地址 #network.publish_host: 192.168.0.1 # 如果這邊設置,上面的2個設置可以都不用設置了 #network.host: 192.168.0.1 # 定義是否壓縮tcp傳輸的數據 #transport.tcp.compress: true # http協議的端口 #http.port: 9200 # 設置http交互中傳輸內容的最大長度 #http.max_content_length: 100mb # 禁用和啟用http協議 #http.enabled: false ~~~ ~~~ # es的持久化存儲,local是本地文件 gateway.type: local # 控制集群在達到多少個節點后才會開始數據恢復功能,可以避免集群初期自動發現share分片不全的問題,比如設置5,集群必須有5個節點才能進行數據分片 #gateway.recover_after_nodes: 1 # 初始化數據恢復過程的超時時間 #gateway.recover_after_time: 5m # 初始化數據恢復過程的超時時間,這個具體是節點都啟動成功,過了5分鐘才能進行數據恢復 #gateway.recover_after_time: 5m # 設置在集群中多少個節點啟動成功后就馬上開始數據恢復 #gateway.expected_nodes: 2 ~~~ ~~~ #是設置一個節點的并發數量,初始恢復過程中 #cluster.routing.allocation.node_initial_primaries_recoveries: 4 # 添加刪除節點和負載均衡時的個數 #cluster.routing.allocation.node_concurrent_recoveries: 2 #設置恢復時限制的寬帶,0就是無限制 #indices.recovery.max_bytes_per_sec: 20mb # 限制從其他分片,最大打開并發流的限制 #indices.recovery.concurrent_streams: 5 ~~~ ~~~ # 設置多少個節點,可以成為候選節點的個數,如果你集群中節點數量比較多可以設置為2~4 #discovery.zen.minimum_master_nodes: 1 #自動發現其他節點的,超時時間,網絡環境比較差可以設置高點 #discovery.zen.ping.timeout: 3s # 設置是否打開多播協議發現其他節點 discovery.zen.ping.multicast.enabled: true # 設置集群中master節點,初始化列表,里面的host用來自動發現加入集群的節點 #discovery.zen.ping.unicast.hosts: ["host1", "host2:port"] # 設置log,debug的打印四份 # # query查詢 #index.search.slowlog.threshold.query.warn: 10s #index.search.slowlog.threshold.query.info: 5s #index.search.slowlog.threshold.query.debug: 2s #index.search.slowlog.threshold.query.trace: 500ms # fetch獲取 #index.search.slowlog.threshold.fetch.warn: 1s #index.search.slowlog.threshold.fetch.info: 800ms #index.search.slowlog.threshold.fetch.debug: 500ms #index.search.slowlog.threshold.fetch.trace: 200ms #index.indexing.slowlog.threshold.index.warn: 10s #index.indexing.slowlog.threshold.index.info: 5s #index.indexing.slowlog.threshold.index.debug: 2s #index.indexing.slowlog.threshold.index.trace: 500ms # 設置jvm的gc打印時間 #monitor.jvm.gc.young.warn: 1000ms #monitor.jvm.gc.young.info: 700ms #monitor.jvm.gc.young.debug: 400ms #monitor.jvm.gc.old.warn: 10s #monitor.jvm.gc.old.info: 5s #monitor.jvm.gc.old.debug: 2s # 開始jsonp的數據交換格式 http.jsonp.enable: true ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看