lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r524949 - /lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java
Date Mon, 02 Apr 2007 22:26:45 GMT
Author: otis
Date: Mon Apr  2 15:26:44 2007
New Revision: 524949

URL: http://svn.apache.org/viewvc?view=rev&rev=524949
Log:
- Don't use the deprecated FSDirectory.getDirectory(indexDir, boolean)

Modified:
    lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java

Modified: lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java?view=diff&rev=524949&r1=524948&r2=524949
==============================================================================
--- lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java
(original)
+++ lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/standard/StandardBenchmarker.java
Mon Apr  2 15:26:44 2007
@@ -92,7 +92,7 @@
             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);



Mime
View raw message