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

Adds Elastic indices mapping and functions to migrate changes #504

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

Conversation

wpfl-dbt
Copy link
Collaborator

@wpfl-dbt wpfl-dbt commented Jun 3, 2024

Context

We want to more strictly define the mapping in an Elasticsearch index. This means being able to define it at all, then safely migrate these changes in prodcution.

Changes proposed in this pull request

  • Adds index mappings for files and chunks
  • Refactors indices to be part of an alias
  • When a new mapping is proposed, the alias is used to swap the underlying mapping with no downtime

Guidance to review

Note integration tests were tricky here, but are passing.

  • make test-redbox, make test-core-api, make test-worker
  • Ensure you're happy with the introduction of aliases

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

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.

None yet

1 participant