FluxIndex.Storage.SQLite
0.2.12
dotnet add package FluxIndex.Storage.SQLite --version 0.2.12
NuGet\Install-Package FluxIndex.Storage.SQLite -Version 0.2.12
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="FluxIndex.Storage.SQLite" Version="0.2.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxIndex.Storage.SQLite" Version="0.2.12" />
<PackageReference Include="FluxIndex.Storage.SQLite" />
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 FluxIndex.Storage.SQLite --version 0.2.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FluxIndex.Storage.SQLite, 0.2.12"
#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 FluxIndex.Storage.SQLite@0.2.12
#: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=FluxIndex.Storage.SQLite&version=0.2.12
#tool nuget:?package=FluxIndex.Storage.SQLite&version=0.2.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FluxIndex
RAG library for .NET 9.0 - Build semantic search and retrieval systems with vector + keyword hybrid search.
Key Features
- Hybrid Search - Vector (semantic) + Keyword (BM25) with automatic strategy selection
- High Performance - Embedding cache (100% faster), batch indexing (24ms/1K chunks)
- Multiple Storage - SQLite, PostgreSQL with pgvector
- AI Flexibility - OpenAI, Azure OpenAI, or custom embedding services
- Document Processing - PDF/DOCX/TXT via FileFlux, web crawling via WebFlux
- Production Ready - Redis caching, clean architecture, .NET 9.0
Quick Start
dotnet add package FluxIndex.SDK
dotnet add package FluxIndex.Storage.SQLite
using FluxIndex.SDK;
// 1. Setup
var context = FluxIndexContext.CreateBuilder()
.UseSQLite("fluxindex.db")
.UseOpenAI("your-api-key", "text-embedding-3-small")
.Build();
// 2. Index
await context.Indexer.IndexDocumentAsync(
"FluxIndex is a RAG library for .NET", "doc-001");
// 3. Search
var results = await context.Retriever.SearchAsync("RAG library", maxResults: 5);
👉 See Tutorial for complete examples and best practices
Performance
| Operation | Performance | Notes |
|---|---|---|
| Batch Indexing | 24ms/1K chunks | 8-thread parallelism |
| Vector Search | 0.6ms/query | In-memory embeddings |
| Embedding Cache | 100% faster | Eliminates API calls |
| Semantic Cache | <5ms | Redis, 95% similarity |
Full benchmarks: BENCHMARK_RESULTS.md
Documentation
- Getting Started - Setup and configuration
- Tutorial - Comprehensive examples
- Architecture - Design principles
- Cheat Sheet - Quick reference
Examples
- RealWorldDemo - OpenAI + SQLite integration
- FileFluxSample - PDF/DOCX processing
- WebFluxSample - Web crawling
Requirements
- .NET 9.0 or later
- SQLite or PostgreSQL
- OpenAI API key (optional)
License
MIT License - see LICENSE file.
Contributing
See development roadmap for planned features.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net9.0
- FluxIndex.Core (>= 0.2.12)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.10)
- sqlite-vec (>= 0.1.7-alpha.2.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FluxIndex.Storage.SQLite:
| Package | Downloads |
|---|---|
|
FluxIndex.SDK
FluxIndex SDK - Infrastructure and high-level API for FluxIndex RAG system |
GitHub repositories
This package is not used by any popular GitHub repositories.