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.