Expand description
JSON-based FFI surface for admin-plane operations that need richer serde shapes than a flat string list.
Pack P7.6a introduces this module so the Python and TypeScript SDKs
can register recursive FTS property schemas via the engine’s
Engine::register_fts_property_schema_with_entries entry point.
The types are plain serde structures — no pyo3 / napi dependencies —
so translation can be unit- and integration-tested directly via
cargo test without linking against libpython or libnode, mirroring
the pattern established by crate::search_ffi.
Structs§
- PyProperty
Path Spec - A single registered property-FTS path with its extraction mode.
- PyRegister
FtsProperty Schema Request - JSON envelope for
register_fts_property_schema_with_entries_json.
Enums§
- Admin
FfiError - Error produced by the admin FFI JSON translation path.
- PyProperty
Path Mode - Extraction mode for a single registered FTS property path, serialized
as
"scalar"or"recursive"on the wire.
Functions§
- get_
fts_ profile_ json - Retrieve the FTS tokenizer profile for a node kind.
- get_
vec_ profile_ json - Retrieve the vector embedding profile for a specific node kind.
- preview_
projection_ impact_ json - Estimate the cost of rebuilding a projection for a given node kind and facet.
- register_
fts_ property_ schema_ with_ entries_ json - Register (or update) an FTS property projection schema whose entries
may include recursive-mode paths. The
request_jsonpayload must matchPyRegisterFtsPropertySchemaRequest. - set_
fts_ profile_ json - Set the FTS tokenizer profile for a node kind.
- set_
vec_ profile_ json - Set (or update) the global vector embedding profile.