Sha256: 23a396bb2fe5b15ebe15a1aa986ab4d4ea2b8a1a616dd4fce752b47e1c6409d4

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

indexer
{
  mem_limit = 64M
}

searchd
{
  <% if Riddle.loaded_version.to_f < 0.9 %>
  port          = 9313
  <% else %>
  listen        = 9313
  listen        = 9306:mysql41
  <% end %>
  log           = <%= fixtures_path %>/sphinx/searchd.log
  query_log     = <%= fixtures_path %>/sphinx/searchd.query.log
  read_timeout  = 5
  max_children  = 30
  pid_file      = <%= fixtures_path %>/sphinx/searchd.pid
  binlog_path   = <%= fixtures_path %>/sphinx/binlog/
}

source peoples
{
  type 	    = mysql
  sql_host  = <%= host %>
  sql_user  = <%= username %>
  sql_pass  = <%= password %>
  sql_db    = riddle

  sql_query           = SELECT id, first_name, middle_initial, last_name, gender, street_address, city, state, postcode, email, UNIX_TIMESTAMP(birthday) AS birthday FROM people WHERE id >= $start AND id <= $end
  sql_query_range     = SELECT MIN(id), MAX(id) FROM people
  sql_query_info      = SELECT * FROM people WHERE id = $id
  sql_attr_timestamp  = birthday
}

index people
{
  source          = peoples
  morphology      = stem_en
  path            = <%= fixtures_path %>/sphinx/people
  charset_type    = utf-8
  enable_star     = 1
  min_prefix_len  = 1
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
riddle-2.1.0 spec/fixtures/sphinx/configuration.erb
riddle-2.0.0 spec/fixtures/sphinx/configuration.erb
riddle-1.5.12 spec/fixtures/sphinx/configuration.erb
riddle-1.5.11 spec/fixtures/sphinx/configuration.erb