Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ES部署时候的 elasticsearch库版本要求 #3615

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/ES部署指南.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ docker pull docker.elastic.co/kibana/kibana:{version}
docker run --name kibana --net elastic -p 5601:5601 docker.elastic.co/kibana/kibana:{version}
```

### 第3步:核心代码
## 第3步:源代码中添加elasticsearch库
```shell
1.注意旧版本的elasticsearch对_search是POST,elasticsearch需要GET请求

pip install elasticsearch==8.13.0
```

### 第4步:核心代码
```shell
1. 核心代码路径
server/knowledge_base/kb_service/es_kb_service.py

2. 需要在 configs/model_config.py 中 配置 ES参数(IP, PORT)等;
```
```