pub enum LexIndex {
Word,
Ngram,
}Expand description
Which lexical index to consult (§7.4).
Variants§
Word
Word-level FTS5 — good for prose and CJK token boundaries via unicode61.
Ngram
Trigram FTS5 — script-neutral, catches substring matches the word tokenizer splits apart.
Trait Implementations§
impl Copy for LexIndex
Source§impl<'de> Deserialize<'de> for LexIndex
impl<'de> Deserialize<'de> for LexIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LexIndex
impl StructuralPartialEq for LexIndex
Auto Trait Implementations§
impl Freeze for LexIndex
impl RefUnwindSafe for LexIndex
impl Send for LexIndex
impl Sync for LexIndex
impl Unpin for LexIndex
impl UnsafeUnpin for LexIndex
impl UnwindSafe for LexIndex
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