diff --git a/raptor/src/rank/exact.rs b/raptor/src/rank/exact.rs index 680369a0b..7c3189fbc 100644 --- a/raptor/src/rank/exact.rs +++ b/raptor/src/rank/exact.rs @@ -18,5 +18,5 @@ pub fn exact(lhs: &Document, rhs: &Document) -> Ordering { let lhs = number_exact_matches(&lhs.matches); let rhs = number_exact_matches(&rhs.matches); - lhs.cmp(&rhs) + lhs.cmp(&rhs).reverse() }