Class ForceMergeRequestBuilder


public class ForceMergeRequestBuilder
extends BroadcastOperationRequestBuilder<ForceMergeRequest,​ForceMergeResponse,​ForceMergeRequestBuilder>
A request to force merge one or more indices. In order to force merge all indices, pass an empty array or null for the indices. setMaxNumSegments(int) allows to control the number of segments to force merge down to. By default, will cause the force merge process to merge down to half the configured number of segments.