Sha256: 36bfb439a028cb0ec4227a41e46249fb35e7c4404633b0b8626027f8997fa1c0

Contents?: true

Size: 276 Bytes

Versions: 6

Compression:

Stored size: 276 Bytes

Contents

module Elastics
  class Template
    class SlimSearch < Search

      # no _source returned
      # the result.loaded_collection, will load the records from the db
      def self.variables
        super.deep_merge!(:params => {:_source => false})
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elastics-client-1.3.3 lib/elastics/template/slim_search.rb
elastics-client-1.3.2 lib/elastics/template/slim_search.rb
elastics-client-1.3.1 lib/elastics/template/slim_search.rb
elastics-client-1.3.0 lib/elastics/template/slim_search.rb
elastics-client-1.2.1 lib/elastics/template/slim_search.rb
elastics-client-1.2.0 lib/elastics/template/slim_search.rb