Module: Esearch::Mixin::Index

Included in:
Index, Indices
Defined in:
lib/esearch/mixin.rb

Overview

Mixin that adds index commands

Instance Method Summary collapse

Instance Method Details

#refreshself

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.

Refresh cluster

Returns:

  • (self)


79
80
81
# File 'lib/esearch/mixin.rb', line 79

def refresh
  Command::Index::Refresh.run(self)
end

#statusStatus

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 status of cluster

Returns:

  • (Status)


89
90
91
# File 'lib/esearch/mixin.rb', line 89

def status
  Command::Index::Status.run(self)
end