Skip to content

Commit 17343da

Browse files
committed
new TopDocs api
1 parent 8f76286 commit 17343da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quickwit/quickwit-indexing/src/actors/merge_executor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ mod tests {
839839
let documents_left = searcher
840840
.search(
841841
&tantivy::query::AllQuery,
842-
&tantivy::collector::TopDocs::with_limit(result_docs.len() + 1),
842+
&tantivy::collector::TopDocs::with_limit(result_docs.len() + 1)
843+
.order_by_score(),
843844
)?
844845
.into_iter()
845846
.map(|(_, doc_address)| {

0 commit comments

Comments
 (0)