Struct aws_sdk_cloudsearch::types::AnalysisScheme
source · #[non_exhaustive]pub struct AnalysisScheme {
pub analysis_scheme_name: String,
pub analysis_scheme_language: AnalysisSchemeLanguage,
pub analysis_options: Option<AnalysisOptions>,
}Expand description
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, JapaneseTokenizationDictionary and AlgorithmicStemming.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.analysis_scheme_name: StringNames must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
analysis_scheme_language: AnalysisSchemeLanguageAn IETF RFC 4646 language code or mul for multiple languages.
analysis_options: Option<AnalysisOptions>Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
Implementations§
source§impl AnalysisScheme
impl AnalysisScheme
sourcepub fn analysis_scheme_name(&self) -> &str
pub fn analysis_scheme_name(&self) -> &str
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
sourcepub fn analysis_scheme_language(&self) -> &AnalysisSchemeLanguage
pub fn analysis_scheme_language(&self) -> &AnalysisSchemeLanguage
An IETF RFC 4646 language code or mul for multiple languages.
sourcepub fn analysis_options(&self) -> Option<&AnalysisOptions>
pub fn analysis_options(&self) -> Option<&AnalysisOptions>
Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
source§impl AnalysisScheme
impl AnalysisScheme
sourcepub fn builder() -> AnalysisSchemeBuilder
pub fn builder() -> AnalysisSchemeBuilder
Creates a new builder-style object to manufacture AnalysisScheme.
Trait Implementations§
source§impl Clone for AnalysisScheme
impl Clone for AnalysisScheme
source§fn clone(&self) -> AnalysisScheme
fn clone(&self) -> AnalysisScheme
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalysisScheme
impl Debug for AnalysisScheme
source§impl PartialEq for AnalysisScheme
impl PartialEq for AnalysisScheme
source§fn eq(&self, other: &AnalysisScheme) -> bool
fn eq(&self, other: &AnalysisScheme) -> bool
self and other values to be equal, and is used
by ==.