Skip to main contentModule sieve
Source pub use collection::PredicateSignature;pub use collection::SieveCollection;pub use router::SieveRouter;pub use workload::QueryRecord;pub use workload::WorkloadAnalyzer;
- collection
- SieveCollection — a keyed map of specialized HNSW subindices, one per
stable predicate signature (e.g. “tenant_id=42”, “lang=en”).
- router
- SieveRouter — routes a filtered ANN query to a specialized subindex when the
predicate signature matches, or falls back to NaviX on the global index.
- workload
- WorkloadAnalyzer — tracks historical query predicates and exposes a 3D cost
model (memory × latency × recall) to guide SIEVE subindex build decisions.