Geoshape field type
editGeoshape field type
editThe geo_shape
data type facilitates the indexing of and searching
with arbitrary geoshapes such as rectangles, lines and polygons. If the data being
indexed contains shapes other than just points, it is necessary to use this mapping.
If the data contains only points, it can be indexed as either
geo_point
or geo_shape
.
Documents using this type can be used:
-
to find geoshapes within:
- a bounding box
- a certain distance of a central point
-
a
geo_shape
query (for example, intersecting polygons).
-
to aggregate documents by geographic grids:
Mapping Options
editThe geo_shape
mapping maps GeoJSON or WKT geometry objects to the geo_shape
type. To enable it, users must explicitly map fields to the geo_shape
type.
Option | Description | Default |
---|---|---|
|
Optional. Default orientation for the field’s WKT polygons. This parameter sets and returns only a To set
To set
|
|
|
If true, malformed GeoJSON or WKT shapes are ignored. If false (default), malformed GeoJSON and WKT shapes throw an exception and reject the entire document. |
|
|
If |
|
|
If |
|
|
Should the field be quickly searchable? Accepts |
|
|
Should the field be stored on disk in a column-stride fashion, so that it can later be used for aggregations or scripting? |
|
Indexing approach
editGeoshape types are indexed by decomposing the shape into a triangular mesh and indexing each triangle as a 7 dimension point in a BKD tree. This provides near perfect spatial resolution (down to 1e-7 decimal degree precision) since all spatial relations are computed using an encoded vector representation of the original shape. Performance of the tessellator primarily depends on the number of vertices that define the polygon/multi-polygon.
Example
editresp = client.indices.create( index="example", mappings={ "properties": { "location": { "type": "geo_shape" } } }, ) print(resp)
response = client.indices.create( index: 'example', body: { mappings: { properties: { location: { type: 'geo_shape' } } } } ) puts response
const response = await client.indices.create({ index: "example", mappings: { properties: { location: { type: "geo_shape", }, }, }, }); console.log(response);
PUT /example { "mappings": { "properties": { "location": { "type": "geo_shape" } } } }
Input Structure
editShapes can be represented using either the GeoJSON or Well-Known Text (WKT) format. The following table provides a mapping of GeoJSON and WKT to Elasticsearch types:
GeoJSON Type | WKT Type | Elasticsearch Type | Description |
---|---|---|---|
|
|
|
A single geographic coordinate. Note: Elasticsearch uses WGS-84 coordinates only. |
|
|
|
An arbitrary line given two or more points. |
|
|
|
A closed polygon whose first and last point
must match, thus requiring |
|
|
|
An array of unconnected, but likely related points. |
|
|
|
An array of separate linestrings. |
|
|
|
An array of separate polygons. |
|
|
|
A GeoJSON shape similar to the
|
|
|
|
A bounding rectangle, or envelope, specified by specifying only the top left and bottom right points. |
For all types, both the inner type
and coordinates
fields are
required.
A point is a single geographic coordinate, such as the location of a building or the current position given by a smartphone’s Geolocation API. The following is an example of a point in GeoJSON.
resp = client.index( index="example", document={ "location": { "type": "Point", "coordinates": [ -77.03653, 38.897676 ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'Point', coordinates: [ -77.03653, 38.897676 ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "Point", coordinates: [-77.03653, 38.897676], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "Point", "coordinates" : [-77.03653, 38.897676] } }
The following is an example of a point in WKT:
resp = client.index( index="example", document={ "location": "POINT (-77.03653 38.897676)" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'POINT (-77.03653 38.897676)' } ) puts response
const response = await client.index({ index: "example", document: { location: "POINT (-77.03653 38.897676)", }, }); console.log(response);
POST /example/_doc { "location" : "POINT (-77.03653 38.897676)" }
A linestring defined by an array of two or more positions. By specifying only two points, the linestring will represent a straight line. Specifying more than two points creates an arbitrary path. The following is an example of a linestring in GeoJSON.
resp = client.index( index="example", document={ "location": { "type": "LineString", "coordinates": [ [ -77.03653, 38.897676 ], [ -77.009051, 38.889939 ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'LineString', coordinates: [ [ -77.03653, 38.897676 ], [ -77.009051, 38.889939 ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "LineString", coordinates: [ [-77.03653, 38.897676], [-77.009051, 38.889939], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "LineString", "coordinates" : [[-77.03653, 38.897676], [-77.009051, 38.889939]] } }
The following is an example of a linestring in WKT:
resp = client.index( index="example", document={ "location": "LINESTRING (-77.03653 38.897676, -77.009051 38.889939)" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'LINESTRING (-77.03653 38.897676, -77.009051 38.889939)' } ) puts response
const response = await client.index({ index: "example", document: { location: "LINESTRING (-77.03653 38.897676, -77.009051 38.889939)", }, }); console.log(response);
POST /example/_doc { "location" : "LINESTRING (-77.03653 38.897676, -77.009051 38.889939)" }
The above linestring would draw a straight line starting at the White House to the US Capitol Building.
A polygon is defined by a list of a list of points. The first and last points in each (outer) list must be the same (the polygon must be closed). The following is an example of a polygon in GeoJSON.
resp = client.index( index="example", document={ "location": { "type": "Polygon", "coordinates": [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'Polygon', coordinates: [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "Polygon", coordinates: [ [ [100, 0], [101, 0], [101, 1], [100, 1], [100, 0], ], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "Polygon", "coordinates" : [ [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ] ] } }
The following is an example of a polygon in WKT:
resp = client.index( index="example", document={ "location": "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0))" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0))' } ) puts response
const response = await client.index({ index: "example", document: { location: "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0))", }, }); console.log(response);
POST /example/_doc { "location" : "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0))" }
The first array represents the outer boundary of the polygon, the other arrays represent the interior shapes ("holes"). The following is a GeoJSON example of a polygon with a hole:
resp = client.index( index="example", document={ "location": { "type": "Polygon", "coordinates": [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ], [ 100.2, 0.2 ] ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'Polygon', coordinates: [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ], [ 100.2, 0.2 ] ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "Polygon", coordinates: [ [ [100, 0], [101, 0], [101, 1], [100, 1], [100, 0], ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2], ], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "Polygon", "coordinates" : [ [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2] ] ] } }
The following is an example of a polygon with a hole in WKT:
resp = client.index( index="example", document={ "location": "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2))" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2))' } ) puts response
const response = await client.index({ index: "example", document: { location: "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2))", }, }); console.log(response);
POST /example/_doc { "location" : "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2))" }
Polygon orientation
editA polygon’s orientation indicates the order of its vertices: RIGHT
(counterclockwise) or LEFT
(clockwise). Elasticsearch uses a polygon’s orientation to
determine if it crosses the international dateline (+/-180° longitude).
You can set a default orientation for WKT polygons using the
orientation
mapping parameter. This is because
the WKT specification doesn’t specify or enforce a default orientation.
GeoJSON polygons use a default orientation of RIGHT
, regardless of
orientation
mapping parameter’s value. This is because the
GeoJSON specification
mandates that an outer polygon use a counterclockwise orientation and interior
shapes use a clockwise orientation.
You can override the default orientation for GeoJSON polygons using the
document-level orientation
parameter. For example, the following indexing
request specifies a document-level orientation
of LEFT
.
resp = client.index( index="example", document={ "location": { "type": "Polygon", "orientation": "LEFT", "coordinates": [ [ [ -177, 10 ], [ 176, 15 ], [ 172, 0 ], [ 176, -15 ], [ -177, -10 ], [ -177, 10 ] ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'Polygon', orientation: 'LEFT', coordinates: [ [ [ -177, 10 ], [ 176, 15 ], [ 172, 0 ], [ 176, -15 ], [ -177, -10 ], [ -177, 10 ] ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "Polygon", orientation: "LEFT", coordinates: [ [ [-177, 10], [176, 15], [172, 0], [176, -15], [-177, -10], [-177, 10], ], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "Polygon", "orientation" : "LEFT", "coordinates" : [ [ [-177.0, 10.0], [176.0, 15.0], [172.0, 0.0], [176.0, -15.0], [-177.0, -10.0], [-177.0, 10.0] ] ] } }
Elasticsearch only uses a polygon’s orientation to determine if it crosses the international dateline. If the difference between a polygon’s minimum longitude and the maximum longitude is less than 180°, the polygon doesn’t cross the dateline and its orientation has no effect.
If the difference between a polygon’s minimum longitude and the maximum
longitude is 180° or greater, Elasticsearch checks whether the polygon’s document-level
orientation
differs from the default orientation. If the orientation differs,
Elasticsearch considers the polygon to cross the international dateline and splits the
polygon at the dateline.
The following is an example of a list of GeoJSON points:
resp = client.index( index="example", document={ "location": { "type": "MultiPoint", "coordinates": [ [ 102, 2 ], [ 103, 2 ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'MultiPoint', coordinates: [ [ 102, 2 ], [ 103, 2 ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "MultiPoint", coordinates: [ [102, 2], [103, 2], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "MultiPoint", "coordinates" : [ [102.0, 2.0], [103.0, 2.0] ] } }
The following is an example of a list of WKT points:
resp = client.index( index="example", document={ "location": "MULTIPOINT (102.0 2.0, 103.0 2.0)" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'MULTIPOINT (102.0 2.0, 103.0 2.0)' } ) puts response
const response = await client.index({ index: "example", document: { location: "MULTIPOINT (102.0 2.0, 103.0 2.0)", }, }); console.log(response);
POST /example/_doc { "location" : "MULTIPOINT (102.0 2.0, 103.0 2.0)" }
The following is an example of a list of GeoJSON linestrings:
resp = client.index( index="example", document={ "location": { "type": "MultiLineString", "coordinates": [ [ [ 102, 2 ], [ 103, 2 ], [ 103, 3 ], [ 102, 3 ] ], [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ] ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'MultiLineString', coordinates: [ [ [ 102, 2 ], [ 103, 2 ], [ 103, 3 ], [ 102, 3 ] ], [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ] ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "MultiLineString", coordinates: [ [ [102, 2], [103, 2], [103, 3], [102, 3], ], [ [100, 0], [101, 0], [101, 1], [100, 1], ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], ], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "MultiLineString", "coordinates" : [ [ [102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0] ], [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0] ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8] ] ] } }
The following is an example of a list of WKT linestrings:
resp = client.index( index="example", document={ "location": "MULTILINESTRING ((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0), (100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8))" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'MULTILINESTRING ((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0), (100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8))' } ) puts response
const response = await client.index({ index: "example", document: { location: "MULTILINESTRING ((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0), (100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8))", }, }); console.log(response);
POST /example/_doc { "location" : "MULTILINESTRING ((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0), (100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8))" }
The following is an example of a list of GeoJSON polygons (second polygon contains a hole):
resp = client.index( index="example", document={ "location": { "type": "MultiPolygon", "coordinates": [ [ [ [ 102, 2 ], [ 103, 2 ], [ 103, 3 ], [ 102, 3 ], [ 102, 2 ] ] ], [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ], [ 100.2, 0.2 ] ] ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'MultiPolygon', coordinates: [ [ [ [ 102, 2 ], [ 103, 2 ], [ 103, 3 ], [ 102, 3 ], [ 102, 2 ] ] ], [ [ [ 100, 0 ], [ 101, 0 ], [ 101, 1 ], [ 100, 1 ], [ 100, 0 ] ], [ [ 100.2, 0.2 ], [ 100.8, 0.2 ], [ 100.8, 0.8 ], [ 100.2, 0.8 ], [ 100.2, 0.2 ] ] ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "MultiPolygon", coordinates: [ [ [ [102, 2], [103, 2], [103, 3], [102, 3], [102, 2], ], ], [ [ [100, 0], [101, 0], [101, 1], [100, 1], [100, 0], ], [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2], ], ], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "MultiPolygon", "coordinates" : [ [ [[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]] ], [ [[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]] ] ] } }
The following is an example of a list of WKT polygons (second polygon contains a hole):
resp = client.index( index="example", document={ "location": "MULTIPOLYGON (((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0, 102.0 2.0)), ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2)))" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'MULTIPOLYGON (((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0, 102.0 2.0)), ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2)))' } ) puts response
const response = await client.index({ index: "example", document: { location: "MULTIPOLYGON (((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0, 102.0 2.0)), ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2)))", }, }); console.log(response);
POST /example/_doc { "location" : "MULTIPOLYGON (((102.0 2.0, 103.0 2.0, 103.0 3.0, 102.0 3.0, 102.0 2.0)), ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2)))" }
The following is an example of a collection of GeoJSON geometry objects:
resp = client.index( index="example", document={ "location": { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ 100, 0 ] }, { "type": "LineString", "coordinates": [ [ 101, 0 ], [ 102, 1 ] ] } ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'GeometryCollection', geometries: [ { type: 'Point', coordinates: [ 100, 0 ] }, { type: 'LineString', coordinates: [ [ 101, 0 ], [ 102, 1 ] ] } ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "GeometryCollection", geometries: [ { type: "Point", coordinates: [100, 0], }, { type: "LineString", coordinates: [ [101, 0], [102, 1], ], }, ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [100.0, 0.0] }, { "type": "LineString", "coordinates": [ [101.0, 0.0], [102.0, 1.0] ] } ] } }
The following is an example of a collection of WKT geometry objects:
resp = client.index( index="example", document={ "location": "GEOMETRYCOLLECTION (POINT (100.0 0.0), LINESTRING (101.0 0.0, 102.0 1.0))" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'GEOMETRYCOLLECTION (POINT (100.0 0.0), LINESTRING (101.0 0.0, 102.0 1.0))' } ) puts response
const response = await client.index({ index: "example", document: { location: "GEOMETRYCOLLECTION (POINT (100.0 0.0), LINESTRING (101.0 0.0, 102.0 1.0))", }, }); console.log(response);
POST /example/_doc { "location" : "GEOMETRYCOLLECTION (POINT (100.0 0.0), LINESTRING (101.0 0.0, 102.0 1.0))" }
Envelope
editElasticsearch supports an envelope
type, which consists of coordinates
for upper left and lower right points of the shape to represent a
bounding rectangle in the format [[minLon, maxLat], [maxLon, minLat]]
:
resp = client.index( index="example", document={ "location": { "type": "envelope", "coordinates": [ [ 100, 1 ], [ 101, 0 ] ] } }, ) print(resp)
response = client.index( index: 'example', body: { location: { type: 'envelope', coordinates: [ [ 100, 1 ], [ 101, 0 ] ] } } ) puts response
const response = await client.index({ index: "example", document: { location: { type: "envelope", coordinates: [ [100, 1], [101, 0], ], }, }, }); console.log(response);
POST /example/_doc { "location" : { "type" : "envelope", "coordinates" : [ [100.0, 1.0], [101.0, 0.0] ] } }
The following is an example of an envelope using the WKT BBOX format:
NOTE: WKT specification expects the following order: minLon, maxLon, maxLat, minLat.
resp = client.index( index="example", document={ "location": "BBOX (100.0, 102.0, 2.0, 0.0)" }, ) print(resp)
response = client.index( index: 'example', body: { location: 'BBOX (100.0, 102.0, 2.0, 0.0)' } ) puts response
const response = await client.index({ index: "example", document: { location: "BBOX (100.0, 102.0, 2.0, 0.0)", }, }); console.log(response);
POST /example/_doc { "location" : "BBOX (100.0, 102.0, 2.0, 0.0)" }
Circle
editNeither GeoJSON nor WKT supports a point-radius circle type. Instead, use a
circle ingest processor to approximate the circle as
a polygon
.
Sorting and Retrieving index Shapes
editDue to the complex input structure and index representation of shapes,
it is not currently possible to sort shapes or retrieve their fields
directly. The geo_shape
value is only retrievable through the _source
field.
Synthetic source
editSynthetic _source
is Generally Available only for TSDB indices
(indices that have index.mode
set to time_series
). For other indices
synthetic _source
is in technical preview. Features in technical preview may
be changed or removed in a future release. Elastic will work to fix
any issues, but features in technical preview are not subject to the support SLA
of official GA features.
geo_shape
fields support synthetic _source
in their
default configuration.