1
0

common-parms.asciidoc 24 KB

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