Module: Elasticsearch::API::Cluster

Defined in:
lib/elasticsearch/api/namespace/cluster.rb,
lib/elasticsearch/api/actions/cluster/state.rb,
lib/elasticsearch/api/actions/cluster/stats.rb,
lib/elasticsearch/api/actions/cluster/health.rb,
lib/elasticsearch/api/actions/cluster/reroute.rb,
lib/elasticsearch/api/actions/cluster/remote_info.rb,
lib/elasticsearch/api/actions/cluster/get_settings.rb,
lib/elasticsearch/api/actions/cluster/put_settings.rb,
lib/elasticsearch/api/actions/cluster/pending_tasks.rb,
lib/elasticsearch/api/actions/cluster/params_registry.rb,
lib/elasticsearch/api/actions/cluster/allocation_explain.rb

Defined Under Namespace

Modules: Actions Classes: ClusterClient

Instance Method Summary collapse

Instance Method Details

#clusterObject

Proxy method for ClusterClient, available in the receiving object



18
19
20
# File 'lib/elasticsearch/api/namespace/cluster.rb', line 18

def cluster
  @cluster ||= ClusterClient.new(self)
end