haiku.rag/tests/multi_db
Yiorgis Gozadinos 9ed66e3a06
Search one database the ordinary way, however it was selected
`sources=["alpha"]` on a client covering a set went through fusion, which
scores position: a result the database ranked at 0.6549 was reported as
1/(60+rank). Embedding also moved ahead of the repository, so a filter matching
no document embedded the query anyway.

A selection of one now runs the single-database search. Fusion reconciles
rankings from separate indexes, and one ranking has nothing to reconcile.

A reranker that returns chunks it built rather than the ones it was given loses
which database each came from, since ownership is by identity. That is named
now instead of surfacing as a KeyError, and stated on `RerankerBase._rerank`.
2026-08-27 14:41:10 +03:00
..
__init__.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
conftest.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
helpers.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_capabilities.py Render collection identity only for multi-collection searches 2026-08-27 12:41:05 +03:00
test_citations.py Say what makes a cited chunk id ambiguous 2026-08-27 14:09:01 +03:00
test_documents.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_expansion.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_lifecycle.py Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
test_scope.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_search.py Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00