common-parms.asciidoc 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153
  1. tag::actions[]
  2. `actions`::
  3. +
  4. --
  5. (Optional, string)
  6. Comma-separated list or wildcard expression
  7. of actions used to limit the request.
  8. Omit this parameter to return all actions.
  9. --
  10. end::actions[]
  11. tag::active-only[]
  12. `active_only`::
  13. (Optional, Boolean)
  14. If `true`,
  15. the response only includes ongoing shard recoveries.
  16. Defaults to `false`.
  17. end::active-only[]
  18. tag::index-alias[]
  19. Comma-separated list or wildcard expression of index alias names
  20. used to limit the request.
  21. end::index-alias[]
  22. tag::aliases[]
  23. `aliases`::
  24. (Optional, <<indices-aliases,alias object>>) Index aliases which include the
  25. index. See <<indices-aliases>>.
  26. end::aliases[]
  27. tag::target-index-aliases[]
  28. `aliases`::
  29. (Optional, <<indices-aliases,alias object>>)
  30. Index aliases which include the target index.
  31. See <<indices-aliases>>.
  32. end::target-index-aliases[]
  33. tag::allow-no-indices[]
  34. `allow_no_indices`::
  35. (Optional, Boolean)
  36. If `false`, the request returns an error if any wildcard expression,
  37. <<indices-aliases,index alias>>, or `_all` value targets only missing or closed
  38. indices. This behavior applies even if the request targets other open indices.
  39. For example, a request targeting `foo*,bar*` returns an error if an index
  40. starts with `foo` but no index starts with `bar`.
  41. end::allow-no-indices[]
  42. tag::allow-no-match-transforms1[]
  43. Specifies what to do when the request:
  44. +
  45. --
  46. * Contains wildcard expressions and there are no {transforms} that match.
  47. * Contains the `_all` string or no identifiers and there are no matches.
  48. * Contains wildcard expressions and there are only partial matches.
  49. The default value is `true`, which returns an empty `transforms` array when
  50. there are no matches and the subset of results when there are partial matches.
  51. If this parameter is `false`, the request returns a `404` status code when there
  52. are no matches or only partial matches.
  53. --
  54. end::allow-no-match-transforms1[]
  55. tag::allow-no-match-transforms2[]
  56. Specifies what to do when the request:
  57. +
  58. --
  59. * Contains wildcard expressions and there are no {transforms} that match.
  60. * Contains the `_all` string or no identifiers and there are no matches.
  61. * Contains wildcard expressions and there are only partial matches.
  62. The default value is `true`, which returns a successful acknowledgement message
  63. when there are no matches. When there are only partial matches, the API stops
  64. the appropriate {transforms}. For example, if the request contains
  65. `test-id1*,test-id2*` as the identifiers and there are no {transforms}
  66. that match `test-id2*`, the API nonetheless stops the {transforms}
  67. that match `test-id1*`.
  68. If this parameter is `false`, the request returns a `404` status code when there
  69. are no matches or only partial matches.
  70. --
  71. end::allow-no-match-transforms2[]
  72. tag::analyzer[]
  73. `analyzer`::
  74. (Optional, string) Analyzer to use for the query string.
  75. end::analyzer[]
  76. tag::analyze_wildcard[]
  77. `analyze_wildcard`::
  78. (Optional, Boolean) If `true`, wildcard and prefix queries are
  79. analyzed. Defaults to `false`.
  80. end::analyze_wildcard[]
  81. tag::bytes[]
  82. `bytes`::
  83. (Optional, <<byte-units,byte size units>>) Unit used to display byte values.
  84. end::bytes[]
  85. tag::checkpointing-changes-last-detected-at[]
  86. The timestamp when changes were last detected in the source indices.
  87. end::checkpointing-changes-last-detected-at[]
  88. tag::checkpointing-last-search-time[]
  89. The timestamp of the last search in the source indices. This field is only
  90. shown if the transform is running.
  91. end::checkpointing-last-search-time[]
  92. tag::cluster-health-status[]
  93. (string)
  94. Health status of the cluster, based on the state of its primary and replica
  95. shards. Statuses are:
  96. `green`:::
  97. All shards are assigned.
  98. `yellow`:::
  99. All primary shards are assigned, but one or more replica shards are
  100. unassigned. If a node in the cluster fails, some
  101. data could be unavailable until that node is repaired.
  102. `red`:::
  103. One or more primary shards are unassigned, so some data is unavailable. This
  104. can occur briefly during cluster startup as primary shards are assigned.
  105. end::cluster-health-status[]
  106. tag::committed[]
  107. If `true`,
  108. the segments is synced to disk. Segments that are synced can survive a hard reboot.
  109. +
  110. If `false`,
  111. the data from uncommitted segments is also stored in
  112. the transaction log so that Elasticsearch is able to replay
  113. changes on the next start.
  114. end::committed[]
  115. tag::completion-fields[]
  116. `completion_fields`::
  117. (Optional, string)
  118. Comma-separated list or wildcard expressions of fields
  119. to include in `fielddata` and `suggest` statistics.
  120. end::completion-fields[]
  121. tag::delete-time-ms[]
  122. The amount of time spent deleting, in milliseconds.
  123. end::delete-time-ms[]
  124. tag::default_operator[]
  125. `default_operator`::
  126. (Optional, string) The default operator for query string query: AND or OR.
  127. Defaults to `OR`.
  128. end::default_operator[]
  129. tag::dest[]
  130. The destination for the {transform}.
  131. end::dest[]
  132. tag::dest-index[]
  133. The _destination index_ for the {transform}. The mappings of the destination
  134. index are deduced based on the source fields when possible. If alternate
  135. mappings are required, use the
  136. https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html[Create index API]
  137. prior to starting the {transform}.
  138. end::dest-index[]
  139. tag::dest-pipeline[]
  140. The unique identifier for a <<pipeline,pipeline>>.
  141. end::dest-pipeline[]
  142. tag::detailed[]
  143. `detailed`::
  144. (Optional, Boolean)
  145. If `true`,
  146. the response includes detailed information about shard recoveries.
  147. Defaults to `false`.
  148. end::detailed[]
  149. tag::df[]
  150. `df`::
  151. (Optional, string) Field to use as default where no field prefix is
  152. given in the query string.
  153. end::df[]
  154. tag::docs-count[]
  155. The number of documents as reported by Lucene. This excludes deleted documents
  156. and counts any <<nested,nested documents>> separately from their parents. It
  157. also excludes documents which were indexed recently and do not yet belong to a
  158. segment.
  159. end::docs-count[]
  160. tag::docs-deleted[]
  161. The number of deleted documents as reported by Lucene, which may be higher or
  162. lower than the number of delete operations you have performed. This number
  163. excludes deletes that were performed recently and do not yet belong to a
  164. segment. Deleted documents are cleaned up by the
  165. <<index-modules-merge,automatic merge process>> if it makes sense to do so.
  166. Also, {es} creates extra deleted documents to internally track the recent
  167. history of operations on a shard.
  168. end::docs-deleted[]
  169. tag::docs-deleted-transform[]
  170. The number of documents that have been deleted from the destination index due to
  171. the retention policy for this {transform}.
  172. end::docs-deleted-transform[]
  173. tag::docs-indexed[]
  174. The number of documents that have been indexed into the destination index
  175. for the {transform}.
  176. end::docs-indexed[]
  177. tag::docs-processed[]
  178. The number of documents that have been processed from the source index of
  179. the {transform}.
  180. end::docs-processed[]
  181. tag::enrich-policy[]
  182. Enrich policy name
  183. used to limit the request.
  184. end::enrich-policy[]
  185. tag::ds-expand-wildcards[]
  186. `expand_wildcards`::
  187. +
  188. --
  189. (Optional, string)
  190. Type of data stream that wildcard expressions can match. Supports
  191. comma-separated values, such as `open,hidden`. Valid values are:
  192. `all`, `hidden`::
  193. Match any data stream, including <<hidden-indices,hidden>> ones.
  194. `open`, `closed`::
  195. Matches any non-hidden data stream. Data streams cannot be closed.
  196. `none`::
  197. Wildcard expressions are not accepted.
  198. --
  199. end::ds-expand-wildcards[]
  200. tag::expand-wildcards[]
  201. `expand_wildcards`::
  202. +
  203. --
  204. (Optional, string)
  205. Type of index that wildcard expressions can match. If the request can target
  206. data streams, this argument determines whether wildcard expressions match
  207. hidden data streams. Supports comma-separated values, such as `open,hidden`.
  208. Valid values are:
  209. `all`::
  210. Match any data stream or index, including <<hidden-indices,hidden>> ones.
  211. `open`::
  212. Match open, non-hidden indices. Also matches any non-hidden data stream.
  213. `closed`::
  214. Match closed, non-hidden indices. Also matches any non-hidden data stream. Data
  215. streams cannot be closed.
  216. `hidden`::
  217. Match hidden data streams and hidden indices. Must be combined with `open`,
  218. `closed`, or both.
  219. `none`::
  220. Wildcard expressions are not accepted.
  221. --
  222. end::expand-wildcards[]
  223. tag::exponential-avg-checkpoint-duration-ms[]
  224. Exponential moving average of the duration of the checkpoint, in milliseconds.
  225. end::exponential-avg-checkpoint-duration-ms[]
  226. tag::exponential-avg-documents-indexed[]
  227. Exponential moving average of the number of new documents that have been
  228. indexed.
  229. end::exponential-avg-documents-indexed[]
  230. tag::exponential-avg-documents-processed[]
  231. Exponential moving average of the number of documents that have been
  232. processed.
  233. end::exponential-avg-documents-processed[]
  234. tag::field_statistics[]
  235. `field_statistics`::
  236. (Optional, Boolean) If `true`, the response includes the document count, sum of document frequencies,
  237. and sum of total term frequencies.
  238. Defaults to `true`.
  239. end::field_statistics[]
  240. tag::fielddata-fields[]
  241. `fielddata_fields`::
  242. (Optional, string)
  243. Comma-separated list or wildcard expressions of fields
  244. to include in `fielddata` statistics.
  245. end::fielddata-fields[]
  246. tag::fields[]
  247. `fields`::
  248. +
  249. --
  250. (Optional, string)
  251. Comma-separated list or wildcard expressions of fields
  252. to include in the statistics.
  253. Used as the default list
  254. unless a specific field list is provided
  255. in the `completion_fields` or `fielddata_fields` parameters.
  256. --
  257. end::fields[]
  258. tag::index-alias-filter[]
  259. <<query-dsl-bool-query, Filter query>>
  260. used to limit the index alias.
  261. +
  262. If specified,
  263. the index alias only applies to documents returned by the filter.
  264. end::index-alias-filter[]
  265. tag::flat-settings[]
  266. `flat_settings`::
  267. (Optional, Boolean) If `true`, returns settings in flat format. Defaults to
  268. `false`.
  269. end::flat-settings[]
  270. tag::http-format[]
  271. `format`::
  272. (Optional, string) Short version of the
  273. https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[HTTP accept header].
  274. Valid values include JSON, YAML, etc.
  275. end::http-format[]
  276. tag::frequency[]
  277. The interval between checks for changes in the source indices when the
  278. {transform} is running continuously. Also determines the retry interval in the
  279. event of transient failures while the {transform} is searching or indexing. The
  280. minimum value is `1s` and the maximum is `1h`. The default value is `1m`.
  281. end::frequency[]
  282. tag::from[]
  283. `from`::
  284. (Optional, integer) Starting document offset. Needs to be non-negative and defaults to `0`.
  285. end::from[]
  286. tag::from-transforms[]
  287. Skips the specified number of {transforms}. The default value is `0`.
  288. end::from-transforms[]
  289. tag::generation[]
  290. Generation number, such as `0`. {es} increments this generation number
  291. for each segment written. {es} then uses this number to derive the segment name.
  292. end::generation[]
  293. tag::group-by[]
  294. `group_by`::
  295. +
  296. --
  297. (Optional, string)
  298. Key used to group tasks in the response.
  299. Possible values are:
  300. `nodes`::
  301. (Default)
  302. Node ID
  303. `parents`::
  304. Parent task ID
  305. `none`::
  306. Do not group tasks.
  307. --
  308. end::group-by[]
  309. tag::groups[]
  310. `groups`::
  311. (Optional, string)
  312. Comma-separated list of search groups
  313. to include in the `search` statistics.
  314. end::groups[]
  315. tag::cat-h[]
  316. `h`::
  317. (Optional, string) Comma-separated list of column names to display.
  318. end::cat-h[]
  319. tag::help[]
  320. `help`::
  321. (Optional, Boolean) If `true`, the response includes help information. Defaults
  322. to `false`.
  323. end::help[]
  324. tag::bulk-id[]
  325. `_id`::
  326. (Optional, string)
  327. The document ID.
  328. If no ID is specified, a document ID is automatically generated.
  329. end::bulk-id[]
  330. tag::if_primary_term[]
  331. `if_primary_term`::
  332. (Optional, integer) Only perform the operation if the document has
  333. this primary term. See <<optimistic-concurrency-control-index>>.
  334. end::if_primary_term[]
  335. tag::if_seq_no[]
  336. `if_seq_no`::
  337. (Optional, integer) Only perform the operation if the document has this
  338. sequence number. See <<optimistic-concurrency-control-index>>.
  339. end::if_seq_no[]
  340. tag::ignore_throttled[]
  341. `ignore_throttled`::
  342. (Optional, Boolean) If `true`, concrete, expanded or aliased indices are
  343. ignored when frozen. Defaults to `true`.
  344. end::ignore_throttled[]
  345. tag::index-ignore-unavailable[]
  346. `ignore_unavailable`::
  347. (Optional, Boolean) If `true`, missing or closed indices are not included in the
  348. response. Defaults to `false`.
  349. end::index-ignore-unavailable[]
  350. tag::include-defaults[]
  351. `include_defaults`::
  352. (Optional, string) If `true`, return all default settings in the response.
  353. Defaults to `false`.
  354. end::include-defaults[]
  355. tag::include-segment-file-sizes[]
  356. `include_segment_file_sizes`::
  357. (Optional, Boolean)
  358. If `true`, the call reports the aggregated disk usage of
  359. each one of the Lucene index files (only applies if segment stats are
  360. requested). Defaults to `false`.
  361. end::include-segment-file-sizes[]
  362. tag::include-unloaded-segments[]
  363. `include_unloaded_segments`::
  364. (Optional, Boolean) If `true`, the response includes information from segments
  365. that are **not** loaded into memory. Defaults to `false`.
  366. end::include-unloaded-segments[]
  367. tag::index-query-parm[]
  368. `index`::
  369. (Optional, string)
  370. Comma-separated list or wildcard expression of index names
  371. used to limit the request.
  372. end::index-query-parm[]
  373. tag::index[]
  374. `<index>`::
  375. (Optional, string) Comma-separated list or wildcard expression of index names
  376. used to limit the request.
  377. end::index[]
  378. tag::index-failures[]
  379. The number of indexing failures.
  380. end::index-failures[]
  381. tag::index-time-ms[]
  382. The amount of time spent indexing, in milliseconds.
  383. end::index-time-ms[]
  384. tag::index-total[]
  385. The number of indices created.
  386. end::index-total[]
  387. tag::bulk-index[]
  388. `_index`::
  389. (Optional, string)
  390. Name of the data stream, index, or index alias to perform the action on. This
  391. parameter is required if a `<target>` is not specified in the request path.
  392. end::bulk-index[]
  393. tag::index-metric[]
  394. `<index-metric>`::
  395. +
  396. --
  397. (Optional, string)
  398. Comma-separated list of metrics used to limit the request.
  399. Supported metrics are:
  400. `_all`::
  401. Return all statistics.
  402. `completion`::
  403. <<completion-suggester,Completion suggester>> statistics.
  404. `docs`::
  405. Number of documents and deleted docs, which have not yet merged out.
  406. <<indices-refresh,Index refreshes>> can affect this statistic.
  407. `fielddata`::
  408. <<fielddata,Fielddata>> statistics.
  409. `flush`::
  410. <<indices-flush,Flush>> statistics.
  411. `get`::
  412. Get statistics,
  413. including missing stats.
  414. `indexing`::
  415. <<docs-index_,Indexing>> statistics.
  416. `merge`::
  417. <<index-modules-merge,Merge>> statistics.
  418. `query_cache`::
  419. <<query-cache,Query cache>> statistics.
  420. `refresh`::
  421. <<indices-refresh,Refresh>> statistics.
  422. `request_cache`::
  423. <<shard-request-cache,Shard request cache>> statistics.
  424. `search`::
  425. Search statistics including suggest statistics.
  426. You can include statistics for custom groups
  427. by adding an extra `groups` parameter
  428. (search operations can be associated with one or more groups).
  429. The `groups` parameter accepts a comma separated list of group names.
  430. Use `_all` to return statistics for all groups.
  431. `segments`::
  432. Memory use of all open segments.
  433. +
  434. If the `include_segment_file_sizes` parameter is `true`,
  435. this metric includes the aggregated disk usage
  436. of each Lucene index file.
  437. `store`::
  438. Size of the index in <<byte-units, byte units>>.
  439. `suggest`::
  440. <<search-suggesters,Suggester>> statistics.
  441. `translog`::
  442. <<index-modules-translog,Translog>> statistics.
  443. `warmer`::
  444. <<indices-warmers,Warmer>> statistics.
  445. --
  446. end::index-metric[]
  447. tag::index-template[]
  448. `<index-template>`::
  449. (Required, string)
  450. Comma-separated list of index template names used to limit the request. Wildcard
  451. (`*`) expressions are supported.
  452. end::index-template[]
  453. tag::component-template[]
  454. `<component-template>`::
  455. (Required, string)
  456. Comma-separated list or wildcard expression of component template names
  457. used to limit the request.
  458. end::component-template[]
  459. tag::lenient[]
  460. `lenient`::
  461. (Optional, Boolean) If `true`, format-based query failures (such as
  462. providing text to a numeric field) will be ignored. Defaults to `false`.
  463. end::lenient[]
  464. tag::level[]
  465. `level`::
  466. +
  467. --
  468. (Optional, string)
  469. Indicates whether statistics are aggregated
  470. at the cluster, index, or shard level.
  471. Valid values are:
  472. * `cluster`
  473. * `indices`
  474. * `shards`
  475. --
  476. end::level[]
  477. tag::local[]
  478. `local`::
  479. (Optional, Boolean) If `true`, the request retrieves information from the local
  480. node only. Defaults to `false`, which means information is retrieved from
  481. the master node.
  482. end::local[]
  483. tag::mappings[]
  484. `mappings`::
  485. +
  486. --
  487. (Optional, <<mapping,mapping object>>) Mapping for fields in the index. If
  488. specified, this mapping can include:
  489. * Field names
  490. * <<mapping-types,Field data types>>
  491. * <<mapping-params,Mapping parameters>>
  492. See <<mapping>>.
  493. --
  494. end::mappings[]
  495. tag::max_docs[]
  496. `max_docs`::
  497. (Optional, integer) Maximum number of documents to process. Defaults to all
  498. documents.
  499. end::max_docs[]
  500. tag::memory[]
  501. Bytes of segment data stored in memory for efficient search,
  502. such as `1264`.
  503. +
  504. A value of `-1` indicates {es} was unable to compute this number.
  505. end::memory[]
  506. tag::bulk-require-alias[]
  507. `require_alias`::
  508. (Optional, Boolean)
  509. If `true`, the action must target an <<indices-aliases,index alias>>. Defaults
  510. to `false`.
  511. end::bulk-require-alias[]
  512. tag::require-alias[]
  513. `require_alias`::
  514. (Optional, Boolean)
  515. If `true`, the destination must be an <<indices-aliases,index alias>>. Defaults to
  516. `false`.
  517. end::require-alias[]
  518. tag::node-filter[]
  519. `<node_filter>`::
  520. (Optional, string)
  521. Comma-separated list of <<cluster-nodes,node filters>> used to limit returned
  522. information. Defaults to all nodes in the cluster.
  523. end::node-filter[]
  524. tag::node-id[]
  525. `<node_id>`::
  526. (Optional, string) Comma-separated list of node IDs or names used to limit
  527. returned information.
  528. end::node-id[]
  529. tag::node-id-query-parm[]
  530. `node_id`::
  531. (Optional, string)
  532. Comma-separated list of node IDs or names
  533. used to limit returned information.
  534. end::node-id-query-parm[]
  535. tag::offsets[]
  536. `<offsets>`::
  537. (Optional, Boolean) If `true`, the response includes term offsets.
  538. Defaults to `true`.
  539. end::offsets[]
  540. tag::parent-task-id[]
  541. `parent_task_id`::
  542. +
  543. --
  544. (Optional, string)
  545. Parent task ID
  546. used to limit returned information.
  547. To return all tasks,
  548. omit this parameter
  549. or use a value of `-1`.
  550. --
  551. end::parent-task-id[]
  552. tag::payloads[]
  553. `payloads`::
  554. (Optional, Boolean) If `true`, the response includes term payloads.
  555. Defaults to `true`.
  556. end::payloads[]
  557. tag::pipeline[]
  558. `pipeline`::
  559. (Optional, string) ID of the pipeline to use to preprocess incoming documents.
  560. end::pipeline[]
  561. tag::pages-processed[]
  562. The number of search or bulk index operations processed. Documents are
  563. processed in batches instead of individually.
  564. end::pages-processed[]
  565. tag::pivot[]
  566. The `pivot` method transforms the data by aggregating and grouping it. These
  567. objects define the `group by` fields and the aggregation to reduce the data.
  568. end::pivot[]
  569. tag::pivot-aggs[]
  570. Defines how to aggregate the grouped data. The following aggregations are
  571. currently supported:
  572. +
  573. --
  574. * <<search-aggregations-metrics-avg-aggregation,Average>>
  575. * <<search-aggregations-pipeline-bucket-script-aggregation,Bucket script>>
  576. * <<search-aggregations-pipeline-bucket-selector-aggregation,Bucket selector>>
  577. * <<search-aggregations-metrics-cardinality-aggregation,Cardinality>>
  578. * <<search-aggregations-bucket-filter-aggregation,Filter>>
  579. * <<search-aggregations-metrics-geobounds-aggregation,Geo bounds>>
  580. * <<search-aggregations-metrics-geocentroid-aggregation,Geo centroid>>
  581. * <<search-aggregations-metrics-max-aggregation,Max>>
  582. * <<search-aggregations-metrics-median-absolute-deviation-aggregation,Median absolute deviation>>
  583. * <<search-aggregations-metrics-min-aggregation,Min>>
  584. * <<search-aggregations-bucket-missing-aggregation,Missing>>
  585. * <<search-aggregations-metrics-percentile-aggregation,Percentiles>>
  586. * <<search-aggregations-bucket-rare-terms-aggregation, Rare Terms>>
  587. * <<search-aggregations-metrics-scripted-metric-aggregation,Scripted metric>>
  588. * <<search-aggregations-metrics-sum-aggregation,Sum>>
  589. * <<search-aggregations-bucket-terms-aggregation, Terms>>
  590. * <<search-aggregations-metrics-valuecount-aggregation,Value count>>
  591. * <<search-aggregations-metrics-weight-avg-aggregation,Weighted average>>
  592. --
  593. end::pivot-aggs[]
  594. tag::pivot-group-by[]
  595. Defines how to group the data. More than one grouping can be defined per pivot.
  596. The following groupings are currently supported:
  597. +
  598. --
  599. * <<_date_histogram,Date histogram>>
  600. * <<_geotile_grid,Geotile Grid>>
  601. * <<_histogram,Histogram>>
  602. * <<_terms,Terms>>
  603. --
  604. end::pivot-group-by[]
  605. tag::positions[]
  606. `positions`::
  607. (Optional, Boolean) If `true`, the response includes term positions.
  608. Defaults to `true`.
  609. end::positions[]
  610. tag::preference[]
  611. `preference`::
  612. (Optional, string) Specifies the node or shard the operation should be
  613. performed on. Random by default.
  614. end::preference[]
  615. tag::processing-time-ms[]
  616. The amount of time spent processing results, in milliseconds.
  617. end::processing-time-ms[]
  618. tag::processing-total[]
  619. The number of processing operations.
  620. end::processing-total[]
  621. tag::search-q[]
  622. `q`::
  623. (Optional, string) Query in the Lucene query string syntax.
  624. end::search-q[]
  625. tag::query[]
  626. `query`::
  627. (Optional, <<query-dsl,query object>>) Defines the search definition using the
  628. <<query-dsl,Query DSL>>.
  629. end::query[]
  630. tag::realtime[]
  631. `realtime`::
  632. (Optional, Boolean) If `true`, the request is real-time as opposed to near-real-time.
  633. Defaults to `true`. See <<realtime>>.
  634. end::realtime[]
  635. tag::refresh[]
  636. `refresh`::
  637. (Optional, enum) If `true`, {es} refreshes the affected shards to make this
  638. operation visible to search, if `wait_for` then wait for a refresh to make
  639. this operation visible to search, if `false` do nothing with refreshes.
  640. Valid values: `true`, `false`, `wait_for`. Default: `false`.
  641. end::refresh[]
  642. tag::request_cache[]
  643. `request_cache`::
  644. (Optional, Boolean) If `true`, the request cache is used for this request.
  645. Defaults to the index-level setting.
  646. end::request_cache[]
  647. tag::requests_per_second[]
  648. `requests_per_second`::
  649. (Optional, integer) The throttle for this request in sub-requests per second.
  650. Defaults to `-1` (no throttle).
  651. end::requests_per_second[]
  652. tag::routing[]
  653. `routing`::
  654. (Optional, string) Target the specified primary shard.
  655. end::routing[]
  656. tag::index-routing[]
  657. `routing`::
  658. (Optional, string)
  659. Custom <<mapping-routing-field, routing value>>
  660. used to route operations to a specific shard.
  661. end::index-routing[]
  662. tag::cat-s[]
  663. `s`::
  664. (Optional, string) Comma-separated list of column names or column aliases used
  665. to sort the response.
  666. end::cat-s[]
  667. tag::scroll[]
  668. `scroll`::
  669. (Optional, <<time-units, time units>>) Specifies how long a consistent view of
  670. the index should be maintained for scrolled search.
  671. end::scroll[]
  672. tag::scroll_size[]
  673. `scroll_size`::
  674. (Optional, integer) Size of the scroll request that powers the operation.
  675. Defaults to 1000.
  676. end::scroll_size[]
  677. tag::search-failures[]
  678. The number of search failures.
  679. end::search-failures[]
  680. tag::search-time-ms[]
  681. The amount of time spent searching, in milliseconds.
  682. end::search-time-ms[]
  683. tag::search-total[]
  684. The number of search operations on the source index for the {transform}.
  685. end::search-total[]
  686. tag::search_type[]
  687. `search_type`::
  688. (Optional, string) The type of the search operation. Available options:
  689. * `query_then_fetch`
  690. * `dfs_query_then_fetch`
  691. end::search_type[]
  692. tag::segment[]
  693. Name of the segment, such as `_0`. The segment name is derived from
  694. the segment generation and used internally to create file names in the directory
  695. of the shard.
  696. end::segment[]
  697. tag::segment-search[]
  698. If `true`,
  699. the segment is searchable.
  700. +
  701. If `false`,
  702. the segment has most likely been written to disk
  703. but needs a <<indices-refresh,refresh>> to be searchable.
  704. end::segment-search[]
  705. tag::segment-size[]
  706. Disk space used by the segment, such as `50kb`.
  707. end::segment-size[]
  708. tag::settings[]
  709. `settings`::
  710. (Optional, <<index-modules-settings,index setting object>>) Configuration
  711. options for the index. See <<index-modules-settings>>.
  712. end::settings[]
  713. tag::target-index-settings[]
  714. `settings`::
  715. (Optional, <<index-modules-settings,index setting object>>)
  716. Configuration options for the target index.
  717. See <<index-modules-settings>>.
  718. end::target-index-settings[]
  719. tag::size-transforms[]
  720. Specifies the maximum number of {transforms} to obtain. The default value is
  721. `100`.
  722. end::size-transforms[]
  723. tag::slices[]
  724. `slices`::
  725. (Optional, integer) The number of slices this task should be divided into.
  726. Defaults to 1 meaning the task isn't sliced into subtasks.
  727. end::slices[]
  728. tag::sort[]
  729. `sort`::
  730. (Optional, string) A comma-separated list of <field>:<direction> pairs.
  731. end::sort[]
  732. tag::source[]
  733. `_source`::
  734. (Optional, string) True or false to return the `_source` field or not, or a
  735. list of fields to return.
  736. end::source[]
  737. tag::source_excludes[]
  738. `_source_excludes`::
  739. (Optional, string)
  740. A comma-separated list of <<mapping-source-field,source fields>> to exclude from
  741. the response.
  742. +
  743. You can also use this parameter to exclude fields from the subset specified in
  744. `_source_includes` query parameter.
  745. +
  746. If the `_source` parameter is `false`, this parameter is ignored.
  747. end::source_excludes[]
  748. tag::source_includes[]
  749. `_source_includes`::
  750. (Optional, string)
  751. A comma-separated list of <<mapping-source-field,source fields>> to
  752. include in the response.
  753. +
  754. If this parameter is specified, only these source fields are returned. You can
  755. exclude fields from this subset using the `_source_excludes` query parameter.
  756. +
  757. If the `_source` parameter is `false`, this parameter is ignored.
  758. end::source_includes[]
  759. tag::source-transforms[]
  760. The source of the data for the {transform}.
  761. end::source-transforms[]
  762. tag::source-index-transforms[]
  763. The _source indices_ for the {transform}. It can be a single index, an index
  764. pattern (for example, `"my-index-*"`), an array of indices (for example,
  765. `["my-index-000001", "my-index-000002"]`), or an array of index patterns (for example,
  766. `["my-index-*", "my-other-index-*"]`.
  767. end::source-index-transforms[]
  768. tag::source-query-transforms[]
  769. A query clause that retrieves a subset of data from the source index. See
  770. <<query-dsl>>.
  771. end::source-query-transforms[]
  772. tag::source-runtime-mappings-transforms[]
  773. Definitions of search-time runtime fields that can be used by the transform.
  774. end::source-runtime-mappings-transforms[]
  775. tag::state-transform[]
  776. The status of the {transform}, which can be one of the following values:
  777. +
  778. --
  779. * `aborting`: The {transform} is aborting.
  780. * `failed`: The {transform} failed. For more information about the failure,
  781. check the reason field.
  782. * `indexing`: The {transform} is actively processing data and creating new
  783. documents.
  784. * `started`: The {transform} is running but not actively indexing data.
  785. * `stopped`: The {transform} is stopped.
  786. * `stopping`: The {transform} is stopping.
  787. --
  788. end::state-transform[]
  789. tag::state-transform-reason[]
  790. If a {transform} has a `failed` state, this property provides details about the
  791. reason for the failure.
  792. end::state-transform-reason[]
  793. tag::stats[]
  794. `stats`::
  795. (Optional, string) Specific `tag` of the request for logging and statistical
  796. purposes.
  797. end::stats[]
  798. tag::stored_fields[]
  799. `stored_fields`::
  800. (Optional, Boolean) If `true`, retrieves the document fields stored in the
  801. index rather than the document `_source`. Defaults to `false`.
  802. end::stored_fields[]
  803. tag::sync[]
  804. Defines the properties {transforms} require to run continuously.
  805. end::sync[]
  806. tag::sync-time[]
  807. Specifies that the {transform} uses a time field to synchronize the source and
  808. destination indices.
  809. end::sync-time[]
  810. tag::sync-time-field[]
  811. The date field that is used to identify new documents in the source.
  812. end::sync-time-field[]
  813. tag::sync-time-delay[]
  814. The time delay between the current time and the latest input data time. The
  815. default value is `60s`.
  816. end::sync-time-delay[]
  817. tag::transform-latest[]
  818. The `latest` method transforms the data by finding the latest document for each
  819. unique key.
  820. end::transform-latest[]
  821. tag::transform-retention[]
  822. Defines a retention policy for the {transform}. Data that meets the defined
  823. criteria is deleted from the destination index.
  824. end::transform-retention[]
  825. tag::transform-retention-time[]
  826. Specifies that the {transform} uses a time field to set the retention policy.
  827. end::transform-retention-time[]
  828. tag::transform-retention-time-field[]
  829. The date field that is used to calculate the age of the document.
  830. end::transform-retention-time-field[]
  831. tag::transform-retention-time-max-age[]
  832. Specifies the maximum age of a document in the destination index. Documents that
  833. are older than the configured value are removed from the destination index.
  834. end::transform-retention-time-max-age[]
  835. tag::transform-settings[]
  836. Defines optional {transform} settings.
  837. end::transform-settings[]
  838. tag::transform-settings-dates-as-epoch-milli[]
  839. Defines if dates in the ouput should be written as ISO formatted string (default)
  840. or as millis since epoch. `epoch_millis` has been the default for transforms created
  841. before version `7.11`. For compatible output set this to `true`.
  842. The default value is `false`.
  843. end::transform-settings-dates-as-epoch-milli[]
  844. tag::transform-settings-docs-per-second[]
  845. Specifies a limit on the number of input documents per second. This setting
  846. throttles the {transform} by adding a wait time between search requests. The
  847. default value is `null`, which disables throttling.
  848. end::transform-settings-docs-per-second[]
  849. tag::transform-settings-max-page-search-size[]
  850. Defines the initial page size to use for the composite aggregation for each
  851. checkpoint. If circuit breaker exceptions occur, the page size is dynamically
  852. adjusted to a lower value. The minimum value is `10` and the maximum is `10,000`.
  853. The default value is `500`.
  854. end::transform-settings-max-page-search-size[]
  855. tag::transform-sort[]
  856. Specifies the date field that is used to identify the latest documents.
  857. end::transform-sort[]
  858. tag::transform-unique-key[]
  859. Specifies an array of one or more fields that are used to group the data.
  860. end::transform-unique-key[]
  861. tag::target-index[]
  862. `<target-index>`::
  863. +
  864. --
  865. (Required, string)
  866. Name of the target index to create.
  867. include::{es-repo-dir}/indices/create-index.asciidoc[tag=index-name-reqs]
  868. --
  869. end::target-index[]
  870. tag::task-id[]
  871. `<task_id>`::
  872. (Optional, string) ID of the task to return
  873. (`node_id:task_number`).
  874. end::task-id[]
  875. tag::term_statistics[]
  876. `term_statistics`::
  877. (Optional, Boolean) If `true`, the response includes term frequency and document frequency.
  878. Defaults to `false`.
  879. end::term_statistics[]
  880. tag::terminate_after[]
  881. `terminate_after`::
  882. (Optional, integer) The maximum number of documents to collect for each shard,
  883. upon reaching which the query execution will terminate early.
  884. end::terminate_after[]
  885. tag::time[]
  886. `time`::
  887. (Optional, <<time-units,time units>>)
  888. Unit used to display time values.
  889. end::time[]
  890. tag::timeoutparms[]
  891. tag::master-timeout[]
  892. `master_timeout`::
  893. (Optional, <<time-units, time units>>)
  894. Period to wait for a connection to the master node. If no response is received
  895. before the timeout expires, the request fails and returns an error. Defaults to
  896. `30s`.
  897. end::master-timeout[]
  898. tag::timeout[]
  899. `timeout`::
  900. (Optional, <<time-units, time units>>)
  901. Period to wait for a response. If no response is received before the timeout
  902. expires, the request fails and returns an error. Defaults to `30s`.
  903. end::timeout[]
  904. end::timeoutparms[]
  905. tag::transform-id[]
  906. Identifier for the {transform}. This identifier can contain lowercase
  907. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  908. and end with alphanumeric characters.
  909. end::transform-id[]
  910. tag::transform-id-wildcard[]
  911. Identifier for the {transform}. It can be a {transform} identifier or a wildcard
  912. expression. If you do not specify one of these options, the API returns
  913. information for all {transforms}.
  914. end::transform-id-wildcard[]
  915. tag::trigger-count[]
  916. The number of times the {transform} has been triggered by the scheduler. For
  917. example, the scheduler triggers the {transform} indexer to check for updates
  918. or ingest new data at an interval specified in the
  919. <<put-transform-request-body,`frequency` property>>.
  920. end::trigger-count[]
  921. tag::cat-v[]
  922. `v`::
  923. (Optional, Boolean) If `true`, the response includes column headings.
  924. Defaults to `false`.
  925. end::cat-v[]
  926. tag::version[]
  927. `version`::
  928. (Optional, Boolean) If `true`, returns the document version as part of a hit.
  929. end::version[]
  930. tag::doc-version[]
  931. `version`::
  932. (Optional, integer) Explicit version number for concurrency control.
  933. The specified version must match the current version of the document for the
  934. request to succeed.
  935. end::doc-version[]
  936. tag::segment-version[]
  937. Version of Lucene used to write the segment.
  938. end::segment-version[]
  939. tag::version_type[]
  940. `version_type`::
  941. (Optional, enum) Specific version type: `internal`, `external`,
  942. `external_gte`.
  943. end::version_type[]
  944. tag::wait_for_active_shards[]
  945. `wait_for_active_shards`::
  946. +
  947. --
  948. (Optional, string) The number of shard copies that must be active before
  949. proceeding with the operation. Set to `all` or any positive integer up
  950. to the total number of shards in the index (`number_of_replicas+1`).
  951. Default: 1, the primary shard.
  952. See <<index-wait-for-active-shards>>.
  953. --
  954. end::wait_for_active_shards[]