diff --git a/OpenSearch.openapi.json b/OpenSearch.openapi.json index fc0588afa..aa4420c5a 100644 --- a/OpenSearch.openapi.json +++ b/OpenSearch.openapi.json @@ -8228,6 +8228,16 @@ "description": "Specify whether the index should be flushed after performing the operation." } }, + { + "name": "primary_only", + "in": "query", + "description": "Specify whether the operation should only perform on primary shards. Defaults to false.", + "schema": { + "type": "boolean", + "default": false, + "description": "Specify whether the operation should only perform on primary shards. Defaults to false." + } + }, { "name": "ignore_unavailable", "in": "query", @@ -13189,13 +13199,13 @@ "x-version-added": "1.0" } }, - "/_plugins/_knn/{nodeId}/stats": { + "/_plugins/_knn/{node_id}/stats": { "get": { "description": "Provides information about the current status of the k-NN plugin.", "operationId": "KNNStats_WithNodeId", "parameters": [ { - "name": "nodeId", + "name": "node_id", "in": "path", "description": "Comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.", "schema": { @@ -13227,13 +13237,13 @@ "x-version-added": "1.0" } }, - "/_plugins/_knn/{nodeId}/stats/{stat}": { + "/_plugins/_knn/{node_id}/stats/{stat}": { "get": { "description": "Provides information about the current status of the k-NN plugin.", "operationId": "KNNStats_WithStatNodeId", "parameters": [ { - "name": "nodeId", + "name": "node_id", "in": "path", "description": "Comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.", "schema": { @@ -16433,6 +16443,16 @@ "type": "string", "description": "Customizable sequence of processing stages applied to search queries." } + }, + { + "name": "include_named_queries_score", + "in": "query", + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)", + "schema": { + "type": "boolean", + "default": false, + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)" + } } ], "responses": { @@ -16926,6 +16946,16 @@ "type": "string", "description": "Customizable sequence of processing stages applied to search queries." } + }, + { + "name": "include_named_queries_score", + "in": "query", + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)", + "schema": { + "type": "boolean", + "default": false, + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)" + } } ], "responses": { @@ -25493,6 +25523,16 @@ "description": "Specify whether the index should be flushed after performing the operation." } }, + { + "name": "primary_only", + "in": "query", + "description": "Specify whether the operation should only perform on primary shards. Defaults to false.", + "schema": { + "type": "boolean", + "default": false, + "description": "Specify whether the operation should only perform on primary shards. Defaults to false." + } + }, { "name": "ignore_unavailable", "in": "query", @@ -27741,6 +27781,16 @@ "type": "string", "description": "Customizable sequence of processing stages applied to search queries." } + }, + { + "name": "include_named_queries_score", + "in": "query", + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)", + "schema": { + "type": "boolean", + "default": false, + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)" + } } ], "responses": { @@ -28253,6 +28303,16 @@ "type": "string", "description": "Customizable sequence of processing stages applied to search queries." } + }, + { + "name": "include_named_queries_score", + "in": "query", + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)", + "schema": { + "type": "boolean", + "default": false, + "description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)" + } } ], "responses": {