Skip to main content
net10.0

Milvus vector adapter for Koan: collection management, hybrid metadata filtering, and REST-based vector search.

Published
Jun 12, 2026
4mo ago
Total Downloads
3.9K
3,866

Install

dotnet add package Sylin.Koan.Data.Vector.Connector.Milvus --version 0.17.0
ProductVersions
.NET
net10.0

README

Sylin.Koan.Data.Vector.Connector.Milvus

Milvus adapter for Koan vector data.

  • Target framework: net10.0
  • License: Apache-2.0

Capabilities

  • Creates collections with a dense vector schema and JSON metadata fields
  • Bulk upsert and delete via the Milvus REST API
  • Hybrid similarity search with operator-aware metadata filters pushed into the query

Install

dotnet add package Sylin.Koan.Data.Vector.Connector.Milvus

Example

using Koan.Data.Abstractions.Filtering;

await Vector<MyDoc>.Save("doc-1", embedding, metadata: new { category = "support" });

// Metadata filter pushed into the search (the unified Filter AST).
var results = await Vector<MyDoc>.Search(
    embedding,
    topK: 10,
    filter: Filter.Eq("category", "support"));

The filter argument also accepts the JSON metadata-filter DSL or a dictionary; all three are parsed by the one schemaless reader. An operator the adapter cannot push down is a hard error, never a silent match-all.

Links

  • Vector pathway + filter model: ~/decisions/DATA-0097-vector-pathway-parity.md
  • Milvus REST API reference: https://milvus.io/docs

Changes from Previous Version

No structural changes between v0.8.0 and v0.17.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.