跳过导航链接
A B C D E G H I L N O P R S U 

A

addData(String, Object, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
新增数据,自定义esOnlyId
addData(String, Object) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
数据添加 随机esOnlyId
addData(IndexRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
数据添加
addData(String, Object, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
addData(String, Object) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
addData(IndexRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
AND - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
AND 并且

B

bulkPost(String, List<Object>) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
随机ID,批量插入 PS: false 指得是没有失败的数据
bulkPost(BulkRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
批量插入 PS: false 指得是没有失败的数据
bulkPost(String, List<Object>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
bulkPost(BulkRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
bulkPostAppointId(String, List<Map<String, Object>>) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
指定ID,批量插入 PS: false 指得是没有失败的数据
bulkPostAppointId(String, List<Map<String, Object>>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 

C

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
 

D

deleteDataById(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
通过ID删除数据
deleteDataById(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
deleteIndex(String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
删除索引
deleteIndex(String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 

E

EQ - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
EQ EQUAL等于
EqDTO - cn.jdevelops.search.es.dto中的类
等于匹配条件 PS: name ='张三' OR name ='李四'
EqDTO() - 类 的构造器cn.jdevelops.search.es.dto.EqDTO
 
EsBasicsUtil - cn.jdevelops.search.es.util中的类
Es基础工具类
EsBasicsUtil() - 类 的构造器cn.jdevelops.search.es.util.EsBasicsUtil
 
EsConfig - cn.jdevelops.search.es.config中的类
 
EsConfig(Environment) - 类 的构造器cn.jdevelops.search.es.config.EsConfig
 
EsConstant - cn.jdevelops.search.es.constant中的类
ES常量
EsConstant() - 类 的构造器cn.jdevelops.search.es.constant.EsConstant
 
EsIndexService - cn.jdevelops.search.es.service中的接口
索引操做工具接口
EsIndexServiceImpl - cn.jdevelops.search.es.service.impl中的类
ES索引操作实现
EsIndexServiceImpl(RestHighLevelClient) - 类 的构造器cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
EsSearchService - cn.jdevelops.search.es.service中的接口
检索接口
EsSearchServiceImpl - cn.jdevelops.search.es.service.impl中的类
检索接口实现
EsSearchServiceImpl(RestHighLevelClient) - 类 的构造器cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
executeCount(CountRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
统计
executeCount(CountRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
executeSearch(SearchRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
查询
executeSearch(SearchRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
executMget(MultiGetRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
一次性查询多个指定结果
executMget(String, List<String>) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
一次性查询多个指定结果
executMget(MultiGetRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
executMget(String, List<String>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
existsById(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
通过ID判断文档是否存在
existsById(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 

G

getAll(SearchRequest) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
查询所有
getAll(SearchRequest) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
getById(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
通过ID获取数据
getById(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
getSearch(List<String>, List<EqDTO>, List<String>, List<String>, String, List<String>, List<ConditionDTO>, List<List<List<ConditionDTO>>>, String, Integer, Integer, List<SortDTO>) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
分页检索示例
getSearch(List<String>, List<EqDTO>, List<String>, List<String>, String, List<String>, List<ConditionDTO>, List<List<List<ConditionDTO>>>, String, Integer, Integer, List<SortDTO>) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
groupExample() - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
分组统计示例,根据实际需求自己些
groupExample() - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
groupHandle(SearchResponse, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
分组结果处理示例
GT - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
GT GREATER THAN大于
GTE - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
GTE GREATER THAN AND EQUAL 大于等于

H

handleSearchResponse(SearchResponse, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
高亮结果集处理示例
HTTP_200 - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
http请求状态码200

I

isIndexExist(String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
判断索引是否存在
isIndexExist(String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 

L

LIKE - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
LIKE 包含
LT - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
LT LESS THAN 小于
LTE - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
LTE LESS THAN AND EQUAL 小于等于

N

NOT - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
NOT 非

O

OR - 类 中的静态变量cn.jdevelops.search.es.constant.EsConstant
OR 或者

P

page(List<String>, Integer, Integer) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
无条件分页检索示例
page(List<String>, Integer, Integer) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 

R

restHighLevelClient() - 类 中的方法cn.jdevelops.search.es.config.EsConfig
Bean name default 函数名字

S

searchDataById(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsSearchService
通过ID获取数据
searchDataById(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsSearchServiceImpl
 
setAdvanced(List<ConditionDTO>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
多条件按照与或非拼接,返回一个新的条件块 BoolQueryBuilder and(x=1 or x=2 ) and(y=1 or y=3) and(z!
setAdvancedList(BoolQueryBuilder, List<List<List<ConditionDTO>>>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
复杂条件查询,拼接结果效果类似于: and ((高级组合) or (高级组合) or(高级组合))
and ((高级组合) or (高级组合) or(高级组合))
and ((高级组合) or (高级组合) or(高级组合))
...
setConSymbol(String, String, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
判断拼接条件,返回查询块
setEqCondition(BoolQueryBuilder, List<EqDTO>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置字段等于多个值的条件拼接 拼接结果效果类似于: and field1 in ('value1','value2','value3'...)
setExcludesFields(SearchSourceBuilder, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置返回数据中需要排除字段
setExcludesFields(SearchSourceBuilder, String, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置返回数据中需要排除字段
setFieldsLike(String, List<String>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
多个字段模糊匹配同一个值
setHighlightField(SearchSourceBuilder, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置高亮
setHighlightField(SearchSourceBuilder, List<String>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置高亮
setIncludesFields(SearchSourceBuilder, String) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置返回数据中只需要的字段
setNested(String, String, List<String>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
拼接嵌套条件
setOrderField(SearchSourceBuilder, List<SortDTO>) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置排序
setPage(SearchSourceBuilder, Integer, Integer) - 类 中的静态方法cn.jdevelops.search.es.util.EsBasicsUtil
设置分页
SortDTO - cn.jdevelops.search.es.dto中的类
 
SortDTO() - 类 的构造器cn.jdevelops.search.es.dto.SortDTO
 
submitData(String, Object, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
新增/更新数据
submitData(String, Object, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
submitMapping(String, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
创建索映射
submitMapping(String, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
创建索映射

U

updateDataById(String, Object, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
通过ID 更新数据
updateDataById(String, Object, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
updateDataByIdNoRealTime(String, Object, String) - 接口 中的方法cn.jdevelops.search.es.service.EsIndexService
通过ID 更新数据,保证实时性
updateDataByIdNoRealTime(String, Object, String) - 类 中的方法cn.jdevelops.search.es.service.impl.EsIndexServiceImpl
 
A B C D E G H I L N O P R S U 
跳过导航链接

Copyright © 2023 tan. All rights reserved.