Class: Esearch::Indices::All

Inherits:
Esearch::Indices show all
Defined in:
lib/esearch/indices.rb

Overview

Control all indices of a cluster

Constant Summary collapse

PATH =
Pathname.new('/_all').freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Mixin::Exist

#exist?

Methods included from Mixin::Index

#refresh, #status

Methods included from Mixin::Search

#search

Instance Attribute Details

#connectionConnection (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return connection

Returns:



40
41
42
# File 'lib/esearch/indices.rb', line 40

def connection
  @connection
end

Instance Method Details

#pathPathname

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return path

Returns:

  • (Pathname)


48
49
50
# File 'lib/esearch/indices.rb', line 48

def path
  PATH
end