Package org.apache.lucene.monitor
Class QueryIndex.TermsHashBuilder
java.lang.Object
org.apache.lucene.search.SearcherFactory
org.apache.lucene.monitor.QueryIndex.TermsHashBuilder
- Enclosing class:
QueryIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewSearcher(IndexReader reader, IndexReader previousReader) Returns a new IndexSearcher over the given reader.
-
Constructor Details
-
TermsHashBuilder
private TermsHashBuilder()
-
-
Method Details
-
newSearcher
Description copied from class:SearcherFactoryReturns a new IndexSearcher over the given reader.- Overrides:
newSearcherin classSearcherFactory- Parameters:
reader- the reader to create a new searcher forpreviousReader- the reader previously used to create a new searcher. This can benullif unknown or if the given reader is the initially opened reader. If this reader is non-null it can be used to find newly opened segments compared to the new reader to warm the searcher up before returning.- Throws:
IOException
-