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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # _type field 每個索引的文檔都與一個?**[_type](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-type-field.html)**(請參閱 “**[Mapping Types](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping.html#mapping-type)[edit](https://github.com/elastic/elasticsearch/edit/5.3/docs/reference/mapping.asciidoc)**” 一節)以及一個?**[_id](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-id-field.html)?**相關聯。 為了使類型名稱快速搜索,**[_type](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-type-field.html)?**字段被索引。 該**?_type?**字段的值可以在查詢,聚合,腳本以及排序時訪問: | `# Example documents` `curl -XPUT?``'localhost:9200/my_index/type_1/1?pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"text"``:?``"Document with type 1"` `}` `'` `curl -XPUT?``'localhost:9200/my_index/type_2/2?refresh=true&pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"text"``:?``"Document with type 2"` `}` `'` `curl -XGET?``'localhost:9200/my_index/_search?pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"query"``: {` `"terms"``: {` `"_type"``: [?``"type_1"``,?``"type_2"`?`]?``# 1` `}` `},` `"aggs"``: {` `"types"``: {` `"terms"``: {` `"field"``:?``"_type"``,?``# 2` `"size"``: 10` `}` `}` `},` `"sort"``: [` `{` `"_type"``: {?``# 3` `"order"``:?``"desc"` `}` `}` `],` `"script_fields"``: {` `"type"``: {` `"script"``: {` `"lang"``:?``"painless"``,` `"inline"``:?``"doc['_type']"`?`# 4` `}` `}` `}` `}` `'` | | 1 | 在?**_type?**字段上查詢 | | 2 | 在?**_type?**字段上聚合 | | 3 | 在?**_type?**字段上排序 | | 4 | 在腳本中訪問?**_type?**字段 |
                  <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>

                              哎呀哎呀视频在线观看