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

 

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