common-parms.asciidoc 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. tag::index-alias[]
  2. Comma-separated list or wildcard expression of index alias names
  3. used to limit the request.
  4. end::index-alias[]
  5. tag::allow-no-indices[]
  6. `allow_no_indices`::
  7. (Optional, boolean) If `true`, the request returns an error if a wildcard
  8. expression or `_all` value retrieves only missing or closed indices. This
  9. parameter also applies to <<indices-aliases,index aliases>> that point to a
  10. missing or closed index.
  11. end::allow-no-indices[]
  12. tag::analyzer[]
  13. analyzer`::
  14. (Optional, string) Analyzer to use for the query string.
  15. end::analyzer[]
  16. tag::analyze_wildcard[]
  17. `analyze_wildcard`::
  18. (Optional, boolean) If `true`, wildcard and prefix queries are
  19. analyzed. Defaults to `false`.
  20. end::analyze_wildcard[]
  21. tag::bytes[]
  22. `bytes`::
  23. (Optional, <<byte-units,byte size units>>) Unit used to display byte values.
  24. end::bytes[]
  25. tag::default_operator[]
  26. `default_operator`::
  27. (Optional, string) The default operator for query string query: AND or OR.
  28. Defaults to `OR`.
  29. end::default_operator[]
  30. tag::df[]
  31. `df`::
  32. (Optional, string) Field to use as default where no field prefix is
  33. given in the query string.
  34. end::df[]
  35. tag::expand-wildcards[]
  36. `expand_wildcards`::
  37. +
  38. --
  39. (Optional, string) Controls what kind of indices that wildcard
  40. expressions can expand to. Valid values are:
  41. `all`::
  42. Expand to open and closed indices.
  43. `open`::
  44. Expand only to open indices.
  45. `closed`::
  46. Expand only to closed indices.
  47. `none`::
  48. Wildcard expressions are not accepted.
  49. --
  50. end::expand-wildcards[]
  51. tag::flat-settings[]
  52. `flat_settings`::
  53. (Optional, boolean) If `true`, returns settings in flat format. Defaults to
  54. `false`.
  55. end::flat-settings[]
  56. tag::index-alias-filter[]
  57. <<query-dsl-bool-query, Filter query>>
  58. used to limit the index alias.
  59. +
  60. If specified,
  61. the index alias only applies to documents returned by the filter.
  62. end::index-alias-filter[]
  63. tag::http-format[]
  64. `format`::
  65. (Optional, string) Short version of the
  66. https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[HTTP accept header].
  67. Valid values include JSON, YAML, etc.
  68. end::http-format[]
  69. tag::from[]
  70. `from`::
  71. (Optional, integer) Starting document offset. Defaults to `0`.
  72. end::from[]
  73. tag::cat-h[]
  74. `h`::
  75. (Optional, string) Comma-separated list of column names to display.
  76. end::cat-h[]
  77. tag::help[]
  78. `help`::
  79. (Optional, boolean) If `true`, the response returns help information. Defaults
  80. to `false`.
  81. end::help[]
  82. tag::if_primary_term[]
  83. `if_primary_term`::
  84. (Optional, integer) Only perform the operation if the document has
  85. this primary term. See <<optimistic-concurrency-control-index>>.
  86. end::if_primary_term[]
  87. tag::if_seq_no[]
  88. `if_seq_no`::
  89. (Optional, integer) Only perform the operation if the document has this
  90. sequence number. See <<optimistic-concurrency-control-index>>.
  91. end::if_seq_no[]
  92. tag::include-defaults[]
  93. `include_defaults`::
  94. (Optional, string) If `true`, return all default settings in the response.
  95. Defaults to `false`.
  96. end::include-defaults[]
  97. tag::include-type-name[]
  98. `include_type_name`::
  99. deprecated:[7.0.0, Mapping types have been deprecated. See <<removal-of-types>>.]
  100. (Optional, boolean) If `true`, a mapping type is expected in the body of
  101. mappings. Defaults to `false`.
  102. end::include-type-name[]
  103. tag::index-ignore-unavailable[]
  104. `ignore_unavailable`::
  105. (Optional, boolean) If `true`, missing or closed indices are not included in the
  106. response. Defaults to `false`.
  107. end::index-ignore-unavailable[]
  108. tag::include-unloaded-segments[]
  109. `include_unloaded_segments`::
  110. (Optional, boolean) If `true`, the response includes information from segments
  111. that are **not** loaded into memory. Defaults to `false`.
  112. end::include-unloaded-segments[]
  113. tag::index[]
  114. `<index>`::
  115. (Optional, string) Comma-separated list or wildcard expression of index names
  116. used to limit the request.
  117. end::index[]
  118. tag::lenient[]
  119. `lenient`::
  120. (Optional, boolean) If `true`, format-based query failures (such as
  121. providing text to a numeric field) will be ignored. Defaults to `false`.
  122. end::lenient[]
  123. tag::local[]
  124. `local`::
  125. (Optional, boolean) If `true`, the request retrieves information from the local
  126. node only. Defaults to `false`, which means information is retrieved from
  127. the master node.
  128. end::local[]
  129. tag::max_docs[]
  130. `max_docs`::
  131. (Optional, integer) Maximum number of documents to process. Defaults to all
  132. documents.
  133. end::max_docs[]
  134. tag::name[]
  135. `<name>`::
  136. (Optional, string) Comma-separated list of alias names to return.
  137. end::name[]
  138. tag::node-id[]
  139. `<node_id>`::
  140. (Optional, string) Comma-separated list of node IDs or names used to limit
  141. returned information.
  142. end::node-id[]
  143. tag::pipeline[]
  144. `pipeline`::
  145. (Optional, string) ID of the pipeline to use to preprocess incoming documents.
  146. end::pipeline[]
  147. tag::preference[]
  148. `preference`::
  149. (Optional, string) Specifies the node or shard the operation should be
  150. performed on. Random by default.
  151. end::preference[]
  152. tag::search-q[]
  153. `q`::
  154. (Optional, string) Query in the Lucene query string syntax.
  155. end::search-q[]
  156. tag::refresh[]
  157. `refresh`::
  158. (Optional, enum) If `true`, {es} refreshes the affected shards to make this
  159. operation visible to search, if `wait_for` then wait for a refresh to make
  160. this operation visible to search, if `false` do nothing with refreshes.
  161. Valid values: `true`, `false`, `wait_for`. Default: `false`.
  162. end::refresh[]
  163. tag::request_cache[]
  164. `request_cache`::
  165. (Optional, boolean) Specifies if the request cache should be used for this
  166. request. Defaults to the index-level setting.
  167. end::request_cache[]
  168. tag::requests_per_second[]
  169. `requests_per_second`::
  170. (Optional, integer) The throttle for this request in sub-requests per second.
  171. -1 means no throttle. Defaults to 0.
  172. end::requests_per_second[]
  173. tag::routing[]
  174. `routing`::
  175. (Optional, string) Target the specified primary shard.
  176. end::routing[]
  177. tag::cat-s[]
  178. `s`::
  179. (Optional, string) Comma-separated list of column names or column aliases used
  180. to sort the response.
  181. end::cat-s[]
  182. tag::scroll[]
  183. `scroll`::
  184. (Optional, <<time-units, time units>>) Specifies how long a consistent view of
  185. the index should be maintained for scrolled search.
  186. end::scroll[]
  187. tag::scroll_size[]
  188. `scroll_size`::
  189. (Optional, integer) Size of the scroll request that powers the operation.
  190. Defaults to 100.
  191. end::scroll_size[]
  192. tag::search_timeout[]
  193. `search_timeout`::
  194. (Optional, <<time-units, time units>> Explicit timeout for each search
  195. request. Defaults to no timeout.
  196. end::search_timeout[]
  197. tag::search_type[]
  198. `search_type`::
  199. (Optional, string) The type of the search operation. Available options:
  200. * `query_then_fetch`
  201. * `dfs_query_then_fetch`
  202. end::search_type[]
  203. tag::slices[]
  204. `slices`::
  205. (Optional, integer) The number of slices this task should be divided into.
  206. Defaults to 1 meaning the task isn't sliced into subtasks.
  207. end::slices[]
  208. tag::sort[]
  209. `sort`::
  210. (Optional, string) A comma-separated list of <field>:<direction> pairs.
  211. end::sort[]
  212. tag::source[]
  213. `_source`::
  214. (Optional, string) True or false to return the `_source` field or not, or a
  215. list of fields to return.
  216. end::source[]
  217. tag::source_excludes[]
  218. `_source_excludes`::
  219. (Optional, string) A list of fields to exclude from the returned `_source`
  220. field.
  221. end::source_excludes[]
  222. tag::source_includes[]
  223. `_source_includes`::
  224. (Optional, string) A list of fields to extract and return from the `_source`
  225. field.
  226. end::source_includes[]
  227. tag::stats[]
  228. `stats`::
  229. (Optional, string) Specific `tag` of the request for logging and statistical
  230. purposes.
  231. end::stats[]
  232. tag::terminate_after[]
  233. `terminate_after`::
  234. (Optional, integer) The maximum number of documents to collect for each shard,
  235. upon reaching which the query execution will terminate early.
  236. end::terminate_after[]
  237. tag::timeoutparms[]
  238. tag::timeout[]
  239. `timeout`::
  240. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  241. a response. If no response is received before the timeout expires, the request
  242. fails and returns an error. Defaults to `30s`.
  243. end::timeout[]
  244. tag::master-timeout[]
  245. `master_timeout`::
  246. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  247. a connection to the master node. If no response is received before the timeout
  248. expires, the request fails and returns an error. Defaults to `30s`.
  249. end::master-timeout[]
  250. end::timeoutparms[]
  251. tag::cat-v[]
  252. `v`::
  253. (Optional, boolean) If `true`, the response includes column headings. Defaults
  254. to `false`.
  255. end::cat-v[]
  256. tag::version[]
  257. `version`::
  258. (Optional, boolean) If `true`, returns the document version as part of a hit.
  259. end::version[]
  260. tag::index-routing[]
  261. `routing`::
  262. (Optional, string)
  263. Custom <<mapping-routing-field, routing value>>
  264. used to route operations to a specific shard.
  265. end::index-routing[]
  266. tag::doc-version[]
  267. `version`::
  268. (Optional, integer) Explicit version number for concurrency control.
  269. The specified version must match the current version of the document for the
  270. request to succeed.
  271. end::doc-version[]
  272. tag::version_type[]
  273. `version_type`::
  274. (Optional, enum) Specific version type: `internal`, `external`,
  275. `external_gte`, `force`.
  276. end::version_type[]
  277. tag::wait_for_active_shards[]
  278. `wait_for_active_shards`::
  279. +
  280. --
  281. (Optional, string) The number of shard copies that must be active before
  282. proceeding with the operation. Set to `all` or any positive integer up
  283. to the total number of shards in the index (`number_of_replicas+1`).
  284. Default: 1, the primary shard.
  285. See <<index-wait-for-active-shards>>.
  286. --
  287. end::wait_for_active_shards[]
  288. tag::wait_for_completion[]
  289. `wait_for_completion`::
  290. (Optional, boolean) Should the request block until the operation is
  291. complete. Defaults to `true`.
  292. end::wait_for_completion[]