Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

switch_doc_engine.md 770B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. sidebar_position: 3
  3. slug: /switch_doc_engine
  4. ---
  5. # Switch document engine
  6. Switch your doc engine from Elasticsearch to Infinity.
  7. ---
  8. RAGFlow uses Elasticsearch by default for storing full text and vectors. To switch to [Infinity](https://github.com/infiniflow/infinity/), follow these steps:
  9. :::danger WARNING
  10. Switching to Infinity on a Linux/arm64 machine is not yet officially supported.
  11. :::
  12. 1. Stop all running containers:
  13. ```bash
  14. $ docker compose -f docker/docker-compose.yml down -v
  15. ```
  16. :::cautiion WARNING
  17. `-v` will delete the docker container volumes, and the existing data will be cleared.
  18. :::
  19. 2. Set `DOC_ENGINE` in **docker/.env** to `infinity`.
  20. 3. Start the containers:
  21. ```bash
  22. $ docker compose -f docker-compose.yml up -d
  23. ```