Expand description
Exact retrieval and provider-neutral abstention semantics.
The reference engine accepts vectors directly. No embedding or model provider is enabled by default.
Structs§
- Abstention
- Evidence for a normal abstention outcome.
- Durable
Vector Record - One durable exact-retrieval candidate.
- Exact
Abstention - Stable durable exact-retrieval abstention evidence.
- Exact
Retrieval Limits - Runtime and shape limits for durable exact retrieval.
- Exact
Retrieval Match - One canonical exact match.
- Exact
Retrieval Request - Durable exact-retrieval request under semantics v2.
- Hybrid
Abstention - Both branches abstained.
- Hybrid
Explanation - Full per-result fusion explanation.
- Hybrid
Match - One canonical fused match.
- Hybrid
Request - Complete fusion request.
- Lexical
Abstention - Stable normal abstention evidence.
- Lexical
Field - One configured document field.
- Lexical
Field Contribution - One field contribution for one query term.
- Lexical
Index Definition - Immutable named lexical-index definition.
- Lexical
Limits - Complete bounded execution policy.
- Lexical
Match - One canonical lexical match.
- Lexical
Materialized Corpus - Complete bounded view read from a rebuildable lexical projection.
- Lexical
Materialized Document - Rebuildable lexical statistics for one document that contains at least one normalized query term.
- Lexical
Request - Complete lexical retrieval request.
- Lexical
Term Contribution - One canonical query-term explanation.
- Retrieval
Limits - Runtime and shape limits for exact global retrieval.
- Retrieval
Match - One globally ranked exact match.
- Retrieval
Request - Exact cosine search and abstention policy.
- Retrieval
System Clock - Production retrieval clock backed by
Instant. - Vector
Record - One candidate vector with a globally unique binary key.
Enums§
- Abstention
Reason - Stable reason why semantic retrieval declined to return matches.
- Exact
Abstention Reason - Stable reason why durable exact retrieval declined matches.
- Exact
Retrieval Error - Failure to execute durable exact retrieval completely.
- Exact
Retrieval Outcome - Complete durable exact-retrieval outcome.
- Hybrid
Branch Absence - Preserved reason for an absent branch.
- Hybrid
Error - Fusion failure.
- Hybrid
Outcome - Complete hybrid outcome.
- Lexical
Abstention Reason - Stable normal abstention reason.
- Lexical
Error - Complete lexical execution failure.
- Lexical
Outcome - Complete lexical outcome.
- Retrieval
Error - Failure to validate or completely execute exact semantic retrieval.
- Retrieval
Outcome - Complete exact retrieval outcome.
Constants§
- HYBRID_
RRF_ CONSTANT - Fixed RRF rank constant.
- MAX_
LEXICAL_ FIELDS - Maximum fields in one lexical definition.
- MAX_
LEXICAL_ FIELD_ WEIGHT_ MICROS - Maximum positive field weight.
- MAX_
LEXICAL_ PATH_ SEGMENTS - Maximum exact segments in one configured path.
- MAX_
LEXICAL_ PATH_ SEGMENT_ BYTES - Maximum UTF-8 bytes in one path segment.
- MAX_
LEXICAL_ TOKEN_ BYTES - Maximum UTF-8 token length retained by tokenizer v1.
Traits§
- Exact
Retrieval Clock - Monotonic clock used by the canonical executor.
- Retrieval
Clock - Injectable monotonic clock for deterministic timeout conformance.
Functions§
- cosine_
score_ nanos - Computes the canonical integer cosine score from ADR-0015.
- fuse_
hybrid - Fuses complete branch outcomes with deterministic RRF.
- retrieve
- Executes exact global cosine retrieval with the system clock.
- retrieve_
exact - Executes durable exact retrieval using the process monotonic clock.
- retrieve_
exact_ with_ clock - Executes durable exact retrieval using a caller-supplied monotonic clock.
- retrieve_
lexical - Executes the deterministic BM25F-compatible reference algorithm.
- retrieve_
lexical_ materialized - Executes BM25F from a rebuildable materialized lexical projection.
- retrieve_
with_ clock - Executes exact retrieval with an injectable monotonic clock.
- tokenize_
v1 - Applies tokenizer semantics
hyphae-unicode-tokenizer-v1. - tokenize_
v1_ checked - Applies tokenizer v1 while cooperatively checking work and retained-token policy.