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,359 @@
1
+ # from appendix D of: A Study of Stemming Effects on Information
2
+ # Retrieval in Bahasa Indonesia
3
+ ada
4
+ adanya
5
+ adalah
6
+ adapun
7
+ agak
8
+ agaknya
9
+ agar
10
+ akan
11
+ akankah
12
+ akhirnya
13
+ aku
14
+ akulah
15
+ amat
16
+ amatlah
17
+ anda
18
+ andalah
19
+ antar
20
+ diantaranya
21
+ antara
22
+ antaranya
23
+ diantara
24
+ apa
25
+ apaan
26
+ mengapa
27
+ apabila
28
+ apakah
29
+ apalagi
30
+ apatah
31
+ atau
32
+ ataukah
33
+ ataupun
34
+ bagai
35
+ bagaikan
36
+ sebagai
37
+ sebagainya
38
+ bagaimana
39
+ bagaimanapun
40
+ sebagaimana
41
+ bagaimanakah
42
+ bagi
43
+ bahkan
44
+ bahwa
45
+ bahwasanya
46
+ sebaliknya
47
+ banyak
48
+ sebanyak
49
+ beberapa
50
+ seberapa
51
+ begini
52
+ beginian
53
+ beginikah
54
+ beginilah
55
+ sebegini
56
+ begitu
57
+ begitukah
58
+ begitulah
59
+ begitupun
60
+ sebegitu
61
+ belum
62
+ belumlah
63
+ sebelum
64
+ sebelumnya
65
+ sebenarnya
66
+ berapa
67
+ berapakah
68
+ berapalah
69
+ berapapun
70
+ betulkah
71
+ sebetulnya
72
+ biasa
73
+ biasanya
74
+ bila
75
+ bilakah
76
+ bisa
77
+ bisakah
78
+ sebisanya
79
+ boleh
80
+ bolehkah
81
+ bolehlah
82
+ buat
83
+ bukan
84
+ bukankah
85
+ bukanlah
86
+ bukannya
87
+ cuma
88
+ percuma
89
+ dahulu
90
+ dalam
91
+ dan
92
+ dapat
93
+ dari
94
+ daripada
95
+ dekat
96
+ demi
97
+ demikian
98
+ demikianlah
99
+ sedemikian
100
+ dengan
101
+ depan
102
+ di
103
+ dia
104
+ dialah
105
+ dini
106
+ diri
107
+ dirinya
108
+ terdiri
109
+ dong
110
+ dulu
111
+ enggak
112
+ enggaknya
113
+ entah
114
+ entahlah
115
+ terhadap
116
+ terhadapnya
117
+ hal
118
+ hampir
119
+ hanya
120
+ hanyalah
121
+ harus
122
+ haruslah
123
+ harusnya
124
+ seharusnya
125
+ hendak
126
+ hendaklah
127
+ hendaknya
128
+ hingga
129
+ sehingga
130
+ ia
131
+ ialah
132
+ ibarat
133
+ ingin
134
+ inginkah
135
+ inginkan
136
+ ini
137
+ inikah
138
+ inilah
139
+ itu
140
+ itukah
141
+ itulah
142
+ jangan
143
+ jangankan
144
+ janganlah
145
+ jika
146
+ jikalau
147
+ juga
148
+ justru
149
+ kala
150
+ kalau
151
+ kalaulah
152
+ kalaupun
153
+ kalian
154
+ kami
155
+ kamilah
156
+ kamu
157
+ kamulah
158
+ kan
159
+ kapan
160
+ kapankah
161
+ kapanpun
162
+ dikarenakan
163
+ karena
164
+ karenanya
165
+ ke
166
+ kecil
167
+ kemudian
168
+ kenapa
169
+ kepada
170
+ kepadanya
171
+ ketika
172
+ seketika
173
+ khususnya
174
+ kini
175
+ kinilah
176
+ kiranya
177
+ sekiranya
178
+ kita
179
+ kitalah
180
+ kok
181
+ lagi
182
+ lagian
183
+ selagi
184
+ lah
185
+ lain
186
+ lainnya
187
+ melainkan
188
+ selaku
189
+ lalu
190
+ melalui
191
+ terlalu
192
+ lama
193
+ lamanya
194
+ selama
195
+ selama
196
+ selamanya
197
+ lebih
198
+ terlebih
199
+ bermacam
200
+ macam
201
+ semacam
202
+ maka
203
+ makanya
204
+ makin
205
+ malah
206
+ malahan
207
+ mampu
208
+ mampukah
209
+ mana
210
+ manakala
211
+ manalagi
212
+ masih
213
+ masihkah
214
+ semasih
215
+ masing
216
+ mau
217
+ maupun
218
+ semaunya
219
+ memang
220
+ mereka
221
+ merekalah
222
+ meski
223
+ meskipun
224
+ semula
225
+ mungkin
226
+ mungkinkah
227
+ nah
228
+ namun
229
+ nanti
230
+ nantinya
231
+ nyaris
232
+ oleh
233
+ olehnya
234
+ seorang
235
+ seseorang
236
+ pada
237
+ padanya
238
+ padahal
239
+ paling
240
+ sepanjang
241
+ pantas
242
+ sepantasnya
243
+ sepantasnyalah
244
+ para
245
+ pasti
246
+ pastilah
247
+ per
248
+ pernah
249
+ pula
250
+ pun
251
+ merupakan
252
+ rupanya
253
+ serupa
254
+ saat
255
+ saatnya
256
+ sesaat
257
+ saja
258
+ sajalah
259
+ saling
260
+ bersama
261
+ sama
262
+ sesama
263
+ sambil
264
+ sampai
265
+ sana
266
+ sangat
267
+ sangatlah
268
+ saya
269
+ sayalah
270
+ se
271
+ sebab
272
+ sebabnya
273
+ sebuah
274
+ tersebut
275
+ tersebutlah
276
+ sedang
277
+ sedangkan
278
+ sedikit
279
+ sedikitnya
280
+ segala
281
+ segalanya
282
+ segera
283
+ sesegera
284
+ sejak
285
+ sejenak
286
+ sekali
287
+ sekalian
288
+ sekalipun
289
+ sesekali
290
+ sekaligus
291
+ sekarang
292
+ sekarang
293
+ sekitar
294
+ sekitarnya
295
+ sela
296
+ selain
297
+ selalu
298
+ seluruh
299
+ seluruhnya
300
+ semakin
301
+ sementara
302
+ sempat
303
+ semua
304
+ semuanya
305
+ sendiri
306
+ sendirinya
307
+ seolah
308
+ seperti
309
+ sepertinya
310
+ sering
311
+ seringnya
312
+ serta
313
+ siapa
314
+ siapakah
315
+ siapapun
316
+ disini
317
+ disinilah
318
+ sini
319
+ sinilah
320
+ sesuatu
321
+ sesuatunya
322
+ suatu
323
+ sesudah
324
+ sesudahnya
325
+ sudah
326
+ sudahkah
327
+ sudahlah
328
+ supaya
329
+ tadi
330
+ tadinya
331
+ tak
332
+ tanpa
333
+ setelah
334
+ telah
335
+ tentang
336
+ tentu
337
+ tentulah
338
+ tentunya
339
+ tertentu
340
+ seterusnya
341
+ tapi
342
+ tetapi
343
+ setiap
344
+ tiap
345
+ setidaknya
346
+ tidak
347
+ tidakkah
348
+ tidaklah
349
+ toh
350
+ waduh
351
+ wah
352
+ wahai
353
+ sewaktu
354
+ walau
355
+ walaupun
356
+ wong
357
+ yaitu
358
+ yakni
359
+ yang
@@ -0,0 +1,303 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/italian/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
+ | An Italian stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ ad | a (to) before vowel
14
+ al | a + il
15
+ allo | a + lo
16
+ ai | a + i
17
+ agli | a + gli
18
+ all | a + l'
19
+ agl | a + gl'
20
+ alla | a + la
21
+ alle | a + le
22
+ con | with
23
+ col | con + il
24
+ coi | con + i (forms collo, cogli etc are now very rare)
25
+ da | from
26
+ dal | da + il
27
+ dallo | da + lo
28
+ dai | da + i
29
+ dagli | da + gli
30
+ dall | da + l'
31
+ dagl | da + gll'
32
+ dalla | da + la
33
+ dalle | da + le
34
+ di | of
35
+ del | di + il
36
+ dello | di + lo
37
+ dei | di + i
38
+ degli | di + gli
39
+ dell | di + l'
40
+ degl | di + gl'
41
+ della | di + la
42
+ delle | di + le
43
+ in | in
44
+ nel | in + el
45
+ nello | in + lo
46
+ nei | in + i
47
+ negli | in + gli
48
+ nell | in + l'
49
+ negl | in + gl'
50
+ nella | in + la
51
+ nelle | in + le
52
+ su | on
53
+ sul | su + il
54
+ sullo | su + lo
55
+ sui | su + i
56
+ sugli | su + gli
57
+ sull | su + l'
58
+ sugl | su + gl'
59
+ sulla | su + la
60
+ sulle | su + le
61
+ per | through, by
62
+ tra | among
63
+ contro | against
64
+ io | I
65
+ tu | thou
66
+ lui | he
67
+ lei | she
68
+ noi | we
69
+ voi | you
70
+ loro | they
71
+ mio | my
72
+ mia |
73
+ miei |
74
+ mie |
75
+ tuo |
76
+ tua |
77
+ tuoi | thy
78
+ tue |
79
+ suo |
80
+ sua |
81
+ suoi | his, her
82
+ sue |
83
+ nostro | our
84
+ nostra |
85
+ nostri |
86
+ nostre |
87
+ vostro | your
88
+ vostra |
89
+ vostri |
90
+ vostre |
91
+ mi | me
92
+ ti | thee
93
+ ci | us, there
94
+ vi | you, there
95
+ lo | him, the
96
+ la | her, the
97
+ li | them
98
+ le | them, the
99
+ gli | to him, the
100
+ ne | from there etc
101
+ il | the
102
+ un | a
103
+ uno | a
104
+ una | a
105
+ ma | but
106
+ ed | and
107
+ se | if
108
+ perché | why, because
109
+ anche | also
110
+ come | how
111
+ dov | where (as dov')
112
+ dove | where
113
+ che | who, that
114
+ chi | who
115
+ cui | whom
116
+ non | not
117
+ più | more
118
+ quale | who, that
119
+ quanto | how much
120
+ quanti |
121
+ quanta |
122
+ quante |
123
+ quello | that
124
+ quelli |
125
+ quella |
126
+ quelle |
127
+ questo | this
128
+ questi |
129
+ questa |
130
+ queste |
131
+ si | yes
132
+ tutto | all
133
+ tutti | all
134
+
135
+ | single letter forms:
136
+
137
+ a | at
138
+ c | as c' for ce or ci
139
+ e | and
140
+ i | the
141
+ l | as l'
142
+ o | or
143
+
144
+ | forms of avere, to have (not including the infinitive):
145
+
146
+ ho
147
+ hai
148
+ ha
149
+ abbiamo
150
+ avete
151
+ hanno
152
+ abbia
153
+ abbiate
154
+ abbiano
155
+ avrò
156
+ avrai
157
+ avrà
158
+ avremo
159
+ avrete
160
+ avranno
161
+ avrei
162
+ avresti
163
+ avrebbe
164
+ avremmo
165
+ avreste
166
+ avrebbero
167
+ avevo
168
+ avevi
169
+ aveva
170
+ avevamo
171
+ avevate
172
+ avevano
173
+ ebbi
174
+ avesti
175
+ ebbe
176
+ avemmo
177
+ aveste
178
+ ebbero
179
+ avessi
180
+ avesse
181
+ avessimo
182
+ avessero
183
+ avendo
184
+ avuto
185
+ avuta
186
+ avuti
187
+ avute
188
+
189
+ | forms of essere, to be (not including the infinitive):
190
+ sono
191
+ sei
192
+ è
193
+ siamo
194
+ siete
195
+ sia
196
+ siate
197
+ siano
198
+ sarò
199
+ sarai
200
+ sarà
201
+ saremo
202
+ sarete
203
+ saranno
204
+ sarei
205
+ saresti
206
+ sarebbe
207
+ saremmo
208
+ sareste
209
+ sarebbero
210
+ ero
211
+ eri
212
+ era
213
+ eravamo
214
+ eravate
215
+ erano
216
+ fui
217
+ fosti
218
+ fu
219
+ fummo
220
+ foste
221
+ furono
222
+ fossi
223
+ fosse
224
+ fossimo
225
+ fossero
226
+ essendo
227
+
228
+ | forms of fare, to do (not including the infinitive, fa, fat-):
229
+ faccio
230
+ fai
231
+ facciamo
232
+ fanno
233
+ faccia
234
+ facciate
235
+ facciano
236
+ farò
237
+ farai
238
+ farà
239
+ faremo
240
+ farete
241
+ faranno
242
+ farei
243
+ faresti
244
+ farebbe
245
+ faremmo
246
+ fareste
247
+ farebbero
248
+ facevo
249
+ facevi
250
+ faceva
251
+ facevamo
252
+ facevate
253
+ facevano
254
+ feci
255
+ facesti
256
+ fece
257
+ facemmo
258
+ faceste
259
+ fecero
260
+ facessi
261
+ facesse
262
+ facessimo
263
+ facessero
264
+ facendo
265
+
266
+ | forms of stare, to be (not including the infinitive):
267
+ sto
268
+ stai
269
+ sta
270
+ stiamo
271
+ stanno
272
+ stia
273
+ stiate
274
+ stiano
275
+ starò
276
+ starai
277
+ starà
278
+ staremo
279
+ starete
280
+ staranno
281
+ starei
282
+ staresti
283
+ starebbe
284
+ staremmo
285
+ stareste
286
+ starebbero
287
+ stavo
288
+ stavi
289
+ stava
290
+ stavamo
291
+ stavate
292
+ stavano
293
+ stetti
294
+ stesti
295
+ stette
296
+ stemmo
297
+ steste
298
+ stettero
299
+ stessi
300
+ stesse
301
+ stessimo
302
+ stessero
303
+ stando