surrealdb-core 3.3.1

A scalable, distributed, collaborative, document-graph database, for the realtime web
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Indexing: the engines, and the planner that chooses between them.
//!
//! The engines themselves live one crate down, in [`surrealdb_idx`]; depend on
//! that crate directly to reach them. They are pulled in here crate-internally
//! so core's own `crate::idx::…` paths resolve. They answer from a transaction
//! and an index-environment handle alone, which is what lets them sit below the
//! executor.
//!
//! What stays here is the half that needs the executor: [`planner`] decides
//! which index a statement should use and iterates it on the statement's
//! behalf, so it reads the query context, the document machinery and the
//! iterator stack — none of which an engine can see.

pub(crate) use surrealdb_idx::*;

pub mod planner;
#[cfg(test)]
mod tests;