lib/elasticsearch/api/actions/indices/stats.rb in elasticsearch-api-0.4.3 vs lib/elasticsearch/api/actions/indices/stats.rb in elasticsearch-api-0.4.4
- old
+ new
@@ -29,33 +29,40 @@
#
# client.indices.stats clear: true, search: true , groups: ['groupA', 'groupB']
#
# @since The `fielddata`, `filter_cache` and `id_cache` metrics are available from version 0.90.
#
- # @option arguments [List] :search_groups A comma-separated list of search groups to include
- # in the `search` statistics
+ # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into
+ # no concrete indices. (This includes `_all` string or when no
+ # 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] :all Return all available information
# @option arguments [Boolean] :clear Reset the default level of detail
# @option arguments [Boolean] :docs Return information about indexed and deleted documents
# @option arguments [Boolean] :fielddata Return information about field data
# @option arguments [Boolean] :fields A comma-separated list of fields for `fielddata` metric (supports wildcards)
# @option arguments [Boolean] :filter_cache Return information about filter cache
# @option arguments [Boolean] :flush Return information about flush operations
# @option arguments [Boolean] :get Return information about get operations
# @option arguments [Boolean] :groups A comma-separated list of search groups for `search` statistics
# @option arguments [Boolean] :id_cache Return information about ID cache
- # @option arguments [String] :ignore_indices When performed on multiple indices, allows to ignore `missing` ones
- # (options: none, missing)
+ # @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 [List] :index A comma-separated list of index names; use `_all` or empty string
# to perform the operation on all indices
# @option arguments [Boolean] :indexing Return information about indexing operations
# @option arguments [List] :indexing_types A comma-separated list of document types to include
# in the `indexing` statistics
# @option arguments [Boolean] :merge Return information about merge operations
# @option arguments [Boolean] :refresh Return information about refresh operations
# @option arguments [Boolean] :search Return information about search operations; use the `groups` parameter to
# include information for specific search groups
+ # @option arguments [List] :search_groups A comma-separated list of search groups to include
+ # in the `search` statistics
# @option arguments [Boolean] :store Return information about the size of the index
# @option arguments [Boolean] :warmer Return information about warmers
#
# @see http://elasticsearch.org/guide/reference/api/admin-indices-stats/
#
@@ -70,9 +77,12 @@
:flush,
:get,
:groups,
:id_cache,
:ignore_indices,
+ :ignore_unavailable,
+ :allow_no_indices,
+ :expand_wildcards,
:indexing,
:merge,
:refresh,
:search,
:store,