multi-field在ES 1.x中已弃用,在ES 5.x中已完全删除。
现在,通过使用可以支持多个字段
fields,您可以像这样指定:
{ "type1":{ "properties":{ "name":{ "type":"text", "analyzer":"standard", "index":"analyzed", "store":"no", "search_analyzer":"standard" "fields": { "autocomplete":{"type":"text", "analyzer":"autocomplete", "index":"analyzed", "store":"no", "search_analyzer":"standard" } } } } }}


