ruvector/docs/postgres/v2
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
..
00-overview.md docs(postgres): Rewrite v2 overview with compelling framing 2025-12-25 20:53:12 +00:00
01-sql-schema.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
02-background-workers.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
03-index-access-methods.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
04-integrity-events.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
05-phase1-pgvector-compat.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
06-phase2-tiered-storage.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
07-phase3-graph-cypher.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
08-phase4-integrity-control.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
09-migration-guide.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
10-consistency-replication.md feat(postgres): Add RuVector Postgres v2 implementation plan 2025-12-25 20:49:12 +00:00
11-hybrid-search.md feat(postgres): Add hybrid search, multi-tenancy, and self-healing specs 2025-12-25 21:10:28 +00:00
12-multi-tenancy.md feat(postgres): Add hybrid search, multi-tenancy, and self-healing specs 2025-12-25 21:10:28 +00:00
13-self-healing.md feat(postgres): Add hybrid search, multi-tenancy, and self-healing specs 2025-12-25 21:10:28 +00:00