Module: Elasticity::Search
- Defined in:
- lib/elasticity/search.rb
Defined Under Namespace
Classes: ActiveRecordProxy, Definition, DocumentProxy, Facade, LazySearch, Results, ScanCursor
Class Method Summary collapse
Class Method Details
.build(client, index_name, document_types, body, search_args = {}) ⇒ Object
3 4 5 6 |
# File 'lib/elasticity/search.rb', line 3 def self.build(client, index_name, document_types, body, search_args = {}) search_def = Search::Definition.new(index_name, document_types, body, search_args) Search::Facade.new(client, search_def) end |