fix test bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597610 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-05-26 16:05:14 +00:00
parent d8ce025471
commit 3b55751084
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class TestSearchForDuplicates extends LuceneTestCase {
Document d = new Document();
d.add(newTextField(PRIORITY_FIELD, HIGH_PRIORITY, Field.Store.YES));
d.add(new IntField(ID_FIELD, j, Field.Store.YES));
d.add(new NumericDocValuesField(ID_FIELD, j));
writer.addDocument(d);
}
writer.shutdown();