common-parms.asciidoc 24 KB

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