Skip to content

Commit 59ff4e6

Browse files
Auto-generated API code
1 parent a6d7c38 commit 59ff4e6

File tree

125 files changed

+153
-170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+153
-170
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module Actions
4242
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
4343
# @option arguments [Boolean] :ignore_throttled Whether specified concrete, expanded or aliased indices should be ignored when throttled
4444
# @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)
45-
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
45+
# @option arguments [List] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
4646
# @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
4747
# @option arguments [String] :preference Specify the node or shard the operation should be performed on (default: random)
4848
# @option arguments [Boolean] :rest_total_hits_as_int Indicates whether hits.total should be rendered as an integer or an object in the rest search response

elasticsearch-api/lib/elasticsearch/api/actions/bulk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# @option arguments [String] :index Default index for items which don't provide one
2727
# @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
2828
# @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes. (options: true, false, wait_for)
29-
# @option arguments [String] :routing Specific routing value
29+
# @option arguments [List] :routing Specific routing value
3030
# @option arguments [Time] :timeout Explicit operation timeout
3131
# @option arguments [List] :_source True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request
3232
# @option arguments [List] :_source_excludes Default list of fields to exclude from the returned _source field, can be overridden on each sub-request

elasticsearch-api/lib/elasticsearch/api/actions/cat/aliases.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ module Actions
2727
# @option arguments [List] :name A comma-separated list of alias names to return
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2929
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
30-
# @option arguments [List] :h Comma-separated list of column names to display
30+
# @option arguments [List] :h Comma-separated list of column names to display (options: alias, index, filter, routing.index, routing.search, is_write_index)
3131
# @option arguments [Boolean] :help Return help information
3232
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
34-
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
34+
# @option arguments [List] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
3535
# @option arguments [String] :bytes The unit in which to display byte values (options: b, kb, mb, gb, tb, pb)
3636
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
3737
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-api/lib/elasticsearch/api/actions/cat/allocation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Actions
3030
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
3131
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
3232
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
33-
# @option arguments [List] :h Comma-separated list of column names to display
33+
# @option arguments [List] :h Comma-separated list of column names to display (options: shards, shards.undesired, write_load.forecast, disk.indices.forecast, disk.indices, disk.used, disk.avail, disk.total, disk.percent, host, ip, node, node.role)
3434
# @option arguments [Boolean] :help Return help information
3535
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3636
# @option arguments [Boolean] :v Verbose mode. Display column headers

elasticsearch-api/lib/elasticsearch/api/actions/cat/component_templates.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Actions
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2929
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
3030
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31-
# @option arguments [List] :h Comma-separated list of column names to display
31+
# @option arguments [List] :h Comma-separated list of column names to display (options: name, version, alias_count, mapping_count, settings_count, metadata_count, included_in)
3232
# @option arguments [Boolean] :help Return help information
3333
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers

elasticsearch-api/lib/elasticsearch/api/actions/cat/count.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
#
2727
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
29-
# @option arguments [List] :h Comma-separated list of column names to display
29+
# @option arguments [List] :h Comma-separated list of column names to display (options: epoch, timestamp, count)
3030
# @option arguments [Boolean] :help Return help information
3131
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3232
# @option arguments [Boolean] :v Verbose mode. Display column headers

elasticsearch-api/lib/elasticsearch/api/actions/cat/fielddata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Actions
2727
# @option arguments [List] :fields A comma-separated list of fields to return the fielddata size
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2929
# @option arguments [String] :bytes The unit in which to display byte values (options: b, kb, mb, gb, tb, pb)
30-
# @option arguments [List] :h Comma-separated list of column names to display
30+
# @option arguments [List] :h Comma-separated list of column names to display (options: id, host, ip, node, field, size)
3131
# @option arguments [Boolean] :help Return help information
3232
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers

elasticsearch-api/lib/elasticsearch/api/actions/cat/health.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Actions
2525
# Get the cluster health status
2626
#
2727
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
28-
# @option arguments [List] :h Comma-separated list of column names to display
28+
# @option arguments [List] :h Comma-separated list of column names to display (options: epoch, timestamp, cluster, status, node.total, node.data, shards, pri, relo, init, unassign, unassign.pri, pending_tasks, max_task_wait_time, active_shards_percent)
2929
# @option arguments [Boolean] :help Return help information
3030
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3131
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)

