Skip to main content

build_text_index

Function build_text_index 

Source
pub fn build_text_index<'a, I>(
    texts: I,
    block_count: usize,
    output_path: &Path,
) -> Result<(), String>
where I: IntoIterator<Item = &'a str>,
Expand description

Build a TIX1 index from block texts. block_count is the total number of blocks (used for staleness checks at open time).