mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
fix: read type tags correctly after the first time
This commit is contained in:
@@ -53,5 +53,6 @@ export const filterableTagName = 'filterable';
|
||||
|
||||
export const filterableMap: ElasticsearchFilterableMap = {
|
||||
date: ElasticsearchDataType.keyword,
|
||||
keyword: ElasticsearchDataType.keyword,
|
||||
text: ElasticsearchDataType.keyword,
|
||||
};
|
||||
|
||||
@@ -44,7 +44,10 @@ export const premaps: ElasticsearchPremap = {
|
||||
dynamic: 'strict',
|
||||
properties: {
|
||||
bbox: {type: ElasticsearchDataType.float},
|
||||
coordinates: {type: ElasticsearchDataType.geo_point}, // TODO: filterable
|
||||
coordinates: {
|
||||
fields: {raw: {type: ElasticsearchDataType.keyword}},
|
||||
type: ElasticsearchDataType.geo_point,
|
||||
},
|
||||
crs: {
|
||||
dynamic: 'strict',
|
||||
properties: {
|
||||
@@ -62,7 +65,10 @@ export const premaps: ElasticsearchPremap = {
|
||||
dynamic: 'strict',
|
||||
properties: {
|
||||
bbox: {type: ElasticsearchDataType.float},
|
||||
coordinates: {type: ElasticsearchDataType.geo_point}, // TODO: filterable
|
||||
coordinates: {
|
||||
fields: {raw: {type: ElasticsearchDataType.keyword}},
|
||||
type: ElasticsearchDataType.geo_point,
|
||||
},
|
||||
crs: {
|
||||
dynamic: 'strict',
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user