Struct elasticsearch_dsl::analyze::CustomNormalizer
source · [−]pub struct CustomNormalizer { /* private fields */ }
Expand description
Structure of custom normalizer
Implementations
sourceimpl CustomNormalizer
impl CustomNormalizer
sourcepub fn char_filter<I>(self, char_filter: I) -> Self where
I: IntoIterator,
I::Item: Into<StringOrObject>,
pub fn char_filter<I>(self, char_filter: I) -> Self where
I: IntoIterator,
I::Item: Into<StringOrObject>,
Array of character filters used to preprocess characters before the tokenizer.
See Character filters reference
for a list of character filters.
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-charfilters.html
sourcepub fn filter<I>(self, filter: I) -> Self where
I: IntoIterator,
I::Item: Into<StringOrObject>,
pub fn filter<I>(self, filter: I) -> Self where
I: IntoIterator,
I::Item: Into<StringOrObject>,
Array of token filters used to apply after the tokenizer.
See Token filter reference
for a list of token filters.
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenfilters.html
Trait Implementations
sourceimpl Clone for CustomNormalizer
impl Clone for CustomNormalizer
sourcefn clone(&self) -> CustomNormalizer
fn clone(&self) -> CustomNormalizer
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 CustomNormalizer
impl Debug for CustomNormalizer
sourceimpl Default for CustomNormalizer
impl Default for CustomNormalizer
sourcefn default() -> CustomNormalizer
fn default() -> CustomNormalizer
Returns the “default value” for a type. Read more
sourceimpl From<CustomNormalizer> for Analysis
impl From<CustomNormalizer> for Analysis
sourcefn from(value: CustomNormalizer) -> Self
fn from(value: CustomNormalizer) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CustomNormalizer> for CustomNormalizer
impl PartialEq<CustomNormalizer> for CustomNormalizer
sourcefn eq(&self, other: &CustomNormalizer) -> bool
fn eq(&self, other: &CustomNormalizer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomNormalizer) -> bool
fn ne(&self, other: &CustomNormalizer) -> bool
This method tests for !=
.
sourceimpl Serialize for CustomNormalizer
impl Serialize for CustomNormalizer
impl StructuralPartialEq for CustomNormalizer
Auto Trait Implementations
impl RefUnwindSafe for CustomNormalizer
impl Send for CustomNormalizer
impl Sync for CustomNormalizer
impl Unpin for CustomNormalizer
impl UnwindSafe for CustomNormalizer
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