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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章