ELK-内置分词器-simple分词器

一.simple分词器
simple分词器是对字母文本进行分词拆分,并将分词后的内容转换成小写格式
#对指定内容根据"simple"分词器进行分词
POST _analyze 
{ 
  "analyzer":"simple", 
  "test":"Our usual study and experience are our most powerful support at a critical moment"
}

 可以看到"Our usual study and experience are our most powerful support at a critical moment"被分成了14个关键字并且所有字母都是小写,分词之后的结果如下

["our","usual","study","and","experience","are","our","most","powerful","support","at","a","critical","moment"]
 

 

posted @ 2022-08-22 21:30  David.Meng  阅读(112)  评论(0编辑  收藏  举报