Ik_smart least partition (that is, divide text as little as possible)
GET _analyze
{
"analyzer": "ik_smart"."text": "Welcome to elasticSearch for XXX"} welcome | to | of the | | XXX elasticsearch (|) segmentationCopy the code
Ik_max_word finer-grained partitioning (that is, all possible partitioning of text)
GET _analyze
{
"analyzer": "ik_max_word"."text": "Welcome to ElasticSearch for Linstrham."} results: welcome welcome | | to | of the | | XXX elasticsearchCopy the code
Custom partition