common-parms.asciidoc 30 KB

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