Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

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

writinwatersc0bee906d21f
diff --git a/docs/develop/acquire_ragflow_api_key.md b/docs/develop/acquire_ragflow_api_key.md
index fe1220798e..65c5a4c8fb 100644
--- a/docs/develop/acquire_ragflow_api_key.md
+++ b/docs/develop/acquire_ragflow_api_key.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 3
+sidebar_position: 4
slug: /acquire_ragflow_api_key
---
diff --git a/docs/develop/mcp/_category_.json b/docs/develop/mcp/_category_.json
index 73ff6805b7..35324fdcfc 100644
--- a/docs/develop/mcp/_category_.json
+++ b/docs/develop/mcp/_category_.json
@@ -1,6 +1,6 @@
{
"label": "MCP",
- "position": 4,
+ "position": 40,
"link": {
"type": "generated-index",
"description": "Guides and references on accessing RAGFlow's knowledge bases via MCP."
diff --git a/docs/develop/switch_doc_engine.md b/docs/develop/switch_doc_engine.md
new file mode 100644
index 0000000000..07a3c2e4c1
--- /dev/null
+++ b/docs/develop/switch_doc_engine.md
@@ -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
+ ```
\ No newline at end of file
diff --git a/docs/guides/team/join_or_leave_team.md b/docs/guides/team/join_or_leave_team.md
index 42c54c2305..a62cf5a521 100644
--- a/docs/guides/team/join_or_leave_team.md
+++ b/docs/guides/team/join_or_leave_team.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 2
+sidebar_position: 3
slug: /join_or_leave_team
---
diff --git a/docs/guides/team/manage_team_members.md b/docs/guides/team/manage_team_members.md
index 983abfc6eb..2243ea97d4 100644
--- a/docs/guides/team/manage_team_members.md
+++ b/docs/guides/team/manage_team_members.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 1
+sidebar_position: 2
slug: /manage_team_members
---
diff --git a/docs/guides/team/share_agents.md b/docs/guides/team/share_agents.md
index b2796a35fa..a523542e39 100644
--- a/docs/guides/team/share_agents.md
+++ b/docs/guides/team/share_agents.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 5
+sidebar_position: 6
slug: /share_agent
---
diff --git a/docs/guides/team/share_chat_assistant.md b/docs/guides/team/share_chat_assistant.md
index 9524dabf22..f8f172ee5d 100644
--- a/docs/guides/team/share_chat_assistant.md
+++ b/docs/guides/team/share_chat_assistant.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 4
+sidebar_position: 5
slug: /share_chat_assistant
---
diff --git a/docs/guides/team/share_knowledge_bases.md b/docs/guides/team/share_knowledge_bases.md
index 404ed168ac..614e08dfe7 100644
--- a/docs/guides/team/share_knowledge_bases.md
+++ b/docs/guides/team/share_knowledge_bases.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 3
+sidebar_position: 4
slug: /share_datasets
---
diff --git a/docs/guides/team/share_model.md b/docs/guides/team/share_model.md
index 4cf2f8fe5e..459641fcaa 100644
--- a/docs/guides/team/share_model.md
+++ b/docs/guides/team/share_model.md
@@ -1,5 +1,5 @@
---
-sidebar_position: 6
+sidebar_position: 7
slug: /share_model
---