| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273 | tag::actions[]`actions`::+--(Optional, string)Comma-separated list or wildcard expressionof actions used to limit the request.Omit this parameter to return all actions.--end::actions[]tag::active-only[]`active_only`::(Optional, Boolean)If `true`,the response only includes ongoing shard recoveries.Defaults to `false`.end::active-only[]tag::allow-no-indices[]`allow_no_indices`::(Optional, Boolean)If `false`, the request returns an error if any wildcard expression,<<aliases,index alias>>, or `_all` value targets only missing or closed indices.This behavior applies even if the request targets other open indices. Forexample, a request targeting `foo*,bar*` returns an error if an index startswith `foo` but no index starts with `bar`.end::allow-no-indices[]tag::allow-no-match-transforms1[]Specifies what to do when the request:+--* Contains wildcard expressions and there are no {transforms} that match.* Contains the `_all` string or no identifiers and there are no matches.* Contains wildcard expressions and there are only partial matches.The default value is `true`, which returns an empty `transforms` array whenthere are no matches and the subset of results when there are partial matches.If this parameter is `false`, the request returns a `404` status code when thereare no matches or only partial matches.--end::allow-no-match-transforms1[]tag::allow-no-match-transforms2[]Specifies what to do when the request:+--* Contains wildcard expressions and there are no {transforms} that match.* Contains the `_all` string or no identifiers and there are no matches.* Contains wildcard expressions and there are only partial matches.The default value is `true`, which returns a successful acknowledgement messagewhen there are no matches. When there are only partial matches, the API stopsthe appropriate {transforms}. For example, if the request contains`test-id1*,test-id2*` as the identifiers and there are no {transforms}that match `test-id2*`, the API nonetheless stops the {transforms}that match `test-id1*`.If this parameter is `false`, the request returns a `404` status code when thereare no matches or only partial matches.--end::allow-no-match-transforms2[]tag::analyzer[]`analyzer`::(Optional, string) Analyzer to use for the query string.+This parameter can only be used when the `q` query string parameter isspecified.end::analyzer[]tag::analyze_wildcard[]`analyze_wildcard`::(Optional, Boolean) If `true`, wildcard and prefix queries are analyzed.Defaults to `false`.+This parameter can only be used when the `q` query string parameter isspecified.end::analyze_wildcard[]tag::bulk-id[]`_id`::(Optional, string)The document ID.If no ID is specified, a document ID is automatically generated.end::bulk-id[]tag::bulk-index[]`_index`::(Optional, string)Name of the index or index alias to perform the action on. Thisparameter is required if a `<target>` is not specified in the request path.end::bulk-index[]tag::bulk-index-ds[]`_index`::(Optional, string)Name of the data stream, index, or index alias to perform the action on. Thisparameter is required if a `<target>` is not specified in the request path.end::bulk-index-ds[]tag::bytes[]`bytes`::(Optional, <<byte-units,byte size units>>) Unit used to display byte values.end::bytes[]tag::cat-h[]`h`::(Optional, string) Comma-separated list of column names to display.end::cat-h[]tag::checkpointing-changes-last-detected-at[]The timestamp when changes were last detected in the source indices.end::checkpointing-changes-last-detected-at[]tag::checkpointing-last-search-time[]The timestamp of the last search in the source indices. This field is onlyshown if the transform is running.end::checkpointing-last-search-time[]tag::cluster-health-status[](string)Health status of the cluster, based on the state of its primary and replicashards. Statuses are:  * `green`:    All shards are assigned.  * `yellow`:    All primary shards are assigned, but one or more replica shards are    unassigned. If a node in the cluster fails, some data could be unavailable    until that node is repaired.  * `red`:    One or more primary shards are unassigned, so some data is unavailable. This    can occur briefly during cluster startup as primary shards are assigned.end::cluster-health-status[]tag::committed[]If `true`,the segments is synced to disk. Segments that are synced can survive a hard reboot.+If `false`,the data from uncommitted segments is also stored inthe transaction log so that Elasticsearch is able to replaychanges on the next start.end::committed[]tag::completion-fields[]`completion_fields`::(Optional, string)Comma-separated list or wildcard expressions of fieldsto include in `fielddata` and `suggest` statistics.end::completion-fields[]tag::component-template[]`<component-template>`::(Required, string)Comma-separated list or wildcard expression of component template namesused to limit the request.end::component-template[]tag::delete-time-ms[]The amount of time spent deleting, in milliseconds.end::delete-time-ms[]tag::default_operator[]`default_operator`::(Optional, string) The default operator for query string query: AND or OR.Defaults to `OR`.+This parameter can only be used when the `q` query string parameter isspecified.end::default_operator[]tag::dest[]The destination for the {transform}.end::dest[]tag::dest-index[]The _destination index_ for the {transform}.In the case of a `pivot` transform, the mappings of the destinationindex are deduced based on the source fields when possible. If alternatemappings are required, use the <<indices-create-index,Create index API>>prior to starting the {transform}.In the case of a `latest` transform, the mappings are never deduced. If dynamicmappings for the destination index are undesirable, use the<<indices-create-index,Create index API>> prior to starting the {transform}.end::dest-index[]tag::dest-aliases[]The aliases that the destination index for the {transform} should have.Aliases are manipulated using the stored credentials of the transform, which means the secondary credentials suppliedat creation time (if both primary and secondary credentials are specified).The destination index is added to the aliases regardless whether the destinationindex was created by the transform or pre-created by the user.end::dest-aliases[]tag::dest-aliases-alias[]The name of the alias.end::dest-aliases-alias[]tag::dest-aliases-move-on-creation[]Whether or not the destination index should be the **only** index in this alias.If `true`, all the other indices will be removed from this alias before adding the destination index to this alias.Defaults to `false`.end::dest-aliases-move-on-creation[]tag::dest-pipeline[]The unique identifier for an <<ingest,ingest pipeline>>.end::dest-pipeline[]tag::detailed[]`detailed`::(Optional, Boolean)If `true`,the response includes detailed information about shard recoveries.Defaults to `false`.end::detailed[]tag::df[]`df`::(Optional, string) Field to use as default where no field prefix is given in thequery string.+This parameter can only be used when the `q` query string parameter isspecified.end::df[]tag::docs-count[]The number of documents as reported by Lucene. This excludes deleted documentsand counts any <<nested,nested documents>> separately from their parents. Italso excludes documents which were indexed recently and do not yet belong to asegment.end::docs-count[]tag::docs-deleted[]The number of deleted documents as reported by Lucene, which may be higher orlower than the number of delete operations you have performed. This numberexcludes deletes that were performed recently and do not yet belong to asegment. Deleted documents are cleaned up by the<<index-modules-merge,automatic merge process>> if it makes sense to do so.Also, {es} creates extra deleted documents to internally track the recenthistory of operations on a shard.end::docs-deleted[]tag::docs-deleted-transform[]The number of documents that have been deleted from the destination index due tothe retention policy for this {transform}.end::docs-deleted-transform[]tag::docs-indexed[]The number of documents that have been indexed into the destination indexfor the {transform}.end::docs-indexed[]tag::docs-processed[]The number of documents that have been processed from the source index ofthe {transform}.end::docs-processed[]tag::ds-expand-wildcards[]`expand_wildcards`::+--(Optional, string)Type of data stream that wildcard patterns can match. Supportscomma-separated values, such as `open,hidden`. Valid values are:`all`, `hidden`::Match any data stream, including <<multi-hidden,hidden>> ones.`open`, `closed`::Matches any non-hidden data stream. Data streams cannot be closed.`none`::Wildcard patterns are not accepted.--end::ds-expand-wildcards[]tag::expand-wildcards[]`expand_wildcards`::+--(Optional, string)Type of index that wildcard patterns can match. If the request can target datastreams, this argument determines whether wildcard expressions match hidden datastreams. Supports comma-separated values, such as `open,hidden`. Valid valuesare:`all`::Match any data stream or index, including <<multi-hidden,hidden>> ones.`open`::Match open, non-hidden indices. Also matches any non-hidden data stream.`closed`::Match closed, non-hidden indices. Also matches any non-hidden data stream. Datastreams cannot be closed.`hidden`::Match hidden data streams and hidden indices. Must be combined with `open`,`closed`, or both.`none`::Wildcard patterns are not accepted.--end::expand-wildcards[]tag::exponential-avg-checkpoint-duration-ms[]Exponential moving average of the duration of the checkpoint, in milliseconds.end::exponential-avg-checkpoint-duration-ms[]tag::exponential-avg-documents-indexed[]Exponential moving average of the number of new documents that have beenindexed.end::exponential-avg-documents-indexed[]tag::exponential-avg-documents-processed[]Exponential moving average of the number of documents that have beenprocessed.end::exponential-avg-documents-processed[]tag::field_statistics[]`field_statistics`::(Optional, Boolean) If `true`, the response includes the document count, sum of document frequencies,and sum of total term frequencies.Defaults to `true`.end::field_statistics[]tag::fielddata-fields[]`fielddata_fields`::(Optional, string)Comma-separated list or wildcard expressions of fieldsto include in `fielddata` statistics.end::fielddata-fields[]tag::fields[]`fields`::+--(Optional, string)Comma-separated list or wildcard expressions of fieldsto include in the statistics.Used as the default listunless a specific field list is providedin the `completion_fields` or `fielddata_fields` parameters.--end::fields[]tag::flat-settings[]`flat_settings`::(Optional, Boolean) If `true`, returns settings in flat format. Defaults to`false`.end::flat-settings[]tag::http-format[]`format`::(Optional, string) Short version of thehttps://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[HTTP accept header].Valid values include JSON, YAML, etc.end::http-format[]tag::frequency[]The interval between checks for changes in the source indices when the{transform} is running continuously. The minimum value is `1s` and the maximumis `1h`. The default value is `1m`.end::frequency[]tag::from[]`from`::(Optional, integer) Starting document offset. Needs to be non-negative and defaults to `0`.end::from[]tag::from-transforms[]Skips the specified number of {transforms}. The default value is `0`.end::from-transforms[]tag::generation[]Generation number, such as `0`. {es} increments this generation numberfor each segment written. {es} then uses this number to derive the segment name.end::generation[]tag::group-by[]`group_by`::+--(Optional, string)Key used to group tasks in the response.Possible values are:`nodes`::(Default)Node ID`parents`::Parent task ID`none`::Do not group tasks.--end::group-by[]tag::groups[]`groups`::(Optional, string)Comma-separated list of search groupsto include in the `search` statistics.end::groups[]tag::help[]`help`::(Optional, Boolean) If `true`, the response includes help information. Defaultsto `false`.end::help[]tag::if_primary_term[]`if_primary_term`::(Optional, integer) Only perform the operation if the document hasthis primary term. See <<optimistic-concurrency-control-index>>.end::if_primary_term[]tag::if_seq_no[]`if_seq_no`::(Optional, integer) Only perform the operation if the document has thissequence number. See <<optimistic-concurrency-control-index>>.end::if_seq_no[]tag::ignore_throttled[]`ignore_throttled`::(Optional, Boolean) If `true`, concrete, expanded or aliased indices areignored when frozen. Defaults to `true`.end::ignore_throttled[]tag::index-ignore-unavailable[]`ignore_unavailable`::(Optional, Boolean) If `false`, the request returns an error if it targets amissing or closed index. Defaults to `false`.end::index-ignore-unavailable[]tag::include-defaults[]`include_defaults`::(Optional, Boolean) If `true`, return all default settings in the response.Defaults to `false`.end::include-defaults[]tag::include-segment-file-sizes[]`include_segment_file_sizes`::(Optional, Boolean)If `true`, the call reports the aggregated disk usage ofeach one of the Lucene index files (only applies if segment stats arerequested). Defaults to `false`.end::include-segment-file-sizes[]tag::include-unloaded-segments[]`include_unloaded_segments`::(Optional, Boolean) If `true`, the response includes information from segmentsthat are **not** loaded into memory. Defaults to `false`.end::include-unloaded-segments[]tag::index-query-parm[]`index`::(Optional, string)Comma-separated list or wildcard expression of index namesused to limit the request.end::index-query-parm[]tag::index[]`<index>`::(Optional, string) Comma-separated list or wildcard expression of index namesused to limit the request.end::index[]tag::index-failures[]The number of indexing failures.end::index-failures[]tag::index-time-ms[]The amount of time spent indexing, in milliseconds.end::index-time-ms[]tag::index-total[]The number of index operations.end::index-total[]tag::index-metric[]`<index-metric>`::+--(Optional, string)Comma-separated list of metrics used to limit the request.Supported metrics are:`_all`::Return all statistics.`completion`::<<completion-suggester,Completion suggester>> statistics.`docs`::Number of documents and deleted docs, which have not yet merged out.<<indices-refresh,Index refreshes>> can affect this statistic.`fielddata`::<<fielddata-mapping-param,Fielddata>> statistics.`flush`::<<indices-flush,Flush>> statistics.`get`::Get statistics,including missing stats.`indexing`::<<docs-index_,Indexing>> statistics.`merge`::<<index-modules-merge,Merge>> statistics.`query_cache`::<<query-cache,Query cache>> statistics.`refresh`::<<indices-refresh,Refresh>> statistics.`request_cache`::<<shard-request-cache,Shard request cache>> statistics.`search`::Search statistics including suggest statistics.You can include statistics for custom groupsby adding an extra `groups` parameter(search operations can be associated with one or more groups).The `groups` parameter accepts a comma separated list of group names.Use `_all` to return statistics for all groups.`segments`::Memory use of all open segments.+If the `include_segment_file_sizes` parameter is `true`,this metric includes the aggregated disk usageof each Lucene index file.`store`::Size of the index in <<byte-units, byte units>>.`translog`::<<index-modules-translog,Translog>> statistics.--end::index-metric[]tag::index-template[]`<index-template>`::(Required, string)Comma-separated list of index template names used to limit the request. Wildcard(`*`) expressions are supported.end::index-template[]tag::knn[]Defines the <<approximate-knn,kNN>> query to run.end::knn[]tag::knn-field[]The name of the vector field to search against. Must be a<<index-vectors-knn-search, `dense_vector` field with indexing enabled>>.end::knn-field[]tag::knn-filter[]Query to filter the documents that can match. The kNN search will return the top`k` documents that also match this filter. The value can be a single query or alist of queries. If `filter` is not provided, all documents are allowed tomatch.end::knn-filter[]tag::knn-k[]Number of nearest neighbors to return as top hits. This value must be less than`num_candidates`.end::knn-k[]tag::knn-num-candidates[]The number of nearest neighbor candidates to consider per shard. Cannot exceed10,000. {es} collects `num_candidates` results from each shard, then merges themto find the top `k` results. Increasing `num_candidates` tends to improve theaccuracy of the final `k` results.end::knn-num-candidates[]tag::knn-query-vector[]Query vector. Must have the same number of dimensions as the vector field youare searching against.end::knn-query-vector[]tag::knn-similarity[]The minimum similarity required for a document to be considered a match. The similarityvalue calculated relates to the raw <<dense-vector-similarity, `similarity`>> used. Not thedocument score. The matched documents are then scored according to <<dense-vector-similarity, `similarity`>>and the provided `boost` is applied.+--The `similarity` parameter is the direct vector similarity calculation.* `l2_norm`: also known as Euclidean, will include documents where the vector is withinthe `dims` dimensional hypersphere with radius `similarity` with origin at `query_vector`.* `cosine` & `dot_product`: Only return vectors where the cosine similarity or dot-product are at least the provided`similarity`.--end::knn-similarity[]tag::lenient[]`lenient`::(Optional, Boolean) If `true`, format-based query failures (such as providingtext to a numeric field) in the query string will be ignored. Defaults to`false`.+This parameter can only be used when the `q` query string parameter isspecified.end::lenient[]tag::level[]`level`::+--(Optional, string)Indicates whether statistics are aggregatedat the cluster, index, or shard level.Valid values are:*   `cluster`*   `indices`*   `shards`--end::level[]tag::local[]`local`::(Optional, Boolean) If `true`, the request retrieves information from the localnode only. Defaults to `false`, which means information is retrieved fromthe master node.end::local[]tag::mappings[]`mappings`::+--(Optional, <<mapping,mapping object>>) Mapping for fields in the index. Ifspecified, this mapping can include:* Field names* <<mapping-types,Field data types>>* <<mapping-params,Mapping parameters>>See <<mapping>>.--end::mappings[]tag::max_docs[]`max_docs`::(Optional, integer) Maximum number of documents to process. Defaults to alldocuments. When set to a value less then or equal to `scroll_size` then ascroll will not be used to retrieve the results for the operation.end::max_docs[]tag::memory[]Bytes of segment data stored in memory for efficient search,such as `1264`.+A value of `-1` indicates {es} was unable to compute this number.end::memory[]tag::bulk-require-alias[]`require_alias`::(Optional, Boolean)If `true`, the action must target an <<aliases,index alias>>. Defaults to`false`.end::bulk-require-alias[]tag::require-alias[]`require_alias`::(Optional, Boolean) If `true`, the destination must be an <<aliases,index alias>>.Defaults to `false`.end::require-alias[]tag::bulk-dynamic-templates[]`dynamic_templates`::(Optional, map)A map from the full name of fields to the name of <<dynamic-templates,dynamic templates>>.Defaults to an empty map. If a name matches a dynamic template, then that template will beapplied regardless of other match predicates defined in the template. And if a field isalready defined in the mapping, then this parameter won't be used.end::bulk-dynamic-templates[]tag::node-filter[]`<node_filter>`::(Optional, string)Comma-separated list of <<cluster-nodes,node filters>> used to limit returnedinformation. Defaults to all nodes in the cluster.end::node-filter[]tag::node-id[]`<node_id>`::(Optional, string) Comma-separated list of node IDs or names used to limitreturned information.end::node-id[]tag::nodes[]`nodes`::(Optional, string) Comma-separated list of node IDs or names used to limitreturned information.end::nodes[]tag::offsets[]`<offsets>`::(Optional, Boolean) If `true`, the response includes term offsets.Defaults to `true`.end::offsets[]tag::parent-task-id[]`parent_task_id`::+--(Optional, string)Parent task IDused to limit returned information.To return all tasks,omit this parameteror use a value of `-1`.--end::parent-task-id[]tag::payloads[]`payloads`::(Optional, Boolean) If `true`, the response includes term payloads.Defaults to `true`.end::payloads[]tag::pipeline[]`pipeline`::(Optional, string) ID of the pipeline to use to preprocess incoming documents. If the index has adefault ingest pipeline specified, then setting the value to `_none` disables the default ingestpipeline for this request. If a final pipeline is configured it will always run, regardless of thevalue of this parameter.end::pipeline[]tag::pages-processed[]The number of search or bulk index operations processed. Documents areprocessed in batches instead of individually.end::pages-processed[]tag::pivot[]The `pivot` method transforms the data by aggregating and grouping it. Theseobjects define the `group by` fields and the aggregation to reduce the data.end::pivot[]tag::pivot-aggs[]Defines how to aggregate the grouped data. The following aggregations arecurrently supported:+--* <<search-aggregations-metrics-avg-aggregation,Average>>* <<search-aggregations-metrics-boxplot-aggregation,Boxplot>>* <<search-aggregations-pipeline-bucket-script-aggregation,Bucket script>>* <<search-aggregations-pipeline-bucket-selector-aggregation,Bucket selector>>* <<search-aggregations-metrics-cardinality-aggregation,Cardinality>>* <<search-aggregations-bucket-filter-aggregation,Filter>>* <<search-aggregations-metrics-geobounds-aggregation,Geo bounds>>* <<search-aggregations-metrics-geocentroid-aggregation,Geo centroid>>* <<search-aggregations-metrics-geo-line,Geo line>>* <<search-aggregations-metrics-cartesian-bounds-aggregation,Cartesian bounds>>* <<search-aggregations-metrics-cartesian-centroid-aggregation,Cartesian centroid>>* <<search-aggregations-metrics-max-aggregation,Max>>* <<search-aggregations-metrics-median-absolute-deviation-aggregation,Median absolute deviation>>* <<search-aggregations-metrics-min-aggregation,Min>>* <<search-aggregations-bucket-missing-aggregation,Missing>>* <<search-aggregations-metrics-percentile-aggregation,Percentiles>>* <<search-aggregations-bucket-range-aggregation,Range>>* <<search-aggregations-bucket-rare-terms-aggregation, Rare Terms>>* <<search-aggregations-metrics-scripted-metric-aggregation,Scripted metric>>* <<search-aggregations-metrics-stats-aggregation,Stats>>* <<search-aggregations-metrics-sum-aggregation,Sum>>* <<search-aggregations-bucket-terms-aggregation, Terms>>* <<search-aggregations-metrics-top-metrics,Top Metrics>>* <<search-aggregations-metrics-valuecount-aggregation,Value count>>* <<search-aggregations-metrics-weight-avg-aggregation,Weighted average>>--end::pivot-aggs[]tag::pivot-group-by[]Defines how to group the data. More than one grouping can be defined per pivot.The following groupings are currently supported:+--* <<_date_histogram,Date histogram>>* <<_geotile_grid,Geotile Grid>>* <<_histogram,Histogram>>* <<_terms,Terms>>The grouping properties can optionally have a `missing_bucket` property. Ifit's `true`, documents without a value in the respective `group_by` field areincluded. Defaults to `false`.--end::pivot-group-by[]tag::positions[]`positions`::(Optional, Boolean) If `true`, the response includes term positions.Defaults to `true`.end::positions[]tag::preference[]`preference`::(Optional, string) Specifies the node or shard the operation should beperformed on. Random by default.end::preference[]tag::processing-time-ms[]The amount of time spent processing results, in milliseconds.end::processing-time-ms[]tag::processing-total[]The number of processing operations.end::processing-total[]tag::search-q[]`q`::(Optional, string) Query in the Lucene query string syntax.end::search-q[]tag::query[]`query`::(Optional, <<query-dsl,query object>>) Defines the search definition using the<<query-dsl,Query DSL>>.end::query[]tag::realtime[]`realtime`::(Optional, Boolean) If `true`, the request is real-time as opposed to near-real-time.Defaults to `true`. See <<realtime>>.end::realtime[]tag::refresh[]`refresh`::(Optional, enum) If `true`, {es} refreshes the affected shards to make thisoperation visible to search, if `wait_for` then wait for a refresh to makethis operation visible to search, if `false` do nothing with refreshes.Valid values: `true`, `false`, `wait_for`. Default: `false`.end::refresh[]tag::request_cache[]`request_cache`::(Optional, Boolean) If `true`, the request cache is used for this request.Defaults to the index-level setting.end::request_cache[]tag::requests_per_second[]`requests_per_second`::(Optional, integer) The throttle for this request in sub-requests per second.Defaults to `-1` (no throttle).end::requests_per_second[]tag::routing[]`routing`::(Optional, string)Custom value used to route operations to a specific shard.end::routing[]tag::cat-s[]`s`::(Optional, string) Comma-separated list of column names or column aliases usedto sort the response.end::cat-s[]tag::scroll[]`scroll`::(Optional, <<time-units, time units>>) Specifies how long a consistent view ofthe index should be maintained for scrolled search.end::scroll[]tag::scroll_size[]`scroll_size`::(Optional, integer) Size of the scroll request that powers the operation.Defaults to 1000.end::scroll_size[]tag::search-failures[]The number of search failures.end::search-failures[]tag::search-time-ms[]The amount of time spent searching, in milliseconds.end::search-time-ms[]tag::search-total[]The number of search operations on the source index for the {transform}.end::search-total[]tag::search_type[]`search_type`::(Optional, string) The type of the search operation. Available options:* `query_then_fetch`* `dfs_query_then_fetch`end::search_type[]tag::segment[]Name of the segment, such as `_0`. The segment name is derived fromthe segment generation and used internally to create file names in the directoryof the shard.end::segment[]tag::segment-search[]If `true`,the segment is searchable.+If `false`,the segment has most likely been written to diskbut needs a <<indices-refresh,refresh>> to be searchable.end::segment-search[]tag::segment-size[]Disk space used by the segment, such as `50kb`.end::segment-size[]tag::settings[]`settings`::(Optional, <<index-modules-settings,index setting object>>) Configurationoptions for the index. See <<index-modules-settings>>.end::settings[]tag::target-index-settings[]`settings`::(Optional, <<index-modules-settings,index setting object>>)Configuration options for the target index.See <<index-modules-settings>>.end::target-index-settings[]tag::size-transforms[]Specifies the maximum number of {transforms} to obtain. The default value is`100`.end::size-transforms[]tag::slices[]`slices`::(Optional, integer) The number of slices this task should be divided into.Defaults to 1 meaning the task isn't sliced into subtasks.end::slices[]tag::sort[]`sort`::(Optional, string) A comma-separated list of <field>:<direction> pairs.end::sort[]tag::source[]`_source`::(Optional, string) True or false to return the `_source` field or not, or alist of fields to return.end::source[]tag::source_excludes[]`_source_excludes`::(Optional, string)A comma-separated list of <<mapping-source-field,source fields>> to exclude fromthe response.+You can also use this parameter to exclude fields from the subset specified in`_source_includes` query parameter.+If the `_source` parameter is `false`, this parameter is ignored.end::source_excludes[]tag::source_includes[]`_source_includes`::(Optional, string)A comma-separated list of <<mapping-source-field,source fields>> toinclude in the response.+If this parameter is specified, only these source fields are returned. You canexclude fields from this subset using the `_source_excludes` query parameter.+If the `_source` parameter is `false`, this parameter is ignored.end::source_includes[]tag::source-transforms[]The source of the data for the {transform}.end::source-transforms[]tag::source-index-transforms[]The _source indices_ for the {transform}. It can be a single index, an indexpattern (for example, `"my-index-*"`), an array of indices (for example,`["my-index-000001", "my-index-000002"]`), or an array of index patterns (forexample, `["my-index-*", "my-other-index-*"]`. For remote indices use the syntax`"remote_name:index_name"`.+--NOTE: If any indices are in remote clusters then the master node and at leastone transform node must have the `remote_cluster_client` node role.--end::source-index-transforms[]tag::source-query-transforms[]A query clause that retrieves a subset of data from the source index. See<<query-dsl>>.end::source-query-transforms[]tag::source-runtime-mappings-transforms[]Definitions of search-time runtime fields that can be used by the transform. Forsearch runtime fields all data nodes, including remote nodes, must be 7.12 orlater.end::source-runtime-mappings-transforms[]tag::state-transform[]The status of the {transform}, which can be one of the following values:+--* `aborting`: The {transform} is aborting.* `failed`: The {transform} failed. For more information about the failure,check the reason field.* `indexing`: The {transform} is actively processing data and creating newdocuments.* `started`: The {transform} is running but not actively indexing data.* `stopped`: The {transform} is stopped.* `stopping`: The {transform} is stopping.--end::state-transform[]tag::state-transform-reason[]If a {transform} has a `failed` state, this property provides details about thereason for the failure.end::state-transform-reason[]tag::stats[]`stats`::(Optional, string) Specific `tag` of the request for logging and statisticalpurposes.end::stats[]tag::stored_fields[]`stored_fields`::(Optional, Boolean) If `true`, retrieves the document fields stored in theindex rather than the document `_source`. Defaults to `false`.end::stored_fields[]tag::sync[]Defines the properties {transforms} require to run continuously.end::sync[]tag::sync-time[]Specifies that the {transform} uses a time field to synchronize the source anddestination indices.end::sync-time[]tag::sync-time-field[]The date field that is used to identify new documents in the source.end::sync-time-field[]tag::sync-time-delay[]The time delay between the current time and the latest input data time. Thedefault value is `60s`.end::sync-time-delay[]tag::transform-latest[]The `latest` method transforms the data by finding the latest document for eachunique key.end::transform-latest[]tag::transform-metadata[]Defines optional {transform} metadata.end::transform-metadata[]tag::transform-retention[]Defines a retention policy for the {transform}. Data that meets the definedcriteria is deleted from the destination index.end::transform-retention[]tag::transform-retention-time[]Specifies that the {transform} uses a time field to set the retention policy.Data is deleted if `time.field` for the retention policy exists and containsdata older than `max.age`.end::transform-retention-time[]tag::transform-retention-time-field[]The date field that is used to calculate the age of the document. Set`time.field` to an existing date field.end::transform-retention-time-field[]tag::transform-retention-time-max-age[]Specifies the maximum age of a document in the destination index. Documents thatare older than the configured value are removed from the destination index.end::transform-retention-time-max-age[]tag::transform-settings[]Defines optional {transform} settings.end::transform-settings[]tag::transform-settings-dates-as-epoch-milli[]Defines if dates in the output should be written as ISO formatted string (default)or as millis since epoch. `epoch_millis` has been the default for transforms createdbefore version `7.11`. For compatible output set this to `true`.The default value is `false`.end::transform-settings-dates-as-epoch-milli[]tag::transform-settings-docs-per-second[]Specifies a limit on the number of input documents per second. This settingthrottles the {transform} by adding a wait time between search requests. Thedefault value is `null`, which disables throttling.end::transform-settings-docs-per-second[]tag::transform-settings-align-checkpoints[]Specifies whether the transform checkpoint ranges should be optimized for performance.Such optimization can align checkpoint ranges with date histogram interval when date histogramis specified as a group source in the transform config. As an effect, less document updates in thedestination index will be performed thus improving overall performance.The default value is `true`, which means the checkpoint ranges will be optimized if possible.end::transform-settings-align-checkpoints[]tag::transform-settings-deduce-mappings[]Specifies whether the transform should deduce the destination index mappings from the transform config.The default value is `true`, which means the destination index mappings will be deduced if possible.end::transform-settings-deduce-mappings[]tag::transform-settings-max-page-search-size[]Defines the initial page size to use for the composite aggregation for eachcheckpoint. If circuit breaker exceptions occur, the page size is dynamicallyadjusted to a lower value. The minimum value is `10` and the maximum is `65,536`.The default value is `500`.end::transform-settings-max-page-search-size[]tag::transform-settings-num-failure-retries[]Defines the number of retries on a recoverable failure before the {transform} task is marked as `failed`.The minimum value is `0` and the maximum is `100`.`-1` can be used to denote infinity. In this case, the {transform} never gives up on retrying a recoverable failure.The default value is the cluster-level setting `num_transform_failure_retries`.end::transform-settings-num-failure-retries[]tag::transform-settings-unattended[]If `true`, the {transform} runs in unattended mode. In unattended mode, the{transform} retries indefinitely in case of an error which means the {transform}never fails. Setting the number of retries other than infinite fails invalidation. Defaults to `false`.end::transform-settings-unattended[]tag::transform-sort[]Specifies the date field that is used to identify the latest documents.end::transform-sort[]tag::transform-unique-key[]Specifies an array of one or more fields that are used to group the data.end::transform-unique-key[]tag::target-index[]`<target-index>`::+--(Required, string)Name of the target index to create.include::{es-repo-dir}/indices/create-index.asciidoc[tag=index-name-reqs]--end::target-index[]tag::task-id[]`<task_id>`::(Optional, string) ID of the task to return(`node_id:task_number`).end::task-id[]tag::term_statistics[]`term_statistics`::(Optional, Boolean) If `true`, the response includes term frequency and document frequency.Defaults to `false`.end::term_statistics[]tag::terminate_after[]`terminate_after`::(Optional, integer) Maximum number of documents to collect for each shard. If aquery reaches this limit, {es} terminates the query early. {es} collectsdocuments before sorting.+IMPORTANT: Use with caution. {es} applies this parameter to each shard handlingthe request. When possible, let {es} perform early termination automatically.Avoid specifying this parameter for requests that target data streams withbacking indices across multiple data tiers.end::terminate_after[]tag::time[]`time`::(Optional, <<time-units,time units>>)Unit used to display time values.end::time[]tag::timeoutparms[]tag::master-timeout[]`master_timeout`::(Optional, <<time-units, time units>>)Period to wait for a connection to the master node. If no response is receivedbefore the timeout expires, the request fails and returns an error. Defaults to`30s`.end::master-timeout[]tag::timeout[]`timeout`::(Optional, <<time-units, time units>>)Period to wait for a response. If no response is received before the timeoutexpires, the request fails and returns an error. Defaults to `30s`.end::timeout[]end::timeoutparms[]tag::transform-id[]Identifier for the {transform}.end::transform-id[]tag::transform-id-wildcard[]Identifier for the {transform}. It can be a {transform} identifier or a wildcardexpression. If you do not specify one of these options, the API returnsinformation for all {transforms}.end::transform-id-wildcard[]tag::trigger-count[]The number of times the {transform} has been triggered by the scheduler. Forexample, the scheduler triggers the {transform} indexer to check for updatesor ingest new data at an interval specified in the<<put-transform-request-body,`frequency` property>>.end::trigger-count[]tag::cat-v[]`v`::(Optional, Boolean) If `true`, the response includes column headings.Defaults to `false`.end::cat-v[]tag::version[]`version`::(Optional, Boolean) If `true`, returns the document version as part of a hit.end::version[]tag::doc-version[]`version`::(Optional, integer) Explicit version number for concurrency control.The specified version must match the current version of the document for therequest to succeed.end::doc-version[]tag::segment-version[]Version of Lucene used to write the segment.end::segment-version[]tag::version_type[]`version_type`::(Optional, enum) Specific version type: `external`,`external_gte`.end::version_type[]tag::wait_for_active_shards[]`wait_for_active_shards`::+--(Optional, string) The number of shard copies that must be active beforeproceeding with the operation. Set to `all` or any positive integer upto the total number of shards in the index (`number_of_replicas+1`).Default: 1, the primary shard.See <<index-wait-for-active-shards>>.--end::wait_for_active_shards[]
 |