<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之旅 廣告
                # Returning the type of the aggregation(返回聚合的類型) 有的時候你需要知道聚合的確切類型才能夠解析得到的結果。typed_keys參數可用于在響應中更改聚合名稱,以至于可以以內部類型為前綴。 考慮下面的名為tweets_over_time的 date_histogram 聚合,其中有一個名為top_users的子'top_hits`聚合: | `curl -XGET?``'localhost:9200/twitter/tweet/_search?typed_keys&pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"aggregations"``: {` `"tweets_over_time"``: {` `"date_histogram"``: {` `"field"``:?``"date"``,` `"interval"``:?``"year"` `},` `"aggregations"``: {` `"top_users"``: {` `"top_hits"``: {` `"size"``:?``1` `}` `}` `}` `}` `}` `}` `'` | 請求返回中,聚合名稱將分別更改為date_histogram#tweets_over_time和top_hits#top_users,反映每個聚合的內部類型: | `{` `"aggregations"``: {` `"date_histogram#tweets_over_time"``: {` `"buckets"`?`: [` `{` `"key_as_string"`?`:?``"2009-01-01T00:00:00.000Z"``,` `"key"`?`:?``1230768000000``,` `"doc_count"`?`:?``5``,` `"top_hits#top_users"`?`: {?` `"hits"`?`: {` `"total"`?`:?``5``,` `"max_score"`?`:?``1.0``,` `"hits"`?`: [` `{` `"_index"``:?``"twitter"``,` `"_type"``:?``"tweet"``,` `"_id"``:?``"0"``,` `"_score"``:?``1.0``,` `"_source"``: {` `"date"``:?``"2009-11-15T14:12:12"``,` `"message"``:?``"trying out Elasticsearch"``,` `"user"``:?``"kimchy"``,` `"likes"``:?``0` `}` `}` `]` `}` `}` `}` `]` `}` `},` `...` `}` | | 1 | **tweets_over_time**?名稱包含?**date_histogram**?前綴 | | 2 | **top_users**?包含?**top_hits?**前綴 | Note 對于某些聚合,返回類型可能與請求提供的類型不同。這是對于Terms,重要的的Terms和百分比聚合,其中返回的類型還包含有關目標字段類型的信息:lterms(用于長字段中的術語聚合),sigsterms(對于String上的重要術語聚合字段),tdigest_percentiles(基于TDigest算法的百分點聚合)。
                  <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>

                              哎呀哎呀视频在线观看