title: How to capitalize elasticsearch geoJSON (geometry) "type"
body: <p>When retrieving an correctly indexed GeoJSON from elasticsearch the GeoJSON <code>type</code> is returned as all-lowercase;</p>
  <pre><code>&quot;_source&quot;: {
      &quot;ogc_fid&quot;: 205,
      &quot;geometry&quot;: {
          &quot;type&quot;: &quot;multipolygon&quot;,
          &quot;coordinates&quot;: [
              [
                  [
                      [-7.431,
                          4.351
                      ],
                      [-7.442,
                          4.348
                      ],
                      [-7.466,
                          4.345
                      ],
                      [-7.498,
                          4.347
                      ],
                      ...
                  ]
              ]
          ]
      }
  }
  </code></pre>
  <p>When viewed in Kibana it is clearly shown/retrieved as <code>&quot;type&quot;: &quot;MultiPolygon&quot;</code></p>
  <ul>
  <li>There is no difference in using a <code>term</code> or <code>match</code> query.</li>
  </ul>
  <p><strong>Q:</strong> How can I tell elasticsearch how to NOT lowercase &quot;type&quot; as this is then considered an invalid GeoJSON object after <a href="https://tools.ietf.org/html/rfc7946" rel="nofollow noreferrer">rfc7946</a> def.</p>
  <p>I am using elasticsearch 7.14</p>