Skip to content

Conversation

@tloubrieu-jpl
Copy link

@tloubrieu-jpl tloubrieu-jpl commented Dec 9, 2025

Related Issue(s):

Description:

Have opensearch datetime, geometry and collections fields defined as constant string so to be easily overwritten when the OpenSearch mapping requires it, as shown in example https://github.com/NASA-PDS/registry-stac-api/blob/464ce37952367fa845b325e36263b04a1fd89965/src/pds/registry/stac/database_logic.py#L28

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

@tloubrieu-jpl tloubrieu-jpl changed the title For other os schema Quick fix to help with alternate OpenSearch schemas Dec 9, 2025
@tloubrieu-jpl tloubrieu-jpl changed the title Quick fix to help with alternate OpenSearch schemas Quick and harmless fix to help with alternate OpenSearch schemas Dec 9, 2025
@jonhealy1 jonhealy1 self-requested a review December 9, 2025 15:22
Copy link
Collaborator

@jonhealy1 jonhealy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tloubrieu-jpl This looks really good. Can you add the same changes to the Elasticsearch backend. Thanks!

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.

2 participants