Guest User

Untitled

a guest
Apr 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. # Auto-generated at Mon Mar 24 09:39:09 -0400 2008.
  2. # Hand modifications will be overwritten.
  3. # /cygdrive/c/var/www/app/trunk/config/ultrasphinx/default.base
  4. indexer {
  5. mem_limit = 256M
  6. }
  7. searchd {
  8. read_timeout = 5
  9. max_children = 300
  10. log = C:/var/www/app/current/log/ultrasphinx/searchd.log
  11. port = 3312
  12. max_matches = 100000
  13. query_log = C:/var/www/app/current/log/ultrasphinx/query.log
  14. seamless_rotate = 1
  15. pid_file = C:/var/www/app/current/log/ultrasphinx/searchd.pid
  16. address = 0.0.0.0
  17. }
  18.  
  19. # Source configuration
  20.  
  21. source projects
  22. {
  23. sql_range_step = 5000
  24. sql_query_post =
  25. sql_ranged_throttle = 0
  26.  
  27. type = mysql
  28. sql_query_pre = SET SESSION group_concat_max_len = 65535
  29. sql_query_pre = SET NAMES utf8
  30.  
  31. sql_db = app_development
  32. sql_host = 127.0.0.1
  33. sql_pass = password
  34. sql_user = root
  35. sql_query_range = SELECT MIN(id) , MAX(id) FROM projects
  36. sql_query = SELECT (projects.id * 3 + 2) AS id, '' AS blurb, 'Project' AS class, 2 AS class_id, '' AS requirements, '' AS tagline, projects.title AS title FROM projects WHERE projects.id >= $start AND projects.id <= $end GROUP BY projects.id
  37.  
  38. sql_attr_uint = class_id
  39. sql_query_info = SELECT * FROM projects WHERE projects.id = (($id - 2) / 3)
  40. }
  41.  
  42.  
  43. # Index configuration
  44.  
  45. index complete
  46. {
  47. source = projects
  48. charset_type = utf-8
  49. html_index_attrs =
  50. charset_table = 0..9, A..Z->a..z, -, _, ., &, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F,U+C5->U+E5, U+E5, U+C4->U+E4, U+E4, U+D6->U+F6, U+F6, U+16B, U+0c1->a, U+0c4->a, U+0c9->e, U+0cd->i, U+0d3->o, U+0d4->o, U+0da->u, U+0dd->y, U+0e1->a, U+0e4->a, U+0e9->e, U+0ed->i, U+0f3->o, U+0f4->o, U+0fa->u, U+0fd->y, U+104->U+105, U+105, U+106->U+107, U+10c->c, U+10d->c, U+10e->d, U+10f->d, U+116->U+117, U+117, U+118->U+119, U+11a->e, U+11b->e, U+12E->U+12F, U+12F, U+139->l, U+13a->l, U+13d->l, U+13e->l, U+141->U+142, U+142, U+143->U+144, U+144,U+147->n, U+148->n, U+154->r, U+155->r, U+158->r, U+159->r, U+15A->U+15B, U+15B, U+160->s, U+160->U+161, U+161->s, U+164->t, U+165->t, U+16A->U+16B, U+16B, U+16e->u, U+16f->u, U+172->U+173, U+173, U+179->U+17A, U+17A, U+17B->U+17C, U+17C, U+17d->z, U+17e->z,
  51. min_word_len = 1
  52. # enable_star = 1
  53. stopwords =
  54. html_strip = 0
  55. path = C:/var/www/app/current/db/sphinx//sphinx_index_complete
  56. docinfo = extern
  57. morphology = stem_en
  58. # min_infix_len = 1
  59. }
  60.  
  61.  
  62.  
  63.  
  64. (in C:/var/www/Anthillz/trunk)
  65. ** Invoke ultrasphinx:daemon:start (first_time)
  66. ** Invoke ultrasphinx:_environment (first_time)
  67. ** Invoke environment (first_time)
  68. ** Execute environment
  69. ** Execute ultrasphinx:_environment
  70. ** Execute ultrasphinx:daemon:start
  71. Failed to start
  72.  
  73.  
  74.  
  75.  
  76.  
  77. default.base
  78.  
  79. #
  80. # Sphinx/Ultrasphinx user-configurable options.
  81. #
  82. # Copy this file to RAILS_ROOT/config/ultrasphinx. You can use individual
  83. # namespaces if you want (e.g. development.base, production.base,
  84. # test.base).
  85. #
  86. # This file should not be handed directly to Sphinx. Use the rake task
  87. #
  88. # rake ultrasphinx::configure
  89. #
  90. # to generate a parallel default.conf file. This is the file that Sphinx itself will
  91. # use. The Ultrasphinx rake tasks automatically pass the correct file to
  92. # to Sphinx.
  93. #
  94. # It is safe to edit .base files by hand. It is not safe to edit the generated
  95. # .conf files. Do not symlink the .conf file to the .base file! I don't know why
  96. # people think they need to do that. It's wrong.
  97. #
  98.  
  99. indexer
  100. {
  101. # Indexer running options
  102. mem_limit = 256M
  103. }
  104.  
  105. searchd
  106. {
  107. # Daemon options
  108. # What interface the search daemon should listen on and where to store its logs
  109. address = 0.0.0.0
  110. port = 3312
  111. seamless_rotate = 1
  112. log = C:/var/www/app/current/log/ultrasphinx/searchd.log
  113. query_log = C:/var/www/app/current/log/ultrasphinx/query.log
  114. read_timeout = 5
  115. max_children = 300
  116. pid_file = C:/var/www/app/current/log/ultrasphinx/searchd.pid
  117. max_matches = 100000
  118. }
  119.  
  120. client
  121. {
  122. # Client options
  123. # Name of the Aspell dictionary (two letters max)
  124. dictionary_name = ap
  125. # How your application connects to the search daemon (not necessarily the same as above)
  126. server_host = localhost
  127. server_port = 3312
  128. }
  129.  
  130. source
  131. {
  132. # Individual SQL source options
  133. sql_ranged_throttle = 0
  134. sql_range_step = 5000
  135. sql_query_post =
  136. }
  137.  
  138. index
  139. {
  140. # Index building options
  141. path = C:/var/www/app/current/db/sphinx
  142. docinfo = extern # just leave this alone
  143. morphology = stem_en
  144. stopwords = # path/to/stopwords.txt
  145. min_word_len = 1
  146.  
  147. # HTML-specific options
  148. html_strip = 0
  149. html_index_attrs =
  150.  
  151. # Enable these if you need wildcard searching. They will slow down indexing significantly.
  152. # min_infix_len = 1
  153. # enable_star = 1
  154.  
  155. charset_type = utf-8 # or sbcs (Single Byte Character Set)
  156. charset_table = 0..9, A..Z->a..z, -, _, ., &, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F,U+C5->U+E5, U+E5, U+C4->U+E4, U+E4, U+D6->U+F6, U+F6, U+16B, U+0c1->a, U+0c4->a, U+0c9->e, U+0cd->i, U+0d3->o, U+0d4->o, U+0da->u, U+0dd->y, U+0e1->a, U+0e4->a, U+0e9->e, U+0ed->i, U+0f3->o, U+0f4->o, U+0fa->u, U+0fd->y, U+104->U+105, U+105, U+106->U+107, U+10c->c, U+10d->c, U+10e->d, U+10f->d, U+116->U+117, U+117, U+118->U+119, U+11a->e, U+11b->e, U+12E->U+12F, U+12F, U+139->l, U+13a->l, U+13d->l, U+13e->l, U+141->U+142, U+142, U+143->U+144, U+144,U+147->n, U+148->n, U+154->r, U+155->r, U+158->r, U+159->r, U+15A->U+15B, U+15B, U+160->s, U+160->U+161, U+161->s, U+164->t, U+165->t, U+16A->U+16B, U+16B, U+16e->u, U+16f->u, U+172->U+173, U+173, U+179->U+17A, U+17A, U+17B->U+17C, U+17C, U+17d->z, U+17e->z,
  157. }
Add Comment
Please, Sign In to add comment