Class Engine.IndexResult

java.lang.Object
org.elasticsearch.index.engine.Engine.Result
org.elasticsearch.index.engine.Engine.IndexResult
Enclosing class:
Engine

public static class Engine.IndexResult extends Engine.Result
  • Constructor Details

    • IndexResult

      public IndexResult(long version, long term, long seqNo, boolean created)
    • IndexResult

      public IndexResult(Exception failure, long version)
      use in case of the index operation failed before getting to internal engine
    • IndexResult

      public IndexResult(Exception failure, long version, long term, long seqNo)
    • IndexResult

      public IndexResult(Mapping requiredMappingUpdate)
  • Method Details

    • isCreated

      public boolean isCreated()