common-parms.asciidoc 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031
  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::search-q[]
  567. `q`::
  568. (Optional, string) Query in the Lucene query string syntax.
  569. end::search-q[]
  570. tag::query[]
  571. `query`::
  572. (Optional, <<query-dsl,query object>>) Defines the search definition using the
  573. <<query-dsl,Query DSL>>.
  574. end::query[]
  575. tag::realtime[]
  576. `realtime`::
  577. (Optional, boolean) If `true`, the request is real-time as opposed to near-real-time.
  578. Defaults to `true`. See <<realtime>>.
  579. end::realtime[]
  580. tag::refresh[]
  581. `refresh`::
  582. (Optional, enum) If `true`, {es} refreshes the affected shards to make this
  583. operation visible to search, if `wait_for` then wait for a refresh to make
  584. this operation visible to search, if `false` do nothing with refreshes.
  585. Valid values: `true`, `false`, `wait_for`. Default: `false`.
  586. end::refresh[]
  587. tag::request_cache[]
  588. `request_cache`::
  589. (Optional, boolean) If `true`, the request cache is used for this request.
  590. Defaults to the index-level setting.
  591. end::request_cache[]
  592. tag::requests_per_second[]
  593. `requests_per_second`::
  594. (Optional, integer) The throttle for this request in sub-requests per second.
  595. -1 means no throttle. Defaults to 0.
  596. end::requests_per_second[]
  597. tag::routing[]
  598. `routing`::
  599. (Optional, string) Target the specified primary shard.
  600. end::routing[]
  601. tag::index-routing[]
  602. `routing`::
  603. (Optional, string)
  604. Custom <<mapping-routing-field, routing value>>
  605. used to route operations to a specific shard.
  606. end::index-routing[]
  607. tag::cat-s[]
  608. `s`::
  609. (Optional, string) Comma-separated list of column names or column aliases used
  610. to sort the response.
  611. end::cat-s[]
  612. tag::scroll[]
  613. `scroll`::
  614. (Optional, <<time-units, time units>>) Specifies how long a consistent view of
  615. the index should be maintained for scrolled search.
  616. end::scroll[]
  617. tag::scroll_size[]
  618. `scroll_size`::
  619. (Optional, integer) Size of the scroll request that powers the operation.
  620. Defaults to 100.
  621. end::scroll_size[]
  622. tag::search-failures[]
  623. The number of search failures.
  624. end::search-failures[]
  625. tag::search-time-ms[]
  626. The amount of time spent searching, in milliseconds.
  627. end::search-time-ms[]
  628. tag::search_timeout[]
  629. `timeout`::
  630. (Optional, <<time-units, time units>>)
  631. Explicit timeout for each search request.
  632. Defaults to no timeout.
  633. end::search_timeout[]
  634. tag::search-total[]
  635. The number of search operations on the source index for the {transform}.
  636. end::search-total[]
  637. tag::search_type[]
  638. `search_type`::
  639. (Optional, string) The type of the search operation. Available options:
  640. * `query_then_fetch`
  641. * `dfs_query_then_fetch`
  642. end::search_type[]
  643. tag::segment[]
  644. Name of the segment, such as `_0`. The segment name is derived from
  645. the segment generation and used internally to create file names in the directory
  646. of the shard.
  647. end::segment[]
  648. tag::segment-search[]
  649. If `true`,
  650. the segment is searchable.
  651. +
  652. If `false`,
  653. the segment has most likely been written to disk
  654. but needs a <<indices-refresh,refresh>> to be searchable.
  655. end::segment-search[]
  656. tag::segment-size[]
  657. Disk space used by the segment, such as `50kb`.
  658. end::segment-size[]
  659. tag::settings[]
  660. `settings`::
  661. (Optional, <<index-modules-settings,index setting object>>) Configuration
  662. options for the index. See <<index-modules-settings>>.
  663. end::settings[]
  664. tag::target-index-settings[]
  665. `settings`::
  666. (Optional, <<index-modules-settings,index setting object>>)
  667. Configuration options for the target index.
  668. See <<index-modules-settings>>.
  669. end::target-index-settings[]
  670. tag::size-transforms[]
  671. Specifies the maximum number of {transforms} to obtain. The default value is
  672. `100`.
  673. end::size-transforms[]
  674. tag::slices[]
  675. `slices`::
  676. (Optional, integer) The number of slices this task should be divided into.
  677. Defaults to 1 meaning the task isn't sliced into subtasks.
  678. end::slices[]
  679. tag::sort[]
  680. `sort`::
  681. (Optional, string) A comma-separated list of <field>:<direction> pairs.
  682. end::sort[]
  683. tag::source[]
  684. `_source`::
  685. (Optional, string) True or false to return the `_source` field or not, or a
  686. list of fields to return.
  687. end::source[]
  688. tag::source_excludes[]
  689. `_source_excludes`::
  690. (Optional, string) A list of fields to exclude from the returned `_source`
  691. field.
  692. end::source_excludes[]
  693. tag::source_includes[]
  694. `_source_includes`::
  695. (Optional, string) A list of fields to extract and return from the `_source`
  696. field.
  697. end::source_includes[]
  698. tag::source-transforms[]
  699. The source of the data for the {transform}.
  700. end::source-transforms[]
  701. tag::source-index-transforms[]
  702. The _source indices_ for the {transform}. It can be a single index, an index
  703. pattern (for example, `"myindex*"`), an array of indices (for example,
  704. `["index1", "index2"]`), or an array of index patterns (for example,
  705. `["myindex1-*", "myindex2-*"]`.
  706. end::source-index-transforms[]
  707. tag::source-query-transforms[]
  708. A query clause that retrieves a subset of data from the source index. See
  709. <<query-dsl>>.
  710. end::source-query-transforms[]
  711. tag::state-transform[]
  712. The status of the {transform}, which can be one of the following values:
  713. +
  714. --
  715. * `aborting`: The {transform} is aborting.
  716. * `failed`: The {transform} failed. For more information about the failure,
  717. check the reason field.
  718. * `indexing`: The {transform} is actively processing data and creating new
  719. documents.
  720. * `started`: The {transform} is running but not actively indexing data.
  721. * `stopped`: The {transform} is stopped.
  722. * `stopping`: The {transform} is stopping.
  723. --
  724. end::state-transform[]
  725. tag::state-transform-reason[]
  726. If a {transform} has a `failed` state, this property provides details about the
  727. reason for the failure.
  728. end::state-transform-reason[]
  729. tag::stats[]
  730. `stats`::
  731. (Optional, string) Specific `tag` of the request for logging and statistical
  732. purposes.
  733. end::stats[]
  734. tag::stored_fields[]
  735. `stored_fields`::
  736. (Optional, boolean) If `true`, retrieves the document fields stored in the
  737. index rather than the document `_source`. Defaults to `false`.
  738. end::stored_fields[]
  739. tag::sync[]
  740. Defines the properties {transforms} require to run continuously.
  741. end::sync[]
  742. tag::sync-time[]
  743. Specifies that the {transform} uses a time field to synchronize the source and
  744. destination indices.
  745. end::sync-time[]
  746. tag::sync-time-field[]
  747. The date field that is used to identify new documents in the source.
  748. end::sync-time-field[]
  749. tag::sync-time-delay[]
  750. The time delay between the current time and the latest input data time. The
  751. default value is `60s`.
  752. end::sync-time-delay[]
  753. tag::target-index[]
  754. `<target-index>`::
  755. +
  756. --
  757. (Required, string)
  758. Name of the target index to create.
  759. include::{docdir}/indices/create-index.asciidoc[tag=index-name-reqs]
  760. --
  761. end::target-index[]
  762. tag::task-id[]
  763. `<task_id>`::
  764. (Optional, string) ID of the task to return
  765. (`node_id:task_number`).
  766. end::task-id[]
  767. tag::term_statistics[]
  768. `term_statistics`::
  769. (Optional, boolean) If `true`, the response includes term frequency and document frequency.
  770. Defaults to `false`.
  771. end::term_statistics[]
  772. tag::terminate_after[]
  773. `terminate_after`::
  774. (Optional, integer) The maximum number of documents to collect for each shard,
  775. upon reaching which the query execution will terminate early.
  776. end::terminate_after[]
  777. tag::time[]
  778. `time`::
  779. (Optional, <<time-units,time units>>)
  780. Unit used to display time values.
  781. end::time[]
  782. tag::timeoutparms[]
  783. tag::timeout[]
  784. `timeout`::
  785. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  786. a response. If no response is received before the timeout expires, the request
  787. fails and returns an error. Defaults to `30s`.
  788. end::timeout[]
  789. tag::master-timeout[]
  790. `master_timeout`::
  791. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  792. a connection to the master node. If no response is received before the timeout
  793. expires, the request fails and returns an error. Defaults to `30s`.
  794. end::master-timeout[]
  795. end::timeoutparms[]
  796. tag::transform-id[]
  797. Identifier for the {transform}. This identifier can contain lowercase
  798. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  799. and end with alphanumeric characters.
  800. end::transform-id[]
  801. tag::transform-id-wildcard[]
  802. Identifier for the {transform}. It can be a {transform} identifier or a wildcard
  803. expression. If you do not specify one of these options, the API returns
  804. information for all {transforms}.
  805. end::transform-id-wildcard[]
  806. tag::trigger-count[]
  807. The number of times the {transform} has been triggered by the scheduler. For
  808. example, the scheduler triggers the {transform} indexer to check for updates
  809. or ingest new data at an interval specified in the
  810. <<put-transform-request-body,`frequency` property>>.
  811. end::trigger-count[]
  812. tag::cat-v[]
  813. `v`::
  814. (Optional, boolean) If `true`, the response includes column headings.
  815. Defaults to `false`.
  816. end::cat-v[]
  817. tag::version[]
  818. `version`::
  819. (Optional, boolean) If `true`, returns the document version as part of a hit.
  820. end::version[]
  821. tag::doc-version[]
  822. `version`::
  823. (Optional, integer) Explicit version number for concurrency control.
  824. The specified version must match the current version of the document for the
  825. request to succeed.
  826. end::doc-version[]
  827. tag::segment-version[]
  828. Version of Lucene used to write the segment.
  829. end::segment-version[]
  830. tag::version_type[]
  831. `version_type`::
  832. (Optional, enum) Specific version type: `internal`, `external`,
  833. `external_gte`.
  834. end::version_type[]
  835. tag::wait_for_active_shards[]
  836. `wait_for_active_shards`::
  837. +
  838. --
  839. (Optional, string) The number of shard copies that must be active before
  840. proceeding with the operation. Set to `all` or any positive integer up
  841. to the total number of shards in the index (`number_of_replicas+1`).
  842. Default: 1, the primary shard.
  843. See <<index-wait-for-active-shards>>.
  844. --
  845. end::wait_for_active_shards[]
  846. tag::wait_for_completion[]
  847. `wait_for_completion`::
  848. (Optional, boolean) If `true`, the request blocks until the operation is complete.
  849. Defaults to `true`.
  850. end::wait_for_completion[]