pub enum TextCandidateMode {
Fts,
Prefix,
Suffix,
}Expand description
Which candidate query to run against a text index.
Lives here, beside the document, because compute builds one from a SPARQL rewrite and the partition executes it; neither has to link the Tantivy engine to name a mode.
Variants§
Fts
Parsed full-text query over the analyzed text field.
Prefix
Literal prefix over the bounded forward field.
Suffix
Literal suffix over the bounded reversed field.
Trait Implementations§
Source§impl Clone for TextCandidateMode
impl Clone for TextCandidateMode
Source§fn clone(&self) -> TextCandidateMode
fn clone(&self) -> TextCandidateMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextCandidateMode
impl Debug for TextCandidateMode
Source§impl Hash for TextCandidateMode
impl Hash for TextCandidateMode
Source§impl PartialEq for TextCandidateMode
impl PartialEq for TextCandidateMode
impl Copy for TextCandidateMode
impl Eq for TextCandidateMode
impl StructuralPartialEq for TextCandidateMode
Auto Trait Implementations§
impl Freeze for TextCandidateMode
impl RefUnwindSafe for TextCandidateMode
impl Send for TextCandidateMode
impl Sync for TextCandidateMode
impl Unpin for TextCandidateMode
impl UnsafeUnpin for TextCandidateMode
impl UnwindSafe for TextCandidateMode
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