From 73141282b62979e189ac3c87d9a902064f34a1c5 Mon Sep 17 00:00:00 2001 From: Tommaso Teofili Date: Fri, 28 Jul 2023 15:56:40 +0200 Subject: [PATCH] EvaluateInvertedDenseVectorsTest should use -index, not -path (#2157) --- .../io/anserini/search/EvaluateInvertedDenseVectorsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/anserini/search/EvaluateInvertedDenseVectorsTest.java b/src/test/java/io/anserini/search/EvaluateInvertedDenseVectorsTest.java index d5080417c7..de4bb02b24 100644 --- a/src/test/java/io/anserini/search/EvaluateInvertedDenseVectorsTest.java +++ b/src/test/java/io/anserini/search/EvaluateInvertedDenseVectorsTest.java @@ -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); } @@ -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); }