Skip to content

Commit 5327d74

Browse files
committed
[API] Update API removing duplicate documented parameters
1 parent 1971355 commit 5327d74

File tree

7 files changed

+0
-7
lines changed

7 files changed

+0
-7
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ module Actions
2626
# @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)
2727
# @option arguments [String] :routing Specific routing value
2828
# @option arguments [Time] :timeout Explicit operation timeout
29-
# @option arguments [String] :type Default document type for items which don't provide one
3029
# @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
3130
# @option arguments [List] :_source_excludes Default list of fields to exclude from the returned _source field, can be overridden on each sub-request
3231
# @option arguments [List] :_source_includes Default list of fields to extract and return from the _source field, can be overridden on each sub-request

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module Actions
2828
# @option arguments [Boolean] :help Return help information
2929
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3030
# @option arguments [Boolean] :v Verbose mode. Display column headers
31-
# @option arguments [List] :fields A comma-separated list of fields to return in the output
3231
# @option arguments [Hash] :headers Custom HTTP headers
3332
#
3433
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-fielddata.html

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module Actions
2828
# @option arguments [Boolean] :detailed If `true`, the response includes detailed information about shard recoveries
2929
# @option arguments [List] :h Comma-separated list of column names to display
3030
# @option arguments [Boolean] :help Return help information
31-
# @option arguments [List] :index Comma-separated list or wildcard expression of index names to limit the returned information
3231
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3332
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
3433
# @option arguments [Boolean] :v Verbose mode. Display column headers

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module Actions
2222
# Performs the analysis process on a text and return the tokens breakdown of the text.
2323
#
2424
# @option arguments [String] :index The name of the index to scope the operation
25-
# @option arguments [String] :index The name of the index to scope the operation
2625
# @option arguments [Hash] :headers Custom HTTP headers
2726
# @option arguments [Hash] :body Define analyzer/tokenizer parameters and the text on which the analysis should be performed
2827
#

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module Actions
2828
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
2929
# @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)
3030
# @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)
31-
# @option arguments [List] :index A comma-separated list of index name to limit the operation
3231
# @option arguments [Boolean] :request Clear request cache
3332
# @option arguments [Hash] :headers Custom HTTP headers
3433
#

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ module Actions
2424
# @option arguments [String] :context Script context
2525
# @option arguments [Time] :timeout Explicit operation timeout
2626
# @option arguments [Time] :master_timeout Specify timeout for connection to master
27-
# @option arguments [String] :context Context name to compile script against
2827
# @option arguments [Hash] :headers Custom HTTP headers
2928
# @option arguments [Hash] :body The document (*Required*)
3029
#

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module Actions
2222
#
2323
# @option arguments [String] :scroll_id The scroll ID *Deprecated*
2424
# @option arguments [Time] :scroll Specify how long a consistent view of the index should be maintained for scrolled search
25-
# @option arguments [String] :scroll_id The scroll ID for scrolled search
2625
# @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
2726
# @option arguments [Hash] :headers Custom HTTP headers
2827
# @option arguments [Hash] :body The scroll ID if not passed by URL or query parameter.

0 commit comments

Comments
 (0)