Skip to content

Commit

Permalink
Remove outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Nov 11, 2024
1 parent 8320ca7 commit 6280ea6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rust/worker/src/segment/spann_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ impl SpannSegmentWriter {
if segment.r#type != SegmentType::Spann || segment.scope != SegmentScope::VECTOR {
return Err(SpannSegmentWriterError::InvalidArgument);
}
// Load HNSW index.
let distance_function = match distance_function_from_segment(segment) {
Ok(distance_function) => distance_function,
Err(e) => {
Expand Down Expand Up @@ -102,7 +101,6 @@ impl SpannSegmentWriter {
},
None => None,
};
// Fork the posting list map.
let posting_list_id = match segment.file_path.get(POSTING_LIST_PATH) {
Some(posting_list_path) => match posting_list_path.first() {
Some(posting_list_id) => {
Expand All @@ -118,7 +116,6 @@ impl SpannSegmentWriter {
return Err(SpannSegmentWriterError::PostingListInvalidFilePath);
}
},
// Create a new index.
None => None,
};

Expand Down

0 comments on commit 6280ea6

Please sign in to comment.