Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Dec 5, 2024
1 parent 0504b6b commit 57ac89d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/worker/src/execution/operators/spann_bf_pl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use super::knn::RecordDistance;

#[derive(Debug)]
pub struct SpannBfPlInput {
// TODO(Sanket): We might benefit from a flat structure which might be more cache friendly.
// Posting list data.
posting_list: Vec<SpannPosting>,
// Number of results to return.
Expand All @@ -25,6 +26,7 @@ pub struct SpannBfPlInput {
query: Vec<f32>,
}

#[allow(dead_code)]
#[derive(Debug)]
pub struct SpannBfPlOutput {
records: Vec<RecordDistance>,
Expand All @@ -42,6 +44,7 @@ impl ChromaError for SpannBfPlError {
#[derive(Debug)]
pub struct SpannBfPlOperator {}

#[allow(dead_code)]
impl SpannBfPlOperator {
pub fn new() -> Box<Self> {
Box::new(SpannBfPlOperator {})
Expand Down

0 comments on commit 57ac89d

Please sign in to comment.