Skip to main content

maxsim

Function maxsim 

Source
pub fn maxsim(query: &Multivector, documents: &[Multivector]) -> Vec<f32>
Expand description

Score one query against each document, in the order given.

The result is not sorted; ranking is the caller’s decision.