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

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Ingest Node(預處理節點) 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/ingest.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/ingest.html) 譯文鏈接 : [http://www.apache.wiki/display/Elasticsearch/Ingest+Node](http://www.apache.wiki/display/Elasticsearch/Ingest+Node) 貢獻者 : [那伊抹微笑](/display/~wangyangting),[ApacheCN](/display/~apachecn),[Apache中文網](/display/~apachechina) 您可以在實際的 **indexing**(索引)發生之前使用 **ingest** **node** 來預處理 **documents**(文檔)。這種預處理發生在 **intercepts** **bulk**(攔取批量索引)和 **index requests**(索引請求)的 **ingest** **node** 上,應用 **transformations**(轉換),然后將文檔傳回 **index**(索引)或者 **bulk** **APIs**。 您可以在任何節點上啟用 **ingest**,甚至使用專門的 **ingest nodes**。默認情況下在所有的節點上啟用 **ingest**。為了在某個節點上禁用 **ingest**,在 **elasticsearch.xml** 文件中配置如下設置 :? ``` node.ingest: false ``` 為了在 **indexing**(索引)之前預處理 **documents**(文檔)。您可以定義一個指定了一系列的 **processors**(處理器)的 **pipeline**(管道)。每個?**processors**(處理器)以某種方式轉換文檔。例如,您可能有一個 **pipeline**(管道),其中包含一個 **processor**,該 **processor** 從文檔中刪除一個 **field**(字段),然后接著一個用于重命名 **field**(字段)的 **processor**(處理器)。 為了使用 **pipeline**(管道),您只需在 **index**(索引)或 **bulk** **request**(批量請求)時指定 **pipeline**(管道)參數,即可告知 **ingest** **node** 要使用哪一個?**pipeline**(管道)。例如 :? ``` curl -XPUT 'localhost:9200/my-index/my-type/my-id?pipeline=my_pipeline_id&pretty' -H 'Content-Type: application/json' -d' { "foo": "bar" } ' ```
                  <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>

                              哎呀哎呀视频在线观看