java.lang.Object
co.elastic.clients.elasticsearch.core.reindex_rethrottle.ReindexStatus
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ReindexStatus extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • batches

      public final long batches()
      Required - The number of scroll responses pulled back by the reindex.

      API name: batches

    • created

      public final long created()
      Required - The number of documents that were successfully created.

      API name: created

    • deleted

      public final long deleted()
      Required - The number of documents that were successfully deleted.

      API name: deleted

    • noops

      public final long noops()
      Required - The number of documents that were ignored because the script used for the reindex returned a noop value for ctx.op.

      API name: noops

    • requestsPerSecond

      public final float requestsPerSecond()
      Required - The number of requests per second effectively executed during the reindex.

      API name: requests_per_second

    • retries

      public final Retries retries()
      Required - The number of retries attempted by reindex. bulk is the number of bulk actions retried and search is the number of search actions retried.

      API name: retries

    • throttled

      @Nullable public final Time throttled()
      API name: throttled
    • throttledMillis

      public final long throttledMillis()
      Required - Number of milliseconds the request slept to conform to requests_per_second.

      API name: throttled_millis

    • throttledUntil

      @Nullable public final Time throttledUntil()
      API name: throttled_until
    • throttledUntilMillis

      public final long throttledUntilMillis()
      Required - This field should always be equal to zero in a _reindex response. It only has meaning when using the Task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be executed again in order to conform to requests_per_second.

      API name: throttled_until_millis

    • total

      public final long total()
      Required - The number of documents that were successfully processed.

      API name: total

    • updated

      public final long updated()
      Required - The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.

      API name: updated

    • versionConflicts

      public final long versionConflicts()
      Required - The number of version conflicts that reindex hits.

      API name: version_conflicts

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupReindexStatusDeserializer

      protected static void setupReindexStatusDeserializer(ObjectDeserializer<ReindexStatus.Builder> op)