Skip to content

Commit 8fc2d0d

Browse files
authored
Merge pull request #155 from StijnCaerts/proj_mapping
do not index proj:geometry and proj:centroid as geo fields
2 parents bd55ade + 8912e81 commit 8fc2d0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2020

2121
- Corrected the closing of client connections in ES index management functions [#132](https://github.com/stac-utils/stac-fastapi-elasticsearch/issues/132)
2222
- Corrected the automatic converstion of float values to int when building Filter Clauses [#135](https://github.com/stac-utils/stac-fastapi-elasticsearch/issues/135)
23+
- Do not index `proj:geometry` field as geo_shape [#154](https://github.com/stac-utils/stac-fastapi-elasticsearch/issues/154)
2324
- Remove unsupported characters from Elasticsearch index names [#153](https://github.com/stac-utils/stac-fastapi-elasticsearch/issues/153)
2425

2526
## [v0.3.0]

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{
8888
"proj_geometry": {
8989
"match": "proj:geometry",
90-
"mapping": {"type": "geo_shape"},
90+
"mapping": {"type": "object", "enabled": False},
9191
}
9292
},
9393
{

0 commit comments

Comments
 (0)