Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngalstyan4 committed Nov 15, 2024
1 parent 9cd6735 commit bc464b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lantern_extras/src/bm25_agg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ impl BM25InternalState {
// doc_ids column
let term_freq =
heap_row.get_by_name::<i32>("term_freq")
.expect("column doc_ids_len must be present. Required for efficiency, to avoid detoasting doc_ids")
.expect("column doc_ids_len cannot be null") as f32;
.expect("column term_freq must be present. Required for efficiency, to avoid detoasting doc_ids")
.expect("column term_freq cannot be null") as f32;

if self.data.as_mut().unwrap().len() > 100 {
// switch to bloom filter on common words, but only if we have collected some
Expand Down

0 comments on commit bc464b8

Please sign in to comment.