Whitespace Analyzer(空格分析器)
这个分析器基于空格字符来分离所提供的值.
定义
它包括:
Tokenizer(分词器)
Whitespace Tokenizer 空格分词器
输出实例
POST _analyze
{
"analyzer": "whitespace",
"text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone."
}
上述句子将产生以下词语:
[ The, 2, QUICK, Brown-Foxes, jumped, over, the, lazy, dog's, bone. ]
配置
whitespace analyzer 不可配置。
Last updated
Was this helpful?