Closed fredliporace closed 2 years ago
For some reason the ES stac index is changed during operation, this may affect the search results.
The ES index as created when the stack is deployed:
{ "stac": { "mappings": { "properties": { "assets": { "type": "object", "enabled": false }, "bbox": { "type": "object", "enabled": false }, "collection": { "type": "keyword" }, "geometry": { "type": "geo_shape" }, "id": { "type": "keyword" }, "links": { "type": "object", "enabled": false }, "s3_key": { "type": "keyword" }, "stac_extensions": { "type": "object", "enabled": false }, "stac_version": { "type": "object", "enabled": false }, "type": { "type": "object", "enabled": false } } } } }
The changed mapping:
{ "stac": { "mappings": { "properties": { "assets": { "type": "object", "enabled": false }, "bbox": { "type": "object", "enabled": false }, "collection": { "type": "keyword" }, "geometry": { "type": "geo_shape" }, "id": { "type": "keyword" }, "links": { "type": "object", "enabled": false }, "properties": { "properties": { "cbers:data_type": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "cbers:path": { "type": "long" }, "cbers:row": { "type": "long" }, "datetime": { "type": "date" }, "gsd": { "type": "float" }, "instruments": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "platform": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "proj:epsg": { "type": "long" }, "sat:orbit_state": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "sat:platform_international_designator": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "view:off_nadir": { "type": "float" }, "view:sun_azimuth": { "type": "float" }, "view:sun_elevation": { "type": "float" } } }, "s3_key": { "type": "keyword" }, "stac_extensions": { "type": "object", "enabled": false }, "stac_version": { "type": "object", "enabled": false }, "type": { "type": "object", "enabled": false } } } } }
The index is correct, the property field is created as soon as the first stac item is inserted.
For some reason the ES stac index is changed during operation, this may affect the search results.
The ES index as created when the stack is deployed:
The changed mapping: