<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkrtkhsh</author_name>
  <author_url>https://blog.hatena.ne.jp/tkrtkhsh/</author_url>
  <blog_title>take a keen edge</blog_title>
  <blog_url>https://tkrtkhsh.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>前回に引き続きページング取得の話。 Aggregations でページング Terms Aggregations したとき、キーが多すぎる場合に分割して取得したい。そんなときは Partition に区切って取得することになる。 { &quot;size&quot;: 0, &quot;aggs&quot;: { &quot;aggregation_name&quot;: { &quot;terms&quot;: { &quot;field&quot;: &quot;hoge&quot;, &quot;include&quot;: { &quot;partition&quot;: 0, &quot;num_partitions&quot;: 10 }, &quot;size&quot; : 1000, } } } } この例では 10 分割にしている。 partition に 1〜9 を指…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkrtkhsh.hatenablog.com%2Fentry%2F2017%2F12%2F07%2F233914&quot; title=&quot;Elasticsearch でつまづいた話 (4) - take a keen edge&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-07 23:39:14</published>
  <title>Elasticsearch でつまづいた話 (4)</title>
  <type>rich</type>
  <url>https://tkrtkhsh.hatenablog.com/entry/2017/12/07/233914</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
