Expand description
Secondary LMDB indexes for O(log n) lookups.
Four index sub-databases:
idx_content_hash:{galaxy}:{hash}→ UUID (O(1) dedup)idx_tags:{galaxy}:{tag}→ UUID (DUP_SORT, tag-based queries)idx_importance:{galaxy}:{f32_be}→ UUID (DUP_SORT, range queries)idx_temporal:{galaxy}:{i64_be}→ UUID (DUP_SORT, time-range queries)
Keys are raw bytes: galaxy_db_name + 0x00 + value_bytes.
The null separator ensures galaxy-scoped sorting.
Structs§
- Index
Dbs - Cached handles to the four index sub-databases.
Constants§
- IDX_
CONTENT_ HASH - Index sub-database names.
- IDX_
IMPORTANCE - IDX_
TAGS - IDX_
TEMPORAL - INDEX_
DBS - All index DBs with their flags — used at environment creation.