Guest User

Untitled

a guest
Jun 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. indexer
  2. {
  3. }
  4.  
  5. searchd
  6. {
  7. address = 127.0.0.1
  8. port = 3312
  9. log = /www/send_peace/log/searchd.log
  10. query_log = /www/send_peace/log/searchd.query.log
  11. pid_file = /www/send_peace/log/searchd.development.pid
  12. }
  13.  
  14. source event_core_0
  15. {
  16. type = mysql
  17. sql_host = localhost
  18. sql_user = root
  19. sql_pass = M0nster
  20. sql_db = lovdbyless_development
  21. sql_query_pre = SET NAMES utf8
  22. sql_query = SELECT `events`.`id` * 2 + 0 AS `id` , CAST(`events`.`location` AS CHAR) AS `location`, CAST(`events`.`title` AS CHAR) AS `title`, CAST(`events`.`description` AS CHAR) AS `description`, CAST(`events`.`host` AS CHAR) AS `host`, `events`.`id` AS `sphinx_internal_id`, 4201588131 AS `class_crc`, '4201588131' AS `subclass_crcs`, 0 AS `sphinx_deleted` FROM events WHERE `events`.`id` >= $start AND `events`.`id` <= $end GROUP BY `events`.`id` ORDER BY NULL
  23. sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `events`
  24. sql_attr_uint = sphinx_internal_id
  25. sql_attr_uint = class_crc
  26. sql_attr_uint = sphinx_deleted
  27. sql_attr_multi = uint subclass_crcs from field
  28. sql_query_info = SELECT * FROM `events` WHERE `id` = (($id - 0) / 2)
  29. }
  30.  
  31. index event_core
  32. {
  33. source = event_core_0
  34. path = /www/send_peace/db/sphinx/development/event_core
  35. charset_type = utf-8
  36. min_prefix_len = 3
  37. }
  38.  
  39. index event
  40. {
  41. type = distributed
  42. local = event_core
  43. }
  44.  
  45. source profile_core_0
  46. {
  47. type = mysql
  48. sql_host = localhost
  49. sql_user = root
  50. sql_pass = M0nster
  51. sql_db = lovdbyless_development
  52. sql_query_pre = SET NAMES utf8
  53. sql_query = SELECT `profiles`.`id` * 2 + 1 AS `id` , CAST(`profiles`.`location` AS CHAR) AS `location`, CAST(`profiles`.`about_me` AS CHAR) AS `about_me`, CAST(`profiles`.`first_name` AS CHAR) AS `first_name`, CAST(`profiles`.`last_name` AS CHAR) AS `last_name`, CAST(`users`.`login` AS CHAR) AS `login`, `profiles`.`id` AS `sphinx_internal_id`, 1323996051 AS `class_crc`, '1323996051' AS `subclass_crcs`, 0 AS `sphinx_deleted` FROM profiles LEFT OUTER JOIN `users` ON `users`.id = `profiles`.user_id WHERE `profiles`.`id` >= $start AND `profiles`.`id` <= $end GROUP BY `profiles`.`id` ORDER BY NULL
  54. sql_query_range = SELECT IFNULL(MIN(`id`), 1), IFNULL(MAX(`id`), 1) FROM `profiles`
  55. sql_attr_uint = sphinx_internal_id
  56. sql_attr_uint = class_crc
  57. sql_attr_uint = sphinx_deleted
  58. sql_attr_multi = uint subclass_crcs from field
  59. sql_query_info = SELECT * FROM `profiles` WHERE `id` = (($id - 1) / 2)
  60. }
  61.  
  62. index profile_core
  63. {
  64. source = profile_core_0
  65. path = /www/send_peace/db/sphinx/development/profile_core
  66. charset_type = utf-8
  67. min_prefix_len = 3
  68. }
  69.  
  70. index profile
  71. {
  72. type = distributed
  73. local = profile_core
  74. }
Add Comment
Please, Sign In to add comment