about summary refs log tree commit diff
path: root/crates/engine
AgeCommit message (Collapse)Author
4 days* crates (engine, schema): stand alone, so a consumer can vendor themPjotr Prins
The two crates GN4 links inherited version, edition, licence and their dependency specifications from the workspace root. That is fine inside this repository and impossible outside it: GN4 builds from a guix store with no network, so gn-search arrives as vendored *directories*, and a directory source has no workspace root above it to inherit from. GN4 has been writing the inheritance out with a build-time rewrite of these two manifests; spelling it out here removes that. gn-search-schema stays a path dependency, by version and path: by version alone a consumer would look for it on crates.io, where it is not published, and fail at resolve time. So the engine's dependency is unchanged in meaning; only the inherited strings are now literal. crates/indexer is left as it was: it is not consumed outside this repository yet, so it can keep inheriting.
14 days* crates (schema): stamp the schema into the index and check it on open.Alexander Kabui
An index now records which schema wrote it and when, and the engine compares that digest before it opens the database, so a reader that does not implement the layout refuses by name instead of answering from the wrong slot. An index built before the stamp still serves: absence is treated as unknown, not as a match.
14 days* crates (schema): one table, shared by the writer and the reader.Alexander Kabui
The prefixes and value slots were typed twice - once in the indexer's schema module and once in the engine's parser - so they agreed only because someone kept them in step. They now live in gn-search-schema, which both crates already depend on, together with a version, a canonical rendering and a digest of the table.
2026-11-16* crates (workspace): schema and engine split apart, one version.Alexander Kabui
A consumer that only searches should not link a database driver or an index writer, so the vocabulary moved into a crate with no heavy dependencies and the reader kept the xapian dependency. Both ship at one version, which is what makes a writer and a reader agree at compile time rather than by luck.