Class Engine.Searcher

  • All Implemented Interfaces:, java.lang.AutoCloseable, Releasable
    Enclosing class:

    public static final class Engine.Searcher
    extends java.lang.Object
    implements Releasable
    • Constructor Summary

      Constructor Description
      Searcher​(java.lang.String source, searcher, onClose)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      org.apache.lucene.index.DirectoryReader getDirectoryReader()  
      org.apache.lucene.index.IndexReader reader() searcher()  
      java.lang.String source()
      The source that caused this searcher to be acquired.
      • Methods inherited from class java.lang.Object

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

      • Searcher

        public Searcher​(java.lang.String source,
    • Method Detail

      • source

        public java.lang.String source()
        The source that caused this searcher to be acquired.
      • reader

        public org.apache.lucene.index.IndexReader reader()
      • getDirectoryReader

        public org.apache.lucene.index.DirectoryReader getDirectoryReader()
      • searcher

        public searcher()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface
        Specified by:
        close in interface Releasable