Sylin.Koan.Data.Vector.Connector.RedisVector 1.0.92

dotnet add package Sylin.Koan.Data.Vector.Connector.RedisVector --version 1.0.92
                    
NuGet\Install-Package Sylin.Koan.Data.Vector.Connector.RedisVector -Version 1.0.92
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sylin.Koan.Data.Vector.Connector.RedisVector" Version="1.0.92" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sylin.Koan.Data.Vector.Connector.RedisVector" Version="1.0.92" />
                    
Directory.Packages.props
<PackageReference Include="Sylin.Koan.Data.Vector.Connector.RedisVector" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sylin.Koan.Data.Vector.Connector.RedisVector --version 1.0.92
                    
#r "nuget: Sylin.Koan.Data.Vector.Connector.RedisVector, 1.0.92"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sylin.Koan.Data.Vector.Connector.RedisVector@1.0.92
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sylin.Koan.Data.Vector.Connector.RedisVector&version=1.0.92
                    
Install as a Cake Addin
#tool nuget:?package=Sylin.Koan.Data.Vector.Connector.RedisVector&version=1.0.92
                    
Install as a Cake Tool

Sylin.Koan.Data.Vector.Connector.RedisVector

Use Redis Search vector indexing through Koan's Entity-first vector API. Applications already operating a vector-enabled Redis deployment can add semantic search without adopting a second data service.

Declare the space

dotnet add package Sylin.Koan.Data.Vector.Connector.RedisVector
public sealed class Article : Entity<Article>;

services.AddKoan(koan => koan.Data
    .Source("Search")
    .Vector<Article>(space => space
        .Name("content")
        .Dimensions(1536)
        .Metric(VectorMetric.Cosine)
        .Visibility(VectorVisibility.Session)));

Reference the package, call AddKoan() once, and use the ordinary Vector<TEntity> operations. The connector reuses ConnectionStrings:Redis, Koan's shared Redis discovery, and its host-owned multiplexer. It adds no provider registration or second Redis client to application code.

await Vector<Article>.Save(article.Id, embedding, new
{
    article.Category,
    article.Language
});

var matches = await Vector<Article>.Search(embedding, query => query
    .Top(12)
    .Where(Filter.All(
        Filter.Eq("Category", "support"),
        Filter.In("Language", ["en", "fr"]))));

Awaited saves and deletes are immediately visible. Cosine, Euclidean, and dot-product results use normalized [0,1] similarity where larger always means closer.

Runtime prerequisite

The selected Redis endpoint must provide Redis Search with vector indexing. Plain Redis is insufficient and fails with a corrective health or operation error. Redis Search vector indexes live in logical database 0; a vector source that requests another database is rejected instead of silently addressing the wrong index. Record and cache sources may continue using their own logical database while sharing the same Redis process and multiplexer. Readiness uses the ordinary Search information surface and does not require the administrative FT._LIST permission; immutable vector shape is validated when a declared space is first ensured or used.

Named sources can use Adapter=redis or Adapter=redis-vector; both resolve through the existing Redis connection owner. Standard source Access and StorageLifecycle policy remains in force.

Guarantees and limits

  • Managed sources create and validate an exact FLAT/FLOAT32 index against the declared dimensions, metric, space, and model. Reads never create storage.
  • Native Redis Search prefilters implement equality, numeric comparison, set, existence, size, boolean, and negation semantics over nested metadata paths. Finite numeric metadata that Redis NUMERIC cannot represent exactly still round-trips, while relational filters over that path fail closed.
  • Neutral metadata remains lossless in an unindexed payload; deterministic TAG/NUMERIC projections own filtering.
  • Vector keys and indexes have their own _vector namespace, so record and vector representations of one Entity coexist in one Redis deployment.
  • Batches pipeline native Redis operations, preserve ordered outcomes, and report BatchAtomicity.NotGuaranteed.
  • Eventual visibility, hybrid search, continuations, streaming export, multiple vectors per Entity, and atomic batches are declined explicitly.

RedisVectorOptions bounds metadata bytes, batch points, search candidates, per-point projection, and total dynamic numeric/size schema paths. See TECHNICAL.md for native shape and failure semantics.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.92 126 9/13/2026
1.0.89 106 9/12/2026
1.0.86 98 9/12/2026
1.0.84 101 9/10/2026
1.0.80 113 9/10/2026
1.0.76 111 9/9/2026
1.0.72 106 9/9/2026
1.0.69 102 9/9/2026
1.0.64 104 9/9/2026
1.0.62 116 9/9/2026
1.0.57 113 9/5/2026
1.0.56 114 8/30/2026
1.0.55 106 8/30/2026
1.0.54 104 8/28/2026
1.0.53 105 8/28/2026
1.0.52 108 8/28/2026
1.0.51 94 8/28/2026
1.0.50 105 8/28/2026
1.0.49 115 8/27/2026
1.0.44 120 8/25/2026
Loading failed