Class Engine.GetResult

java.lang.Object
org.elasticsearch.index.engine.Engine.GetResult
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, Releasable
Enclosing class:
Engine

public static class Engine.GetResult
extends java.lang.Object
implements Releasable
  • Field Details

  • Constructor Details

  • Method Details

    • exists

      public boolean exists()
    • version

      public long version()
    • isFromTranslog

      public boolean isFromTranslog()
      Returns true iff the get was performed from a translog operation. Notes that this returns false if the get was performed on an in-memory Lucene segment created from the corresponding translog operation.
    • searcher

      public Engine.Searcher searcher()
    • docIdAndVersion

      public VersionsAndSeqNoResolver.DocIdAndVersion docIdAndVersion()
    • close

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