From 093ae7187eca5b7fdda92e3e053b01956e345b90 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 6 May 2024 17:48:04 +0900 Subject: [PATCH] Update blockmax_maxscore_iterator.cppm (#1166) ### What problem does this PR solve? seperate -> separate ### Type of change - [x] Refactoring --- .../early_terminate_iterator/blockmax_maxscore_iterator.cppm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/invertedindex/search/early_terminate_iterator/blockmax_maxscore_iterator.cppm b/src/storage/invertedindex/search/early_terminate_iterator/blockmax_maxscore_iterator.cppm index a03d65fc05..a5ee298c99 100644 --- a/src/storage/invertedindex/search/early_terminate_iterator/blockmax_maxscore_iterator.cppm +++ b/src/storage/invertedindex/search/early_terminate_iterator/blockmax_maxscore_iterator.cppm @@ -63,7 +63,7 @@ private: float common_block_max_bm25_score_ = 0.0f; Vector common_block_max_bm25_score_parts_; // value at i: blockmax of sum of BM25 scores for iter i + 1, i + 2, ..., n - 1 // pivot and must_have info - // seperate the iterators into two parts: + // separate the iterators into two parts: // 1. [0, pivot) : cannot add into part 2 // 2. [pivot, n) : sum < threshold u32 pivot_ = sorted_iterators_.size(); @@ -90,4 +90,4 @@ private: Vector> must_have_history_; }; -} // namespace infinity \ No newline at end of file +} // namespace infinity