Skip to content

Commit fb64209

Browse files
authored
Merge pull request #198 from stac-utils/collection-mappings
Collection id keyword mapping
2 parents 86885c0 + 7c83d5c commit fb64209

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"numeric_detection": False,
133133
"dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES,
134134
"properties": {
135+
"id": {"type": "keyword"},
135136
"extent.spatial.bbox": {"type": "long"},
136137
"extent.temporal.interval": {"type": "date"},
137138
"providers": {"type": "object", "enabled": False},

stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"numeric_detection": False,
135135
"dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES,
136136
"properties": {
137+
"id": {"type": "keyword"},
137138
"extent.spatial.bbox": {"type": "long"},
138139
"extent.temporal.interval": {"type": "date"},
139140
"providers": {"type": "object", "enabled": False},

0 commit comments

Comments
 (0)