zipora 3.1.5

High-performance Rust implementation providing advanced data structures and compression algorithms with memory safety guarantees. Features LRU page cache, sophisticated caching layer, fiber-based concurrency, real-time compression, secure memory pools, SIMD optimizations, and complete C FFI for migration from C++.
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Search engine scoring utilities
//!
//! This module provides fieldnorm encoding and BM25 scoring infrastructure
//! for compact document-length storage and fast scoring.
//!
//! - [`FieldnormEncoder`] — Lucene-compatible SmallFloat encoding (Tier 1)
//! - [`Bm25BatchScorer`] — SIMD-accelerated batch scoring (Tier 2) + prefetch (Tier 3)

pub mod bm25;
pub mod fieldnorm;

pub use bm25::{Bm25BatchScorer, prefetch_fieldnorm};
pub use fieldnorm::FieldnormEncoder;