Class: Esearch::Indices

Inherits:
Object
  • Object
show all
Includes:
Adamantium::Flat, Mixin::Exist, Mixin::Index, Mixin::Search
Defined in:
lib/esearch/indices.rb

Overview

Handler for set of indices

Direct Known Subclasses

All

Defined Under Namespace

Classes: All

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:



15
16
17
# File 'lib/esearch/indices.rb', line 15

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)


23
24
25
# File 'lib/esearch/indices.rb', line 23

def path
  Pathname.new("/#{names.join(',')}")
end