smartmachine 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.rdoc +0 -0
  3. data/README.rdoc +87 -0
  4. data/bin/buildpacker +8 -0
  5. data/bin/prereceiver +8 -0
  6. data/bin/smartmachine +81 -0
  7. data/bin/smartrunner +28 -0
  8. data/lib/smart_machine.rb +24 -0
  9. data/lib/smart_machine/apps.rb +14 -0
  10. data/lib/smart_machine/apps/app.rb +182 -0
  11. data/lib/smart_machine/apps/rails.rb +250 -0
  12. data/lib/smart_machine/base.rb +11 -0
  13. data/lib/smart_machine/boot.rb +31 -0
  14. data/lib/smart_machine/buildpacker.rb +106 -0
  15. data/lib/smart_machine/credentials.rb +126 -0
  16. data/lib/smart_machine/docker.rb +144 -0
  17. data/lib/smart_machine/engine.rb +82 -0
  18. data/lib/smart_machine/engine/Dockerfile +27 -0
  19. data/lib/smart_machine/engine/buildpacks/rails/Dockerfile +21 -0
  20. data/lib/smart_machine/gem_version.rb +17 -0
  21. data/lib/smart_machine/grids.rb +15 -0
  22. data/lib/smart_machine/grids/elasticsearch.rb +97 -0
  23. data/lib/smart_machine/grids/elasticsearch/.keep +0 -0
  24. data/lib/smart_machine/grids/minio.rb +77 -0
  25. data/lib/smart_machine/grids/minio/.keep +0 -0
  26. data/lib/smart_machine/grids/mysql.rb +66 -0
  27. data/lib/smart_machine/grids/mysql/docker-entrypoint-initdb.d/.keep +0 -0
  28. data/lib/smart_machine/grids/nginx.rb +137 -0
  29. data/lib/smart_machine/grids/nginx/.keep +0 -0
  30. data/lib/smart_machine/grids/prereceiver.rb +170 -0
  31. data/lib/smart_machine/grids/prereceiver/Dockerfile +20 -0
  32. data/lib/smart_machine/grids/prereceiver/fcgiwrap/APKBUILD +49 -0
  33. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.confd +6 -0
  34. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.initd +43 -0
  35. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.pre-install +7 -0
  36. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/APKINDEX.tar.gz +0 -0
  37. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk +0 -0
  38. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-doc-1.1.1-r4.apk +0 -0
  39. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-openrc-1.1.1-r4.apk +0 -0
  40. data/lib/smart_machine/grids/redis.rb +58 -0
  41. data/lib/smart_machine/grids/redis/.keep +0 -0
  42. data/lib/smart_machine/grids/solr.rb +99 -0
  43. data/lib/smart_machine/grids/solr/config/.keep +0 -0
  44. data/lib/smart_machine/grids/solr/config/README.txt +77 -0
  45. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ca.txt +8 -0
  46. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_fr.txt +15 -0
  47. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ga.txt +5 -0
  48. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_it.txt +23 -0
  49. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/hyphenations_ga.txt +5 -0
  50. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stemdict_nl.txt +6 -0
  51. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stoptags_ja.txt +420 -0
  52. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ar.txt +125 -0
  53. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_bg.txt +193 -0
  54. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ca.txt +220 -0
  55. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_cz.txt +172 -0
  56. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_da.txt +110 -0
  57. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_de.txt +294 -0
  58. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_el.txt +78 -0
  59. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_en.txt +54 -0
  60. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_es.txt +356 -0
  61. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_eu.txt +99 -0
  62. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fa.txt +313 -0
  63. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fi.txt +97 -0
  64. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fr.txt +186 -0
  65. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ga.txt +110 -0
  66. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_gl.txt +161 -0
  67. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hi.txt +235 -0
  68. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hu.txt +211 -0
  69. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hy.txt +46 -0
  70. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_id.txt +359 -0
  71. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_it.txt +303 -0
  72. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ja.txt +127 -0
  73. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_lv.txt +172 -0
  74. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_nl.txt +119 -0
  75. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_no.txt +194 -0
  76. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_pt.txt +253 -0
  77. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ro.txt +233 -0
  78. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ru.txt +243 -0
  79. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_sv.txt +133 -0
  80. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_th.txt +119 -0
  81. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_tr.txt +212 -0
  82. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/userdict_ja.txt +29 -0
  83. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/managed-schema +1007 -0
  84. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/params.json +20 -0
  85. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/protwords.txt +21 -0
  86. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/solrconfig.xml +1355 -0
  87. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/stopwords.txt +14 -0
  88. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/synonyms.txt +29 -0
  89. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_rest_managed.json +1 -0
  90. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_stopwords_english.json +38 -0
  91. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_synonyms_english.json +11 -0
  92. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txt +11 -0
  93. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/kmeans-attributes.xml +19 -0
  94. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/lingo-attributes.xml +24 -0
  95. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/stc-attributes.xml +19 -0
  96. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/currency.xml +67 -0
  97. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/elevate.xml +42 -0
  98. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ca.txt +8 -0
  99. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_fr.txt +15 -0
  100. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ga.txt +5 -0
  101. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_it.txt +23 -0
  102. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/hyphenations_ga.txt +5 -0
  103. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stemdict_nl.txt +6 -0
  104. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stoptags_ja.txt +420 -0
  105. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ar.txt +125 -0
  106. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_bg.txt +193 -0
  107. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ca.txt +220 -0
  108. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ckb.txt +136 -0
  109. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_cz.txt +172 -0
  110. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_da.txt +110 -0
  111. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_de.txt +294 -0
  112. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_el.txt +78 -0
  113. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_en.txt +54 -0
  114. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_es.txt +356 -0
  115. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_eu.txt +99 -0
  116. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fa.txt +313 -0
  117. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fi.txt +97 -0
  118. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fr.txt +186 -0
  119. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ga.txt +110 -0
  120. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_gl.txt +161 -0
  121. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hi.txt +235 -0
  122. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hu.txt +211 -0
  123. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hy.txt +46 -0
  124. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_id.txt +359 -0
  125. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_it.txt +303 -0
  126. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ja.txt +127 -0
  127. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_lv.txt +172 -0
  128. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_nl.txt +119 -0
  129. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_no.txt +194 -0
  130. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_pt.txt +253 -0
  131. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ro.txt +233 -0
  132. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ru.txt +243 -0
  133. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_sv.txt +133 -0
  134. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_th.txt +119 -0
  135. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_tr.txt +212 -0
  136. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/userdict_ja.txt +29 -0
  137. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/managed-schema +1187 -0
  138. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-FoldToASCII.txt +3813 -0
  139. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-ISOLatin1Accent.txt +246 -0
  140. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/params.json +11 -0
  141. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/protwords.txt +21 -0
  142. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/solrconfig.xml +1616 -0
  143. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/spellings.txt +2 -0
  144. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/stopwords.txt +14 -0
  145. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/synonyms.txt +29 -0
  146. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/update-script.js +53 -0
  147. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/README.txt +101 -0
  148. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/VM_global_library.vm +186 -0
  149. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/browse.vm +33 -0
  150. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster.vm +19 -0
  151. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm +31 -0
  152. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/debug.vm +28 -0
  153. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/did_you_mean.vm +11 -0
  154. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/error.vm +11 -0
  155. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_fields.vm +24 -0
  156. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_pivot.vm +12 -0
  157. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_queries.vm +12 -0
  158. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_ranges.vm +23 -0
  159. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facets.vm +10 -0
  160. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/footer.vm +43 -0
  161. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/head.vm +37 -0
  162. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/header.vm +7 -0
  163. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit.vm +25 -0
  164. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm +43 -0
  165. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_plain.vm +25 -0
  166. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/join_doc.vm +20 -0
  167. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.css +48 -0
  168. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.js +763 -0
  169. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/layout.vm +24 -0
  170. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/main.css +231 -0
  171. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/mime_type_lists.vm +68 -0
  172. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_bottom.vm +22 -0
  173. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_top.vm +29 -0
  174. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/product_doc.vm +32 -0
  175. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query.vm +42 -0
  176. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_form.vm +64 -0
  177. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_group.vm +43 -0
  178. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_spatial.vm +75 -0
  179. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/results_list.vm +22 -0
  180. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/richtext_doc.vm +153 -0
  181. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/suggest.vm +8 -0
  182. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/tabs.vm +50 -0
  183. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example.xsl +132 -0
  184. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_atom.xsl +67 -0
  185. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl +66 -0
  186. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/luke.xsl +337 -0
  187. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl +70 -0
  188. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/_rest_managed.json +1 -0
  189. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/admin-extra.html +31 -0
  190. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/currency.xml +67 -0
  191. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/elevate.xml +36 -0
  192. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/lang/stopwords_en.txt +54 -0
  193. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/mapping-ISOLatin1Accent.txt +246 -0
  194. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/protwords.txt +21 -0
  195. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/schema.xml +278 -0
  196. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/scripts.conf +24 -0
  197. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/solrconfig.xml +632 -0
  198. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/spellings.txt +2 -0
  199. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/synonyms.txt +29 -0
  200. data/lib/smart_machine/grids/solr/config/lib/.keep +0 -0
  201. data/lib/smart_machine/grids/solr/config/solr.xml +53 -0
  202. data/lib/smart_machine/grids/solr/config/zoo.cfg +31 -0
  203. data/lib/smart_machine/grids/solr/docker-entrypoint-initdb.d/.keep +0 -0
  204. data/lib/smart_machine/grids/solr/sunspot/conf/schema.xml +278 -0
  205. data/lib/smart_machine/grids/solr/sunspot/conf/solrconfig.xml +632 -0
  206. data/lib/smart_machine/logger.rb +35 -0
  207. data/lib/smart_machine/machine.rb +192 -0
  208. data/lib/smart_machine/ssh.rb +43 -0
  209. data/lib/smart_machine/sync.rb +108 -0
  210. data/lib/smart_machine/templates/dotsmartmachine/apps/containers/.keep +0 -0
  211. data/lib/smart_machine/templates/dotsmartmachine/apps/repositories/.keep +0 -0
  212. data/lib/smart_machine/templates/dotsmartmachine/config/environment.rb +18 -0
  213. data/lib/smart_machine/templates/dotsmartmachine/config/users.yml +4 -0
  214. data/lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/data/.keep +0 -0
  215. data/lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/logs/.keep +0 -0
  216. data/lib/smart_machine/templates/dotsmartmachine/grids/minio/data/.keep +0 -0
  217. data/lib/smart_machine/templates/dotsmartmachine/grids/mysql/data/.keep +0 -0
  218. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/certificates/.keep +0 -0
  219. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/fastcgi.conf +11 -0
  220. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/htpasswd/.keep +0 -0
  221. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/nginx.tmpl +373 -0
  222. data/lib/smart_machine/templates/dotsmartmachine/grids/prereceiver/pre-receive +17 -0
  223. data/lib/smart_machine/templates/dotsmartmachine/grids/redis/data/.keep +0 -0
  224. data/lib/smart_machine/templates/dotsmartmachine/grids/solr/solr/.keep +0 -0
  225. data/lib/smart_machine/templates/dotsmartmachine/tmp/.keep +0 -0
  226. data/lib/smart_machine/user.rb +38 -0
  227. data/lib/smart_machine/version.rb +10 -0
  228. metadata +297 -12
  229. data/README.md +0 -9
