Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- indexer
- {
- }
- searchd
- {
- address = 127.0.0.1
- port = 3312
- log = /Users/flip/ics/koko/log/searchd.log
- query_log = /Users/flip/ics/koko/log/searchd.query.log
- pid_file = /Users/flip/ics/koko/log/searchd.development.pid
- }
- source category_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre = UPDATE `categories` SET `delta` = 0 WHERE `delta` = 1
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `categories`.`id` * 7 + 0 AS `id` , CAST(`categories`.`title` AS CHAR) AS `title`, `categories`.`id` AS `sphinx_internal_id`, 4282022807 AS `class_crc`, '4282022807' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`categories`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`categories`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`categories`.`updated_at`) AS `updated_at`, `categories`.`datasets_count` AS `datasets_count` FROM `categories` WHERE `categories`.`id` >= $start AND `categories`.`id` <= $end AND `categories`.`delta` = 0 GROUP BY `categories`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `categories` WHERE `categories`.`delta` = 0
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_uint = datasets_count
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `categories` WHERE `id` = (($id - 0) / 7)
- }
- index category_core
- {
- source = category_core_0
- path = /Users/flip/ics/koko/db/sphinx/development/category_core
- morphology = stem_en
- charset_type = utf-8
- min_infix_len = 3
- enable_star = 1
- }
- source category_delta_0 : category_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre =
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `categories`.`id` * 7 + 0 AS `id` , CAST(`categories`.`title` AS CHAR) AS `title`, `categories`.`id` AS `sphinx_internal_id`, 4282022807 AS `class_crc`, '4282022807' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`categories`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`categories`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`categories`.`updated_at`) AS `updated_at`, `categories`.`datasets_count` AS `datasets_count` FROM `categories` WHERE `categories`.`id` >= $start AND `categories`.`id` <= $end AND `categories`.`delta` = 1 GROUP BY `categories`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `categories` WHERE `categories`.`delta` = 1
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_uint = datasets_count
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `categories` WHERE `id` = (($id - 0) / 7)
- }
- index category_delta : category_core
- {
- source = category_delta_0
- path = /Users/flip/ics/koko/db/sphinx/development/category_delta
- }
- index category
- {
- type = distributed
- local = category_delta
- local = category_core
- }
- source note_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `notes`.`id` * 7 + 1 AS `id` , CAST(`notes`.`title` AS CHAR) AS `title`, CAST(`notes`.`body` AS CHAR) AS `body`, `notes`.`id` AS `sphinx_internal_id`, 1871664426 AS `class_crc`, '1871664426' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`notes`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`notes`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`notes`.`updated_at`) AS `updated_at` FROM `notes` WHERE `notes`.`id` >= $start AND `notes`.`id` <= $end GROUP BY `notes`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `notes`
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `notes` WHERE `id` = (($id - 1) / 7)
- }
- index note_core
- {
- source = note_core_0
- path = /Users/flip/ics/koko/db/sphinx/development/note_core
- morphology = stem_en
- charset_type = utf-8
- min_infix_len = 3
- enable_star = 1
- }
- index note
- {
- type = distributed
- local = note_core
- }
- source collection_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre = UPDATE `collections` SET `delta` = 0 WHERE `delta` = 1
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `collections`.`id` * 7 + 2 AS `id` , CAST(`collections`.`title` AS CHAR) AS `title`, CAST(GROUP_CONCAT(DISTINCT `slugs`.`name` SEPARATOR ' ') AS CHAR) AS `name`, CAST(GROUP_CONCAT(DISTINCT `notes`.`body` SEPARATOR ' ') AS CHAR) AS `body`, `collections`.`id` AS `sphinx_internal_id`, 3004196578 AS `class_crc`, '3004196578' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`collections`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`collections`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`collections`.`updated_at`) AS `updated_at` FROM `collections` LEFT OUTER JOIN `slugs` ON `slugs`.sluggable_id = `collections`.id AND `slugs`.sluggable_type = 'Collection' LEFT OUTER JOIN `notes` ON `notes`.item_id = `collections`.id AND `notes`.item_type = 'Collection' WHERE `collections`.`id` >= $start AND `collections`.`id` <= $end AND `collections`.`delta` = 0 GROUP BY `collections`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `collections` WHERE `collections`.`delta` = 0
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `collections` WHERE `id` = (($id - 2) / 7)
- }
- index collection_core
- {
- source = collection_core_0
- path = /Users/flip/ics/koko/db/sphinx/development/collection_core
- morphology = stem_en
- charset_type = utf-8
- min_infix_len = 3
- enable_star = 1
- }
- source collection_delta_0 : collection_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre =
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `collections`.`id` * 7 + 2 AS `id` , CAST(`collections`.`title` AS CHAR) AS `title`, CAST(GROUP_CONCAT(DISTINCT `slugs`.`name` SEPARATOR ' ') AS CHAR) AS `name`, CAST(GROUP_CONCAT(DISTINCT `notes`.`body` SEPARATOR ' ') AS CHAR) AS `body`, `collections`.`id` AS `sphinx_internal_id`, 3004196578 AS `class_crc`, '3004196578' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`collections`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`collections`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`collections`.`updated_at`) AS `updated_at` FROM `collections` LEFT OUTER JOIN `slugs` ON `slugs`.sluggable_id = `collections`.id AND `slugs`.sluggable_type = 'Collection' LEFT OUTER JOIN `notes` ON `notes`.item_id = `collections`.id AND `notes`.item_type = 'Collection' WHERE `collections`.`id` >= $start AND `collections`.`id` <= $end AND `collections`.`delta` = 1 GROUP BY `collections`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `collections` WHERE `collections`.`delta` = 1
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `collections` WHERE `id` = (($id - 2) / 7)
- }
- index collection_delta : collection_core
- {
- source = collection_delta_0
- path = /Users/flip/ics/koko/db/sphinx/development/collection_delta
- }
- index collection
- {
- type = distributed
- local = collection_delta
- local = collection_core
- }
- source source_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre = UPDATE `sources` SET `delta` = 0 WHERE `delta` = 1
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `sources`.`id` * 7 + 3 AS `id` , CAST(`sources`.`title` AS CHAR) AS `title`, CAST(GROUP_CONCAT(DISTINCT `slugs`.`name` SEPARATOR ' ') AS CHAR) AS `name`, CAST(GROUP_CONCAT(DISTINCT `notes`.`body` SEPARATOR ' ') AS CHAR) AS `body`, CAST(`sources`.`main_link` AS CHAR) AS `main_link`, `sources`.`id` AS `sphinx_internal_id`, 1478916677 AS `class_crc`, '1478916677' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`sources`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`sources`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`sources`.`updated_at`) AS `updated_at` FROM `sources` LEFT OUTER JOIN `slugs` ON `slugs`.sluggable_id = `sources`.id AND `slugs`.sluggable_type = 'Source' LEFT OUTER JOIN `notes` ON `notes`.item_id = `sources`.id AND `notes`.item_type = 'Source' WHERE `sources`.`id` >= $start AND `sources`.`id` <= $end AND `sources`.`delta` = 0 GROUP BY `sources`.`id` ORDER BY NULL
- sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `sources` WHERE `sources`.`delta` = 0
- sql_attr_uint = sphinx_internal_id
- sql_attr_uint = class_crc
- sql_attr_uint = sphinx_deleted
- sql_attr_timestamp = created_at
- sql_attr_timestamp = updated_at
- sql_attr_str2ordinal = title_sort
- sql_attr_multi = uint subclass_crcs from field
- sql_query_info = SELECT * FROM `sources` WHERE `id` = (($id - 3) / 7)
- }
- index source_core
- {
- source = source_core_0
- path = /Users/flip/ics/koko/db/sphinx/development/source_core
- morphology = stem_en
- charset_type = utf-8
- min_infix_len = 3
- enable_star = 1
- }
- source source_delta_0 : source_core_0
- {
- type = mysql
- sql_host = localhost
- sql_user = imw
- sql_pass = local_pass_14_312
- sql_db = imw_koko_dev
- sql_port = 9696
- sql_query_pre =
- sql_query_pre = SET NAMES utf8
- sql_query = SELECT `sources`.`id` * 7 + 3 AS `id` , CAST(`sources`.`title` AS CHAR) AS `title`, CAST(GROUP_CONCAT(DISTINCT `slugs`.`name` SEPARATOR ' ') AS CHAR) AS `name`, CAST(GROUP_CONCAT(DISTINCT `notes`.`body` SEPARATOR ' ') AS CHAR) AS `body`, CAST(`sources`.`main_link` AS CHAR) AS `main_link`, `sources`.`id` AS `sphinx_internal_id`, 1478916677 AS `class_crc`, '1478916677' AS `subclass_crcs`, 0 AS `sphinx_deleted`, IFNULL(`sources`.`title`, '') AS `title_sort`, UNIX_TIMESTAMP(`sources`.`created_at`) AS `created_at`, UNIX_TIMESTAMP(`sources`.`updated_at`) AS `updated_at` FROM `sources` LEFT OUTER JOIN `slugs` ON `slugs`.sluggable_id = `sources`.id AND `slugs`.sluggable_type = 'Source' LEFT OUTER JOIN `notes` ON `notes`.item_id = `sources`.id AND `notes`.item_type = 'Source' WHERE `sources`.`id` >= $start AND `sources`.`id` <= $end AND `sources`.`delta` = 1 GROUP BY `sources%6
Add Comment
Please, Sign In to add comment