Sha256: 0cd22bcc8762099c7b1cfc13fe154e4485b87f723cdba2a10ff1b241bf9fcff5

Contents?: true

Size: 810 Bytes

Versions: 3

Compression:

Stored size: 810 Bytes

Contents

# encoding: utf-8

ThinkingSphinx::Index.define :page, with: :real_time do
  indexes localization_values
  indexes category_names
  indexes tag_list
  indexes author.name,  as: :author_name
  indexes author.email, as: :author_email
  indexes file_names
  indexes file_filenames

  has category_ids,   type: :integer, multi: true
  has tag_ids,        type: :integer, multi: true

  has published_at,   type: :timestamp
  has created_at,     type: :timestamp
  has updated_at,     type: :timestamp
  has user_id,        type: :integer
  has parent_page_id, type: :integer
  has status,         type: :integer
  has template,       type: :string
  has autopublish,    type: :boolean
  has feed_enabled,   type: :boolean
  has published,      type: :boolean

  set_property group_concat_max_len: 16.megabytes
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_sphinx-0.0.4 app/indices/page_index.rb
pages_sphinx-0.0.3 app/indices/page_index.rb
pages_sphinx-0.0.2 app/indices/page_index.rb