External index backends¶
TL;DR
- By default the database holds both indexes; a backend can hold a copy of the search index, the vector index or both.
- Options go under
[index_backends.<name>]orEXACTDOCS_INDEX_BACKENDS__<NAME>__<OPTION>; keys only from the environment or a*_fileoption. - After switching, or after the backend lost data, run
exactdocs index rebuild.
EXACTDOCS_SEARCH_BACKEND and EXACTDOCS_VECTOR_BACKEND move an index out of the database (see
External index backends). Each backend is configured
under [index_backends.<name>] in the TOML file, or EXACTDOCS_INDEX_BACKENDS__<NAME>__<OPTION>;
keys and tokens only from the environment or a *_file option. After switching, or after the
backend lost data, run exactdocs index rebuild (Deployment).
| Backend | Search index | Vector index |
|---|---|---|
| Azure AI Search | yes | yes |
| Chroma | yes | |
| DuckDB | yes | yes |
| Elasticsearch and OpenSearch | yes | yes |
| LanceDB | yes | yes |
| libSQL | yes | yes |
| Milvus | yes | |
| MongoDB | yes | yes |
| Pinecone | yes | |
| Qdrant | yes | |
| Redis | yes | yes |