about summary refs log tree commit diff
path: root/crates/engine/src
AgeCommit message (Collapse)Author
3 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.
3 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.
4 days* 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.