haiku.rag/docs/configuration
Yiorgis Gozadinos 7be71ebbac
Order cross-database fusion by cosine similarity to the query
Retrieval scores are each database's own rank arithmetic; the databases
in a selection share an embedder, so similarity in that one space is the
signal comparable across databases by construction. Measured product to
product against score ordering: +8.3 to +16.6pp recall@5 across five
cells on two corpora, flat in collection count and corpus shape where
score ordering dips with both, closing roughly 60% of the gap to a
reranker; order-sensitivity residual 0.00pp in every cell. Exact ties
collapse from 51-81% of candidates to under 1%. Full-text-only searches
keep retrieval-score order, having no query vector. The vector column
already travels with every search result, so the similarity costs no
additional transfer; per-chunk embeddings are materialized only for the
federated path that reads them.
2026-09-01 15:26:42 +03:00
..
index.md Honor configured vector metric during search 2026-08-31 21:38:00 +08:00
processing.md Dedupe picture chunks and skip small pictures at chunking 2026-07-09 10:24:32 +03:00
prompts.md Make the documented configuration match the code 2026-08-19 15:52:50 +03:00
providers.md Accept a /v1 suffix on the vLLM reranker base_url 2026-08-28 15:46:42 +03:00
qa.md Make the documented configuration match the code 2026-08-19 15:52:50 +03:00
storage.md Order cross-database fusion by cosine similarity to the query 2026-09-01 15:26:42 +03:00