mirror of https://github.com/apache/lucene.git
fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7357346652
commit
c27480daf8
|
@ -252,7 +252,7 @@ public class TestFlushByRamOrCountsPolicy extends LuceneTestCase {
|
||||||
DocumentsWriterPerThreadPool threadPool = new DocumentsWriterPerThreadPool(
|
DocumentsWriterPerThreadPool threadPool = new DocumentsWriterPerThreadPool(
|
||||||
numThreads[i]== 1 ? 1 : 2);
|
numThreads[i]== 1 ? 1 : 2);
|
||||||
iwc.setIndexerThreadPool(threadPool);
|
iwc.setIndexerThreadPool(threadPool);
|
||||||
// with such a small ram buffer we should be stalled quiet quickly
|
// with such a small ram buffer we should be stalled quite quickly
|
||||||
iwc.setRAMBufferSizeMB(0.25);
|
iwc.setRAMBufferSizeMB(0.25);
|
||||||
IndexWriter writer = new IndexWriter(dir, iwc);
|
IndexWriter writer = new IndexWriter(dir, iwc);
|
||||||
IndexThread[] threads = new IndexThread[numThreads[i]];
|
IndexThread[] threads = new IndexThread[numThreads[i]];
|
||||||
|
|
Loading…
Reference in New Issue