Skip to content

Commit ba1ea92

Browse files
authored
Update database_logic.py
1 parent 85e08c6 commit ba1ea92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/core/stac_fastapi/core/database_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ 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": "float"}}},
99+
{"numerics": {"match_mapping_type": "long", "mapping": {"type": "double"}}},
100100
]
101101

102102
ES_ITEMS_MAPPINGS = {

0 commit comments

Comments
 (0)