common-parms.asciidoc 31 KB

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