mirror of https://github.com/apache/lucene.git
LUCENE-1044: also re-default doSync back to false in contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b6464ec9c
commit
6be2c0765c
|
@ -126,7 +126,7 @@ public class PerfRunData {
|
|||
FileUtils.fullyDelete(indexDir);
|
||||
}
|
||||
indexDir.mkdirs();
|
||||
final boolean doSync = config.get("fsdirectory.dosync", true);
|
||||
final boolean doSync = config.get("fsdirectory.dosync", false);
|
||||
directory = FSDirectory.getDirectory(indexDir, null, doSync);
|
||||
} else {
|
||||
directory = new RAMDirectory();
|
||||
|
|
Loading…
Reference in New Issue