"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/test/org/apache/lucene/index/TestIndexManyDocuments.java" between
lucene-7.6.0-src.tgz and lucene-7.7.0-src.tgz

About: Lucene is a Java full-text search engine (not a complete application, but rather a code library and API; java source code).

TestIndexManyDocuments.java  (lucene-7.6.0-src.tgz):TestIndexManyDocuments.java  (lucene-7.7.0-src.tgz)
skipping to change at line 64 skipping to change at line 64
} }
} }
}; };
threads[i].start(); threads[i].start();
} }
for (Thread thread : threads) { for (Thread thread : threads) {
thread.join(); thread.join();
} }
assertEquals("lost " + (numDocs - w.maxDoc()) + " documents; maxBufferedDocs =" + iwc.getMaxBufferedDocs(), numDocs, w.maxDoc()); assertEquals("lost " + (numDocs - w.getDocStats().maxDoc) + " documents; max BufferedDocs=" + iwc.getMaxBufferedDocs(), numDocs, w.getDocStats().maxDoc);
w.close(); w.close();
IndexReader r = DirectoryReader.open(dir); IndexReader r = DirectoryReader.open(dir);
assertEquals(numDocs, r.maxDoc()); assertEquals(numDocs, r.maxDoc());
IOUtils.close(r, dir); IOUtils.close(r, dir);
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)