diff --git a/src/Interpreters/GinFilter.cpp b/src/Interpreters/GinFilter.cpp index a2fa47a4631..96ca0c25a25 100644 --- a/src/Interpreters/GinFilter.cpp +++ b/src/Interpreters/GinFilter.cpp @@ -107,7 +107,7 @@ bool GinFilter::matchInRange(const PostingsCache& postings_cache, UInt32 segment for (const auto& term_postings : postings_cache) { - /// Check if it is in the same segement by searching for segment_id + /// Check if it is in the same segment by searching for segment_id const SegmentedPostingsListContainer& container = term_postings.second; auto container_it = container.find(segment_id); if (container_it == container.cend()) diff --git a/src/Interpreters/GinFilter.h b/src/Interpreters/GinFilter.h index d531511472a..e710af3a6ed 100644 --- a/src/Interpreters/GinFilter.h +++ b/src/Interpreters/GinFilter.h @@ -25,7 +25,7 @@ struct GinSegmentWithRowIDRange UInt32 range_end; }; -/// GinFilter provides underlying funtionalities for building inverted index and also +/// GinFilter provides underlying functionalities for building inverted index and also /// it does filtering the unmatched rows according to its query string. /// It also builds and uses skipping index which stores (segmentID, RowIDStart, RowIDEnd) triples. class GinFilter