![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
derlinchen
会点Java、会点C#、会点Python
展开
-
ES条件分页查询与不分页处理
if (item.getItem().getEndDate() != null) { item.getItem().setEndDate(item.getItem().getEndDate().plusDays(1)); } Pageable pageable = PageRequest.of(item.getPageNo() - 1, item.getPageSize()); BoolQueryBuilder boolQueryBuilder = QueryBuilders.boo.原创 2021-12-27 13:23:25 · 3194 阅读 · 0 评论 -
SpringMVC整合ElasticSearch
SpringMVC整合请参考, SpringMVC框架搭建SpringMVC整合ElasticSearch步骤如下:在maven引入Elastic jar包,在pom.xml中添加如下内容: <dependency> <groupId>org.elasticsearch</groupId> <artifactId&am原创 2019-01-03 13:56:52 · 11151 阅读 · 22 评论 -
ElasticSearch安装
安装环境有:Java1.8, Elastic 6.5.4一、Java1.8安装下载Java1.8,进入下载页面,点击Accept License Agreement,选择linux x64 tar.gz格式文件安装Jdk输入sudo cp jdk-8u191-linux-x64.tar.gz /usr/local,将安装包拷贝到/usr/local目录下输入sudo ta...原创 2019-01-03 14:12:35 · 176 阅读 · 0 评论