Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
project_operation
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenzy
project_operation
Commits
6a40ed58
Commit
6a40ed58
authored
Oct 10, 2024
by
咸鱼的修养
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[新增] es基本操作和ES数据初始化接口
parent
e39674f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
README.md
README.md
+34
-0
No files found.
README.md
View file @
6a40ed58
## ES问题(默认端口9200)
1.
查看ES分词插件
查看ES日志,包含 loaded plugin
[
XXX
]
或者执行 curl ip:端口/_cat/plugin 查看已经加载的插件
2.
验证ES是否启动成功
`curl ip:端口`
3.
查看所有索引
`curl http://ip:端口/_cat/indices`
4.
删除xxx-finder索引
`curl -XDELETE http://ip:端口/xxx-finder`
5.
查询xxx-finder索引结构
`curl http://127.0.0.1:9200/dev-logstash/_mapping`
## ES数据初始化接口
访问后端服务swagger接口,访问路径ip:端口/api/服务名/swagger-ui.html#/ 服务名为下面()内的,其它服务可打开f12,点开具体服务查看请求路径得知
finder的pod建议重启
服务(pdataservice)的POST /pdsCURD/populateFullTestSearchIndex
资产(dataassetmanager) GET /toolkitApi/initFullTestSearchIndex
标准(standard)的 GET /rest/standard/maintain/transform
元数据Pod建议重启
元数据(metadatarepo) POST /rest/init/initFinder(全文检索)
元数据的 POST /rest/init/initMedataIndex(元数据检索)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment