Expand description
Contract query engine with BM25 semantic search.
Provides fast lookup across all contracts with semantic ranking, regex/literal search, and structured filters.
Spec: docs/specifications/sub/query.md
Re-exports§
pub use cross_project::CrossProjectIndex;
Modules§
- cross_
project - Cross-project contract usage index.
- registry
- Contract tier and kernel equivalence class lookups.
Structs§
- Contract
Index - In-memory contract index with inverted indexes for fast lookup.
- Diff
Info - Git diff summary for a contract.
- Equation
Binding - Binding status for a single equation.
- Project
Coverage - Per-project coverage summary for a contract.
- Proof
Status Info - Inline proof status info for enrichment.
- Query
Output - Output of a query execution.
- Query
Params - Parameters controlling a query.
- Query
Result - A single query result with relevance score and optional enrichment.
- Score
Info - Inline score info for enrichment.
- Violation
Info - A contract violation detected in a consumer project.
Enums§
- Search
Mode - How to interpret the query string.
Functions§
- execute
- Execute a query against a contract index.