pub fn maxsim_batch(
query: &MultiVectorEmbedding,
documents: &[MultiVectorEmbedding],
) -> Vec<(usize, f32)>Expand description
Compute MaxSim scores between a query and multiple documents.
This is more efficient than calling maxsim repeatedly because it can
batch operations and reuse query data.
§Returns
A vector of (document_index, score) pairs, sorted by score descending.
§Panics
Panics if any document has a different dimension than the query.