Class QueryIndex.TermsHashBuilder

java.lang.Object
org.apache.lucene.search.SearcherFactory
org.apache.lucene.monitor.QueryIndex.TermsHashBuilder
Enclosing class:
QueryIndex

private class QueryIndex.TermsHashBuilder extends SearcherFactory
  • Constructor Details

    • TermsHashBuilder

      private TermsHashBuilder()
  • Method Details

    • newSearcher

      public IndexSearcher newSearcher(IndexReader reader, IndexReader previousReader) throws IOException
      Description copied from class: SearcherFactory
      Returns a new IndexSearcher over the given reader.
      Overrides:
      newSearcher in class SearcherFactory
      Parameters:
      reader - the reader to create a new searcher for
      previousReader - the reader previously used to create a new searcher. This can be null if 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