mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-30 17:25:30 -05:00
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