Docs: Added a guide on switching document engine (#7692)

### What problem does this PR solve?

### Type of change

- [x] Documentation Update
This commit is contained in:
writinwaters 2025-05-16 19:02:36 +08:00 committed by GitHub
parent bfaa469b9a
commit c0bee906d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 42 additions and 8 deletions

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 3 sidebar_position: 4
slug: /acquire_ragflow_api_key slug: /acquire_ragflow_api_key
--- ---

View File

@ -1,6 +1,6 @@
{ {
"label": "MCP", "label": "MCP",
"position": 4, "position": 40,
"link": { "link": {
"type": "generated-index", "type": "generated-index",
"description": "Guides and references on accessing RAGFlow's knowledge bases via MCP." "description": "Guides and references on accessing RAGFlow's knowledge bases via MCP."

View File

@ -0,0 +1,34 @@
---
sidebar_position: 3
slug: /switch_doc_engine
---
# Switch document engine
Switch your doc engine from Elasticsearch to Infinity.
---
RAGFlow uses Elasticsearch by default for storing full text and vectors. To switch to [Infinity](https://github.com/infiniflow/infinity/), follow these steps:
:::danger WARNING
Switching to Infinity on a Linux/arm64 machine is not yet officially supported.
:::
1. Stop all running containers:
```bash
$ docker compose -f docker/docker-compose.yml down -v
```
:::cautiion WARNING
`-v` will delete the docker container volumes, and the existing data will be cleared.
:::
2. Set `DOC_ENGINE` in **docker/.env** to `infinity`.
3. Start the containers:
```bash
$ docker compose -f docker-compose.yml up -d
```

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 2 sidebar_position: 3
slug: /join_or_leave_team slug: /join_or_leave_team
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 1 sidebar_position: 2
slug: /manage_team_members slug: /manage_team_members
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 5 sidebar_position: 6
slug: /share_agent slug: /share_agent
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 4 sidebar_position: 5
slug: /share_chat_assistant slug: /share_chat_assistant
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 3 sidebar_position: 4
slug: /share_datasets slug: /share_datasets
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 6 sidebar_position: 7
slug: /share_model slug: /share_model
--- ---