<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Geo_bounds on INFINI Pizza</title><link>https://pizza.rs/tags/geo_bounds/</link><description>Recent content in Geo_bounds on INFINI Pizza</description><generator>Hugo</generator><language>en</language><atom:link href="https://pizza.rs/tags/geo_bounds/index.xml" rel="self" type="application/rss+xml"/><item><title>Geo bounds aggregation</title><link>https://pizza.rs/docs/references/aggregation/metric/geo-bounds/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pizza.rs/docs/references/aggregation/metric/geo-bounds/</guid><description>&lt;h1 id="geo-bounds-aggregation">
 Geo bounds aggregation
 &lt;a class="anchor" href="#geo-bounds-aggregation">#&lt;/a>
&lt;/h1>
&lt;p>A metrics aggregation computing the bounding box (top-left /
bottom-right corners) of all &lt;code>geo_point&lt;/code> values — the rectangle that
just contains every point in the bucket.&lt;/p>
&lt;h2 id="how-it-works">
 How it works
 &lt;a class="anchor" href="#how-it-works">#&lt;/a>
&lt;/h2>
&lt;p>The engine scans the bucket&amp;rsquo;s &lt;code>geo_point&lt;/code> column, tracks the minimum
and maximum latitude and longitude, and emits:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;bounds&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;top_left&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">{&lt;/span> &lt;span class="nt">&amp;#34;lat&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="err">&amp;lt;max&lt;/span> &lt;span class="err">lat&amp;gt;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="nt">&amp;#34;lon&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="err">&amp;lt;min&lt;/span> &lt;span class="err">lon&amp;gt;&lt;/span> &lt;span class="p">},&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;bottom_right&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">{&lt;/span> &lt;span class="nt">&amp;#34;lat&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="err">&amp;lt;min&lt;/span> &lt;span class="err">lat&amp;gt;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="nt">&amp;#34;lon&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="err">&amp;lt;max&lt;/span> &lt;span class="err">lon&amp;gt;&lt;/span> &lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;code>null&lt;/code> when the bucket holds no parseable point. The column-store fast
path and the executor path run the same min/max scan.&lt;/p></description></item></channel></rss>