From 8e7c6b19d37fdc3b1e5dce332a30f1ad23322294 Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Fri, 8 Apr 2022 11:48:46 +0800
Subject: [PATCH 01/12] feat: There is no way the, rest es conf
---
adc-da-main/src/main/resources/application-dev.properties | 2 +-
adc-da-main/src/main/resources/application.properties | 2 +-
adc-da-main/src/main/resources/logback-spring.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/adc-da-main/src/main/resources/application-dev.properties b/adc-da-main/src/main/resources/application-dev.properties
index a4aa4373..1e3d58ff 100644
--- a/adc-da-main/src/main/resources/application-dev.properties
+++ b/adc-da-main/src/main/resources/application-dev.properties
@@ -11,7 +11,7 @@ spring.datasource.password = Fting&8g35g#geg2
#==============================================
# 应用设置
-spring.application.name=FotonLAWSSystem
+spring.application.name=FotonLAWSSystem-REST-SEARCH
application.code=20200101
application.center=1
#==============================================
diff --git a/adc-da-main/src/main/resources/application.properties b/adc-da-main/src/main/resources/application.properties
index 7a7db19f..2bd567fb 100644
--- a/adc-da-main/src/main/resources/application.properties
+++ b/adc-da-main/src/main/resources/application.properties
@@ -9,7 +9,7 @@ spring.profiles.active=dev
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/plain,text/css,application/x-javascript
# 端口号设置
-server.port=4202
+server.port=10086
#主服务session超时
server.servlet.session.timeout =600
diff --git a/adc-da-main/src/main/resources/logback-spring.xml b/adc-da-main/src/main/resources/logback-spring.xml
index 39f90eab..841d37a2 100644
--- a/adc-da-main/src/main/resources/logback-spring.xml
+++ b/adc-da-main/src/main/resources/logback-spring.xml
@@ -8,7 +8,7 @@
-
+
From d7bdf83678cce512bef38c5363899b80b65e171e Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Fri, 8 Apr 2022 15:20:07 +0800
Subject: [PATCH 02/12] feat: There is no way the, rest es conf
---
.../search/service/ElasticsearchService.java | 5 ++
.../impl/ElasticsearchServiceImpl.java | 55 +++++++++++++++++++
.../server/ResetSearchCenterService.java | 12 ++--
3 files changed, 65 insertions(+), 7 deletions(-)
diff --git a/adc-da-search/src/main/java/com/adc/da/search/service/ElasticsearchService.java b/adc-da-search/src/main/java/com/adc/da/search/service/ElasticsearchService.java
index baedb9e1..41563bb6 100644
--- a/adc-da-search/src/main/java/com/adc/da/search/service/ElasticsearchService.java
+++ b/adc-da-search/src/main/java/com/adc/da/search/service/ElasticsearchService.java
@@ -118,6 +118,11 @@ public interface ElasticsearchService {
*/
Map searchDataById(String index, String type, String id, String fields);
+ /**
+ * 使用索引查询所有
+ */
+
+ List