feat: make Point type sortable in Elasticsearch

This commit is contained in:
Wieland Schöbl
2021-03-24 08:44:23 +01:00
parent 33397e90fe
commit 724a6866c8

View File

@@ -30,9 +30,15 @@ export const premaps: ElasticsearchPremap = {
type: ElasticsearchDataType.geo_shape,
},
Point: {
precision: '1m',
tree: 'quadtree',
type: ElasticsearchDataType.geo_shape,
properties: {
type: {
type: ElasticsearchDataType.keyword,
},
coordinates: {
type: ElasticsearchDataType.geo_point,
},
},
dynamic: 'strict',
},
Polygon: {
precision: '1m',