Skip to content

Commit 831791c

Browse files
Updated opensearch-php to reflect the latest OpenSearch API spec (2025-02-18) (#298)
Signed-off-by: GitHub <[email protected]> Co-authored-by: dblock <[email protected]>
1 parent ec2b48a commit 831791c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1111
### Security
1212
### Dependencies
1313
### Updated APIs
14+
- Updated opensearch-php APIs to reflect [opensearch-api-specification@5697cbd](https://github.com/opensearch-project/opensearch-api-specification/commit/5697cbd37a824f756ec6579e5cb812bd06ceee53)
1415
- Updated opensearch-php APIs to reflect [opensearch-api-specification@22483a2](https://github.com/opensearch-project/opensearch-api-specification/commit/22483a2bdfe1022611b1de7db5f45af9289a8654)
1516

1617
## [2.4.1]
@@ -48,6 +49,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4849
- Fixed PHP 8.4 deprecations ([#229](https://github.com/opensearch-project/opensearch-php/pull/229))
4950
- Fixed outdated tests ([#245](https://github.com/opensearch-project/opensearch-php/pull/245))
5051
### Updated APIs
52+
- Updated opensearch-php APIs to reflect [opensearch-api-specification@5697cbd](https://github.com/opensearch-project/opensearch-api-specification/commit/5697cbd37a824f756ec6579e5cb812bd06ceee53)
5153
- Updated opensearch-php APIs to reflect [opensearch-api-specification@22483a2](https://github.com/opensearch-project/opensearch-api-specification/commit/22483a2bdfe1022611b1de7db5f45af9289a8654)
5254
- Updated opensearch-php APIs to reflect [opensearch-api-specification@b9dcb25](https://github.com/opensearch-project/opensearch-api-specification/commit/b9dcb251d551e90ecfc416ba134efe83cbcbc1b3)
5355
- Updated opensearch-php APIs to reflect [opensearch-api-specification@9df46f8](https://github.com/opensearch-project/opensearch-api-specification/commit/9df46f8134641ae5b429e3e9269858c7cb27e4f0)

src/OpenSearch/Namespaces/ClusterNamespace.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ public function postVotingConfigExclusions(array $params = [])
384384
/**
385385
* Creates or updates a component template.
386386
*
387-
* $params['name'] = (string) The name of the component template to create. OpenSearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`. OpenSearch uses these templates to configure backing indexes for its data streams. If you want to overwrite one of these templates, set the replacement template `version` to a higher value than the current version. If you want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the Cluster Update Settings API.
387+
* $params['name'] = (string) The name of the component template to create. OpenSearch includes the following built-in component templates: `logs-mappings`; `logs-settings`; `metrics-mappings`; `metrics-settings`; `synthetics-mapping`; `synthetics-settings`. OpenSearch uses these templates to configure backing indexes for its data streams. If you want to overwrite one of these templates, set the replacement template `version` to a higher value than the current version. If you want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the Cluster Update Settings API.
388388
* $params['cluster_manager_timeout'] = (string)
389389
* $params['create'] = (boolean) When `true`, this request cannot replace or update existing component templates. (Default = false)
390390
* $params['master_timeout'] = (string)

0 commit comments

Comments
 (0)