<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Open / Close Index API /啟動關閉索引 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html) 譯文鏈接 : [Open / Close Index API /啟動關閉索引](/pages/viewpage.action?pageId=4882797) 貢獻者 : [Le-Mon](/display/~tanwen) 注意:涉及翻譯內容: Index-索引;types-類型;mapping-映射;aliases-別名;shards-分片;replicas-副本 啟動關閉索引允許關閉一個索引并在之后重新開啟,一個關閉的索引幾乎不占用集群資源(除了維持本身的元信息),并且關閉的索引對讀寫操作鎖定。一個關閉的索引可以重新開啟,將通過常規的恢復進程開啟。 REST 接口為 ?`/{index}/_close`?和?`/{index}/_open`. 例如: ``` curl -XPOST 'localhost:9200/my_index/_close?pretty' curl -XPOST 'localhost:9200/my_index/_open?pretty' ``` 同時開啟/關閉多個索引也是允許的。如果請求不存在的索引會拋出錯誤,可以通過修改配置?`ignore_unavailable=true 阻止拋出錯誤。` 所有的索引都可以被開啟/關閉只用使用 _all 或者采用通配符(例如 * )作為索引名稱。 通過 _all 或者通配符識別索引的方式可以通過修改配置?`action.destructive_requires_name=true 來禁用,這項配置也可以通過集群API修改更新。` 關閉索引需要消費大量的磁盤空間,可能會對現有環境造成問題。關閉索引的API可以通過集群設置API禁用:`cluster.indices.close.enable`=?`false (默認為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>

                              哎呀哎呀视频在线观看