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-base-1.1.8 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.8 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.7 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.2 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.2 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.1 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.1 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.0 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.0 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.0.beta3 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.0.beta3 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.0.beta2 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.0.beta2 lib/social_stream/base/thinking-sphinx.rb
social_stream-2.0.0.beta1 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-2.0.0.beta1 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.7 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.6 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.6 base/lib/social_stream/base/thinking-sphinx.rb
social_stream-base-1.1.5 lib/social_stream/base/thinking-sphinx.rb
social_stream-1.1.5 base/lib/social_stream/base/thinking-sphinx.rb