ragflow/api/apps/sdk
darion-yaphet 918d5a9ff8
[issue-11572]fix:metadata_condition filtering failed (#11573)
### What problem does this PR solve?

When using the 'metadata_condition' for metadata filtering, if no
documents match the filtering criteria, the system will return the
search results of all documents instead of returning an empty result.

When the metadata_condition has conditions but no matching documents,
simply return an empty result.
#11572

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: Chenguang Wang <chenguangwang@deepglint.com>
2025-11-28 14:04:14 +08:00
..
agents.py Feat: add or logic operations for meta data filters. (#11404) 2025-11-20 14:31:12 +08:00
chat.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
dataset.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
dify_retrieval.py Feat: add or logic operations for meta data filters. (#11404) 2025-11-20 14:31:12 +08:00
doc.py [issue-11572]fix:metadata_condition filtering failed (#11573) 2025-11-28 14:04:14 +08:00
files.py fix(files): replace hard coded status codes with constants (#11544) 2025-11-27 09:41:24 +08:00
session.py Fix: no result if metadata returns none. (#11412) 2025-11-20 19:51:25 +08:00