mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
feat: make Point type sortable in Elasticsearch
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user