diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java index a824258d501..f9d91da0142 100644 --- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java +++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java @@ -92,7 +92,7 @@ public class StandardBenchmarker extends AbstractBenchmarker implements Benchmar try { reset(indexDir); - params[i].setDirectory(FSDirectory.getDirectory(indexDir, true)); + params[i].setDirectory(FSDirectory.getDirectory(indexDir)); params[i].setQueries(qds); System.out.println(params[i]); runBenchmark(params[i], options);