mirror of https://github.com/apache/lucene.git
Fix erratic camelcase
This commit is contained in:
parent
477c28c38d
commit
815bc10c07
|
@ -114,7 +114,7 @@ public class TestTopDocsCollector extends LuceneTestCase {
|
||||||
return tdc;
|
return tdc;
|
||||||
}
|
}
|
||||||
|
|
||||||
private TopDocs doConcurrentSearchWithThreshold(int numResults, int thresHold) throws IOException {
|
private TopDocs doConcurrentSearchWithThreshold(int numResults, int threshold) throws IOException {
|
||||||
Query q = new MatchAllDocsQuery();
|
Query q = new MatchAllDocsQuery();
|
||||||
ExecutorService service = new ThreadPoolExecutor(4, 4, 0L, TimeUnit.MILLISECONDS,
|
ExecutorService service = new ThreadPoolExecutor(4, 4, 0L, TimeUnit.MILLISECONDS,
|
||||||
new LinkedBlockingQueue<Runnable>(),
|
new LinkedBlockingQueue<Runnable>(),
|
||||||
|
@ -122,7 +122,7 @@ public class TestTopDocsCollector extends LuceneTestCase {
|
||||||
IndexSearcher searcher = new IndexSearcher(reader, service);
|
IndexSearcher searcher = new IndexSearcher(reader, service);
|
||||||
|
|
||||||
CollectorManager collectorManager = TopScoreDocCollector.createSharedManager(numResults,
|
CollectorManager collectorManager = TopScoreDocCollector.createSharedManager(numResults,
|
||||||
null, thresHold);
|
null, threshold);
|
||||||
|
|
||||||
TopDocs tdc = (TopDocs) searcher.search(q, collectorManager);
|
TopDocs tdc = (TopDocs) searcher.search(q, collectorManager);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue