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, String id)
    • IndexResult

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

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

      public IndexResult(Mapping requiredMappingUpdate, String id)
  • Method Details

    • isCreated

      public boolean isCreated()