pub fn create_structured_patterns(
plan: &QueryPlan,
) -> Vec<(String, HashSet<usize>)>
Expand description
Generate regex patterns that respect the AST’s logical structure. This creates a single combined pattern for all terms, regardless of whether they’re required, optional, or negative.