pub enum AnalyzerPhase {
Index,
Search,
Both,
}Expand description
Which side of the index/search pipeline a field analyzer applies to.
Variants§
Index
Run only when adding documents.
Search
Run only when querying documents (e.g. through TermOperator).
Both
Run on both phases (the default).
Implementations§
Trait Implementations§
Source§impl Clone for AnalyzerPhase
impl Clone for AnalyzerPhase
Source§fn clone(&self) -> AnalyzerPhase
fn clone(&self) -> AnalyzerPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnalyzerPhase
Source§impl Debug for AnalyzerPhase
impl Debug for AnalyzerPhase
Source§impl<'de> Deserialize<'de> for AnalyzerPhase
impl<'de> Deserialize<'de> for AnalyzerPhase
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 AnalyzerPhase
Source§impl FromStr for AnalyzerPhase
impl FromStr for AnalyzerPhase
Source§impl PartialEq for AnalyzerPhase
impl PartialEq for AnalyzerPhase
Source§impl Serialize for AnalyzerPhase
impl Serialize for AnalyzerPhase
impl StructuralPartialEq for AnalyzerPhase
Auto Trait Implementations§
impl Freeze for AnalyzerPhase
impl RefUnwindSafe for AnalyzerPhase
impl Send for AnalyzerPhase
impl Sync for AnalyzerPhase
impl Unpin for AnalyzerPhase
impl UnsafeUnpin for AnalyzerPhase
impl UnwindSafe for AnalyzerPhase
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