mirror of https://github.com/apache/lucene.git
Use the threshold in concurrent search test
This commit is contained in:
parent
ec78ef7852
commit
477c28c38d
|
@ -122,7 +122,7 @@ public class TestTopDocsCollector extends LuceneTestCase {
|
|||
IndexSearcher searcher = new IndexSearcher(reader, service);
|
||||
|
||||
CollectorManager collectorManager = TopScoreDocCollector.createSharedManager(numResults,
|
||||
null, Integer.MAX_VALUE);
|
||||
null, thresHold);
|
||||
|
||||
TopDocs tdc = (TopDocs) searcher.search(q, collectorManager);
|
||||
|
||||
|
|
Loading…
Reference in New Issue