class Elastics::Template::SlimSearch

Public Class Methods

variables() click to toggle source

no _source returned the result.loaded_collection, will load the records from the db

Calls superclass method Elastics::Template::variables
# File lib/elastics/template/slim_search.rb, line 7
def self.variables
  super.deep_merge!(:params => {:_source => false})
end