lib/elasticsearch/api/actions/indices/optimize.rb in elasticsearch-api-1.0.1 vs lib/elasticsearch/api/actions/indices/optimize.rb in elasticsearch-api-1.0.2
- old
+ new
@@ -23,10 +23,12 @@
# indices have been specified)
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that
# are open, closed or both. (options: open, closed)
# @option arguments [Boolean] :flush Specify whether the index should be flushed after performing the operation
# (default: true)
+ # @option arguments [Boolean] :force Force a merge operation to run, even when the index has a single segment
+ # (default: true)
# @option arguments [String] :ignore_indices When performed on multiple indices, allows to ignore
# `missing` ones (options: none, missing) @until 1.0
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when
# unavailable (missing, closed, etc)
# @option arguments [Number] :max_num_segments The number of segments the index should be merged into
@@ -46,9 +48,10 @@
:ignore_indices,
:ignore_unavailable,
:allow_no_indices,
:expand_wildcards,
:flush,
+ :force,
:master_timeout,
:max_num_segments,
:only_expunge_deletes,
:operation_threading,
:refresh,