FluxIndex.Storage.PostgreSQL
0.3.3
See the version list below for details.
dotnet add package FluxIndex.Storage.PostgreSQL --version 0.3.3
NuGet\Install-Package FluxIndex.Storage.PostgreSQL -Version 0.3.3
<PackageReference Include="FluxIndex.Storage.PostgreSQL" Version="0.3.3" />
<PackageVersion Include="FluxIndex.Storage.PostgreSQL" Version="0.3.3" />
<PackageReference Include="FluxIndex.Storage.PostgreSQL" />
paket add FluxIndex.Storage.PostgreSQL --version 0.3.3
#r "nuget: FluxIndex.Storage.PostgreSQL, 0.3.3"
#:package FluxIndex.Storage.PostgreSQL@0.3.3
#addin nuget:?package=FluxIndex.Storage.PostgreSQL&version=0.3.3
#tool nuget:?package=FluxIndex.Storage.PostgreSQL&version=0.3.3
FluxIndex
RAG library for .NET 10.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)
- Local Reranking - Cross-encoder neural reranking with automatic algorithmic fallback
- Graph Traversal - BFS/DFS, Dijkstra shortest path, PageRank-style importance
- Vector Quantization - Scalar (Int8/Int4), Product Quantization, Binary (32x compression)
- 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
- MCP Server - Model Context Protocol for AI assistant integration
- Production Ready - Redis caching, clean architecture, .NET 10.0
Quick Start
dotnet add package FluxIndex.SDK
dotnet add package FluxIndex.Storage.SQLite
dotnet add package FluxIndex.AI.LocalReranker # Optional: neural reranking
using FluxIndex.SDK;
// 1. Setup
var context = FluxIndexContext.CreateBuilder()
.UseSQLite("fluxindex.db")
.UseOpenAI("your-api-key", "text-embedding-3-small")
.UseResilientLocalReranker() // Auto fallback to algorithmic
.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
MCP Server
FluxIndex provides Model Context Protocol (MCP) server for AI assistant integration.
Available Tools: search, memorize, unmemorize, status
See FluxIndex.MCP for integration details.
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 and patterns
- Cheat Sheet - Quick reference
- Testing Guide - Unit and integration testing
- LocalReranker Guide - Neural reranking integration
- Vector Quantization Guide - Memory optimization with quantization
Examples
- RealQualityTest - OpenAI + SQLite integration
- FileFluxIndexSample - PDF/DOCX processing
- WebFluxSample - Web crawling
- IntegrationTestSample - Integration testing patterns
Requirements
- .NET 10.0 or later
- SQLite or PostgreSQL
- OpenAI API key (optional)
License
MIT License - see LICENSE file.
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
| Product | Versions 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. |
-
net10.0
- FluxIndex.Core (>= 0.3.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.0)
- Pgvector.EntityFrameworkCore (>= 0.2.2)
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 |
|---|---|---|
| 0.5.0 | 19 | 12/16/2025 |
| 0.4.1 | 22 | 12/16/2025 |
| 0.4.0 | 38 | 12/15/2025 |
| 0.3.3 | 41 | 12/15/2025 |
| 0.3.2 | 37 | 12/15/2025 |
| 0.2.14 | 190 | 11/2/2025 |
| 0.2.12 | 200 | 10/27/2025 |
| 0.2.11 | 182 | 10/27/2025 |
| 0.2.10 | 170 | 10/21/2025 |
| 0.2.9 | 157 | 10/12/2025 |
| 0.2.8 | 172 | 10/2/2025 |
| 0.2.7 | 169 | 9/29/2025 |
| 0.2.5 | 151 | 9/26/2025 |
| 0.2.4 | 173 | 9/25/2025 |
| 0.2.3 | 177 | 9/23/2025 |
| 0.2.2 | 183 | 9/22/2025 |
| 0.1.4 | 256 | 9/15/2025 |
| 0.1.3 | 244 | 9/15/2025 |
| 0.1.2 | 248 | 9/15/2025 |