Sha256: 7a642f742436889c4b2b25788e95a4501e70ab4887d0d3e12ece75fab87b194b

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

module SocialStream
  module Base
    module ThinkingSphinx
      module Index
        module Builder
          def activity_object_index
            indexes activity_object.title,       :as => :title
            indexes activity_object.description, :as => :description
            indexes activity_object.tags.name,   :as => :tags

            has created_at
            has activity_object.author_action(:actor_id), :as => :author_id
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_stream-0.26.0 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-0.20.0 lib/social_stream/base/thinking-sphinx.rb