pub struct CustomNormalizer { /* private fields */ }
Expand description
Structure of custom normalizer
Implementations§
Source§impl CustomNormalizer
impl CustomNormalizer
Sourcepub fn char_filter<I>(self, char_filter: I) -> Self
pub fn char_filter<I>(self, char_filter: I) -> Self
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
pub fn filter<I>(self, filter: I) -> Self
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§
Source§impl Clone for CustomNormalizer
impl Clone for CustomNormalizer
Source§fn clone(&self) -> CustomNormalizer
fn clone(&self) -> CustomNormalizer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CustomNormalizer
impl Debug for CustomNormalizer
Source§impl Default for CustomNormalizer
impl Default for CustomNormalizer
Source§fn default() -> CustomNormalizer
fn default() -> CustomNormalizer
Returns the “default value” for a type. Read more
Source§impl From<CustomNormalizer> for Analysis
impl From<CustomNormalizer> for Analysis
Source§fn from(value: CustomNormalizer) -> Self
fn from(value: CustomNormalizer) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CustomNormalizer
impl PartialEq for CustomNormalizer
Source§impl Serialize for CustomNormalizer
impl Serialize for CustomNormalizer
impl Eq for CustomNormalizer
impl StructuralPartialEq for CustomNormalizer
Auto Trait Implementations§
impl Freeze for CustomNormalizer
impl RefUnwindSafe for CustomNormalizer
impl Send for CustomNormalizer
impl Sync for CustomNormalizer
impl Unpin for CustomNormalizer
impl UnwindSafe for CustomNormalizer
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