MB-57888: Index Update#64
Merged
abhinavdangeti merged 1 commit intomasterfrom Aug 11, 2025
Merged
Conversation
Member
|
@Likith101 The fact that we're still needing to update the API needed here is cause for concern at this point, I think I'm voting this one out of v2.5.0 and |
Member
|
Base change reverted with #65 and will need a fresh pull request (can be included in this PR). |
- Added UpdateFieldInfo which tracks which parts of the zapx fields have been deleted during an update - Added a new index interface which implements two new functions - OpenMeta opens only the index metadata allowing us to read index definition without starting the index - UpdateFields allows us to write to meta all of the updated fields info while the index is closed
abhinavdangeti
approved these changes
Jul 28, 2025
maneuvertomars
approved these changes
Aug 7, 2025
Likith101
added a commit
to blevesearch/bleve
that referenced
this pull request
Oct 9, 2025
…ng (#2106) - Added new apis for index update - Added logic to determine whether index mappings can be updated and what specifically changed between mappings - Added logic to store and retrieve said information within bolt - Added checks to prevent deleted data from being referenced within queries till the actual data on the segment is removed during the merge process Related: - blevesearch/bleve_index_api#64 - blevesearch/scorch_segment_api#61 - blevesearch/zapx#318 --------- Co-authored-by: Abhinav Dangeti <abhinav@couchbase.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
been deleted during an update
without starting the index
the index is closed
Any updates to the index needs to be done while the index is closed. This is to ensure that once the index is live, the maps will not be updated under any circumstances. Hot reloads will require mapping which we are trying to avoid as these maps are used during query paths.