You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} [params._source] - `true` or `false` to return the `_source` field or not, or a list of fields to return.
29
29
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude from the response.
30
30
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response.
31
+
* @param {string} [params.index] - Name of the data stream, index, or index alias to perform bulk actions on.
31
32
* @param {string} [params.pipeline] - ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter.
32
33
* @param {string} [params.refresh] - If `true`, OpenSearch 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`.
33
34
* @param {boolean} [params.require_alias=false] - If `true`, the request's actions must target an index alias.
34
-
* @param {string} [params.routing] - Custom value used to route operations to a specific shard.
35
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
35
36
* @param {string} [params.timeout] - Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
36
37
* @param {string} [params.type] - Default document type for items which don't provide one.
37
38
* @param {string} [params.wait_for_active_shards] - 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`).
38
-
* @param {string} [params.index] - Name of the data stream, index, or index alias to perform bulk actions on.
39
39
* @param {array} params.body - The operation definition and data (action-data pairs), separated by newlines
40
40
*
41
41
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
* @param {string} [params.pipeline] - ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter.
34
34
* @param {string} [params.refresh] - If `true`, OpenSearch 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`.
35
35
* @param {boolean} [params.require_alias=false] - If `true`, the request's actions must target an index alias.
36
-
* @param {string} [params.routing] - Custom value used to route operations to a specific shard.
36
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
37
37
* @param {string} [params.timeout] - Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
38
38
* @param {string} [params.type] - Default document type for items which don't provide one.
39
39
* @param {string} [params.wait_for_active_shards] - 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`).
* @param {number} [params.min_score] - Sets the minimum `_score` value that documents must have to be included in the result.
38
38
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
39
39
* @param {string} [params.q] - Query in the Lucene query string syntax.
40
-
* @param {string} [params.routing] - Custom value used to route operations to a specific shard.
40
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
41
41
* @param {number} [params.terminate_after] - Maximum number of documents to collect for each shard. If a query reaches this limit, OpenSearch terminates the query early. OpenSearch collects documents before sorting.
42
-
* @param {string} [params.index] - Comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*` or `_all`.
42
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*` or `_all`.
43
43
* @param {object} [params.body] - Query to restrict the results specified with the Query DSL (optional)
44
44
*
45
45
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
Copy file name to clipboardExpand all lines: api/_core/create.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ Returns a 409 response when a document with a same ID already exists in the inde
29
29
* @param {object} params
30
30
* @param {string} [params.pipeline] - ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter.
31
31
* @param {string} [params.refresh] - If `true`, OpenSearch 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`.
32
-
* @param {string} [params.routing] - Custom value used to route operations to a specific shard.
32
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
33
33
* @param {string} [params.timeout] - Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
34
34
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
35
-
* @param {string} [params.version_type] - Specific version type: `external`, `external_gte`.
35
+
* @param {string} [params.version_type] - The specific version type: `external`, `external_gte`.
36
36
* @param {string} [params.wait_for_active_shards] - 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`).
37
-
* @param {string} params.id - Unique identifier for the document.
37
+
* @param {string} params.id - The unique identifier for the document.
38
38
* @param {string} params.index - Name of the data stream or index to target. If the target doesn't exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream. If the target doesn't exist and doesn't match a data stream template, this request creates the index.
0 commit comments