mirror of
https://github.com/samvallad33/vestige.git
synced 2026-05-08 23:32:37 +02:00
Initial commit: Vestige v1.0.0 - Cognitive memory MCP server
FSRS-6 spaced repetition, spreading activation, synaptic tagging, hippocampal indexing, and 130 years of memory research. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
commit
f9c60eb5a7
169 changed files with 97206 additions and 0 deletions
31
crates/vestige-core/src/search/mod.rs
Normal file
31
crates/vestige-core/src/search/mod.rs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
//! Search Module
|
||||
//!
|
||||
//! Provides high-performance search capabilities:
|
||||
//! - Vector search using HNSW (USearch)
|
||||
//! - Keyword search using BM25/FTS5
|
||||
//! - Hybrid search with RRF fusion
|
||||
//! - Temporal-aware search
|
||||
//! - Reranking for precision (GOD TIER 2026)
|
||||
|
||||
mod hybrid;
|
||||
mod keyword;
|
||||
mod reranker;
|
||||
mod temporal;
|
||||
mod vector;
|
||||
|
||||
pub use vector::{
|
||||
VectorIndex, VectorIndexConfig, VectorIndexStats, VectorSearchError, DEFAULT_CONNECTIVITY,
|
||||
DEFAULT_DIMENSIONS,
|
||||
};
|
||||
|
||||
pub use keyword::{sanitize_fts5_query, KeywordSearcher};
|
||||
|
||||
pub use hybrid::{linear_combination, reciprocal_rank_fusion, HybridSearchConfig, HybridSearcher};
|
||||
|
||||
pub use temporal::TemporalSearcher;
|
||||
|
||||
// GOD TIER 2026: Reranking for +15-20% precision
|
||||
pub use reranker::{
|
||||
Reranker, RerankerConfig, RerankerError, RerankedResult,
|
||||
DEFAULT_RERANK_COUNT, DEFAULT_RETRIEVAL_COUNT,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue