mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-07-31 20:14:01 +00:00
* research: add nightly survey for adaptive-recall-ann Identifies adaptive recall-targeted ANN as the 2026-07-23 nightly topic. Connects vector search, agent memory, edge AI, MCP tool latency SLAs, and ruFlo workflow recall budgets. No prior nightly covered this angle. * feat: add ruvector-adaptive-ann Rust proof of concept Implements RecallTargetedSearch trait with three variants: - FixedEfSearch (baseline): constant ef=64, ignore recall target - BinarySearchCalibrated: binary-search ef per query with ground truth - TableCalibratedSearch: O(1) ef lookup from offline calibration table Core insight: calibration queries must match production query distribution. CalibrationTable is a monotone ef→recall mapping from 50-100 held-out queries. Benchmark: N=3000×D=64, recall_target=0.90 - FixedEf(64): 0.778 recall, 9,497 QPS (misses target) - BinarySearch: 0.902 recall, 738 QPS (oracle, 13x slower) - TableCalibrated: 0.940 recall, 4,390 QPS (exceeds target, O(1) ef) * test: add 7 integration tests for ruvector-adaptive-ann - beam search at ef=N achieves near-perfect recall - recall is monotone in ef - FixedEf(128) achieves minimum recall threshold - CalibrationTable returns valid ef - TableCalibratedSearch achieves recall within distribution-mismatch tolerance - BinarySearchCalibrated achieves per-query target on 12/15 queries - effective_ef_for_target returns Some for Table, None for Fixed All 7 tests pass. * docs: add ADR-272 for adaptive-recall-ann Documents the calibration table approach, distribution matching constraint, three implementation variants, benchmark evidence, failure modes, security considerations, and migration path for adopting recall-targeted search. ADR-272 status: Proposed. * bench: capture adaptive-recall-ann benchmark results cargo run --release -p ruvector-adaptive-ann --bin benchmark x86_64 Linux, release build, N=3000 D=64 300 queries FixedEf(64): recall=0.778, mean=105.3µs, QPS=9497 BinarySearch: recall=0.902, mean=1355µs, QPS=738 TableCalibrated: recall=0.940, mean=227.8µs, QPS=4390 All acceptance tests PASSED. * fix adaptive ANN calibration scope --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adr | ||
| analysis | ||
| api | ||
| architecture | ||
| benchmarks | ||
| cloud-architecture | ||
| cnn | ||
| code-reviews | ||
| dag | ||
| decisions | ||
| development | ||
| evidence | ||
| examples | ||
| gnn | ||
| guides | ||
| hailo | ||
| hnsw | ||
| hooks | ||
| implementation | ||
| integration | ||
| nervous-system | ||
| optimization | ||
| plans | ||
| postgres | ||
| project-phases | ||
| publishing | ||
| research | ||
| reviews | ||
| ruvllm | ||
| rvagent | ||
| sdk | ||
| security | ||
| sonic-ct | ||
| sparse-inference | ||
| sql | ||
| testing | ||
| training | ||
| .gitkeep | ||
| .nojekyll | ||
| agi-container.md | ||
| C2-shell-execution-hardening.md | ||
| C8_RESULT_VALIDATION_IMPLEMENTATION.md | ||
| consciousness-api.md | ||
| IMPLEMENTATION-C5.md | ||
| index.html | ||
| INDEX.md | ||
| METAHARNESS-ARCHITECTURE-SUMMARY.md | ||
| metaharness-implementation-plan.md | ||
| moe-routing-optimization-analysis.md | ||
| README.md | ||
| REPO_STRUCTURE.md | ||
| research-openfang.md | ||
RuVector Documentation
Complete documentation for RuVector, the high-performance Rust vector database with global scale capabilities.
📚 Documentation Structure
docs/
├── adr/ # Architecture Decision Records
├── analysis/ # Research & analysis docs
├── api/ # API references (Rust, Node.js, Cypher)
├── architecture/ # System design docs
├── benchmarks/ # Performance benchmarks & results
├── cloud-architecture/ # Cloud deployment guides
├── code-reviews/ # Code review documentation
├── dag/ # DAG implementation
├── development/ # Developer guides
├── examples/ # SQL examples
├── gnn/ # GNN/Graph implementation
├── guides/ # User guides & tutorials
├── hnsw/ # HNSW index documentation
├── hooks/ # Hooks system documentation
├── implementation/ # Implementation details & summaries
├── integration/ # Integration guides
├── nervous-system/ # Nervous system architecture
├── optimization/ # Performance optimization guides
├── plans/ # Implementation plans
├── postgres/ # PostgreSQL extension docs
├── project-phases/ # Development phases
├── publishing/ # NPM publishing guides
├── research/ # Research documentation
├── ruvllm/ # RuVLLM documentation
├── security/ # Security audits & reports
├── sparse-inference/ # Sparse inference docs
├── sql/ # SQL examples
├── testing/ # Testing documentation
└── training/ # Training & LoRA docs
Getting Started
- guides/GETTING_STARTED.md - Getting started guide
- guides/BASIC_TUTORIAL.md - Basic tutorial
- guides/INSTALLATION.md - Installation instructions
- guides/AGENTICDB_QUICKSTART.md - AgenticDB quick start
- guides/wasm-api.md - WebAssembly API documentation
Architecture & Design
- architecture/ - System architecture details
- cloud-architecture/ - Global cloud deployment
- adr/ - Architecture Decision Records
- nervous-system/ - Nervous system architecture
API Reference
- api/RUST_API.md - Rust API reference
- api/NODEJS_API.md - Node.js API reference
- api/CYPHER_REFERENCE.md - Cypher query reference
Performance & Benchmarks
- benchmarks/ - Performance benchmarks & results
- optimization/ - Performance optimization guides
- analysis/ - Research & analysis docs
Security
- security/ - Security audits & reports
Implementation
- implementation/ - Implementation details & summaries
- integration/ - Integration guides
- code-reviews/ - Code review documentation
Specialized Topics
- gnn/ - GNN/Graph implementation
- hnsw/ - HNSW index documentation
- postgres/ - PostgreSQL extension docs
- ruvllm/ - RuVLLM documentation
- training/ - Training & LoRA docs
Development
- development/CONTRIBUTING.md - Contribution guidelines
- development/MIGRATION.md - Migration guide
- testing/ - Testing documentation
- publishing/ - NPM publishing guides
Research
- research/ - Research documentation
- cognitive-frontier/ - Cognitive frontier research
- gnn-v2/ - GNN v2 research
- latent-space/ - HNSW & attention research
- mincut/ - MinCut algorithm research
🚀 Quick Links
For New Users
- Start with Getting Started Guide
- Try the Basic Tutorial
- Review API Documentation
For Cloud Deployment
- Read Architecture Overview
- Follow Deployment Guide
- Apply Performance Optimizations
For Contributors
- Read Contributing Guidelines
- Review Architecture Decisions
- Check Migration Guide
For Performance Tuning
- Review Optimization Guide
- Run Benchmarks
- Check Analysis
📊 Documentation Status
| Category | Directory | Status |
|---|---|---|
| Getting Started | guides/ | ✅ Complete |
| Architecture | architecture/, adr/ | ✅ Complete |
| API Reference | api/ | ✅ Complete |
| Performance | benchmarks/, optimization/, analysis/ | ✅ Complete |
| Security | security/ | ✅ Complete |
| Implementation | implementation/, integration/ | ✅ Complete |
| Development | development/, testing/ | ✅ Complete |
| Research | research/ | 📚 Ongoing |
Total Documentation: 460+ documents across 60+ directories
🔗 External Resources
- GitHub Repository: https://github.com/ruvnet/ruvector
- Main README: ../README.md
- Changelog: ../CHANGELOG.md
- License: ../LICENSE
Last Updated: 2026-02-26 | Version: 2.0.4 (core) / 0.1.100 (npm) | Status: Production Ready