Class RefreshRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest

public class RefreshRequest
extends BroadcastRequest<RefreshRequest>
A refresh request making all operations performed since the last refresh available for search. The (near) real-time capabilities depends on the index engine used. For example, the internal one requires refresh to be called, but by default a refresh is scheduled periodically.
See Also:
Requests.refreshRequest(String...), IndicesAdminClient.refresh(RefreshRequest), RefreshResponse
  • Constructor Details

    • RefreshRequest

      public RefreshRequest​(java.lang.String... indices)
    • RefreshRequest

      public RefreshRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException