From ec0493167c5c95ac6cae11163491657aed74f8aa Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Mon, 2 Apr 2007 22:26:44 +0000 Subject: [PATCH] - Don't use the deprecated FSDirectory.getDirectory(indexDir, boolean) git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524949 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/benchmark/standard/StandardBenchmarker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);