Sha256: ab24abc2ece1200cbdb4a9487bedcb0a1cd0c688c8e9812fae933ace0fd419a2
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
module Georgia module Indexer module Solr module Ckeditor module Asset def self.extended(base) base.class_eval do searchable do text :filename, stored: true text :tags do tag_list.join(', ') end string :tags, stored: true, multiple: true do tag_list end string :extension, stored: true do extension.try(:downcase) end time :updated_at integer :size, stored: true do size / 1024 # gives size in KB end end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia-0.7.2 | lib/georgia/indexer/solr/ckeditor/asset.rb |