mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-04 11:24:00 +08:00
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:
parent
bfaa469b9a
commit
c0bee906d2
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 3
|
sidebar_position: 4
|
||||||
slug: /acquire_ragflow_api_key
|
slug: /acquire_ragflow_api_key
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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."
|
||||||
|
34
docs/develop/switch_doc_engine.md
Normal file
34
docs/develop/switch_doc_engine.md
Normal 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
|
||||||
|
```
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 3
|
||||||
slug: /join_or_leave_team
|
slug: /join_or_leave_team
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 2
|
||||||
slug: /manage_team_members
|
slug: /manage_team_members
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 5
|
sidebar_position: 6
|
||||||
slug: /share_agent
|
slug: /share_agent
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 4
|
sidebar_position: 5
|
||||||
slug: /share_chat_assistant
|
slug: /share_chat_assistant
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 3
|
sidebar_position: 4
|
||||||
slug: /share_datasets
|
slug: /share_datasets
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 6
|
sidebar_position: 7
|
||||||
slug: /share_model
|
slug: /share_model
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user