Coverage for src/qdrant_loader_mcp_server/search/hybrid_search.py: 100%
6 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-08 06:06 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-08 06:06 +0000
1"""
2Hybrid Search Implementation - Re-export Module.
4This module provides the complete hybrid search functionality through a clean,
5modular architecture. The HybridSearchEngine has been extracted to hybrid/engine.py
6for better maintainability and testability.
8Architecture:
9- hybrid.engine: Main HybridSearchEngine implementation
10- hybrid.models: Data types and constants
11- hybrid.adapters: Component adapters for pipeline integration
12- hybrid.pipeline: Modular search pipeline orchestration
13"""
15# Re-export the HybridSearchEngine from the hybrid package
16# Also re-export commonly used types for convenience
17from .components import HybridSearchResult
18from .enhanced.cross_document_intelligence import ClusteringStrategy, SimilarityMetric
19from .enhanced.faceted_search import FacetedSearchResults, FacetFilter
20from .enhanced.topic_search_chain import ChainStrategy, TopicSearchChain
21from .hybrid.engine import HybridSearchEngine
23# Convenient access to the main class for backward compatibility
24__all__ = [
25 "HybridSearchEngine",
26 "HybridSearchResult",
27 "ClusteringStrategy",
28 "SimilarityMetric",
29 "FacetedSearchResults",
30 "FacetFilter",
31 "ChainStrategy",
32 "TopicSearchChain",
33]