Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.57 KB

UPGRADING.md

File metadata and controls

24 lines (12 loc) · 1.57 KB

Upgrading OpenSearch Python Client

Upgrading to >= 2.2.0

opensearch-py now includes opensearch-dsl-py features. opensearch-dsl-py was merged into opensearch-py preserving backwards compatibility with the previous opensearch-py version. (Refer link)

Features from High-Level Python Client

opensearch-py functionalities that already exist are not altered.

The opensearchpy helpers module now provides access to aggs, analysis, document, faceted search, field, function, index, mapping, query, search, update by query, utils, and wrappers. As a result, without importing opensearch-dsl-py, these functionalities can be imported directly from opensearch-py.

API Implementation differences for existing opensearch-dsl-py users

The functionalities from opensearch-dsl-py are merged into this client. Refer to the USER_GUIDE for an example on how to implement a feature from the previously known high level Python client.