leindex 2.1.1

LeIndex MCP and semantic code search engine for AI tools and large codebases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Global content-addressed embedding cache (WS10 Tasks 1-3, 6).
//!
//! Provides `CacheKey` (the spec §6.5 6-tuple) and `GlobalEmbeddingCache`
//! (mmap vector rows with probe, put, gc, and cross-project dedup).
//! Byte-budgeted compaction with telemetry counters (spec §10.3).
//!
//! Feature-flagged behind `LEINDEX_FEATURE_GLOBAL_EMBED_CACHE`.

pub mod key;
pub mod store;

pub use key::{CacheKey, Normalization, Pooling};
pub use store::{
    CacheCompactionReport, CacheConfig, CacheError, CacheStatsReport, CacheTelemetry,
    GlobalEmbeddingCache, ProbeResult, ProjectRefs,
};