Whitespace Analyzer
原文链接 : https://www.elastic.co/guide/en/elasticsearch/reference/5.3/analysis-whitespace-analyzer.html(修改该链接为官网对应的链接)
译文链接 : http://www.apache.wiki/Elasticsearch/analysis-whitespace-analyzer.html(修改该链接为 ApacheCN 对应的译文链接)
贡献者 : ╮欠n1的太多,ApacheCN,Apache中文网
whitespace Analyzer每当遇到 whitespace 字符时将文本分解成术语。
定义
它包含:
分词器
实例输出
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 不可配置