Sha256: e0903b41bded91a67c512fdb41ff3e969f288ae09788283a679a18766c9c6e63

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

ThinkingSphinx::Index.define :book, :with => :active_record, :delta => true do
  indexes title, :sortable => true
  indexes author, :facet => true
  indexes [title, author], :as => :info
  indexes blurb_file, :file => true

  has year
  has created_at, :type => :timestamp
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 spec/internal/app/indices/book_index.rb
thinking-sphinx-3.4.1 spec/internal/app/indices/book_index.rb
thinking-sphinx-3.4.0 spec/internal/app/indices/book_index.rb
thinking-sphinx-3.3.0 spec/internal/app/indices/book_index.rb