feat: Keep a stable order of documents

by ordering the deepest bucket by document id.
This commit is contained in:
Clément Renault 2018-10-18 17:29:27 +02:00
parent e1936ae3f7
commit 3d9488bd30

View File

@ -65,5 +65,6 @@ pub fn default() -> Vec<Box<dyn Criterion>> {
Box::new(SumOfWordsAttribute), Box::new(SumOfWordsAttribute),
Box::new(SumOfWordsPosition), Box::new(SumOfWordsPosition),
Box::new(Exact), Box::new(Exact),
Box::new(DocumentId),
] ]
} }