Sha256: aa18f25d35481e05e01033c47c55ae0ced806d1831f5ba9c57b8779841647fad

Contents?: true

Size: 661 Bytes

Versions: 77

Compression:

Stored size: 661 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_actions(:actor_id), :as => :author_id
            has activity_object.owner_actions(:actor_id),  :as => :owner_id
            has activity_object.activity_object_audiences(:relation_id), :as => :relation_ids
          end
        end
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.2.2 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.2.1 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.2.1 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.2.0 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.2.0 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.1.1 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.12 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.11 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.1.0 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.1.0 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.4 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.4 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.3 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.3 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.11 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.10 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.10 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.9 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.9 base/lib/social_stream/base/thinking-sphinx.rb