Class: Elastics::Template::SlimSearch
- Inherits:
-
Search
- Object
- Elastics::Template
- Search
- Elastics::Template::SlimSearch
- Defined in:
- lib/elastics/template/slim_search.rb
Instance Attribute Summary
Attributes inherited from Elastics::Template
Attributes included from Common
#data, #name, #partials, #tags
Class Method Summary collapse
-
.variables ⇒ Object
no _source returned the result.loaded_collection, will load the records from the db.
Methods inherited from Search
#initialize, #to_a, #to_msearch
Methods inherited from Elastics::Template
#initialize, #render, #to_a, #to_source
Methods included from Common
Methods included from Logger
Constructor Details
This class inherits a constructor from Elastics::Template::Search
Class Method Details
.variables ⇒ Object
no _source returned the result.loaded_collection, will load the records from the db
7 8 9 |
# File 'lib/elastics/template/slim_search.rb', line 7 def self.variables super.deep_merge!(:params => {:_source => false}) end |