- cn.jdevelops.search.es.config - 程序包 cn.jdevelops.search.es.config
-
- cn.jdevelops.search.es.constant - 程序包 cn.jdevelops.search.es.constant
-
- cn.jdevelops.search.es.dto - 程序包 cn.jdevelops.search.es.dto
-
- cn.jdevelops.search.es.service - 程序包 cn.jdevelops.search.es.service
-
- cn.jdevelops.search.es.service.impl - 程序包 cn.jdevelops.search.es.service.impl
-
- cn.jdevelops.search.es.util - 程序包 cn.jdevelops.search.es.util
-
- ConditionDTO - cn.jdevelops.search.es.dto中的类
-
检索条件接收实体
- ConditionDTO() - 类 的构造器cn.jdevelops.search.es.dto.ConditionDTO
-
- createIndex(String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
-
创建索引
PS:相当于创建了一个表,一个类型的仓库
- createIndex(String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
-
- createIndexMapping(String, List<String>) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
-
创建索引库映射
index不存在会先创建,存在则会先执行删除,再创建index,最后创建字段映射
若结尾是"time",则类型为 keyword;
若结尾是 "dateFormat",则类型为 date;
若等于 "status",则类型为 integer;
若等于 "id",则类型为 integer;
若结尾是 "stats",则类型为 integer;
若结尾是 "type",则类型为 integer;
- createIndexMapping(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
-
单个字段创建索引库映射
PS: index 必须存在,若不存在则无法创建映射。
- createIndexMapping(String, String, List<String>) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
-
创建嵌套映射
若结尾是"time",则类型为 keyword;
若结尾是 "dateFormat",则类型为 date;
若等于 "status",则类型为 integer;
若等于 "id",则类型为 integer;
若结尾是 "stats",则类型为 integer;
若结尾是 "type",则类型为 integer;
- createIndexMapping(String, List<String>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
-
- createIndexMapping(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
-
- createIndexMapping(String, String, List<String>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
-