mirror of https://github.com/apache/lucene.git
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:
parent
e39600a06e
commit
6c2972c662
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue