Usage
Load the indexes (in bulk withload_indexes), then query them together with
query_multi_index. Every result document carries an index_name so you know where it
came from.
Behavior
- All indexes must be loaded locally (via
load_index/load_indexes) and share the same embedding model. top_kis global, not per-index - it caps the merged result set.filterandembeddingwork the same as in single-indexquery.
Bulk lifecycle
load_indexes(names)
returns a LoadIndexesResult with
loaded and failed. It’s best-effort: a typo in one name doesn’t roll back the others.
unload_indexes(names)
releases them and is idempotent.
Related
Retrieval
Single-index querying, filters, and hybrid search.
Python reference
query_multi_index, load_indexes, unload_indexes.