摘要: mapping 是对索引库中文档的约束,常见的mapping包括: 1.type:字段数据类型 字符串 text(可分词文本) 、keyword(精确值,品牌,国家,ip地址) 数值 long... 布尔boolean 日期 date 对象object 2.index 是否创建索引 默认为true 3.analyzer 使用哪种分词器 4.properties:该字段的子字段 阅读全文
posted @ 2021-11-12 11:18 zuiAI0658 阅读(77) 评论(0) 推荐(0)