Skip to content

Commit

Permalink
Update searcher.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wallies authored Mar 13, 2024
1 parent 7af08c0 commit 2b32ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl Searcher {
if let Some(order_by) = order_by_field {
let collector = TopDocs::with_limit(limit)
.and_offset(offset)
.order_by_fast_field(order_by, order.into());
.order_by_u64_field(order_by, order.into());
let top_docs_handle =
multicollector.add_collector(collector);
let ret = self.inner.search(query.get(), &multicollector);
Expand Down

0 comments on commit 2b32ca1

Please sign in to comment.