common-parms.asciidoc 29 KB

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