Skip to content

feat: add analyzed text terms to insert messages - #664

Open
aoiasd wants to merge 1 commit into
milvus-io:masterfrom
aoiasd:feat/fuzzy-bm25-term-sidecar
Open

feat: add analyzed text terms to insert messages#664
aoiasd wants to merge 1 commit into
milvus-io:masterfrom
aoiasd:feat/fuzzy-bm25-term-sidecar

Conversation

@aoiasd

@aoiasd aoiasd commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

issue: milvus-io/milvus#50921
design: milvus-io/milvus#51952

What

Add a field-scoped TextTermBatch sidecar to InsertRequest. Each batch identifies the text input field and carries the analyzed terms that the producer sorted and deduplicated for that insert message.

Why

Milvus fuzzy BM25 needs the original analyzer output to survive WAL transport so flush and growing recovery can build the same segment term dictionary as the BM25 function. Multi-analyzer row dispatch shares one field vocabulary, so the sidecar intentionally has no analyzer namespace. User-facing fuzzy settings continue to use existing Function and search parameter containers.

Verification

  • make generate-proto
  • (cd go-api && go test ./...)
  • (cd go-api && go vet ./...)
  • git diff --check upstream/master...HEAD

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aoiasd
To complete the pull request process, please assign liliu-z after the PR has been reviewed.
You can assign the PR to them by writing /assign @liliu-z in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify Bot added the dco-passed DCO check passed. label Aug 27, 2026
@mergify

mergify Bot commented Aug 27, 2026

Copy link
Copy Markdown

@aoiasd Please associate the related issue to the body of your Pull Request. (eg. “issue: #6534”)

@mergify

mergify Bot commented Aug 27, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants