common-parms.asciidoc 24 KB

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