数据类型 Mapping, 类似于数据库的表 text: 需要分词的文本,并会创建倒排索引 keyword: 不需要分词的关键字 数字: byte, short, integer, long, float, double, half_float(16位), scaled_float date, boolean, binary(不能被搜索) range, 这是ES的特色,integer_range, date_range, ip_range等, 应该是用于提高查询性能 array, object, nested, geo-point, ip, token_count 检索类型 term: 搜...
阅读更多7/5/2026