Skip to main content

load_primary_index

Function load_primary_index 

Source
pub async fn load_primary_index(
    store: &Arc<dyn Store>,
    path: &str,
) -> AilakeResult<AnyIndex>
Expand description

Loads the primary column’s HNSW/IVF-PQ index via small get_range calls (footer-thrift discovery, 64-byte AILK header, index blob) instead of one whole-file get. Returns Err for any file this fast path can’t handle — callers must treat that as “use the full-file path”, not as a hard failure.