@@ -0,0 +1,136 @@
1
+ # set of kurdish stopwords
2
+ # note these have been normalized with our scheme (e represented with U+06D5, etc)
3
+ # constructed from:
4
+ # * Fig 5 of "Building A Test Collection For Sorani Kurdish" (Esmaili et al)
5
+ # * "Sorani Kurdish: A Reference Grammar with selected readings" (Thackston)
6
+ # * Corpus-based analysis of 77M word Sorani collection: wikipedia, news, blogs, etc
7
+
8
+ # and
9
+ و
10
+ # which
11
+ کە
12
+ # of
13
+ ی
14
+ # made/did
15
+ کرد
16
+ # that/which
17
+ ئەوەی
18
+ # on/head
19
+ سەر
20
+ # two
21
+ دوو
22
+ # also
23
+ هەروەها
24
+ # from/that
25
+ لەو
26
+ # makes/does
27
+ دەکات
28
+ # some
29
+ چەند
30
+ # every
31
+ هەر
32
+
33
+ # demonstratives
34
+ # that
35
+ ئەو
36
+ # this
37
+ ئەم
38
+
39
+ # personal pronouns
40
+ # I
41
+ من
42
+ # we
43
+ ئێمە
44
+ # you
45
+ تۆ
46
+ # you
47
+ ئێوە
48
+ # he/she/it
49
+ ئەو
50
+ # they
51
+ ئەوان
52
+
53
+ # prepositions
54
+ # to/with/by
55
+ بە
56
+ پێ
57
+ # without
58
+ بەبێ
59
+ # along with/while/during
60
+ بەدەم
61
+ # in the opinion of
62
+ بەلای
63
+ # according to
64
+ بەپێی
65
+ # before
66
+ بەرلە
67
+ # in the direction of
68
+ بەرەوی
69
+ # in front of/toward
70
+ بەرەوە
71
+ # before/in the face of
72
+ بەردەم
73
+ # without
74
+ بێ
75
+ # except for
76
+ بێجگە
77
+ # for
78
+ بۆ
79
+ # on/in
80
+ دە
81
+ تێ
82
+ # with
83
+ دەگەڵ
84
+ # after
85
+ دوای
86
+ # except for/aside from
87
+ جگە
88
+ # in/from
89
+ لە
90
+ لێ
91
+ # in front of/before/because of
92
+ لەبەر
93
+ # between/among
94
+ لەبەینی
95
+ # concerning/about
96
+ لەبابەت
97
+ # concerning
98
+ لەبارەی
99
+ # instead of
100
+ لەباتی
101
+ # beside
102
+ لەبن
103
+ # instead of
104
+ لەبرێتی
105
+ # behind
106
+ لەدەم
107
+ # with/together with
108
+ لەگەڵ
109
+ # by
110
+ لەلایەن
111
+ # within
112
+ لەناو
113
+ # between/among
114
+ لەنێو
115
+ # for the sake of
116
+ لەپێناوی
117
+ # with respect to
118
+ لەرەوی
119
+ # by means of/for
120
+ لەرێ
121
+ # for the sake of
122
+ لەرێگا
123
+ # on/on top of/according to
124
+ لەسەر
125
+ # under
126
+ لەژێر
127
+ # between/among
128
+ ناو
129
+ # between/among
130
+ نێوان
131
+ # after
132
+ پاش
133
+ # before
134
+ پێش
135
+ # like
136
+ وەک
@@ -0,0 +1,172 @@
1
+ a
2
+ s
3
+ k
4
+ o
5
+ i
6
+ u
7
+ v
8
+ z
9
+ dnes
10
+ cz
11
+ tímto
12
+ budeš
13
+ budem
14
+ byli
15
+ jseš
16
+ můj
17
+ svým
18
+ ta
19
+ tomto
20
+ tohle
21
+ tuto
22
+ tyto
23
+ jej
24
+ zda
25
+ proč
26
+ máte
27
+ tato
28
+ kam
29
+ tohoto
30
+ kdo
31
+ kteří
32
+ mi
33
+ nám
34
+ tom
35
+ tomuto
36
+ mít
37
+ nic
38
+ proto
39
+ kterou
40
+ byla
41
+ toho
42
+ protože
43
+ asi
44
+ ho
45
+ naši
46
+ napište
47
+ re
48
+ což
49
+ tím
50
+ takže
51
+ svých
52
+ její
53
+ svými
54
+ jste
55
+ aj
56
+ tu
57
+ tedy
58
+ teto
59
+ bylo
60
+ kde
61
+ ke
62
+ pravé
63
+ ji
64
+ nad
65
+ nejsou
66
+ či
67
+ pod
68
+ téma
69
+ mezi
70
+ přes
71
+ ty
72
+ pak
73
+ vám
74
+ ani
75
+ když
76
+ však
77
+ neg
78
+ jsem
79
+ tento
80
+ článku
81
+ články
82
+ aby
83
+ jsme
84
+ před
85
+ pta
86
+ jejich
87
+ byl
88
+ ještě
89
+
90
+ bez
91
+ také
92
+ pouze
93
+ první
94
+ vaše
95
+ která
96
+ nás
97
+ nový
98
+ tipy
99
+ pokud
100
+ může
101
+ strana
102
+ jeho
103
+ své
104
+ jiné
105
+ zprávy
106
+ nové
107
+ není
108
+ vás
109
+ jen
110
+ podle
111
+ zde
112
+
113
+ být
114
+ více
115
+ bude
116
+ již
117
+ než
118
+ který
119
+ by
120
+ které
121
+ co
122
+ nebo
123
+ ten
124
+ tak
125
+
126
+ při
127
+ od
128
+ po
129
+ jsou
130
+ jak
131
+ další
132
+ ale
133
+ si
134
+ se
135
+ ve
136
+ to
137
+ jako
138
+ za
139
+ zpět
140
+ ze
141
+ do
142
+ pro
143
+ je
144
+ na
145
+ atd
146
+ atp
147
+ jakmile
148
+ přičemž
149
+
150
+ on
151
+ ona
152
+ ono
153
+ oni
154
+ ony
155
+ my
156
+ vy
157
+
158
+ ji
159
+
160
+ mne
161
+ jemu
162
+ tomu
163
+ těm
164
+ těmu
165
+ němu
166
+ němuž
167
+ jehož
168
+ jíž
169
+ jelikož
170
+ jež
171
+ jakož
172
+ načež
@@ -0,0 +1,110 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/danish/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+ |
8
+ | NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
9
+
10
+ | A Danish stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ | This is a ranked list (commonest to rarest) of stopwords derived from
14
+ | a large text sample.
15
+
16
+
17
+ og | and
18
+ i | in
19
+ jeg | I
20
+ det | that (dem. pronoun)/it (pers. pronoun)
21
+ at | that (in front of a sentence)/to (with infinitive)
22
+ en | a/an
23
+ den | it (pers. pronoun)/that (dem. pronoun)
24
+ til | to/at/for/until/against/by/of/into, more
25
+ er | present tense of "to be"
26
+ som | who, as
27
+ på | on/upon/in/on/at/to/after/of/with/for, on
28
+ de | they
29
+ med | with/by/in, along
30
+ han | he
31
+ af | of/by/from/off/for/in/with/on, off
32
+ for | at/for/to/from/by/of/ago, in front/before, because
33
+ ikke | not
34
+ der | who/which, there/those
35
+ var | past tense of "to be"
36
+ mig | me/myself
37
+ sig | oneself/himself/herself/itself/themselves
38
+ men | but
39
+ et | a/an/one, one (number), someone/somebody/one
40
+ har | present tense of "to have"
41
+ om | round/about/for/in/a, about/around/down, if
42
+ vi | we
43
+ min | my
44
+ havde | past tense of "to have"
45
+ ham | him
46
+ hun | she
47
+ nu | now
48
+ over | over/above/across/by/beyond/past/on/about, over/past
49
+ da | then, when/as/since
50
+ fra | from/off/since, off, since
51
+ du | you
52
+ ud | out
53
+ sin | his/her/its/one's
54
+ dem | them
55
+ os | us/ourselves
56
+ op | up
57
+ man | you/one
58
+ hans | his
59
+ hvor | where
60
+ eller | or
61
+ hvad | what
62
+ skal | must/shall etc.
63
+ selv | myself/youself/herself/ourselves etc., even
64
+ her | here
65
+ alle | all/everyone/everybody etc.
66
+ vil | will (verb)
67
+ blev | past tense of "to stay/to remain/to get/to become"
68
+ kunne | could
69
+ ind | in
70
+ når | when
71
+ være | present tense of "to be"
72
+ dog | however/yet/after all
73
+ noget | something
74
+ ville | would
75
+ jo | you know/you see (adv), yes
76
+ deres | their/theirs
77
+ efter | after/behind/according to/for/by/from, later/afterwards
78
+ ned | down
79
+ skulle | should
80
+ denne | this
81
+ end | than
82
+ dette | this
83
+ mit | my/mine
84
+ også | also
85
+ under | under/beneath/below/during, below/underneath
86
+ have | have
87
+ dig | you
88
+ anden | other
89
+ hende | her
90
+ mine | my
91
+ alt | everything
92
+ meget | much/very, plenty of
93
+ sit | his, her, its, one's
94
+ sine | his, her, its, one's
95
+ vor | our
96
+ mod | against
97
+ disse | these
98
+ hvis | if
99
+ din | your/yours
100
+ nogle | some
101
+ hos | by/at
102
+ blive | be/become
103
+ mange | many
104
+ ad | by/through
105
+ bliver | present tense of "to be/to become"
106
+ hendes | her/hers
107
+ været | be
108
+ thi | for (conj)
109
+ jer | you
110
+ sådan | such, like this/like that
@@ -0,0 +1,294 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/german/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+ |
8
+ | NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
9
+
10
+ | A German stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ | The number of forms in this list is reduced significantly by passing it
14
+ | through the German stemmer.
15
+
16
+
17
+ aber | but
18
+
19
+ alle | all
20
+ allem
21
+ allen
22
+ aller
23
+ alles
24
+
25
+ als | than, as
26
+ also | so
27
+ am | an + dem
28
+ an | at
29
+
30
+ ander | other
31
+ andere
32
+ anderem
33
+ anderen
34
+ anderer
35
+ anderes
36
+ anderm
37
+ andern
38
+ anderr
39
+ anders
40
+
41
+ auch | also
42
+ auf | on
43
+ aus | out of
44
+ bei | by
45
+ bin | am
46
+ bis | until
47
+ bist | art
48
+ da | there
49
+ damit | with it
50
+ dann | then
51
+
52
+ der | the
53
+ den
54
+ des
55
+ dem
56
+ die
57
+ das
58
+
59
+ daß | that
60
+
61
+ derselbe | the same
62
+ derselben
63
+ denselben
64
+ desselben
65
+ demselben
66
+ dieselbe
67
+ dieselben
68
+ dasselbe
69
+
70
+ dazu | to that
71
+
72
+ dein | thy
73
+ deine
74
+ deinem
75
+ deinen
76
+ deiner
77
+ deines
78
+
79
+ denn | because
80
+
81
+ derer | of those
82
+ dessen | of him
83
+
84
+ dich | thee
85
+ dir | to thee
86
+ du | thou
87
+
88
+ dies | this
89
+ diese
90
+ diesem
91
+ diesen
92
+ dieser
93
+ dieses
94
+
95
+
96
+ doch | (several meanings)
97
+ dort | (over) there
98
+
99
+
100
+ durch | through
101
+
102
+ ein | a
103
+ eine
104
+ einem
105
+ einen
106
+ einer
107
+ eines
108
+
109
+ einig | some
110
+ einige
111
+ einigem
112
+ einigen
113
+ einiger
114
+ einiges
115
+
116
+ einmal | once
117
+
118
+ er | he
119
+ ihn | him
120
+ ihm | to him
121
+
122
+ es | it
123
+ etwas | something
124
+
125
+ euer | your
126
+ eure
127
+ eurem
128
+ euren
129
+ eurer
130
+ eures
131
+
132
+ für | for
133
+ gegen | towards
134
+ gewesen | p.p. of sein
135
+ hab | have
136
+ habe | have
137
+ haben | have
138
+ hat | has
139
+ hatte | had
140
+ hatten | had
141
+ hier | here
142
+ hin | there
143
+ hinter | behind
144
+
145
+ ich | I
146
+ mich | me
147
+ mir | to me
148
+
149
+
150
+ ihr | you, to her
151
+ ihre
152
+ ihrem
153
+ ihren
154
+ ihrer
155
+ ihres
156
+ euch | to you
157
+
158
+ im | in + dem
159
+ in | in
160
+ indem | while
161
+ ins | in + das
162
+ ist | is
163
+
164
+ jede | each, every
165
+ jedem
166
+ jeden
167
+ jeder
168
+ jedes
169
+
170
+ jene | that
171
+ jenem
172
+ jenen
173
+ jener
174
+ jenes
175
+
176
+ jetzt | now
177
+ kann | can
178
+
179
+ kein | no
180
+ keine
181
+ keinem
182
+ keinen
183
+ keiner
184
+ keines
185
+
186
+ können | can
187
+ könnte | could
188
+ machen | do
189
+ man | one
190
+
191
+ manche | some, many a
192
+ manchem
193
+ manchen
194
+ mancher
195
+ manches
196
+
197
+ mein | my
198
+ meine
199
+ meinem
200
+ meinen
201
+ meiner
202
+ meines
203
+
204
+ mit | with
205
+ muss | must
206
+ musste | had to
207
+ nach | to(wards)
208
+ nicht | not
209
+ nichts | nothing
210
+ noch | still, yet
211
+ nun | now
212
+ nur | only
213
+ ob | whether
214
+ oder | or
215
+ ohne | without
216
+ sehr | very
217
+
218
+ sein | his
219
+ seine
220
+ seinem
221
+ seinen
222
+ seiner
223
+ seines
224
+
225
+ selbst | self
226
+ sich | herself
227
+
228
+ sie | they, she
229
+ ihnen | to them
230
+
231
+ sind | are
232
+ so | so
233
+
234
+ solche | such
235
+ solchem
236
+ solchen
237
+ solcher
238
+ solches
239
+
240
+ soll | shall
241
+ sollte | should
242
+ sondern | but
243
+ sonst | else
244
+ über | over
245
+ um | about, around
246
+ und | and
247
+
248
+ uns | us
249
+ unse
250
+ unsem
251
+ unsen
252
+ unser
253
+ unses
254
+
255
+ unter | under
256
+ viel | much
257
+ vom | von + dem
258
+ von | from
259
+ vor | before
260
+ während | while
261
+ war | was
262
+ waren | were
263
+ warst | wast
264
+ was | what
265
+ weg | away, off
266
+ weil | because
267
+ weiter | further
268
+
269
+ welche | which
270
+ welchem
271
+ welchen
272
+ welcher
273
+ welches
274
+
275
+ wenn | when
276
+ werde | will
277
+ werden | will
278
+ wie | how
279
+ wieder | again
280
+ will | want
281
+ wir | we
282
+ wird | will
283
+ wirst | willst
284
+ wo | where
285
+ wollen | want
286
+ wollte | wanted
287
+ würde | would
288
+ würden | would
289
+ zu | to
290
+ zum | zu + dem
291
+ zur | zu + der
292
+ zwar | indeed
293
+ zwischen | between
294
+