ruvector/docs/postgres
rUv d991165868 feat(postgres): Add hybrid search, multi-tenancy, and self-healing specs
Three high-impact additions to RuVector Postgres v2:

## 11-hybrid-search.md - BM25 + Vector Fusion
- Single query combines semantic and keyword search
- Proper BM25 implementation (not just ts_rank)
- Fusion algorithms: RRF (default), linear, learned
- Integrity-aware degradation (stress → single branch)
- Parallel branch execution
- GUC configuration

## 12-multi-tenancy.md - First-Class Tenant Isolation
- SET ruvector.tenant_id for transparent scoping
- Isolation levels: shared, partition, dedicated
- Automatic promotion based on vector count
- Per-tenant integrity (stress in one doesn't affect others)
- Per-tenant contracted graphs
- Resource quotas and rate limiting
- Fair scheduling (no noisy neighbors)
- RLS integration for defense in depth

## 13-self-healing.md - Automated Remediation
- Completes the control loop: sensor → actuator
- Problem classification from witness edges:
  - Hotspot congestion
  - Centroid skew
  - Replication lag
  - Maintenance contention
  - Index fragmentation
  - Memory pressure
- Built-in strategies:
  - Rebalance partitions
  - Pause maintenance jobs
  - Throttle ingestion
  - Scale read replicas (K8s)
  - Compact fragmented indexes
- Safety: reversible actions, blast radius limits
- Learning: outcome tracking, strategy weight updates
- The key insight: "We built the sensor. Now we build the actuator."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 21:10:28 +00:00
..
v2 feat(postgres): Add hybrid search, multi-tenancy, and self-healing specs 2025-12-25 21:10:28 +00:00
zero-copy docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
operator-quick-reference.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
parallel-implementation-summary.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
parallel-query-guide.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
postgres-memory-implementation-summary.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
postgres-zero-copy-memory.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
postgres-zero-copy-quick-reference.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
SPARSEVEC_IMPLEMENTATION.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00
SPARSEVEC_QUICKSTART.md docs: Reorganize documentation and add postgres README 2025-12-02 16:45:44 +00:00