Skip to main content

sqry_core/query/executor/
mod.rs

1//! Query executor for semantic code search
2//!
3//! # Architecture
4//!
5//! The executor is organized into focused modules:
6//!
7//! - [`core`]: Main `QueryExecutor` struct and orchestration
8//! - [`graph_eval`]: CodeGraph-native query evaluation
9//!
10//! # Module Structure
11//!
12//! ```text
13//! executor/
14//! ├── mod.rs              (this file - public API)
15//! ├── core.rs             (QueryExecutor facade)
16//! ├── graph_eval.rs       (CodeGraph evaluation)
17//! └── tests.rs            (unit tests)
18//! ```
19
20pub(crate) mod core;
21pub(crate) mod graph_duplicates;
22pub mod graph_eval;
23pub(crate) mod pipeline;
24
25#[cfg(test)]
26mod tests;
27
28// Re-export public API
29pub use core::QueryExecutor;
30
31// Graph-based duplicate detection (not yet migrated to sqry-db — DB20
32// scope). Cycle detection and unused detection migrated to sqry-db in
33// DB15-DB19; their config types live in `super::cycles_config` /
34// `super::unused_config`.
35pub use graph_duplicates::{
36    DuplicateConfig, DuplicateGroup, DuplicateType, build_duplicate_groups_graph,
37};
38
39// Pipeline execution
40pub use pipeline::execute_pipeline_stage;