Commit 6a40ed58 by 咸鱼的修养

[新增] es基本操作和ES数据初始化接口

parent e39674f6
## 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment