Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. #cat /usr/local/etc/sphinx_textlab.conf
  2. source src_last_document {
  3. type = xmlpipe2
  4. xmlpipe_command = cat /home/textlab.io/sphinx/sphinx_last_document_pipe.xml
  5. }
  6. source src_stub_document {
  7. type = xmlpipe2
  8. xmlpipe_command = cat /home/textlab.io/sphinx/sphinx_stub_document_pipe.xml
  9. }
  10.  
  11.  
  12.  
  13. index last_document {
  14. dict = keywords
  15. morphology = stem_en
  16. source = src_last_document
  17. path = /home/textlab.io/sphinx/sphinx_last_document
  18. min_word_len = 1
  19. wordforms = /home/textlab.io/sphinx/wordforms.txt
  20. }
  21.  
  22. index stub_document {
  23. dict = keywords
  24. morphology = stem_en
  25. source = src_stub_document
  26. path = /home/textlab.io/sphinx/sphinx_stub_document
  27. min_word_len = 1
  28. wordforms = /home/textlab.io/sphinx/wordforms.txt
  29. }
  30.  
  31. index delta:stub_document {
  32. path = /home/textlab.io/sphinx/sphinx_delta
  33. }
  34.  
  35. index main:stub_document {
  36. path = /home/textlab.io/sphinx/sphinx_main
  37. }
  38.  
  39. index main1:stub_document {
  40. path = /home/textlab.io/sphinx/sphinx_main1
  41. }
  42.  
  43. index main2:stub_document {
  44. path = /home/textlab.io/sphinx/sphinx_main2
  45. }
  46. index main3:stub_document {
  47. path = /home/textlab.io/sphinx/sphinx_main3
  48. }
  49. index main4:stub_document {
  50. path = /home/textlab.io/sphinx/sphinx_main4
  51. }
  52. index main5:stub_document {
  53. path = /home/textlab.io/sphinx/sphinx_main5
  54. }
  55. index main6:stub_document {
  56. path = /home/textlab.io/sphinx/sphinx_main6
  57. }
  58. index main7:stub_document {
  59. path = /home/textlab.io/sphinx/sphinx_main7
  60. }
  61. index main8:stub_document {
  62. path = /home/textlab.io/sphinx/sphinx_main8
  63. }
  64. index main9:stub_document {
  65. path = /home/textlab.io/sphinx/sphinx_main9
  66. }
  67. index main10:stub_document {
  68. path = /home/textlab.io/sphinx/sphinx_main10
  69. }
  70.  
  71. index main11:stub_document {
  72. path = /home/textlab.io/sphinx/sphinx_main11
  73. }
  74. index main12:stub_document {
  75. path = /home/textlab.io/sphinx/sphinx_main12
  76. }
  77. index main13:stub_document {
  78. path = /home/textlab.io/sphinx/sphinx_main13
  79. }
  80. index main14:stub_document {
  81. path = /home/textlab.io/sphinx/sphinx_main14
  82. }
  83. index main15:stub_document {
  84. path = /home/textlab.io/sphinx/sphinx_main15
  85. }
  86. index main16:stub_document {
  87. path = /home/textlab.io/sphinx/sphinx_main16
  88. }
  89. index main17:stub_document {
  90. path = /home/textlab.io/sphinx/sphinx_main17
  91. }
  92. index main18:stub_document {
  93. path = /home/textlab.io/sphinx/sphinx_main18
  94. }
  95. index main19:stub_document {
  96. path = /home/textlab.io/sphinx/sphinx_main19
  97. }
  98. index main20:stub_document {
  99. path = /home/textlab.io/sphinx/sphinx_main20
  100. }
  101.  
  102.  
  103.  
  104. index all
  105. {
  106. type = distributed
  107. local = delta
  108. local = main
  109. local = main1
  110. local = main2
  111. local = main3
  112. local = main4
  113. local = main5
  114. local = main6
  115. local = main7
  116. local = main8
  117. local = main9
  118. local = main10
  119. local = main11
  120. local = main12
  121. local = main13
  122. local = main14
  123. local = main15
  124. local = main16
  125. local = main17
  126. local = main18
  127. local = main19
  128. local = main20
  129.  
  130. }
  131.  
  132.  
  133.  
  134.  
  135. indexer
  136. {
  137. mem_limit = 1024M
  138. max_xmlpipe2_field = 8M
  139. }
  140.  
  141. searchd
  142. {
  143. listen = 9402
  144. listen = 9302:mysql41
  145. mysql_version_string = 5.5.21
  146. log = /home/textlab.io/sphinx/log/searchd.log
  147. query_log = /home/textlab.io/sphinx/log/query.log
  148. read_timeout = 5
  149. max_children = 30
  150. pid_file = /home/textlab.io/sphinx/searchd.pid
  151. seamless_rotate = 1
  152. preopen_indexes = 1
  153. unlink_old = 1
  154. dist_threads = 4
  155. binlog_path =
  156. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement