Skip to content

Conversation

@bountx
Copy link
Contributor

@bountx bountx commented Dec 2, 2025

Related Issue(s):

Description:

Adds configuration-based support for extending Elasticsearch/OpenSearch index mappings via environment variables, allowing users to customize field mappings without code changes.

Features:

  • STAC_FASTAPI_ES_CUSTOM_MAPPINGS - JSON string to inject custom field mappings (e.g., for SAR, datacube extensions, or performance optimizations)
  • STAC_FASTAPI_ES_DYNAMIC_MAPPING - Control dynamic field mapping behavior (true/false/strict)

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant