Class: Elastics::Template::SlimSearch

Inherits:
Search show all
Defined in:
lib/elastics/template/slim_search.rb

Instance Attribute Summary

Attributes inherited from Elastics::Template

#method, #path

Attributes included from Common

#data, #name, #partials, #tags

Class Method Summary collapse

Methods inherited from Search

#initialize, #to_a, #to_msearch

Methods inherited from Elastics::Template

#initialize, #render, #to_a, #to_source

Methods included from Common

#interpolate_partials, #setup

Methods included from Logger

#caller_line

Constructor Details

This class inherits a constructor from Elastics::Template::Search

Class Method Details

.variablesObject

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