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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # null_value(空值) **null?**值不能被索引或者搜索.當一個字段被設置成?**null**(或者一個空數組,或者值全為?**null?**的數組)時, 該字段將被視為沒有值。 **null_value?**參數允許你用一個特殊的值替換一個顯示的?**null?**值, 以確保這個字段能被索引和搜索。例如: ``` curl -XPUT 'localhost:9200/my_index?pretty' -H 'Content-Type: application/json' -d' { "mappings": { "my_type": { "properties": { "status_code": { "type": "keyword", "null_value": "NULL" #1 } } } } } ' curl -XPUT 'localhost:9200/my_index/my_type/1?pretty' -H 'Content-Type: application/json' -d' { "status_code": null } ' curl -XPUT 'localhost:9200/my_index/my_type/2?pretty' -H 'Content-Type: application/json' -d' { "status_code": [] #2 } ' curl -XGET 'localhost:9200/my_index/_search?pretty' -H 'Content-Type: application/json' -d' { "query": { "term": { "status_code": "NULL" #3 } } } ' ``` | 1 | 用 **NULL** 代替顯示的 **null** 值。 | | 2 | 沒有顯示的包含 **null** 的空數組,不會被 **null_value** 替換。 | | 3 | 搜索 **NULL** 將返回文檔1,而不會返回文檔2。 | 重點 **null_value** 必須設置成相同類型的參數。例如,一個 **long** 型的字段不能被設置成 **string** 類型的 **null_value**。 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/null-value.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/null-value.html)(修改該鏈接為官網對應的鏈接) 譯文鏈接 : [http://www.apache.wiki/pages/viewpage.action?pageId=9406521](http://www.apache.wiki/pages/viewpage.action?pageId=9406521)(修改該鏈接為 **ApacheCN** 對應的譯文鏈接) 貢獻者 : [郭峰](/display/~guofeng),[ApacheCN](/display/~apachecn),[Apache中文網](/display/~apachechina)
                  <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>

                              哎呀哎呀视频在线观看