Skip to content

Add segmented BTree indexmerge support #6979

Closed

Description

@zhangyue19921010

Summary

This PR adds segmented merge, and optimize support for BTree scalar indexes.

What Changed

  • Adds BTree support to merge_existing_index_segments.

    • Merges multiple existing BTree segments into one physical segment.
  • Adds a lower-level BTreeIndex::merge_segments API.

    • Merges multiple BTree indexes plus optional new training data.
  • Extends scalar index optimize support for multi-segment BTree indexes.

    • Can merge multiple existing BTree segments with newly appended fragments.

Activity

  1. changed the title [-]Add segmented BTree index planning and merge support[/-] [+]Add segmented BTree indexmerge support[/+] on Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions