common-parms.asciidoc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. tag::allow-no-indices[]
  2. `allow_no_indices`::
  3. (Optional, boolean) If `true`, the request returns an error if a wildcard
  4. expression or `_all` value retrieves only missing or closed indices. This
  5. parameter also applies to <<indices-aliases,index aliases>> that point to a
  6. missing or closed index.
  7. end::allow-no-indices[]
  8. tag::bytes[]
  9. `bytes`::
  10. (Optional, <<byte-units,byte size units>>) Unit used to display byte values.
  11. end::bytes[]
  12. tag::expand-wildcards[]
  13. `expand_wildcards`::
  14. +
  15. --
  16. (Optional, string) Controls what kind of indices that wildcard
  17. expressions can expand to. Valid values are:
  18. `all`::
  19. Expand to open and closed indices.
  20. `open`::
  21. Expand only to open indices.
  22. `closed`::
  23. Expand only to closed indices.
  24. `none`::
  25. Wildcard expressions are not accepted.
  26. --
  27. end::expand-wildcards[]
  28. tag::cat-h[]
  29. `h`::
  30. (Optional, string) Comma-separated list of column names to display.
  31. end::cat-h[]
  32. tag::flat-settings[]
  33. `flat_settings`::
  34. (Optional, boolean) If `true`, returns settings in flat format. Defaults to
  35. `false`.
  36. end::flat-settings[]
  37. tag::help[]
  38. `help`::
  39. (Optional, boolean) If `true`, the response returns help information. Defaults
  40. to `false`.
  41. end::help[]
  42. tag::http-format[]
  43. `format`::
  44. (Optional, string) Short version of the
  45. https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[HTTP accept header].
  46. Valid values include JSON, YAML, etc.
  47. end::http-format[]
  48. tag::include-type-name[]
  49. `include_type_name`::
  50. deprecated:[7.0.0, Mapping types have been deprecated. See <<removal-of-types>>.]
  51. (Optional, boolean) If `true`, a mapping type is expected in the body of
  52. mappings. Defaults to `false`.
  53. end::include-type-name[]
  54. tag::index-ignore-unavailable[]
  55. `ignore_unavailable`::
  56. (Optional, boolean) If `true`, missing or closed indices are not included in the
  57. response. Defaults to `false`.
  58. end::index-ignore-unavailable[]
  59. tag::include-unloaded-segments[]
  60. `include_unloaded_segments`::
  61. (Optional, boolean) If `true`, the response includes information from segments
  62. that are **not** loaded into memory. Defaults to `false`.
  63. end::include-unloaded-segments[]
  64. tag::index[]
  65. `<index>`::
  66. (Optional, string) Comma-separated list or wildcard expression of index names
  67. used to limit the request.
  68. end::index[]
  69. tag::local[]
  70. `local`::
  71. (Optional, boolean) If `true`, the request retrieves information from the local
  72. node only. Defaults to `false`, which means information is retrieved from
  73. the master node.
  74. end::local[]
  75. tag::name[]
  76. `<name>`::
  77. (Optional, string) Comma-separated list of alias names to return.
  78. end::name[]
  79. tag::node-id[]
  80. `<node_id>`::
  81. (Optional, string) Comma-separated list of node IDs or names used to limit
  82. returned information.
  83. end::node-id[]
  84. tag::cat-s[]
  85. `s`::
  86. (Optional, string) Comma-separated list of column names or column aliases used
  87. to sort the response.
  88. end::cat-s[]
  89. tag::cat-v[]
  90. `v`::
  91. (Optional, boolean) If `true`, the response includes column headings. Defaults
  92. to `false`.
  93. end::cat-v[]
  94. tag::doc-pipeline[]
  95. `pipeline`::
  96. (Optional, string) ID of the pipeline to use to preprocess incoming documents.
  97. end::doc-pipeline[]
  98. tag::doc-refresh[]
  99. `refresh`::
  100. (Optional, enum) If `true`, {es} refreshes the affected shards to make this
  101. operation visible to search, if `wait_for` then wait for a refresh to make
  102. this operation visible to search, if `false` do nothing with refreshes.
  103. Valid values: `true`, `false`, `wait_for`. Default: `false`.
  104. end::doc-refresh[]
  105. tag::doc-seq-no[]
  106. `if_seq_no`::
  107. (Optional, integer) Only perform the operation if the document has this
  108. sequence number. See <<optimistic-concurrency-control-index>>.
  109. end::doc-seq-no[]
  110. tag::doc-primary-term[]
  111. `if_primary_term`::
  112. (Optional, integer) Only perform the operation if the document has
  113. this primary term. See <<optimistic-concurrency-control-index>>.
  114. end::doc-primary-term[]
  115. tag::doc-routing[]
  116. `routing`::
  117. (Optional, string) Target the specified primary shard.
  118. end::doc-routing[]
  119. tag::doc-version[]
  120. `version`::
  121. (Optional, integer) Explicit version number for concurrency control.
  122. The specified version must match the current version of the document for the
  123. request to succeed.
  124. end::doc-version[]
  125. tag::doc-version-type[]
  126. `version_type`::
  127. (Optional, enum) Specific version type: `internal`, `external`,
  128. `external_gte`, `force`.
  129. end::doc-version-type[]
  130. tag::doc-wait-for-active-shards[]
  131. `wait_for_active_shards`::
  132. (Optional, string) The number of shard copies that must be active before
  133. proceeding with the operation. Set to `all` or any positive integer up
  134. to the total number of shards in the index (`number_of_replicas+1`).
  135. Default: 1, the primary shard.
  136. end::doc-wait-for-active-shards[]
  137. tag::timeoutparms[]
  138. tag::timeout[]
  139. `timeout`::
  140. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  141. a response. If no response is received before the timeout expires, the request
  142. fails and returns an error. Defaults to `30s`.
  143. end::timeout[]
  144. tag::master-timeout[]
  145. `master_timeout`::
  146. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  147. a connection to the master node. If no response is received before the timeout
  148. expires, the request fails and returns an error. Defaults to `30s`.
  149. end::master-timeout[]
  150. end::timeoutparms[]