2019-08-02 08:42:33 -04:00
|
|
|
|
2019-10-03 16:43:26 -04:00
|
|
|
|
2019-10-01 12:22:50 -04:00
|
|
|
tag::actions[]
|
|
|
|
`actions`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expression
|
|
|
|
of actions used to limit the request.
|
|
|
|
|
|
|
|
Omit this parameter to return all actions.
|
|
|
|
--
|
|
|
|
end::actions[]
|
|
|
|
|
2019-09-27 16:31:10 -04:00
|
|
|
tag::active-only[]
|
|
|
|
`active_only`::
|
|
|
|
(Optional, boolean)
|
|
|
|
If `true`,
|
|
|
|
the response only includes ongoing shard recoveries.
|
|
|
|
Defaults to `false`.
|
|
|
|
end::active-only[]
|
|
|
|
|
2019-08-29 09:44:58 -04:00
|
|
|
tag::index-alias[]
|
|
|
|
Comma-separated list or wildcard expression of index alias names
|
|
|
|
used to limit the request.
|
|
|
|
end::index-alias[]
|
|
|
|
|
2019-09-04 11:47:32 -04:00
|
|
|
tag::aliases[]
|
|
|
|
`aliases`::
|
|
|
|
(Optional, <<indices-aliases,alias object>>) Index aliases which include the
|
|
|
|
index. See <<indices-aliases>>.
|
|
|
|
end::aliases[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::index-alias-filter[]
|
|
|
|
<<query-dsl-bool-query, Filter query>>
|
|
|
|
used to limit the index alias.
|
|
|
|
+
|
|
|
|
If specified,
|
|
|
|
the index alias only applies to documents returned by the filter.
|
|
|
|
end::index-alias-filter[]
|
|
|
|
|
2019-09-25 12:36:23 -04:00
|
|
|
tag::target-index-aliases[]
|
|
|
|
`aliases`::
|
|
|
|
(Optional, <<indices-aliases,alias object>>)
|
|
|
|
Index aliases which include the target index.
|
|
|
|
See <<indices-aliases>>.
|
|
|
|
end::target-index-aliases[]
|
|
|
|
|
2019-08-21 09:42:10 -04:00
|
|
|
tag::allow-no-indices[]
|
|
|
|
`allow_no_indices`::
|
2019-09-06 14:10:36 -04:00
|
|
|
(Optional, boolean) If `true`,
|
|
|
|
the request does *not* return an error
|
|
|
|
if a wildcard expression
|
|
|
|
or `_all` value retrieves only missing or closed indices.
|
|
|
|
+
|
|
|
|
This parameter also applies to <<indices-aliases,index aliases>>
|
|
|
|
that point to a missing or closed index.
|
2019-08-21 09:42:10 -04:00
|
|
|
end::allow-no-indices[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
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.
|
2020-01-17 12:09:01 -05:00
|
|
|
* Contains wildcard expressions and there are only partial matches.
|
2019-12-17 12:01:31 -05:00
|
|
|
|
|
|
|
The default value is `true`, which returns an empty `transforms` array when
|
|
|
|
there 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 there
|
|
|
|
are 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.
|
2020-01-17 12:09:01 -05:00
|
|
|
* Contains wildcard expressions and there are only partial matches.
|
2019-12-17 12:01:31 -05:00
|
|
|
|
|
|
|
The default value is `true`, which returns a successful acknowledgement message
|
|
|
|
when there are no matches. When there are only partial matches, the API stops
|
|
|
|
the 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 there
|
|
|
|
are no matches or only partial matches.
|
|
|
|
--
|
|
|
|
end::allow-no-match-transforms2[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::analyzer[]
|
2019-09-16 13:01:54 -04:00
|
|
|
`analyzer`::
|
2019-08-29 12:56:10 -04:00
|
|
|
(Optional, string) Analyzer to use for the query string.
|
|
|
|
end::analyzer[]
|
|
|
|
|
|
|
|
tag::analyze_wildcard[]
|
|
|
|
`analyze_wildcard`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, wildcard and prefix queries are
|
2019-08-29 12:56:10 -04:00
|
|
|
analyzed. Defaults to `false`.
|
|
|
|
end::analyze_wildcard[]
|
|
|
|
|
2019-08-05 11:17:37 -04:00
|
|
|
tag::bytes[]
|
|
|
|
`bytes`::
|
|
|
|
(Optional, <<byte-units,byte size units>>) Unit used to display byte values.
|
|
|
|
end::bytes[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
tag::checkpointing-changes-last-detected-at[]
|
|
|
|
The timestamp when changes were last detected in the source indices.
|
|
|
|
end::checkpointing-changes-last-detected-at[]
|
|
|
|
|
2020-01-28 10:57:45 -05:00
|
|
|
tag::cluster-health-status[]
|
|
|
|
(string)
|
|
|
|
Health status of the cluster, based on the state of its primary and replica
|
|
|
|
shards. 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[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
tag::committed[]
|
|
|
|
If `true`,
|
|
|
|
the segments is synced to disk. Segments that are synced can survive a hard reboot.
|
|
|
|
+
|
2019-09-04 14:11:52 -04:00
|
|
|
If `false`,
|
2019-09-05 08:33:17 -04:00
|
|
|
the data from uncommitted segments is also stored in
|
|
|
|
the transaction log so that Elasticsearch is able to replay
|
|
|
|
changes on the next start.
|
|
|
|
end::committed[]
|
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
tag::completion-fields[]
|
|
|
|
`completion_fields`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expressions of fields
|
|
|
|
to include in `fielddata` and `suggest` statistics.
|
|
|
|
end::completion-fields[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::default_operator[]
|
|
|
|
`default_operator`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, string) The default operator for query string query: AND or OR.
|
2019-08-29 12:56:10 -04:00
|
|
|
Defaults to `OR`.
|
|
|
|
end::default_operator[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::dest[]
|
|
|
|
The destination for the {transform}.
|
|
|
|
end::dest[]
|
|
|
|
|
|
|
|
tag::dest-index[]
|
|
|
|
The _destination index_ for the {transform}.
|
|
|
|
end::dest-index[]
|
|
|
|
|
|
|
|
tag::dest-pipeline[]
|
|
|
|
The unique identifier for a <<pipeline,pipeline>>.
|
|
|
|
end::dest-pipeline[]
|
|
|
|
|
2019-09-27 16:31:10 -04:00
|
|
|
tag::detailed[]
|
|
|
|
`detailed`::
|
|
|
|
(Optional, boolean)
|
|
|
|
If `true`,
|
|
|
|
the response includes detailed information about shard recoveries.
|
|
|
|
Defaults to `false`.
|
|
|
|
end::detailed[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::df[]
|
|
|
|
`df`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, string) Field to use as default where no field prefix is
|
2019-08-29 12:56:10 -04:00
|
|
|
given in the query string.
|
|
|
|
end::df[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
tag::docs-count[]
|
|
|
|
Number of non-deleted documents in the segment, such as `25`. This
|
|
|
|
number is based on Lucene documents and may include documents from
|
|
|
|
<<nested,nested>> fields.
|
|
|
|
end::docs-count[]
|
|
|
|
|
|
|
|
tag::docs-deleted[]
|
|
|
|
Number of deleted documents in the segment, such as `0`. This number
|
|
|
|
is based on Lucene documents. {es} reclaims the disk space of deleted Lucene
|
|
|
|
documents when a segment is merged.
|
|
|
|
end::docs-deleted[]
|
|
|
|
|
2020-03-30 08:57:02 -04:00
|
|
|
tag::docs-indexed[]
|
|
|
|
The number of documents that have been indexed into the destination index
|
|
|
|
for the {transform}.
|
|
|
|
end::docs-indexed[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
tag::docs-processed[]
|
|
|
|
The number of documents that have been processed from the source index of
|
|
|
|
the {transform}.
|
|
|
|
end::docs-processed[]
|
|
|
|
|
2019-09-04 14:11:52 -04:00
|
|
|
tag::enrich-policy[]
|
|
|
|
Enrich policy name
|
|
|
|
used to limit the request.
|
|
|
|
end::enrich-policy[]
|
|
|
|
|
2019-08-21 09:42:10 -04:00
|
|
|
tag::expand-wildcards[]
|
|
|
|
`expand_wildcards`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, string) Controls what kind of indices that wildcard
|
|
|
|
expressions can expand to. Valid values are:
|
|
|
|
|
|
|
|
`all`::
|
|
|
|
Expand to open and closed indices.
|
|
|
|
|
|
|
|
`open`::
|
|
|
|
Expand only to open indices.
|
|
|
|
|
|
|
|
`closed`::
|
|
|
|
Expand only to closed indices.
|
|
|
|
|
2020-01-17 12:09:01 -05:00
|
|
|
`hidden`::
|
|
|
|
Expansion of wildcards will include hidden indices.
|
|
|
|
|
2019-08-21 09:42:10 -04:00
|
|
|
`none`::
|
|
|
|
Wildcard expressions are not accepted.
|
|
|
|
--
|
|
|
|
end::expand-wildcards[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
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 been
|
|
|
|
indexed.
|
|
|
|
end::exponential-avg-documents-indexed[]
|
|
|
|
|
|
|
|
tag::exponential-avg-documents-processed[]
|
|
|
|
Exponential moving average of the number of documents that have been
|
|
|
|
processed.
|
|
|
|
end::exponential-avg-documents-processed[]
|
|
|
|
|
2019-10-07 01:25:21 -04:00
|
|
|
tag::field_statistics[]
|
|
|
|
`field_statistics`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the response includes the document count, sum of document frequencies,
|
2019-10-07 01:25:21 -04:00
|
|
|
and sum of total term frequencies.
|
|
|
|
Defaults to `true`.
|
|
|
|
end::field_statistics[]
|
2019-09-05 08:33:17 -04:00
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
tag::fielddata-fields[]
|
|
|
|
`fielddata_fields`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expressions of fields
|
|
|
|
to include in `fielddata` statistics.
|
|
|
|
end::fielddata-fields[]
|
|
|
|
|
|
|
|
tag::fields[]
|
|
|
|
`fields`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expressions of fields
|
|
|
|
to include in the statistics.
|
|
|
|
|
|
|
|
Used as the default list
|
|
|
|
unless a specific field list is provided
|
|
|
|
in the `completion_fields` or `fielddata_fields` parameters.
|
|
|
|
--
|
|
|
|
end::fields[]
|
|
|
|
|
|
|
|
tag::index-alias-filter[]
|
|
|
|
<<query-dsl-bool-query, Filter query>>
|
|
|
|
used to limit the index alias.
|
|
|
|
+
|
|
|
|
If specified,
|
|
|
|
the index alias only applies to documents returned by the filter.
|
|
|
|
end::index-alias-filter[]
|
|
|
|
|
2019-08-07 10:46:39 -04:00
|
|
|
tag::flat-settings[]
|
|
|
|
`flat_settings`::
|
2019-08-12 17:50:15 -04:00
|
|
|
(Optional, boolean) If `true`, returns settings in flat format. Defaults to
|
2019-08-07 10:46:39 -04:00
|
|
|
`false`.
|
|
|
|
end::flat-settings[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
tag::generation[]
|
|
|
|
Generation number, such as `0`. {es} increments this generation number
|
|
|
|
for each segment written. {es} then uses this number to derive the segment name.
|
|
|
|
end::generation[]
|
|
|
|
|
2019-08-05 08:27:15 -04:00
|
|
|
tag::http-format[]
|
|
|
|
`format`::
|
|
|
|
(Optional, string) Short version of the
|
|
|
|
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html[HTTP accept header].
|
|
|
|
Valid values include JSON, YAML, etc.
|
|
|
|
end::http-format[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::frequency[]
|
|
|
|
The interval between checks for changes in the source indices when the
|
|
|
|
{transform} is running continuously. Also determines the retry interval in the
|
|
|
|
event of transient failures while the {transform} is searching or indexing. The
|
|
|
|
minimum value is `1s` and the maximum is `1h`. The default value is `1m`.
|
|
|
|
end::frequency[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::from[]
|
|
|
|
`from`::
|
|
|
|
(Optional, integer) Starting document offset. Defaults to `0`.
|
|
|
|
end::from[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::from-transforms[]
|
|
|
|
Skips the specified number of {transforms}. The default value is `0`.
|
|
|
|
end::from-transforms[]
|
|
|
|
|
2019-10-01 12:22:50 -04:00
|
|
|
tag::generation[]
|
|
|
|
Generation number, such as `0`. {es} increments this generation number
|
|
|
|
for 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[]
|
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
tag::groups[]
|
|
|
|
`groups`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list of search groups
|
|
|
|
to include in the `search` statistics.
|
|
|
|
end::groups[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::cat-h[]
|
|
|
|
`h`::
|
|
|
|
(Optional, string) Comma-separated list of column names to display.
|
|
|
|
end::cat-h[]
|
|
|
|
|
|
|
|
tag::help[]
|
|
|
|
`help`::
|
2019-10-07 01:25:21 -04:00
|
|
|
(Optional, boolean) If `true`, the response includes help information. Defaults
|
2019-08-29 12:56:10 -04:00
|
|
|
to `false`.
|
|
|
|
end::help[]
|
|
|
|
|
2020-04-22 09:48:03 -04:00
|
|
|
tag::bulk-id[]
|
|
|
|
`_id`::
|
|
|
|
(Optional, string)
|
|
|
|
The document ID.
|
|
|
|
If no ID is specified, a document ID is automatically generated.
|
|
|
|
end::bulk-id[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::if_primary_term[]
|
|
|
|
`if_primary_term`::
|
|
|
|
(Optional, integer) Only perform the operation if the document has
|
|
|
|
this 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 this
|
|
|
|
sequence number. See <<optimistic-concurrency-control-index>>.
|
|
|
|
end::if_seq_no[]
|
|
|
|
|
2019-09-17 03:53:03 -04:00
|
|
|
tag::ignore_throttled[]
|
|
|
|
`ignore_throttled`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, concrete, expanded or aliased indices are
|
2019-09-17 03:53:03 -04:00
|
|
|
ignored when throttled.
|
|
|
|
end::ignore_throttled[]
|
|
|
|
|
2019-09-06 10:30:43 -04:00
|
|
|
tag::index-ignore-unavailable[]
|
|
|
|
`ignore_unavailable`::
|
|
|
|
(Optional, boolean) If `true`, missing or closed indices are not included in the
|
|
|
|
response. Defaults to `false`.
|
|
|
|
end::index-ignore-unavailable[]
|
2019-08-29 10:38:48 -04:00
|
|
|
|
2019-08-23 11:14:51 -04:00
|
|
|
tag::include-defaults[]
|
|
|
|
`include_defaults`::
|
|
|
|
(Optional, string) If `true`, return all default settings in the response.
|
|
|
|
Defaults to `false`.
|
|
|
|
end::include-defaults[]
|
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
tag::include-segment-file-sizes[]
|
|
|
|
`include_segment_file_sizes`::
|
|
|
|
(Optional, boolean)
|
2019-09-04 14:11:52 -04:00
|
|
|
If `true`, the call reports the aggregated disk usage of
|
|
|
|
each one of the Lucene index files (only applies if segment stats are
|
2019-09-05 15:03:33 -04:00
|
|
|
requested). Defaults to `false`.
|
|
|
|
end::include-segment-file-sizes[]
|
|
|
|
|
2019-09-06 10:30:43 -04:00
|
|
|
tag::include-type-name[]
|
|
|
|
`include_type_name`::
|
|
|
|
deprecated:[7.0.0, Mapping types have been deprecated. See <<removal-of-types>>.]
|
|
|
|
(Optional, boolean) If `true`, a mapping type is expected in the body of
|
|
|
|
mappings. Defaults to `false`.
|
|
|
|
end::include-type-name[]
|
|
|
|
|
2019-08-07 09:08:09 -04:00
|
|
|
tag::include-unloaded-segments[]
|
|
|
|
`include_unloaded_segments`::
|
|
|
|
(Optional, boolean) If `true`, the response includes information from segments
|
|
|
|
that are **not** loaded into memory. Defaults to `false`.
|
|
|
|
end::include-unloaded-segments[]
|
|
|
|
|
2019-09-27 16:31:10 -04:00
|
|
|
tag::index-query-parm[]
|
|
|
|
`index`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expression of index names
|
|
|
|
used to limit the request.
|
|
|
|
end::index-query-parm[]
|
|
|
|
|
2019-08-06 08:36:22 -04:00
|
|
|
tag::index[]
|
2019-08-23 10:57:20 -04:00
|
|
|
`<index>`::
|
2019-08-07 09:08:09 -04:00
|
|
|
(Optional, string) Comma-separated list or wildcard expression of index names
|
|
|
|
used to limit the request.
|
2019-08-06 08:36:22 -04:00
|
|
|
end::index[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
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 indices created.
|
|
|
|
end::index-total[]
|
|
|
|
|
|
|
|
tag::bulk-index[]
|
|
|
|
`_index`::
|
|
|
|
(Optional, string)
|
|
|
|
The name of the target index.
|
|
|
|
Required if not specified as a path parameter.
|
|
|
|
end::bulk-index[]
|
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
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,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 groups
|
|
|
|
by 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 usage
|
|
|
|
of each Lucene index file.
|
|
|
|
|
|
|
|
`store`::
|
|
|
|
Size of the index in <<byte-units, byte units>>.
|
|
|
|
|
|
|
|
`suggest`::
|
|
|
|
<<search-suggesters,Suggester>> statistics.
|
|
|
|
|
|
|
|
`translog`::
|
|
|
|
<<index-modules-translog,Translog>> statistics.
|
|
|
|
|
|
|
|
`warmer`::
|
|
|
|
<<indices-warmers,Warmer>> statistics.
|
|
|
|
--
|
|
|
|
end::index-metric[]
|
|
|
|
|
2019-08-29 13:18:47 -04:00
|
|
|
tag::index-template[]
|
|
|
|
`<index-template>`::
|
|
|
|
(Required, string)
|
|
|
|
Comma-separated list or wildcard expression of index template names
|
|
|
|
used to limit the request.
|
|
|
|
end::index-template[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::lenient[]
|
|
|
|
`lenient`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, format-based query failures (such as
|
2019-08-29 12:56:10 -04:00
|
|
|
providing text to a numeric field) will be ignored. Defaults to `false`.
|
|
|
|
end::lenient[]
|
|
|
|
|
2019-09-05 15:03:33 -04:00
|
|
|
tag::level[]
|
|
|
|
`level`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, string)
|
|
|
|
Indicates whether statistics are aggregated
|
|
|
|
at the cluster, index, or shard level.
|
|
|
|
|
|
|
|
Valid values are:
|
|
|
|
|
|
|
|
* `cluster`
|
|
|
|
* `indices`
|
|
|
|
* `shards`
|
|
|
|
--
|
|
|
|
end::level[]
|
|
|
|
|
2019-08-05 08:27:15 -04:00
|
|
|
tag::local[]
|
|
|
|
`local`::
|
|
|
|
(Optional, boolean) If `true`, the request retrieves information from the local
|
|
|
|
node only. Defaults to `false`, which means information is retrieved from
|
|
|
|
the master node.
|
|
|
|
end::local[]
|
|
|
|
|
2019-09-04 11:47:32 -04:00
|
|
|
tag::mappings[]
|
|
|
|
`mappings`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, <<mapping,mapping object>>) Mapping for fields in the index. If
|
|
|
|
specified, this mapping can include:
|
|
|
|
|
|
|
|
* Field names
|
|
|
|
* <<mapping-types,Field datatypes>>
|
|
|
|
* <<mapping-params,Mapping parameters>>
|
|
|
|
|
|
|
|
See <<mapping>>.
|
|
|
|
--
|
|
|
|
end::mappings[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::max_docs[]
|
|
|
|
`max_docs`::
|
|
|
|
(Optional, integer) Maximum number of documents to process. Defaults to all
|
|
|
|
documents.
|
|
|
|
end::max_docs[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
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[]
|
|
|
|
|
2020-01-28 10:57:45 -05:00
|
|
|
tag::node-filter[]
|
|
|
|
`<node_filter>`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list of <<cluster-nodes,node filters>> used to limit returned
|
|
|
|
information. Defaults to all nodes in the cluster.
|
|
|
|
end::node-filter[]
|
|
|
|
|
2019-08-05 11:17:37 -04:00
|
|
|
tag::node-id[]
|
2019-08-23 10:57:20 -04:00
|
|
|
`<node_id>`::
|
2019-08-05 11:17:37 -04:00
|
|
|
(Optional, string) Comma-separated list of node IDs or names used to limit
|
|
|
|
returned information.
|
|
|
|
end::node-id[]
|
|
|
|
|
2019-10-01 12:22:50 -04:00
|
|
|
tag::node-id-query-parm[]
|
|
|
|
`node_id`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list of node IDs or names
|
|
|
|
used to limit returned information.
|
|
|
|
end::node-id-query-parm[]
|
|
|
|
|
2019-10-07 01:25:21 -04:00
|
|
|
tag::offsets[]
|
|
|
|
`<offsets>`::
|
|
|
|
(Optional, boolean) If `true`, the response includes term offsets.
|
|
|
|
Defaults to `true`.
|
|
|
|
end::offsets[]
|
|
|
|
|
2019-10-01 12:22:50 -04:00
|
|
|
tag::parent-task-id[]
|
|
|
|
`parent_task_id`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Optional, string)
|
|
|
|
Parent task ID
|
|
|
|
used to limit returned information.
|
|
|
|
|
|
|
|
To return all tasks,
|
|
|
|
omit this parameter
|
|
|
|
or use a value of `-1`.
|
|
|
|
--
|
|
|
|
end::parent-task-id[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::payloads[]
|
|
|
|
`payloads`::
|
|
|
|
(Optional, boolean) If `true`, the response includes term payloads.
|
|
|
|
Defaults to `true`.
|
|
|
|
end::payloads[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::pipeline[]
|
2019-08-12 17:50:15 -04:00
|
|
|
`pipeline`::
|
|
|
|
(Optional, string) ID of the pipeline to use to preprocess incoming documents.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::pipeline[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
tag::pages-processed[]
|
|
|
|
The number of search or bulk index operations processed. Documents are
|
|
|
|
processed in batches instead of individually.
|
|
|
|
end::pages-processed[]
|
|
|
|
|
2019-09-26 08:51:12 -04:00
|
|
|
tag::path-pipeline[]
|
|
|
|
`<pipeline>`::
|
|
|
|
(Optional, string) Comma-separated list or wildcard expression of pipeline IDs
|
|
|
|
used to limit the request.
|
|
|
|
end::path-pipeline[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::pivot[]
|
|
|
|
The method for transforming the data. These objects define the pivot function
|
|
|
|
`group by` fields and the aggregation to reduce the data.
|
|
|
|
end::pivot[]
|
|
|
|
|
|
|
|
tag::pivot-aggs[]
|
|
|
|
Defines how to aggregate the grouped data. The following composite aggregations
|
|
|
|
are supported:
|
|
|
|
+
|
|
|
|
--
|
|
|
|
* <<search-aggregations-metrics-avg-aggregation,Average>>
|
|
|
|
* <<search-aggregations-metrics-weight-avg-aggregation,Weighted average>>
|
|
|
|
* <<search-aggregations-metrics-cardinality-aggregation,Cardinality>>
|
2020-03-20 13:25:21 -04:00
|
|
|
* <<search-aggregations-bucket-filter-aggregation,Filter>>
|
2019-12-17 12:01:31 -05:00
|
|
|
* <<search-aggregations-metrics-geobounds-aggregation,Geo bounds>>
|
|
|
|
* <<search-aggregations-metrics-geocentroid-aggregation,Geo centroid>>
|
|
|
|
* <<search-aggregations-metrics-max-aggregation,Max>>
|
|
|
|
* <<search-aggregations-metrics-min-aggregation,Min>>
|
2020-03-20 13:25:21 -04:00
|
|
|
* <<search-aggregations-metrics-percentile-aggregation,Percentiles>>
|
2019-12-17 12:01:31 -05:00
|
|
|
* <<search-aggregations-metrics-scripted-metric-aggregation,Scripted metric>>
|
|
|
|
* <<search-aggregations-metrics-sum-aggregation,Sum>>
|
|
|
|
* <<search-aggregations-metrics-valuecount-aggregation,Value count>>
|
|
|
|
* <<search-aggregations-pipeline-bucket-script-aggregation,Bucket script>>
|
|
|
|
* <<search-aggregations-pipeline-bucket-selector-aggregation,Bucket selector>>
|
|
|
|
|
|
|
|
IMPORTANT: {transforms-cap} support a subset of the functionality in
|
|
|
|
composite aggregations. See <<transform-limitations>>.
|
|
|
|
|
|
|
|
--
|
|
|
|
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 supported:
|
|
|
|
+
|
|
|
|
--
|
|
|
|
* <<_terms,Terms>>
|
|
|
|
* <<_histogram,Histogram>>
|
|
|
|
* <<_date_histogram,Date histogram>>
|
|
|
|
--
|
|
|
|
end::pivot-group-by[]
|
|
|
|
|
|
|
|
tag::pivot-max-page-search-size[]
|
|
|
|
Defines the initial page size to use for the composite aggregation for each
|
|
|
|
checkpoint. If circuit breaker exceptions occur, the page size is dynamically
|
|
|
|
adjusted to a lower value. The minimum value is `10` and the maximum is `10,000`.
|
|
|
|
The default value is `500`.
|
|
|
|
end::pivot-max-page-search-size[]
|
2019-10-07 01:25:21 -04:00
|
|
|
|
|
|
|
tag::positions[]
|
|
|
|
`positions`::
|
|
|
|
(Optional, boolean) If `true`, the response includes term positions.
|
|
|
|
Defaults to `true`.
|
|
|
|
end::positions[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::preference[]
|
|
|
|
`preference`::
|
2019-09-04 14:11:52 -04:00
|
|
|
(Optional, string) Specifies the node or shard the operation should be
|
2019-09-06 10:30:43 -04:00
|
|
|
performed on. Random by default.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::preference[]
|
|
|
|
|
2020-04-02 19:12:57 -04:00
|
|
|
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[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::search-q[]
|
|
|
|
`q`::
|
|
|
|
(Optional, string) Query in the Lucene query string syntax.
|
|
|
|
end::search-q[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-09-17 03:53:03 -04:00
|
|
|
tag::query[]
|
|
|
|
`query`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, <<query-dsl,query object>>) Defines the search definition using the
|
2019-09-17 03:53:03 -04:00
|
|
|
<<query-dsl,Query DSL>>.
|
|
|
|
end::query[]
|
|
|
|
|
2019-10-07 01:25:21 -04:00
|
|
|
tag::realtime[]
|
|
|
|
`realtime`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the request is real-time as opposed to near-real-time.
|
2019-10-07 01:25:21 -04:00
|
|
|
Defaults to `true`. See <<realtime>>.
|
|
|
|
end::realtime[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::refresh[]
|
2019-08-12 17:50:15 -04:00
|
|
|
`refresh`::
|
|
|
|
(Optional, enum) If `true`, {es} refreshes the affected shards to make this
|
|
|
|
operation visible to search, if `wait_for` then wait for a refresh to make
|
|
|
|
this operation visible to search, if `false` do nothing with refreshes.
|
|
|
|
Valid values: `true`, `false`, `wait_for`. Default: `false`.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::refresh[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::request_cache[]
|
|
|
|
`request_cache`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the request cache is used for this request.
|
2019-10-07 01:25:21 -04:00
|
|
|
Defaults to the index-level setting.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::request_cache[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::requests_per_second[]
|
|
|
|
`requests_per_second`::
|
2019-09-05 08:33:17 -04:00
|
|
|
(Optional, integer) The throttle for this request in sub-requests per second.
|
|
|
|
-1 means no throttle. Defaults to 0.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::requests_per_second[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::routing[]
|
2019-08-12 17:50:15 -04:00
|
|
|
`routing`::
|
|
|
|
(Optional, string) Target the specified primary shard.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::routing[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-08-29 10:38:48 -04:00
|
|
|
tag::index-routing[]
|
|
|
|
`routing`::
|
|
|
|
(Optional, string)
|
|
|
|
Custom <<mapping-routing-field, routing value>>
|
|
|
|
used to route operations to a specific shard.
|
|
|
|
end::index-routing[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::cat-s[]
|
|
|
|
`s`::
|
|
|
|
(Optional, string) Comma-separated list of column names or column aliases used
|
|
|
|
to sort the response.
|
|
|
|
end::cat-s[]
|
|
|
|
|
|
|
|
tag::scroll[]
|
|
|
|
`scroll`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, <<time-units, time units>>) Specifies how long a consistent view of
|
2019-08-29 12:56:10 -04:00
|
|
|
the index should be maintained for scrolled search.
|
|
|
|
end::scroll[]
|
|
|
|
|
|
|
|
tag::scroll_size[]
|
|
|
|
`scroll_size`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, integer) Size of the scroll request that powers the operation.
|
|
|
|
Defaults to 100.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::scroll_size[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
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[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::search_timeout[]
|
2020-02-24 17:57:49 -05:00
|
|
|
`timeout`::
|
2019-10-10 04:35:09 -04:00
|
|
|
(Optional, <<time-units, time units>>)
|
|
|
|
Explicit timeout for each search request.
|
|
|
|
Defaults to no timeout.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::search_timeout[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
tag::search-total[]
|
|
|
|
The number of search operations on the source index for the {transform}.
|
|
|
|
end::search-total[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
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[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
tag::segment[]
|
|
|
|
Name of the segment, such as `_0`. The segment name is derived from
|
|
|
|
the segment generation and used internally to create file names in the directory
|
|
|
|
of the shard.
|
|
|
|
end::segment[]
|
|
|
|
|
2019-09-06 10:30:43 -04:00
|
|
|
tag::segment-search[]
|
|
|
|
If `true`,
|
|
|
|
the segment is searchable.
|
|
|
|
+
|
|
|
|
If `false`,
|
|
|
|
the segment has most likely been written to disk
|
|
|
|
but needs a <<indices-refresh,refresh>> to be searchable.
|
|
|
|
end::segment-search[]
|
|
|
|
|
2019-09-25 12:36:23 -04:00
|
|
|
tag::segment-size[]
|
|
|
|
Disk space used by the segment, such as `50kb`.
|
|
|
|
end::segment-size[]
|
|
|
|
|
2019-09-04 11:47:32 -04:00
|
|
|
tag::settings[]
|
|
|
|
`settings`::
|
|
|
|
(Optional, <<index-modules-settings,index setting object>>) Configuration
|
|
|
|
options for the index. See <<index-modules-settings>>.
|
|
|
|
end::settings[]
|
|
|
|
|
2019-09-25 12:36:23 -04:00
|
|
|
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[]
|
2019-09-05 08:33:17 -04:00
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::size-transforms[]
|
|
|
|
Specifies the maximum number of {transforms} to obtain. The default value is
|
|
|
|
`100`.
|
|
|
|
end::size-transforms[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::slices[]
|
|
|
|
`slices`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, integer) The number of slices this task should be divided into.
|
2019-08-29 12:56:10 -04:00
|
|
|
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`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, string) True or false to return the `_source` field or not, or a
|
2019-08-29 12:56:10 -04:00
|
|
|
list of fields to return.
|
|
|
|
end::source[]
|
|
|
|
|
|
|
|
tag::source_excludes[]
|
|
|
|
`_source_excludes`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, string) A list of fields to exclude from the returned `_source`
|
2019-08-29 12:56:10 -04:00
|
|
|
field.
|
|
|
|
end::source_excludes[]
|
|
|
|
|
|
|
|
tag::source_includes[]
|
|
|
|
`_source_includes`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, string) A list of fields to extract and return from the `_source`
|
2019-08-29 12:56:10 -04:00
|
|
|
field.
|
|
|
|
end::source_includes[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::source-transforms[]
|
2020-01-17 12:09:01 -05:00
|
|
|
The source of the data for the {transform}.
|
2019-12-17 12:01:31 -05:00
|
|
|
end::source-transforms[]
|
|
|
|
|
|
|
|
tag::source-index-transforms[]
|
|
|
|
The _source indices_ for the {transform}. It can be a single index, an index
|
2020-01-13 18:44:35 -05:00
|
|
|
pattern (for example, `"myindex*"`), an array of indices (for example,
|
|
|
|
`["index1", "index2"]`), or an array of index patterns (for example,
|
|
|
|
`["myindex1-*", "myindex2-*"]`.
|
2019-12-17 12:01:31 -05:00
|
|
|
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[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
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 new
|
|
|
|
documents.
|
|
|
|
* `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 the
|
|
|
|
reason for the failure.
|
|
|
|
end::state-transform-reason[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::stats[]
|
|
|
|
`stats`::
|
2019-09-04 14:11:52 -04:00
|
|
|
(Optional, string) Specific `tag` of the request for logging and statistical
|
2019-09-05 08:33:17 -04:00
|
|
|
purposes.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::stats[]
|
|
|
|
|
2019-10-07 01:25:21 -04:00
|
|
|
tag::stored_fields[]
|
|
|
|
`stored_fields`::
|
|
|
|
(Optional, boolean) If `true`, retrieves the document fields stored in the
|
|
|
|
index rather than the document `_source`. Defaults to `false`.
|
|
|
|
end::stored_fields[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
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 and
|
|
|
|
destination 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. The
|
|
|
|
default value is `60s`.
|
|
|
|
end::sync-time-delay[]
|
|
|
|
|
2019-09-25 12:36:23 -04:00
|
|
|
tag::target-index[]
|
|
|
|
`<target-index>`::
|
|
|
|
+
|
|
|
|
--
|
|
|
|
(Required, string)
|
|
|
|
Name of the target index to create.
|
|
|
|
|
|
|
|
include::{docdir}/indices/create-index.asciidoc[tag=index-name-reqs]
|
|
|
|
--
|
|
|
|
end::target-index[]
|
|
|
|
|
2019-10-01 12:22:50 -04:00
|
|
|
tag::task-id[]
|
|
|
|
`<task_id>`::
|
|
|
|
(Optional, string) ID of the task to return
|
|
|
|
(`node_id:task_number`).
|
|
|
|
end::task-id[]
|
|
|
|
|
2019-10-07 01:25:21 -04:00
|
|
|
tag::term_statistics[]
|
|
|
|
`term_statistics`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the response includes term frequency and document frequency.
|
2019-10-07 01:25:21 -04:00
|
|
|
Defaults to `false`.
|
|
|
|
end::term_statistics[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::terminate_after[]
|
|
|
|
`terminate_after`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, integer) The maximum number of documents to collect for each shard,
|
2019-08-29 12:56:10 -04:00
|
|
|
upon reaching which the query execution will terminate early.
|
|
|
|
end::terminate_after[]
|
|
|
|
|
2019-10-10 09:48:40 -04:00
|
|
|
tag::time[]
|
|
|
|
`time`::
|
|
|
|
(Optional, <<time-units,time units>>)
|
|
|
|
Unit used to display time values.
|
|
|
|
end::time[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::timeoutparms[]
|
|
|
|
|
|
|
|
tag::timeout[]
|
|
|
|
tag::master-timeout[]
|
|
|
|
`master_timeout`::
|
|
|
|
(Optional, <<time-units, time units>>) Specifies the period of time to wait for
|
|
|
|
a connection to the master node. If no response is received before the timeout
|
|
|
|
expires, the request fails and returns an error. Defaults to `30s`.
|
|
|
|
end::master-timeout[]
|
|
|
|
|
2020-04-06 16:46:56 -04:00
|
|
|
`timeout`::
|
|
|
|
(Optional, <<time-units, time units>>) Specifies the period of time to wait for
|
|
|
|
a response. If no response is received before the timeout expires, the request
|
|
|
|
fails and returns an error. Defaults to `30s`.
|
|
|
|
end::timeout[]
|
2019-08-29 12:56:10 -04:00
|
|
|
end::timeoutparms[]
|
|
|
|
|
2019-10-07 08:49:42 -04:00
|
|
|
tag::type[]
|
|
|
|
`<type>`::
|
|
|
|
(Optional, string)
|
|
|
|
Comma-separated list or wildcard expression of types
|
|
|
|
used to limit the request.
|
|
|
|
end::type[]
|
|
|
|
|
2019-12-17 12:01:31 -05:00
|
|
|
tag::transform-id[]
|
|
|
|
Identifier for the {transform}. This identifier can contain lowercase
|
|
|
|
alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start
|
|
|
|
and end with alphanumeric characters.
|
|
|
|
end::transform-id[]
|
|
|
|
|
|
|
|
tag::transform-id-wildcard[]
|
|
|
|
Identifier for the {transform}. It can be a {transform} identifier or a wildcard
|
|
|
|
expression. If you do not specify one of these options, the API returns
|
|
|
|
information for all {transforms}.
|
|
|
|
end::transform-id-wildcard[]
|
|
|
|
|
2020-03-26 10:56:46 -04:00
|
|
|
tag::trigger-count[]
|
|
|
|
The number of times the {transform} has been triggered by the scheduler. For
|
|
|
|
example, the scheduler triggers the {transform} indexer to check for updates
|
|
|
|
or ingest new data at an interval specified in the
|
|
|
|
<<put-transform-request-body,`frequency` property>>.
|
|
|
|
end::trigger-count[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::cat-v[]
|
|
|
|
`v`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the response includes column headings.
|
2019-10-07 01:25:21 -04:00
|
|
|
Defaults to `false`.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::cat-v[]
|
|
|
|
|
|
|
|
tag::version[]
|
|
|
|
`version`::
|
|
|
|
(Optional, boolean) If `true`, returns the document version as part of a hit.
|
|
|
|
end::version[]
|
|
|
|
|
2019-08-12 17:50:15 -04:00
|
|
|
tag::doc-version[]
|
|
|
|
`version`::
|
|
|
|
(Optional, integer) Explicit version number for concurrency control.
|
|
|
|
The specified version must match the current version of the document for the
|
|
|
|
request to succeed.
|
|
|
|
end::doc-version[]
|
|
|
|
|
2019-09-05 08:33:17 -04:00
|
|
|
tag::segment-version[]
|
|
|
|
Version of Lucene used to write the segment.
|
|
|
|
end::segment-version[]
|
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::version_type[]
|
2019-08-12 17:50:15 -04:00
|
|
|
`version_type`::
|
|
|
|
(Optional, enum) Specific version type: `internal`, `external`,
|
2020-03-16 16:41:05 -04:00
|
|
|
`external_gte`.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::version_type[]
|
2019-08-12 17:50:15 -04:00
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::wait_for_active_shards[]
|
2019-08-12 17:50:15 -04:00
|
|
|
`wait_for_active_shards`::
|
2019-08-26 08:31:31 -04:00
|
|
|
+
|
|
|
|
--
|
2019-08-12 17:50:15 -04:00
|
|
|
(Optional, string) The number of shard copies that must be active before
|
|
|
|
proceeding with the operation. Set to `all` or any positive integer up
|
|
|
|
to the total number of shards in the index (`number_of_replicas+1`).
|
|
|
|
Default: 1, the primary shard.
|
2019-08-26 08:31:31 -04:00
|
|
|
|
|
|
|
See <<index-wait-for-active-shards>>.
|
|
|
|
--
|
2019-08-29 12:56:10 -04:00
|
|
|
end::wait_for_active_shards[]
|
2019-08-05 08:27:15 -04:00
|
|
|
|
2019-08-29 12:56:10 -04:00
|
|
|
tag::wait_for_completion[]
|
|
|
|
`wait_for_completion`::
|
2020-01-17 12:09:01 -05:00
|
|
|
(Optional, boolean) If `true`, the request blocks until the operation is complete.
|
2019-10-07 01:25:21 -04:00
|
|
|
Defaults to `true`.
|
2019-08-29 12:56:10 -04:00
|
|
|
end::wait_for_completion[]
|