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

allow updating of doc mapper #4928

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

trinity-1686a
Copy link
Contributor

Description

this pr aims at laying the foundation work for updating the doc mapping of an index

  • store a doc mapper version in the doc mapper
  • store a doc mapper version in splits meta
  • allow updating the doc mapper, auto-incrementing its version (metastore level)
  • allow updating the doc mapper (api level)
  • block merges between multiple version of a doc mapper
  • restart ingestion pipeline so they notice the change in doc mapper decently quickly (stretch goal, maybe put in a 2nd pull request)

How was this PR tested?

  • test we properly block merges (unit tests)
  • test we properly block merges (integration tests)
  • test modifying different properties (tokenizer, what is stored...), and how it breaks (or not) search

@rdettai
Copy link
Contributor

rdettai commented May 6, 2024

We should probably merge #4868 before addressing:

  • allow updating the doc mapper (api level)

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

2 participants