Class Engine.SearcherSupplier

org.elasticsearch.index.engine.Engine.SearcherSupplier
All Implemented Interfaces:
, , org.elasticsearch.core.Releasable
Enclosing class:
Engine

public abstract static class Engine.SearcherSupplier extends implements org.elasticsearch.core.Releasable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     source)
     
    protected abstract Engine.Searcher
     source)
     
    void
     
    protected abstract void
     
    Returns an id associated with this searcher if exists.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

  • Method Details

    • acquireSearcher

      public final  source)
    • close

      public final void close()
      Specified by:
       in interface 
      Specified by:
       in interface 
      Specified by:
      close in interface org.elasticsearch.core.Releasable
    • doClose

      protected abstract void doClose()
    • acquireSearcherInternal

      protected abstract  source)
    • getSearcherId

      @Nullable public  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).