Skip to content

Commit

Permalink
Update src/searcher.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron <[email protected]>
  • Loading branch information
Sidhant29 and wallies authored Jul 20, 2023
1 parent 0cfd4b0 commit 52b60f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ impl Searcher {

let (mut multifruit, hits) = {
if let Some(order_by) = order_by_field {
// let schema = &self.inner.index().schema();
// let field = get_field(schema, order_by)?;
let collector = TopDocs::with_limit(limit)
.and_offset(offset)
.order_by_u64_field(order_by);
Expand Down

0 comments on commit 52b60f1

Please sign in to comment.