Features Client

class opensearchpy.client.features.FeaturesClient(client)[source]

Bases: NamespacedClient

Parameters:

client (Any) –

get_features(params=None, headers=None)[source]

Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot

Parameters:
  • (Deprecated (master_timeout) – use cluster_manager_timeout): Explicit operation timeout for connection to master node

  • cluster_manager_timeout – Explicit operation timeout for connection to cluster_manager node

  • params (Any) –

  • headers (Any) –

Return type:

Any

reset_features(params=None, headers=None)[source]

Resets the internal state of features, usually by deleting system indices

Warning

This API is experimental so may include breaking changes or be removed in a future version

Parameters:
  • params (Any) –

  • headers (Any) –

Return type:

Any