Module: Esearch::Mixin::Search

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

Overview

Mixin for search command

Instance Method Summary collapse

Instance Method Details

#search(query) ⇒ Presenter::Search

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 result

Parameters:

  • query (Hash)

Returns:



106
107
108
# File 'lib/esearch/mixin.rb', line 106

def search(query)
  Command::Search.run(self, query)
end