Skip to content

Commit 80a5362

Browse files
committed
double mapping
1 parent 6cd5988 commit 80a5362

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

stac_fastapi/core/stac_fastapi/core/database_logic.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@ class Geometry(Protocol): # noqa
9696
},
9797
# Default all other strings not otherwise specified to keyword
9898
{"strings": {"match_mapping_type": "string", "mapping": {"type": "keyword"}}},
99-
{"numerics": {"match_mapping_type": "long", "mapping": {"type": "double"}}},
99+
{"long_to_double": {"match_mapping_type": "long", "mapping": {"type": "double"}}},
100+
{
101+
"double_to_double": {
102+
"match_mapping_type": "double",
103+
"mapping": {"type": "double"},
104+
}
105+
},
100106
]
101107

102108
ES_ITEMS_MAPPINGS = {

0 commit comments

Comments
 (0)