mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-04 11:24:00 +08:00
770 B
770 B
sidebar_position | slug |
---|---|
3 | /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, follow these steps:
:::danger WARNING Switching to Infinity on a Linux/arm64 machine is not yet officially supported. :::
-
Stop all running containers:
$ 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.
:::
-
Set
DOC_ENGINE
in docker/.env toinfinity
. -
Start the containers:
$ docker compose -f docker-compose.yml up -d