空白分析器

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

定义

它包括:

分词器

  • whitespace  analyzer

输出实例

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 不可配置。