为一个字段指定分析器 在创建索引时指定 PUT my_index { "mappings": { "properties": { "title": { "type": "text", "analyzer": "whitespace" }