ragflow/api/db
Qidi Cao f0879563d0
fix: resolve residual image files issue after document deletion (#7964)
### What problem does this PR solve?

When deleting knowledge base documents in RAGFlow, the current process
only removes the block texts in Elasticsearch and the original files in
MinIO, but it leaves behind many binary images and thumbnails generated
during chunking. This pull request improves the deletion process by
querying the block information in Elasticsearch to ensure a more
thorough and complete cleanup.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-05-30 12:56:33 +08:00
..
services fix: resolve residual image files issue after document deletion (#7964) 2025-05-30 12:56:33 +08:00
__init__.py [BREAKING CHANGE] GET to POST: enhance document list capability (#7349) 2025-04-27 16:48:27 +08:00
db_models.py Fix table migration on non-exist-yet indexed columns. (#6666) 2025-03-31 11:27:20 +08:00
db_utils.py Introduced beartype (#3460) 2024-11-18 17:38:17 +08:00
init_data.py Fix: remove deprecated novitaAI. (#7511) 2025-05-07 19:36:16 +08:00
reload_config_base.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
runtime_config.py Update version display on web UI (#3405) 2024-11-14 17:51:21 +08:00