Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
b41sh committed Sep 29, 2024
1 parent 38d0e30 commit 4209599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query/storages/common/index/src/inverted_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ impl DocIdsCollector {
candidate_doc_ids.bitand_assign(all_prefix_doc_ids);
}

// Collect the postion `offset` and `term_freqs` for each terms,
// which can be used to read positons.
// Collect the position `offset` and `term_freqs` for each terms,
// which can be used to read positions.
let mut offset_and_term_freqs_map = HashMap::new();
for term_id in term_ids.into_iter() {
let offset_and_term_freqs = self.get_position_offsets(term_id, &candidate_doc_ids)?;
Expand Down

0 comments on commit 4209599

Please sign in to comment.