Use the threshold in concurrent search test

This commit is contained in:
Atri Sharma 2019-09-12 15:04:18 +05:30 committed by Michael Sokolov
parent ec78ef7852
commit 477c28c38d
1 changed files with 1 additions and 1 deletions

View File

@ -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);