集成elasticsearch8.x,实现初始化加载类,以及es工具类相关抽象方法实现

This commit is contained in:
xiongf
2024-12-10 18:06:22 +08:00
parent 4869ddf654
commit b1010828c5
5 changed files with 415 additions and 0 deletions

View File

@@ -18,6 +18,12 @@ spring:
WRITE_DATES_AS_TIMESTAMPS: false
FAIL_ON_EMPTY_BEANS: false
elasticsearch:
host: localhost
port: 9200
username: elastic
password: kVgA7eeLyNQKh_IyV*mW #window系统本地启动 es8.x 重置密码命令:.\elasticsearch-reset-password -u elastic
springdoc:
api-docs:
path: /v3/api-docs # 自定义 API 文档路径