1. 空白分析器

原文链接 : https://www.elastic.co/guide/en/elasticsearch/elasticsearch/reference/5.3/analysis-whitespace-analyzer.html(修改该链接为官网对应的链接)

译文链接 : http://www.apache.wiki/display/Elasticsearch/analysis-whitespace-analyzer.html(修改该链接为 ApacheCN 对应的译文链接)

贡献者 : ╮欠n1的太多ApacheCNApache中文网

whitespace analyzer 在遇到空格字符时将文本分解成术语。

1.1. 定义

它包括:

分词器

  • whitespace analyzer

1.2. 输出实例

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. ]

1.3. 配置

whitespace analyzer 不可配置。
Copyright © Kilvn 2021. all right reserved,powered by Gitbook最后更新时间: 2021-06-08 20:22:42

results matching ""

    No results matching ""