diff --git a/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py b/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py index 9a60bfd7..ed0434f5 100644 --- a/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py +++ b/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py @@ -132,6 +132,7 @@ "numeric_detection": False, "dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES, "properties": { + "id": {"type": "keyword"}, "extent.spatial.bbox": {"type": "long"}, "extent.temporal.interval": {"type": "date"}, "providers": {"type": "object", "enabled": False}, diff --git a/stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py b/stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py index a946f82f..efedbd5f 100644 --- a/stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py +++ b/stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py @@ -134,6 +134,7 @@ "numeric_detection": False, "dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES, "properties": { + "id": {"type": "keyword"}, "extent.spatial.bbox": {"type": "long"}, "extent.temporal.interval": {"type": "date"}, "providers": {"type": "object", "enabled": False},