Class EngineSearcherFactory


  • public class EngineSearcherFactory
    extends org.apache.lucene.search.SearcherFactory
    Basic Searcher factory that allows returning an IndexSearcher given an IndexReader
    • Method Summary

      Modifier and Type Method Description
      org.apache.lucene.search.IndexSearcher newSearcher​(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.IndexReader previousReader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EngineSearcherFactory

        public EngineSearcherFactory​(EngineConfig engineConfig)
    • Method Detail

      • newSearcher

        public org.apache.lucene.search.IndexSearcher newSearcher​(org.apache.lucene.index.IndexReader reader,
                                                                  org.apache.lucene.index.IndexReader previousReader)
                                                           throws java.io.IOException
        Overrides:
        newSearcher in class org.apache.lucene.search.SearcherFactory
        Throws:
        java.io.IOException