mirror of https://github.com/apache/lucene.git
- 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
This commit is contained in:
parent
023ffe2c29
commit
ec0493167c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue