allow_no_indicesboolean
Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified)
expand_wildcardsoneOf
Whether to expand wildcard expression to concrete indexes that are open, closed or both.
flushboolean
Specify whether the index should be flushed after performing the operation.
Default true
ignore_unavailableboolean
Whether specified concrete indexes should be ignored when unavailable (missing or closed)
max_num_segmentsinteger (int64)
The number of larger segments into which smaller segments are merged.
Set this parameter to 1 to merge all segments into one segment.
The default behavior is to perform the merge as necessary.
only_expunge_deletesboolean
Specify whether the operation should only expunge deleted documents
primary_onlyboolean
Specify whether the operation should only perform on primary shards. Defaults to false.
Default false
wait_for_completionboolean
Should the request wait until the force merge is completed.
Default true
prettyboolean
Whether to pretty-format the returned JSON response.
Default false
humanboolean
Whether to return human-readable values for statistics.
Default false
error_traceboolean
Whether to include the stack trace of returned errors.
Default false
sourcestring
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
filter_pathoneOf
A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.