common-parms.asciidoc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  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-metrics-geobounds-aggregation,Geo bounds>>
  491. * <<search-aggregations-metrics-geocentroid-aggregation,Geo centroid>>
  492. * <<search-aggregations-metrics-max-aggregation,Max>>
  493. * <<search-aggregations-metrics-min-aggregation,Min>>
  494. * <<search-aggregations-metrics-scripted-metric-aggregation,Scripted metric>>
  495. * <<search-aggregations-metrics-sum-aggregation,Sum>>
  496. * <<search-aggregations-metrics-valuecount-aggregation,Value count>>
  497. * <<search-aggregations-pipeline-bucket-script-aggregation,Bucket script>>
  498. * <<search-aggregations-pipeline-bucket-selector-aggregation,Bucket selector>>
  499. IMPORTANT: {transforms-cap} support a subset of the functionality in
  500. composite aggregations. See <<transform-limitations>>.
  501. --
  502. end::pivot-aggs[]
  503. tag::pivot-group-by[]
  504. Defines how to group the data. More than one grouping can be defined
  505. per pivot. The following groupings are supported:
  506. +
  507. --
  508. * <<_terms,Terms>>
  509. * <<_histogram,Histogram>>
  510. * <<_date_histogram,Date histogram>>
  511. --
  512. end::pivot-group-by[]
  513. tag::pivot-max-page-search-size[]
  514. Defines the initial page size to use for the composite aggregation for each
  515. checkpoint. If circuit breaker exceptions occur, the page size is dynamically
  516. adjusted to a lower value. The minimum value is `10` and the maximum is `10,000`.
  517. The default value is `500`.
  518. end::pivot-max-page-search-size[]
  519. tag::positions[]
  520. `positions`::
  521. (Optional, boolean) If `true`, the response includes term positions.
  522. Defaults to `true`.
  523. end::positions[]
  524. tag::preference[]
  525. `preference`::
  526. (Optional, string) Specifies the node or shard the operation should be
  527. performed on. Random by default.
  528. end::preference[]
  529. tag::search-q[]
  530. `q`::
  531. (Optional, string) Query in the Lucene query string syntax.
  532. end::search-q[]
  533. tag::query[]
  534. `query`::
  535. (Optional, <<query-dsl,query object>>) Defines the search definition using the
  536. <<query-dsl,Query DSL>>.
  537. end::query[]
  538. tag::realtime[]
  539. `realtime`::
  540. (Optional, boolean) If `true`, the request is real-time as opposed to near-real-time.
  541. Defaults to `true`. See <<realtime>>.
  542. end::realtime[]
  543. tag::refresh[]
  544. `refresh`::
  545. (Optional, enum) If `true`, {es} refreshes the affected shards to make this
  546. operation visible to search, if `wait_for` then wait for a refresh to make
  547. this operation visible to search, if `false` do nothing with refreshes.
  548. Valid values: `true`, `false`, `wait_for`. Default: `false`.
  549. end::refresh[]
  550. tag::request_cache[]
  551. `request_cache`::
  552. (Optional, boolean) If `true`, the request cache is used for this request.
  553. Defaults to the index-level setting.
  554. end::request_cache[]
  555. tag::requests_per_second[]
  556. `requests_per_second`::
  557. (Optional, integer) The throttle for this request in sub-requests per second.
  558. -1 means no throttle. Defaults to 0.
  559. end::requests_per_second[]
  560. tag::routing[]
  561. `routing`::
  562. (Optional, string) Target the specified primary shard.
  563. end::routing[]
  564. tag::index-routing[]
  565. `routing`::
  566. (Optional, string)
  567. Custom <<mapping-routing-field, routing value>>
  568. used to route operations to a specific shard.
  569. end::index-routing[]
  570. tag::cat-s[]
  571. `s`::
  572. (Optional, string) Comma-separated list of column names or column aliases used
  573. to sort the response.
  574. end::cat-s[]
  575. tag::scroll[]
  576. `scroll`::
  577. (Optional, <<time-units, time units>>) Specifies how long a consistent view of
  578. the index should be maintained for scrolled search.
  579. end::scroll[]
  580. tag::scroll_size[]
  581. `scroll_size`::
  582. (Optional, integer) Size of the scroll request that powers the operation.
  583. Defaults to 100.
  584. end::scroll_size[]
  585. tag::search_timeout[]
  586. `timeout`::
  587. (Optional, <<time-units, time units>>)
  588. Explicit timeout for each search request.
  589. Defaults to no timeout.
  590. end::search_timeout[]
  591. tag::search_type[]
  592. `search_type`::
  593. (Optional, string) The type of the search operation. Available options:
  594. * `query_then_fetch`
  595. * `dfs_query_then_fetch`
  596. end::search_type[]
  597. tag::segment[]
  598. Name of the segment, such as `_0`. The segment name is derived from
  599. the segment generation and used internally to create file names in the directory
  600. of the shard.
  601. end::segment[]
  602. tag::segment-search[]
  603. If `true`,
  604. the segment is searchable.
  605. +
  606. If `false`,
  607. the segment has most likely been written to disk
  608. but needs a <<indices-refresh,refresh>> to be searchable.
  609. end::segment-search[]
  610. tag::segment-size[]
  611. Disk space used by the segment, such as `50kb`.
  612. end::segment-size[]
  613. tag::settings[]
  614. `settings`::
  615. (Optional, <<index-modules-settings,index setting object>>) Configuration
  616. options for the index. See <<index-modules-settings>>.
  617. end::settings[]
  618. tag::target-index-settings[]
  619. `settings`::
  620. (Optional, <<index-modules-settings,index setting object>>)
  621. Configuration options for the target index.
  622. See <<index-modules-settings>>.
  623. end::target-index-settings[]
  624. tag::size-transforms[]
  625. Specifies the maximum number of {transforms} to obtain. The default value is
  626. `100`.
  627. end::size-transforms[]
  628. tag::slices[]
  629. `slices`::
  630. (Optional, integer) The number of slices this task should be divided into.
  631. Defaults to 1 meaning the task isn't sliced into subtasks.
  632. end::slices[]
  633. tag::sort[]
  634. `sort`::
  635. (Optional, string) A comma-separated list of <field>:<direction> pairs.
  636. end::sort[]
  637. tag::source[]
  638. `_source`::
  639. (Optional, string) True or false to return the `_source` field or not, or a
  640. list of fields to return.
  641. end::source[]
  642. tag::source_excludes[]
  643. `_source_excludes`::
  644. (Optional, string) A list of fields to exclude from the returned `_source`
  645. field.
  646. end::source_excludes[]
  647. tag::source_includes[]
  648. `_source_includes`::
  649. (Optional, string) A list of fields to extract and return from the `_source`
  650. field.
  651. end::source_includes[]
  652. tag::source-transforms[]
  653. The source of the data for the {transform}.
  654. end::source-transforms[]
  655. tag::source-index-transforms[]
  656. The _source indices_ for the {transform}. It can be a single index, an index
  657. pattern (for example, `"myindex*"`), an array of indices (for example,
  658. `["index1", "index2"]`), or an array of index patterns (for example,
  659. `["myindex1-*", "myindex2-*"]`.
  660. end::source-index-transforms[]
  661. tag::source-query-transforms[]
  662. A query clause that retrieves a subset of data from the source index. See
  663. <<query-dsl>>.
  664. end::source-query-transforms[]
  665. tag::stats[]
  666. `stats`::
  667. (Optional, string) Specific `tag` of the request for logging and statistical
  668. purposes.
  669. end::stats[]
  670. tag::stored_fields[]
  671. `stored_fields`::
  672. (Optional, boolean) If `true`, retrieves the document fields stored in the
  673. index rather than the document `_source`. Defaults to `false`.
  674. end::stored_fields[]
  675. tag::sync[]
  676. Defines the properties {transforms} require to run continuously.
  677. end::sync[]
  678. tag::sync-time[]
  679. Specifies that the {transform} uses a time field to synchronize the source and
  680. destination indices.
  681. end::sync-time[]
  682. tag::sync-time-field[]
  683. The date field that is used to identify new documents in the source.
  684. end::sync-time-field[]
  685. tag::sync-time-delay[]
  686. The time delay between the current time and the latest input data time. The
  687. default value is `60s`.
  688. end::sync-time-delay[]
  689. tag::target-index[]
  690. `<target-index>`::
  691. +
  692. --
  693. (Required, string)
  694. Name of the target index to create.
  695. include::{docdir}/indices/create-index.asciidoc[tag=index-name-reqs]
  696. --
  697. end::target-index[]
  698. tag::task-id[]
  699. `<task_id>`::
  700. (Optional, string) ID of the task to return
  701. (`node_id:task_number`).
  702. end::task-id[]
  703. tag::term_statistics[]
  704. `term_statistics`::
  705. (Optional, boolean) If `true`, the response includes term frequency and document frequency.
  706. Defaults to `false`.
  707. end::term_statistics[]
  708. tag::terminate_after[]
  709. `terminate_after`::
  710. (Optional, integer) The maximum number of documents to collect for each shard,
  711. upon reaching which the query execution will terminate early.
  712. end::terminate_after[]
  713. tag::time[]
  714. `time`::
  715. (Optional, <<time-units,time units>>)
  716. Unit used to display time values.
  717. end::time[]
  718. tag::timeoutparms[]
  719. tag::timeout[]
  720. `timeout`::
  721. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  722. a response. If no response is received before the timeout expires, the request
  723. fails and returns an error. Defaults to `30s`.
  724. end::timeout[]
  725. tag::master-timeout[]
  726. `master_timeout`::
  727. (Optional, <<time-units, time units>>) Specifies the period of time to wait for
  728. a connection to the master node. If no response is received before the timeout
  729. expires, the request fails and returns an error. Defaults to `30s`.
  730. end::master-timeout[]
  731. end::timeoutparms[]
  732. tag::transform-id[]
  733. Identifier for the {transform}. This identifier can contain lowercase
  734. alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
  735. and end with alphanumeric characters.
  736. end::transform-id[]
  737. tag::transform-id-wildcard[]
  738. Identifier for the {transform}. It can be a {transform} identifier or a wildcard
  739. expression. If you do not specify one of these options, the API returns
  740. information for all {transforms}.
  741. end::transform-id-wildcard[]
  742. tag::cat-v[]
  743. `v`::
  744. (Optional, boolean) If `true`, the response includes column headings.
  745. Defaults to `false`.
  746. end::cat-v[]
  747. tag::version[]
  748. `version`::
  749. (Optional, boolean) If `true`, returns the document version as part of a hit.
  750. end::version[]
  751. tag::doc-version[]
  752. `version`::
  753. (Optional, integer) Explicit version number for concurrency control.
  754. The specified version must match the current version of the document for the
  755. request to succeed.
  756. end::doc-version[]
  757. tag::segment-version[]
  758. Version of Lucene used to write the segment.
  759. end::segment-version[]
  760. tag::version_type[]
  761. `version_type`::
  762. (Optional, enum) Specific version type: `internal`, `external`,
  763. `external_gte`, `force`.
  764. end::version_type[]
  765. tag::wait_for_active_shards[]
  766. `wait_for_active_shards`::
  767. +
  768. --
  769. (Optional, string) The number of shard copies that must be active before
  770. proceeding with the operation. Set to `all` or any positive integer up
  771. to the total number of shards in the index (`number_of_replicas+1`).
  772. Default: 1, the primary shard.
  773. See <<index-wait-for-active-shards>>.
  774. --
  775. end::wait_for_active_shards[]
  776. tag::wait_for_completion[]
  777. `wait_for_completion`::
  778. (Optional, boolean) If `true`, the request blocks until the operation is complete.
  779. Defaults to `true`.
  780. end::wait_for_completion[]