Étienne Beaulé 1b0440a33f Ignore name of index when fetching settings (#823)
This commit fixes a situation where an index cannot be updated through this client as the index is aliased, with the client pointing to the alias.

As the `GET /<index>/_settings` request will only ever return the settings for the specified index (through the alias), it would only have one key, so the name of the key would not matter. We can pop the key to get the settings object for the index through the alias.

Signed-off-by: Étienne Beaulé <[email protected]>
2024-09-26 14:02:13 -04:00
2024-06-18 10:59:29 -04:00
2021-08-19 07:58:20 +05:30
2023-10-09 10:45:18 -07:00
2024-01-25 15:17:09 -08:00
2021-08-19 07:58:20 +05:30
2021-08-19 13:08:26 +05:30
2023-11-11 14:28:43 -08:00

Release CI Integration Chat PRs welcome!

OpenSearch logo

OpenSearch Python Client

Welcome!

opensearch-py is a community-driven, open source fork of elasticsearch-py licensed under the Apache v2.0 License. For more information, see opensearch.org and the API Doc.

User Guide

To get started with the OpenSearch Python Client, see User Guide. This repository also contains working samples and benchmarks.

Compatibility with OpenSearch

See Compatibility.

Project Resources

Code of Conduct

This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact [email protected] with any additional questions or comments.

License

This project is licensed under the Apache v2.0 License.

Copyright OpenSearch Contributors. See NOTICE for details.

Languages
Python 99.4%
Shell 0.6%