Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating mapping to double for long #326

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

johnmichaelmurner
Copy link

@johnmichaelmurner johnmichaelmurner commented Jan 16, 2025

Related Issue(s):

#320

Description:

Convert dynamic mapping from

{"numerics": {"match_mapping_type": "long", "mapping": {"type": "float"}}},
{"numerics": {"match_mapping_type": "long", "mapping": {"type": "double"}}},

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

@StijnCaerts
Copy link
Collaborator

Best to keep the mapping for Opensearch in sync with Elasticsearch:

{"numerics": {"match_mapping_type": "long", "mapping": {"type": "float"}}},

https://opensearch.org/docs/latest/field-types/supported-field-types/numeric/

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