Skip to main content

InvertedIndexCache

Type Alias InvertedIndexCache 

Source
pub type InvertedIndexCache = IndexCache<(FileId, IndexVersion), InvertedIndexMetas>;
Expand description

Cache for inverted index.

Aliased Type§

pub struct InvertedIndexCache {
    index_metadata: Cache<(FileId, u64), Arc<InvertedIndexMetas>>,
    index: PagedCache<(FileId, u64)>,
    index_type: &'static str,
}

Fields§

§index_metadata: Cache<(FileId, u64), Arc<InvertedIndexMetas>>

Cache for index metadata

§index: PagedCache<(FileId, u64)>

Cache for index content.

§index_type: &'static str