Struct aws_sdk_cloudsearch::model::AnalysisScheme
source · [−]#[non_exhaustive]pub struct AnalysisScheme { /* private fields */ }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.
Implementations
sourceimpl AnalysisScheme
impl AnalysisScheme
sourcepub fn analysis_scheme_name(&self) -> Option<&str>
pub fn analysis_scheme_name(&self) -> Option<&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) -> Option<&AnalysisSchemeLanguage>
pub fn analysis_scheme_language(&self) -> Option<&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.
sourceimpl AnalysisScheme
impl AnalysisScheme
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AnalysisScheme.
Trait Implementations
sourceimpl Clone for AnalysisScheme
impl Clone for AnalysisScheme
sourcefn clone(&self) -> AnalysisScheme
fn clone(&self) -> AnalysisScheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AnalysisScheme
impl Debug for AnalysisScheme
sourceimpl PartialEq<AnalysisScheme> for AnalysisScheme
impl PartialEq<AnalysisScheme> for AnalysisScheme
sourcefn eq(&self, other: &AnalysisScheme) -> bool
fn eq(&self, other: &AnalysisScheme) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AnalysisScheme) -> bool
fn ne(&self, other: &AnalysisScheme) -> bool
This method tests for !=.
impl StructuralPartialEq for AnalysisScheme
Auto Trait Implementations
impl RefUnwindSafe for AnalysisScheme
impl Send for AnalysisScheme
impl Sync for AnalysisScheme
impl Unpin for AnalysisScheme
impl UnwindSafe for AnalysisScheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more