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: String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
analysis_scheme_language: AnalysisSchemeLanguage
An 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 ==
.impl StructuralPartialEq for AnalysisScheme
Auto Trait Implementations§
impl Freeze for AnalysisScheme
impl RefUnwindSafe for AnalysisScheme
impl Send for AnalysisScheme
impl Sync for AnalysisScheme
impl Unpin for AnalysisScheme
impl UnwindSafe for AnalysisScheme
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more