Enum elasticsearch_dsl::analyze::TokenType [−][src]
pub enum TokenType {
Show 14 variants
Alphanum,
Synonym,
Word,
Hangul,
Num,
Email,
Apostrophe,
Double,
Katakana,
Acronym,
Gram,
Fingerprint,
Shingle,
Other(String),
}Expand description
Type of token
Variants
Alphanumeric token
Synonym token
Word token
Hangul (Korean alphabet) token
Numeric token
Email token
Words with apostrophe token
CJK (Chinese, Japanese, and Korean) tokens
Normalized CJK (Chinese, Japanese, and Korean) tokens. Normalizes width differences in CJK (Chinese, Japanese, and Korean) characters as follows: Folds full-width ASCII character variants into the equivalent basic Latin characters Folds half-width Katakana character variants into the equivalent Kana characters
Acronym token
Gram token
Fingerprint token
Shingle token
Other(String)Other token
Tuple Fields of Other
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl UnwindSafe for TokenType
Blanket Implementations
Mutably borrows from an owned value. Read more