You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: hierarchical documents — tree engine with depth-10 support #438
Add parent-child hierarchy to the document engine, supporting trees up to depth 10. Uses hybrid adjacency list + materialized path for O(1) subtree queries.
Schema Changes (v11 → v12)
parent_id TEXT REFERENCES documents(id) ON DELETE CASCADE — adjacency
path TEXT NOT NULL DEFAULT "" — materialized path (UUID-based, e.g. /a1b2/c3d4/)
depth INTEGER NOT NULL DEFAULT 0 — denormalized depth
sort_order INTEGER NOT NULL DEFAULT 0 — manual ordering within parent
has_children INTEGER NOT NULL DEFAULT 0 — denormalized flag
Activity
feat: hierarchical documents with depth-10 tree engine + doc_search (#…
ajianaz commentedon Jun 22, 2026
Closed: implemented in PR #439 (merged) + PR #441 (API endpoints). Hierarchical docs, tree ops, hybrid search all shipped on develop.
feat: hierarchical documents with depth-10 tree engine + doc_search (#…