Skip to content

Multi-shard search: Rust merges#3752

Open
jotare wants to merge 6 commits into
mainfrom
multi-shard-search
Open

Multi-shard search: Rust merges#3752
jotare wants to merge 6 commits into
mainfrom
multi-shard-search

Conversation

@jotare

@jotare jotare commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

This is the first part of a series of PRs to improve how internal gRPC search requests are done through the cluster. We currently send 1 gRPC request per shard, but we could instead send 1 per searcher (containing a KB shard).

In this PR, we implement multi-shard requests and shard response merging in Rust, although Python will still request 1 per shard.

The change on the proto is bw/c compatible (see https://protobuf.dev/programming-guides/proto3/#wire-safe-changes). Python sends 1 shard id string as a string/list and nidx parses 1 shard id string as a string/list.

How was this PR tested?

New Rust tests on merging

@jotare jotare requested review from a team as code owners June 22, 2026 15:30
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.

1 participant