Expand description
The runner (spec/surface/README.md §1.4): parse the source, rewrite the
row functions to $self methods, run it through the engine over the
store context, and shape the engine’s result into the surface’s
OqxResult (lean { id, path, … } hits, keyset paging, the consumer
scalars). Port of packages/core/src/oqx-js/run.ts.
By default the tier-3 planner (crate::planner) pre-filters the scan in
SQL and the in-memory engine finishes the residual over the produced rows;
QueryOptions::in_memory forces the pure in-memory engine (the
differential gate runs every case both ways — a planner must be invisible).
Structs§
- OqxResult
- §1.4
OqxResult. - Query
Options query’s options.
Constants§
- DEFAULT_
LIMIT - The default page size.
Functions§
- collect_
semantic_ phrases - The distinct phrases
semantic("…")names (free calls in the raw parse); empty when the source does not parse. - query
- Run an OQX query against
repo_id(§1.4). - rewrite_
query - Rewrite every row function in a parsed query to a
$selfmethod call.