Skip to content

Commit

Permalink
Updated opensearch-py to reflect the latest OpenSearch API spec (2024…
Browse files Browse the repository at this point in the history
…-07-11)

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
saimedhi committed Jul 11, 2024
1 parent f0bce7c commit a6c11c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Fixed
- Fixed Search helper to ensure proper retention of the _collapse attribute in chained operations. ([#771](https://github.com/opensearch-project/opensearch-py/pull/771))
### Updated APIs
- Updated opensearch-py APIs to reflect [opensearch-api-specification@fd96e3e](https://github.com/opensearch-project/opensearch-api-specification/commit/fd96e3e1807c9af8654be778c47830f2f22ad139)
- Updated opensearch-py APIs to reflect [opensearch-api-specification@7452827](https://github.com/opensearch-project/opensearch-api-specification/commit/745282767026703ea27967d2705633c3e2661c97)
- Updated opensearch-py APIs to reflect [opensearch-api-specification@f2afd71](https://github.com/opensearch-project/opensearch-api-specification/commit/f2afd7171406c7477fbd644d74087bb0e2948c75)
- Updated opensearch-py APIs to reflect [opensearch-api-specification@49cd814](https://github.com/opensearch-project/opensearch-api-specification/commit/49cd8140663f32f7c8b638ddc295683344edba61)
Expand Down
3 changes: 3 additions & 0 deletions opensearchpy/_async/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,7 @@ async def validate_query(
"expand_wildcards",
"fielddata",
"fields",
"file",
"filter_path",
"human",
"ignore_unavailable",
Expand Down Expand Up @@ -1728,6 +1729,8 @@ async def clear_cache(
`fields` parameter to clear the cache of specific fields only.
:arg fields: Comma-separated list of field names used to limit
the `fielddata` parameter.
:arg file: If true, clears the unused entries from the file
cache on nodes with the Search role. Default is false.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down
3 changes: 3 additions & 0 deletions opensearchpy/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,7 @@ def validate_query(
"expand_wildcards",
"fielddata",
"fields",
"file",
"filter_path",
"human",
"ignore_unavailable",
Expand Down Expand Up @@ -1728,6 +1729,8 @@ def clear_cache(
`fields` parameter to clear the cache of specific fields only.
:arg fields: Comma-separated list of field names used to limit
the `fielddata` parameter.
:arg file: If true, clears the unused entries from the file
cache on nodes with the Search role. Default is false.
:arg filter_path: Comma-separated list of filters used to reduce
the response.
:arg human: Whether to return human readable values for
Expand Down

0 comments on commit a6c11c8

Please sign in to comment.