Skip to content

Commit

Permalink
[ENH] make hnsw query orchestrator use BF operator
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Mar 24, 2024
1 parent feb3380 commit 66e26bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/worker/src/execution/orchestration/hnsw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ impl Handler<PullLogsResult> for HnswQueryOrchestrator {
self.state = ExecutionState::Dedupe;

// TODO: implement the remaining state transitions and operators
// TODO: don't need all these cloning and data shuffling, once we land the chunk abstraction
// TODO: don't need all this cloning and data shuffling, once we land the chunk abstraction
let mut dataset = Vec::new();
match message {
Ok(logs) => {
for log in logs.logs().iter() {
// TODO: only adds have embeddings, fine for now
// TODO: only adds have embeddings, unwrap is fine for now
dataset.push(log.embedding.clone().unwrap());
}
let bf_input = BruteForceKnnOperatorInput {
Expand Down

0 comments on commit 66e26bd

Please sign in to comment.