newSearcher
Create a new searcher over the reader. This searcher might randomly use threads.
Create a new searcher over the reader. This searcher might randomly use threads. if maybeWrap is true, this searcher might wrap the reader with one that returns null for getSequentialSubReaders. If wrapWithAssertions is true, this searcher might be an AssertingIndexSearcher instance.
fun newSearcher(r: IndexReader, maybeWrap: Boolean, wrapWithAssertions: Boolean, useThreads: Boolean): IndexSearcher
Create a new searcher over the reader. If maybeWrap is true, this searcher might wrap the reader with one that returns null for getSequentialSubReaders. If wrapWithAssertions is true, this searcher might be an AssertingIndexSearcher instance. The searcher will use threads if useThreads * is set to true.
fun newSearcher(r: IndexReader, maybeWrap: Boolean, wrapWithAssertions: Boolean, concurrency: LuceneTestCase.Companion.Concurrency?): IndexSearcher