elasticsearch-api/lib/elasticsearch/api/actions/cat/indices.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ module Actions
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2929
# @option arguments [String] :bytes The unit in which to display byte values (options: b, kb, mb, gb, tb, pb)
3030
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31-
# @option arguments [List] :h Comma-separated list of column names to display
32-
# @option arguments [String] :health A health status ("green", "yellow", or "red" to filter only indices matching the specified health status (options: green, yellow, red)
31+
# @option arguments [List] :h Comma-separated list of column names to display (options: health, status, index, uuid, pri, rep, docs.count, docs.deleted, creation.date, creation.date.string, store.size, pri.store.size, dataset.size, completion.size, pri.completion.size, fielddata.memory_size, pri.fielddata.memory_size, fielddata.evictions, pri.fielddata.evictions, query_cache.memory_size, pri.query_cache.memory_size, query_cache.evictions, pri.query_cache.evictions, request_cache.memory_size, pri.request_cache.memory_size, request_cache.evictions, pri.request_cache.evictions, request_cache.hit_count, pri.request_cache.hit_count, request_cache.miss_count, pri.request_cache.miss_count, flush.total, pri.flush.total, flush.total_time, pri.flush.total_time, get.current, pri.get.current, get.time, pri.get.time, get.total, pri.get.total, get.exists_time, pri.get.exists_time, get.exists_total, pri.get.exists_total, get.missing_time, pri.get.missing_time, get.missing_total, pri.get.missing_total, indexing.delete_current, pri.indexing.delete_current, indexing.delete_time, pri.indexing.delete_time, indexing.delete_total, pri.indexing.delete_total, indexing.index_current, pri.indexing.index_current, indexing.index_time, pri.indexing.index_time, indexing.index_total, pri.indexing.index_total, indexing.index_failed, pri.indexing.index_failed, indexing.index_failed_due_to_version_conflict, pri.indexing.index_failed_due_to_version_conflict, merges.current, pri.merges.current, merges.current_docs, pri.merges.current_docs, merges.current_size, pri.merges.current_size, merges.total, pri.merges.total, merges.total_docs, pri.merges.total_docs, merges.total_size, pri.merges.total_size, merges.total_time, pri.merges.total_time, refresh.total, pri.refresh.total, refresh.time, pri.refresh.time, refresh.external_total, pri.refresh.external_total, refresh.external_time, pri.refresh.external_time, refresh.listeners, pri.refresh.listeners, search.fetch_current, pri.search.fetch_current, search.fetch_time, pri.search.fetch_time, search.fetch_total, pri.search.fetch_total, search.open_contexts, pri.search.open_contexts, search.query_current, pri.search.query_current, search.query_time, pri.search.query_time, search.query_total, pri.search.query_total, search.scroll_current, pri.search.scroll_current, search.scroll_time, pri.search.scroll_time, search.scroll_total, pri.search.scroll_total, segments.count, pri.segments.count, segments.memory, pri.segments.memory, segments.index_writer_memory, pri.segments.index_writer_memory, segments.version_map_memory, pri.segments.version_map_memory, segments.fixed_bitset_memory, pri.segments.fixed_bitset_memory, warmer.current, pri.warmer.current, warmer.total, pri.warmer.total, warmer.total_time, pri.warmer.total_time, suggest.current, pri.suggest.current, suggest.time, pri.suggest.time, suggest.total, pri.suggest.total, memory.total, pri.memory.total, bulk.total_operations, pri.bulk.total_operations, bulk.total_time, pri.bulk.total_time, bulk.total_size_in_bytes, pri.bulk.total_size_in_bytes, bulk.avg_time, pri.bulk.avg_time, bulk.avg_size_in_bytes, pri.bulk.avg_size_in_bytes, dense_vector.value_count, pri.dense_vector.value_count, sparse_vector.value_count, pri.sparse_vector.value_count)
32+
# @option arguments [String] :health A health status ("green", "yellow", or "red" to filter only indices matching the specified health status (options: green, yellow, red, unknown, unavailable)
3333
# @option arguments [Boolean] :help Return help information
3434
# @option arguments [Boolean] :pri Set to true to return stats only for primary shards
3535
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3636
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
3737
# @option arguments [Boolean] :v Verbose mode. Display column headers
3838
# @option arguments [Boolean] :include_unloaded_segments If set to true segment stats will include stats for segments that are not currently loaded into memory
39-
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
39+
# @option arguments [List] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
4040
# @option arguments [Hash] :headers Custom HTTP headers
4141
#
4242
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-indices.html

elasticsearch-api/lib/elasticsearch/api/actions/cat/master.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Actions
2727
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2828
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
2929
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
30-
# @option arguments [List] :h Comma-separated list of column names to display
30+
# @option arguments [List] :h Comma-separated list of column names to display (options: id, host, ip, node)
3131
# @option arguments [Boolean] :help Return help information
3232
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers

0 commit comments

Comments
 (0)