Sha256: f53d9527581380217694afc715ca5e56465c696f3ceee5c17bd3176670662aac
Contents?: true
Size: 659 Bytes
Versions: 8
Compression:
Stored size: 659 Bytes
Contents
ThinkingSphinx::Index.define :article, :with => :active_record do indexes title, content indexes user.name, :as => :user indexes user.articles.title, :as => :related_titles has published, user_id has taggings.tag_id, :as => :tag_ids, :source => :query has taggings.created_at, :as => :taggings_at set_property :min_infix_len => 4 set_property :enable_star => true end ThinkingSphinx::Index.define :article, :with => :active_record, :name => 'stemmed_article' do indexes title has published, user_id has taggings.tag_id, :as => :tag_ids has taggings.created_at, :as => :taggings_at set_property :morphology => 'stem_en' end
Version data entries
8 entries across 8 versions & 1 rubygems