Skip to content

.Net: Improve Milvus filtering - #14498

Merged
westey (westey-m) merged 5 commits into
microsoft:mainfrom
westey-m:dotnet-improve-milvus-filtering
Sep 30, 2026
Merged

westey (westey-m) merged 5 commits into
microsoft:mainfrom
westey-m:dotnet-improve-milvus-filtering

Conversation

@westey-m

Copy link
Copy Markdown
Contributor

Motivation and Context

Description

Improve Milvus filtering to allow more id types to be supported

Contribution Checklist

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Moderate issues remain with skipped integration tests, an index-build race, and missing PR CI coverage.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
What changed in this PR

Improves Milvus record-ID filtering by escaping literal IDs and requiring compatible server versions.

Changes:

  • Adds safe ID filter construction and version validation.
  • Updates Milvus documentation.
  • Adds unit tests, integration fixtures, and legacy-server coverage.
File Summary
dotnet/​test/​VectorData/​Milvus.UnitTests/​MilvusMemoryStoreTests.cs Adds escaped-ID integration scenarios; tests are skipped and index creation may race searches.
dotnet/​test/​VectorData/​Milvus.UnitTests/​MilvusLegacyServerTests.cs Adds legacy-server compatibility coverage, but the test is skipped.
dotnet/​test/​VectorData/​Milvus.UnitTests/​MilvusFixture.cs Configures Milvus and MinIO test containers.
dotnet/​test/​VectorData/​Milvus.UnitTests/​MilvusFilterTests.cs Tests filter encoding and version validation.
dotnet/​test/​VectorData/​Milvus.UnitTests/​Milvus.UnitTests.csproj Defines the Milvus test project.
dotnet/​src/​VectorData/​Milvus/​README.md Documents server and ID requirements.
dotnet/​src/​VectorData/​Milvus/​MilvusMemoryStore.cs Adds version checks and safe ID filtering.
dotnet/​src/​VectorData/​Milvus/​Milvus.csproj Exposes internals to tests.
dotnet/​MEVD.slnx Registers the new test project, which is not covered by PR CI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@semantic-kernel-automation semantic-kernel-automation Bot added .NET Issue or Pull requests regarding .NET code documentation labels Sep 29, 2026
@github-actions github-actions Bot changed the title Improve Milvus filtering .Net: Improve Milvus filtering Sep 29, 2026
@westey-m
westey (westey-m) added this pull request to the merge queue Sep 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 30, 2026
Merged via the queue into microsoft:main with commit 58ad1a3 Sep 30, 2026
18 checks passed
@westey-m
westey (westey-m) deleted the dotnet-improve-milvus-filtering branch September 30, 2026 18:30

This branch was previously deployed

2 inactive deployments
github-app-auth — 06bc49b9 Deployed Sep 30, 2026 by westey-m via add_label #29196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants