pub enum AnalyzerInfo {
Identity {
name: String,
features: Option<Vec<AnalyzerFeature>>,
},
Delimiter {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<DelimiterAnalyzerProperties>,
},
Stem {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<StemAnalyzerProperties>,
},
Norm {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<NormAnalyzerProperties>,
},
Ngram {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<NgramAnalyzerProperties>,
},
Text {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<TextAnalyzerProperties>,
},
Geojson {
name: String,
features: Option<Vec<AnalyzerFeature>>,
properties: Option<GeoJsonAnalyzerProperties>,
},
Stopwords {
name: String,
properties: StopwordsAnalyzerProperties,
features: Option<Vec<AnalyzerFeature>>,
},
Pipeline {
name: String,
properties: PipelineAnalyzerProperties,
},
}Variants§
Identity
The identity Analyzer does not take additional properties.
Delimiter
Stem
Norm
Ngram
Text
Geojson
Stopwords
Pipeline
Trait Implementations§
Source§impl Debug for AnalyzerInfo
impl Debug for AnalyzerInfo
Source§impl<'de> Deserialize<'de> for AnalyzerInfo
impl<'de> Deserialize<'de> for AnalyzerInfo
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
Source§impl PartialEq for AnalyzerInfo
impl PartialEq for AnalyzerInfo
Source§impl Serialize for AnalyzerInfo
impl Serialize for AnalyzerInfo
impl StructuralPartialEq for AnalyzerInfo
Auto Trait Implementations§
impl Freeze for AnalyzerInfo
impl RefUnwindSafe for AnalyzerInfo
impl Send for AnalyzerInfo
impl Sync for AnalyzerInfo
impl Unpin for AnalyzerInfo
impl UnwindSafe for AnalyzerInfo
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