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