ragflow/api/apps
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
..
auth Admin: add 'show version' (#11079) 2025-11-06 19:24:46 +08:00
sdk [issue-11572]fix:metadata_condition filtering failed (#11573) 2025-11-28 14:04:14 +08:00
__init__.py Feat: API supports toc_enhance. (#11437) 2025-11-21 14:51:58 +08:00
api_app.py Refactor /stats API (#11363) 2025-11-19 12:27:45 +08:00
canvas_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
chunk_app.py Fix: no result if metadata returns none. (#11412) 2025-11-20 19:51:25 +08:00
connector_app.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00
conversation_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
dialog_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
document_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
file2document_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
file_app.py Fix: coroutine object has no attribute get (#11472) 2025-11-24 12:21:33 +08:00
kb_app.py Fix: refine error msg. (#11380) 2025-11-19 19:10:45 +08:00
langfuse_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
llm_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
mcp_server_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
plugin_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
search_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
system_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
tenant_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
user_app.py Feat: add gmail connector (#11549) 2025-11-28 13:09:40 +08:00