elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb
# Retrieve node-level cache statistics about searchable snapshots.
# This functionality is Experimental and may be changed or removed
# completely in a future release. Elastic will take a best effort approach
# to fix any issues, but experimental features are not subject to the
# support SLA of official GA features.
#
# @option arguments [List] :node_id A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html
#
Retrieve node-level cache statistics about searchable snapshots.
This functionality is Experimental and may be changed or removed
completely in a future release. Elastic will take a best effort approach
to fix any issues, but experimental features are not subject to the
support SLA of official GA features.
Retrieve node - level cache statistics about searchable snapshots . This functionality is Experimental and may be changed or removed completely in a future release . Elastic will take a best effort approach to fix any issues but experimental features are not subject to the support SLA of official GA features .
def cache_stats(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _node_id = arguments.delete(:node_id)
          method = Elasticsearch::API::HTTP_GET
          path   = if _node_id
                     "_searchable_snapshots/#{Utils.__listify(_node_id)}/cache/stats"
                   else
                     "_searchable_snapshots/cache/stats"
                   end
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def cache_stats ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _node_id = arguments . delete ( :node_id ) method = Elasticsearch :: API :: HTTP_GET path = if _node_id "_searchable_snapshots/#{Utils.__listify(_node_id)}/cache/stats" else "_searchable_snapshots/cache/stats" end params = { } perform_request ( method , path , params , body , headers ) . body end
Retrieve node-level cache statistics about searchable snapshots.
Retrieve node - level cache statistics about searchable snapshots .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None