LUCENE-4653: only delete one doc

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-01-03 22:14:01 +00:00
parent e39600a06e
commit 6c2972c662
1 changed files with 1 additions and 0 deletions

View File

@ -1018,6 +1018,7 @@ public class TestIndexWriter extends LuceneTestCase {
doc.add(newStringField(random, "id", "500", Field.Store.NO));
doc.add(newField(random, "field", "some prepackaged text contents", storedTextType));
w.addDocument(doc);
doc = new Document();
doc.add(newStringField(random, "id", "501", Field.Store.NO));
doc.add(newField(random, "field", "some more contents", storedTextType));
w.addDocument(doc);