Struct elasticsearch_dsl::analyze::CustomAnalyzer [−][src]
pub struct CustomAnalyzer { /* fields omitted */ }
Expand description
Structure of custom analyzer.
Implementations
Create instance of custom analyzer and sets tokenizer
Tokenizer to use to convert text into tokens. See Tokenizer reference
for a list of tokenizers.
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenizers.html
pub 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
pub 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
Returns the “default value” for a type. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CustomAnalyzer
impl Send for CustomAnalyzer
impl Sync for CustomAnalyzer
impl Unpin for CustomAnalyzer
impl UnwindSafe for CustomAnalyzer
Blanket Implementations
Mutably borrows from an owned value. Read more