infiniflow / infiniflow/ragflow

[Bug]: Deleting files from the knowledge base did not take effect

Open
#9,503 9 comments 1 reaction 0 assignees View on GitHub
🐞 bug
Dominant language
Go
Stars
91k
Forks
10.8k
Avg merge
1d 14h
Merged PRs (30d)
705

Description

### Self Checks

- [x] I have searched for existing issues [search for existing issues](https://github.com/infiniflow/ragflow/issues), including closed ones.
- [x] I confirm that I am using English to submit this report ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Please do not modify this template :) and fill in all the required fields.

### RAGFlow workspace code commit ID

1234

### RAGFlow image version

v0.20.1

### Other environment information

```Markdown
docker
```

### Actual behavior

I deleted a file in the knowledge base, but I can still query the relevant chunks of the deleted file through the interface. Is there a cache? What should I do?

### Expected behavior

_No response_

### Steps to reproduce

```Markdown
success
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. First reproduce the knowledge-base deletion and query flow in the reported Docker environment, then trace how deleted file chunks remain searchable. Done means queries no longer return chunks from a deleted file, with a regression test covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
backend, data, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.