update easy-es 1.1.1 => 2.0.0-beta4

2.X
疯狂的狮子Li 1 year ago
parent ef4cb01d9b
commit 661095e431

@ -38,7 +38,7 @@
<satoken.version>1.37.0</satoken.version> <satoken.version>1.37.0</satoken.version>
<lombok.version>1.18.30</lombok.version> <lombok.version>1.18.30</lombok.version>
<logstash.version>7.4</logstash.version> <logstash.version>7.4</logstash.version>
<easy-es.version>1.1.1</easy-es.version> <easy-es.version>2.0.0-beta4</easy-es.version>
<elasticsearch.version>7.14.0</elasticsearch.version> <elasticsearch.version>7.14.0</elasticsearch.version>
<skywalking-toolkit.version>8.16.0</skywalking-toolkit.version> <skywalking-toolkit.version>8.16.0</skywalking-toolkit.version>
<bouncycastle.version>1.76</bouncycastle.version> <bouncycastle.version>1.76</bouncycastle.version>
@ -293,7 +293,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.easy-es</groupId> <groupId>org.dromara.easy-es</groupId>
<artifactId>easy-es-boot-starter</artifactId> <artifactId>easy-es-boot-starter</artifactId>
<version>${easy-es.version}</version> <version>${easy-es.version}</version>
</dependency> </dependency>

@ -17,7 +17,7 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cn.easy-es</groupId> <groupId>org.dromara.easy-es</groupId>
<artifactId>easy-es-boot-starter</artifactId> <artifactId>easy-es-boot-starter</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

@ -1,6 +1,6 @@
package org.dromara.common.elasticsearch.config; package org.dromara.common.elasticsearch.config;
import cn.easyes.starter.register.EsMapperScan; import org.dromara.easyes.starter.register.EsMapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

@ -1,10 +1,10 @@
package org.dromara.demo.controller; package org.dromara.demo.controller;
import cn.easyes.core.conditions.LambdaEsQueryWrapper; import lombok.RequiredArgsConstructor;
import org.dromara.common.core.domain.R; import org.dromara.common.core.domain.R;
import org.dromara.demo.domain.Document; import org.dromara.demo.domain.Document;
import org.dromara.demo.esmapper.DocumentMapper; import org.dromara.demo.esmapper.DocumentMapper;
import lombok.RequiredArgsConstructor; import org.dromara.easyes.core.conditions.select.LambdaEsQueryWrapper;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;

@ -1,7 +1,7 @@
package org.dromara.demo.esmapper; package org.dromara.demo.esmapper;
import cn.easyes.core.conditions.interfaces.BaseEsMapper;
import org.dromara.demo.domain.Document; import org.dromara.demo.domain.Document;
import org.dromara.easyes.core.core.BaseEsMapper;
public interface DocumentMapper extends BaseEsMapper<Document> { public interface DocumentMapper extends BaseEsMapper<Document> {
} }

@ -90,8 +90,6 @@ easy-es:
connectTimeout: 5000 connectTimeout: 5000
# 通信超时时间 单位:ms # 通信超时时间 单位:ms
socketTimeout: 5000 socketTimeout: 5000
# 请求超时时间 单位:ms
requestTimeout: 5000
# 连接请求超时时间 单位:ms # 连接请求超时时间 单位:ms
connectionRequestTimeout: 5000 connectionRequestTimeout: 5000
# 最大连接数 单位:个 # 最大连接数 单位:个
@ -114,5 +112,3 @@ easy-es:
enable-track-total-hits: true enable-track-total-hits: true
# 数据刷新策略,默认为不刷新 # 数据刷新策略,默认为不刷新
refresh-policy: immediate refresh-policy: immediate
# 是否全局开启must查询类型转换为filter查询类型 默认为false不转换
enable-must2-filter: false

Loading…
Cancel
Save