docs: finalize RFC 0014 — exact KNN query mode (accept)#19
Conversation
|
Factory verified: diff touches only |
|
@hevbot please provide the docs preview link |
|
Docs preview link — the rendered RFC on this branch: https://github.com/hev/search/blob/docs/rfc-0014-finalize/docs/rfcs/0014-exact-knn-query-mode.md (GitHub renders the markdown there; the body's rich-diff link shows the change highlights). Note: hev/search has no Pages-style docs preview lane like hev/layer's — if you want real HTML previews for RFC docs PRs here, that's a §6 render-path tail worth an issue; say the word and the factory files + dispatches it. |
fecc2e9 to
4ff3044
Compare
|
@hevbot No guardrails necessary. |
4ff3044 to
75fdea5
Compare
|
Done: the cost-guardrail open question is now resolved in the doc per your call — v1 ships with no row-count guardrail (trusted-caller posture; Layer owns caller-facing limits). Also updated the branch onto post-#18 main — there was no real conflict, just the out-of-date banner. CI re-running; merge when green. |
Links issue #17: #17
Rendered RFC rich diff: https://github.com/hev/search/pull/19/files#diff-0563f4713405f41d8313a3725025dabdc9e13b4fc97db418d87594201213fbc4
Summary
docs/rfcs/0014-exact-knn-query-mode.mdas Accepted (2026-07-08).Resolved open questions
exact: true; evidence: current/queryuses direct request fields (nprobes,filter,semantic_cache) andexactstates the caller intent without exposing ANN as the wire default.nprobes+ exact: resolved to HTTP 400; evidence: currentnprobesis only an IVF/ANN knob (QueryRequest::nprobes, default 20), and exact scan has no partitions to probe.semantic_cache.enabledwith exact and skip semantic sidecar insertion; evidence: current semantic cache is approximate near-duplicate reuse and is documented/validated only for single-vector, unfiltered, non-FTS requests.exactin the cache key; evidence: current exact result cache keys canonical query fields by namespace generation, so exact and indexed answers must not collide.recall_sweephonestly; evidence: current harness computes/loads exact ground truth and self-checks an unindexed namespace, while PR Add bench evidence CI workflow #10 wraps that harness and records the image provenance caveat from review.Open question flagged for hev
Verification
git diff --name-only origin/main...HEAD->docs/rfcs/0014-exact-knn-query-mode.mdonly.git diff --check origin/main...HEADpassed.