Leaf ns for cross-collection id lookup. Extracted out of
hive-milvus.store.entries so the relocate/ pipeline can call
into it without creating a cycle (entries → pipeline → collectors
→ entries). No upward dependencies — only routing + query.
Leaf ns for cross-collection id lookup. Extracted out of `hive-milvus.store.entries` so the `relocate/` pipeline can call into it without creating a cycle (entries → pipeline → collectors → entries). No upward dependencies — only `routing` + `query`.
(find-entry-collection config-atom id)Locate which known collection holds id. Returns the collection
name or nil. Each lookup is wrapped in try so a missing collection
(e.g. hive_mcp_memory_1024d before the first qwen3-routed write,
see missing-collection?) doesn't abort the scan.
NOTE: this still swallows EVERY per-collection exception, so an outage
reads as nil here; store.entries/locate-entry is the outcome-honest
fold.
Locate which known collection holds `id`. Returns the collection name or nil. Each lookup is wrapped in try so a missing collection (e.g. `hive_mcp_memory_1024d` before the first qwen3-routed write, see `missing-collection?`) doesn't abort the scan. NOTE: this still swallows EVERY per-collection exception, so an outage reads as nil here; `store.entries/locate-entry` is the outcome-honest fold.
(known-collections config-atom)Every collection a type-less read may fan out over: the collections backing
the configured embedding providers, plus a pinned :collection-name when a
provider still backs it. A collection whose provider is no longer configured
is not searched.
Every collection a type-less read may fan out over: the collections backing the configured embedding providers, plus a pinned `:collection-name` when a provider still backs it. A collection whose provider is no longer configured is not searched.
(legacy-coll-name config-atom)The collection pinned by :collection-name in config, or nil when the
user has not pinned one.
The collection pinned by `:collection-name` in config, or nil when the user has not pinned one.
(missing-collection? t)True when t, or any link of its cause chain, says the collection does
not exist. A configured collection that was never created (e.g.
hive_mcp_memory_1024d before its first routed write, or after a failed
preload) holds nothing, so asking it is a definite ANSWER - absent - not
an outage. Pure.
True when `t`, or any link of its cause chain, says the collection does not exist. A configured collection that was never created (e.g. `hive_mcp_memory_1024d` before its first routed write, or after a failed preload) holds nothing, so asking it is a definite ANSWER - absent - not an outage. Pure.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |