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



77
78
79
# File 'lib/esearch/mixin.rb', line 77

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



87
88
89
# File 'lib/esearch/mixin.rb', line 87

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