Skip to content

Commit

Permalink
EvaluateInvertedDenseVectorsTest should use -index, not -path (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
tteofili committed Jul 28, 2023
1 parent 92adfcd commit 7314128
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void evalFWTest() throws Exception {
String path = "target/idx-sample-fw";
String encoding = "fw";
IndexInvertedDenseVectorsTest.createIndex(path, encoding, false);
String[] args = new String[]{"-encoding", encoding, "-input", "src/test/resources/mini-word-vectors.txt", "-path",
String[] args = new String[]{"-encoding", encoding, "-input", "src/test/resources/mini-word-vectors.txt", "-index",
path, "-topics", "src/test/resources/sample_topics/Trec"};
EvaluateInvertedDenseVectors.main(args);
}
Expand All @@ -39,7 +39,7 @@ public void evalLLTest() throws Exception {
String path = "target/idx-sample-ll";
String encoding = "lexlsh";
IndexInvertedDenseVectorsTest.createIndex(path, encoding, false);
String[] args = new String[]{"-encoding", encoding, "-input", "src/test/resources/mini-word-vectors.txt", "-path",
String[] args = new String[]{"-encoding", encoding, "-input", "src/test/resources/mini-word-vectors.txt", "-index",
path, "-topics", "src/test/resources/sample_topics/Trec"};
EvaluateInvertedDenseVectors.main(args);
}
Expand Down

0 comments on commit 7314128

Please sign in to comment.