From 3d9488bd3002364294c8399f36b8172d753880e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 18 Oct 2018 17:29:27 +0200 Subject: [PATCH] feat: Keep a stable order of documents by ordering the deepest bucket by document id. --- src/rank/criterion/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rank/criterion/mod.rs b/src/rank/criterion/mod.rs index 97f1df09c..79143cd8d 100644 --- a/src/rank/criterion/mod.rs +++ b/src/rank/criterion/mod.rs @@ -65,5 +65,6 @@ pub fn default() -> Vec> { Box::new(SumOfWordsAttribute), Box::new(SumOfWordsPosition), Box::new(Exact), + Box::new(DocumentId), ] }