restructure: move search.rs and query.rs into query/ directory

search.rs → query/engine.rs (algorithms, pipeline, seed matching)
query.rs  → query/parser.rs (PEG query language, field resolution)
query/mod.rs re-exports for backwards compatibility.

crate::search still works (aliased to query::engine).
crate::query::run_query resolves to the parser's entry point.

No logic changes — pure file reorganization.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
ProofOfConcept 2026-03-14 17:49:27 -04:00
parent c9e622e150
commit 55715ad998
4 changed files with 18 additions and 2 deletions

View file

@ -8,11 +8,14 @@ pub mod config;
pub mod store;
pub mod util;
pub mod graph;
pub mod search;
pub mod query;
pub mod similarity;
pub mod spectral;
pub mod lookups;
pub mod query;
// search was moved into query/engine
pub use query::engine as search;
// old query.rs moved into query/parser
pub use query::parser as query_parser;
pub mod transcript;
pub mod neuro;
pub mod counters;