Files
open-webui/backend
PVBLIC Foundation 9e20e56a63 fix: Add namespace support to VectorSearchRetriever and query functions
Complete namespace support for all search paths:
- Added namespace field to VectorSearchRetriever class
- Pass namespace when instantiating VectorSearchRetriever in hybrid search
- Added namespace to query_doc() function
- Added namespace to get_doc() function
- Enhanced logging to show namespace

This ensures the ensemble retriever (BM25 + vector search) uses
the correct namespace when searching, fixing the 'no_docs' issue.

All search code paths now verified:
✓ query_doc_handler → get() with namespace
✓ query_doc_with_hybrid_search → VectorSearchRetriever with namespace
✓ VectorSearchRetriever → search() with namespace
✓ query_doc() → search() with namespace
✓ get_doc() → get() with namespace
✓ query_collection_with_hybrid_search → get() with namespace

Documented complete flow in NAMESPACE_FLOW_VERIFICATION.md
2025-11-10 07:10:55 -08:00
..