PUT my_index { "mappings":{ "properties":{ "title":{ "type":"text", "analyzer": "ik_max_word", "search_analyzer": "ik_max_word" } } } } PUT my_index1/_doc/1 { "title":"中华人民共和国人民大会堂" } GET /_analyze { "text":"中华人民共和国人民大会堂", "analyzer": "ik_smart" } GET /_analyze { "text":"中华人民共和国人民大会堂", "analyzer": "ik_max_word" } GET my_index/_search { "query": { "match": { "title": "人民" } } } PUT my_index1 { "mappings":{ "properties":{ "title":{ "type":"text", "analyzer": "ik_smart", "search_analyzer": "ik_smart" } } } }