Skip to content

Commit

Permalink
test: fixed issue with perf vector test
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Aug 17, 2023
1 parent 430f1dd commit 1de993d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ public void onAfterSchemaLoad() {
LogManager.instance().log(this, Level.WARNING, "HNSW index '" + indexName + "' has an invalid entrypoint. The index will be removed");
this.entryPointRIDToLoad = null;
database.getSchema().dropIndex(indexName);
return;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public FastTextDatabase() throws IOException, InterruptedException, ReflectiveOp

database.begin();

List<Pair<Vertex, Float>> approximateResults = persistentIndex.findNeighborsFromVector(input, k);
List<Pair<Vertex, Float>> approximateResults = persistentIndex.findNeighborsFromId(input, k);

final long delta = System.currentTimeMillis() - startWord;

Expand All @@ -150,7 +150,7 @@ public FastTextDatabase() throws IOException, InterruptedException, ReflectiveOp
database.rollback();

} catch (Exception e) {
LogManager.instance().log(this, Level.SEVERE, "Not Found");
LogManager.instance().log(this, Level.SEVERE, "Not Found: " + e.getMessage());
}
});

Expand Down

0 comments on commit 1de993d

Please sign in to comment.