Class Engine.SearcherSupplier

All Implemented Interfaces:
Closeable, AutoCloseable, Releasable
Enclosing class:

public abstract static class Engine.SearcherSupplier extends Object implements Releasable
  • Constructor Details

  • Method Details

    • acquireSearcher

      public final Engine.Searcher acquireSearcher(String source)
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface Releasable
    • doClose

      protected abstract void doClose()
    • acquireSearcherInternal

      protected abstract Engine.Searcher acquireSearcherInternal(String source)
    • getSearcherId

      @Nullable public String getSearcherId()
      Returns an id associated with this searcher if exists. Two searchers with the same searcher id must have identical Lucene level indices (i.e., identical segments with same docs using same doc-ids).