common-parms.asciidoc 27 KB

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