pub enum KeywordTokenizer {
V1,
V2,
Mixed,
}Expand description
TOK-1: the state of a file’s keyword index, as info and verify show
it.
Variants§
V1
Tokenizer 1: whole words as written. A compaction or reembed
rebuilds the index with tokenizer 2.
V2
Tokenizer 2: whole words and their parts.
Mixed
Some documents have tokenizer 2 and some tokenizer 1, because a
build before v0.15 wrote to or merged the index. Parts match only
the tokenizer 2 documents; whole words match every document. A
compaction or reembed rebuilds it with tokenizer 2.
Implementations§
Trait Implementations§
Source§impl Clone for KeywordTokenizer
impl Clone for KeywordTokenizer
impl Copy for KeywordTokenizer
Source§impl Debug for KeywordTokenizer
impl Debug for KeywordTokenizer
impl Eq for KeywordTokenizer
Source§impl PartialEq for KeywordTokenizer
impl PartialEq for KeywordTokenizer
impl StructuralPartialEq for KeywordTokenizer
Auto Trait Implementations§
impl Forget for KeywordTokenizer
impl Freeze for KeywordTokenizer
impl Move for KeywordTokenizer
impl RefUnwindSafe for KeywordTokenizer
impl Send for KeywordTokenizer
impl Sync for KeywordTokenizer
impl Unpin for KeywordTokenizer
impl UnsafeUnpin for KeywordTokenizer
impl UnwindSafe for KeywordTokenizer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more