您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

switch_doc_engine.md 770B


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, follow these steps:
:::caution WARNING Switching to Infinity on a Linux/arm64 machine is not yet officially supported. :::
  1. Stop all running containers:
   $ docker compose -f docker/docker-compose.yml down -v

:::caution WARNING -v will delete the docker container volumes, and the existing data will be cleared. :::

  1. Set DOC_ENGINE in docker/.env to infinity.

  2. Start the containers:

   $ docker compose -f docker-compose.yml up -d