String类型 : text(解释器分词检索), keyword (全词匹配)[String类型再ES5中已经开始被废弃]
数字类型 : long, integer, short, byte, double, float
日期类型 : date
bool类型 : boolean
binary类型 : binary
复杂类型 : object, nested
GEO类型 : GEO-point, GEO-shape
专业类型 : ip, competion(可用于搜索建议)
String类型 : text(解释器分词检索), keyword (全词匹配)[String类型再ES5中已经开始被废弃]
数字类型 : long, integer, short, byte, double, float
日期类型 : date
bool类型 : boolean
binary类型 : binary
复杂类型 : object, nested
GEO类型 : GEO-point, GEO-shape
专业类型 : ip, competion(可用于搜索建议)