kvarn_search

Enum IndexKind

source
pub enum IndexKind {
    Simple,
    Lossless,
}

Variants§

§

Simple

Stores only which documents words appear in. Requires reading each of those documents when getting the occurrences.

§

Lossless

Stores all the occurrences of all the words. Much faster than IndexKind::Simple byt requires more memory. This is basically like loading the entire website into memory.

Trait Implementations§

source§

impl Clone for IndexKind

source§

fn clone(&self) -> IndexKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&