LUCENE-5434: This test method uses a non nrt reader.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-02-06 17:56:46 +00:00
parent 65274f5965
commit 3d24b825a5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class TestIndexWriterReader extends LuceneTestCase {
public void testUpdateDocument() throws Exception {
boolean doFullMerge = true;
Directory dir1 = getAssertNoDeletesDirectory(newDirectory());
Directory dir1 = newDirectory();
IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random()));
if (iwc.getMaxBufferedDocs() < 20) {
iwc.setMaxBufferedDocs(20);