rroonga 4.0.4-x86-mingw32 → 4.0.5-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +73 -0
  3. data/Rakefile +13 -0
  4. data/doc/text/news.textile +26 -2
  5. data/ext/groonga/extconf.rb +3 -1
  6. data/ext/groonga/rb-grn-context.c +1 -1
  7. data/ext/groonga/rb-grn-double-array-trie.c +160 -4
  8. data/ext/groonga/rb-grn-object.c +10 -1
  9. data/ext/groonga/rb-grn-posting.c +4 -4
  10. data/ext/groonga/rb-grn-table-key-support.c +9 -4
  11. data/ext/groonga/rb-grn-table.c +1 -1
  12. data/ext/groonga/rb-grn-utils.c +2 -6
  13. data/ext/groonga/rb-grn-variable-size-column.c +2 -2
  14. data/ext/groonga/rb-grn.h +27 -2
  15. data/lib/1.9/groonga.so +0 -0
  16. data/lib/2.0/groonga.so +0 -0
  17. data/lib/2.1/groonga.so +0 -0
  18. data/lib/groonga/record.rb +19 -2
  19. data/lib/groonga/schema.rb +2 -2
  20. data/rroonga-build.rb +1 -1
  21. data/rroonga.gemspec +5 -5
  22. data/test/test-column.rb +6 -6
  23. data/test/test-database.rb +6 -2
  24. data/test/test-double-array-trie.rb +18 -0
  25. data/test/test-expression-builder.rb +3 -2
  26. data/test/test-hash.rb +13 -1
  27. data/test/test-plugin.rb +3 -1
  28. data/test/test-record.rb +10 -0
  29. data/test/test-variable-size-column.rb +4 -4
  30. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  31. data/vendor/local/bin/groonga.exe +0 -0
  32. data/vendor/local/bin/libgroonga-0.dll +0 -0
  33. data/vendor/local/bin/libmecab-1.dll +0 -0
  34. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  35. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  36. data/vendor/local/bin/libonig-5.dll +0 -0
  37. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  38. data/vendor/local/bin/mecab.exe +0 -0
  39. data/vendor/local/bin/onig-config +78 -0
  40. data/vendor/local/include/oniggnu.h +85 -0
  41. data/vendor/local/include/onigposix.h +169 -0
  42. data/vendor/local/include/oniguruma.h +870 -0
  43. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.la +41 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  53. data/vendor/local/lib/groonga/plugins/ruby/load.la +41 -0
  54. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  55. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  56. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  62. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  63. data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +20 -0
  64. data/vendor/local/lib/groonga/scripts/ruby/context.rb +31 -0
  65. data/vendor/local/lib/groonga/scripts/ruby/context/error_level.rb +30 -0
  66. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +99 -0
  67. data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +13 -0
  68. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +13 -0
  69. data/vendor/local/lib/groonga/scripts/ruby/index_info.rb +10 -0
  70. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +27 -0
  71. data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +32 -0
  72. data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +30 -0
  73. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +342 -0
  74. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +198 -0
  75. data/vendor/local/lib/libgroonga.a +0 -0
  76. data/vendor/local/lib/libgroonga.dll.a +0 -0
  77. data/vendor/local/lib/libmecab.a +0 -0
  78. data/vendor/local/lib/libmecab.dll.a +0 -0
  79. data/vendor/local/lib/libmsgpack.a +0 -0
  80. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  81. data/vendor/local/lib/libmsgpackc.a +0 -0
  82. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  83. data/vendor/local/lib/libonig.a +0 -0
  84. data/vendor/local/lib/libonig.dll.a +0 -0
  85. data/vendor/local/lib/libonig.la +41 -0
  86. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  87. data/vendor/local/lib/pkgconfig/oniguruma.pc +14 -0
  88. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  89. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  90. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  91. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  92. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  93. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  94. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +4 -5
  95. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +46 -10
  96. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -87
  97. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  98. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  99. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  100. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  101. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  102. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  103. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +68 -0
  104. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables.txt +3 -3
  105. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  106. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +5 -4
  107. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +265 -232
  108. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +30 -23
  109. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +8 -9
  125. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/index.html +17 -18
  130. data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
  131. data/vendor/local/share/doc/groonga/en/html/install/centos.html +63 -10
  132. data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -108
  133. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  134. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  135. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  136. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  137. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  138. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  139. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/news.html +123 -48
  141. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -6
  145. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  150. data/vendor/local/share/doc/groonga/en/html/reference.html +10 -10
  151. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +8 -8
  214. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -12
  215. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +8 -8
  216. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
  217. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +8 -8
  218. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +8 -8
  219. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +8 -8
  220. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +8 -8
  221. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +8 -8
  222. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  251. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/suggest.html +9 -9
  262. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  263. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  264. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  265. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  266. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  267. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  268. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  269. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/tutorial.html +13 -13
  271. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
  273. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +14 -13
  276. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +264 -250
  278. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +9 -9
  280. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +46 -41
  281. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
  282. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +4 -5
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +46 -10
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -87
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +68 -0
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables.txt +3 -3
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +5 -4
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +265 -232
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +30 -23
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +2 -2
  299. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  301. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -6
  314. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  318. data/vendor/local/share/doc/groonga/ja/html/index.html +14 -15
  319. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
  320. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +57 -10
  321. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -102
  322. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  323. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  324. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  325. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  326. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  327. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  328. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/news.html +130 -48
  330. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  339. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +9 -9
  342. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +17 -33
  343. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -26
  344. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +10 -10
  346. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
  347. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +10 -10
  348. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -37
  349. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
  363. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
  403. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  440. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +11 -11
  460. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  462. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +9 -9
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +249 -237
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  468. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +9 -9
  469. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +36 -36
  470. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
  471. data/vendor/local/share/license/mruby/AUTHORS +22 -0
  472. data/vendor/local/share/license/mruby/LEGAL +6 -0
  473. data/vendor/local/share/license/mruby/MITL +20 -0
  474. data/vendor/local/share/license/mruby/README.md +111 -0
  475. data/vendor/local/share/license/onigmo/AUTHORS +2 -0
  476. data/vendor/local/share/license/onigmo/COPYING +87 -0
  477. data/vendor/local/share/license/onigmo/README +249 -0
  478. data/vendor/local/share/man/ja/man1/groonga.1 +471 -485
  479. data/vendor/local/share/man/man1/groonga.1 +389 -454
  480. metadata +82 -46
  481. data/README.textile +0 -73
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>4.2. リモートアクセス &mdash; Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
10
+ <title>4.2. リモートアクセス &mdash; Groonga v4.0.5-143-g3391c1dドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '4.0.4-214-gb1aaec1',
18
+ VERSION: '4.0.5-143-g3391c1d',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
30
30
  <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
31
31
  <link rel="next" title="4.3. いろいろなデータの保存" href="data.html" />
32
32
  <link rel="prev" title="4.1. 基本的な操作" href="introduction.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="introduction.html" title="4.1. 基本的な操作"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
65
65
  <li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -356,7 +356,7 @@ select --table Site --query title:@this
356
356
  <li class="right" >
357
357
  <a href="introduction.html" title="4.1. 基本的な操作"
358
358
  >前へ</a> |</li>
359
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
359
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
360
360
  <li><a href="../tutorial.html" >4. チュートリアル</a> &raquo;</li>
361
361
  </ul>
362
362
  </div>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>4.8. パトリシア木による前方一致検索 &mdash; Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
10
+ <title>4.8. パトリシア木による前方一致検索 &mdash; Groonga v4.0.5-143-g3391c1dドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '4.0.4-214-gb1aaec1',
18
+ VERSION: '4.0.5-143-g3391c1d',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,9 +26,9 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
30
30
  <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
31
- <link rel="next" title="4.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
31
+ <link rel="next" title="4.9. 全文検索用の語彙表の作成" href="lexicon.html" />
32
32
  <link rel="prev" title="4.7. match_columnsパラメータ" href="match_columns.html" />
33
33
  </head>
34
34
  <body>
@@ -56,12 +56,12 @@
56
56
  <a href="../genindex.html" title="総合索引"
57
57
  accesskey="I">索引</a></li>
58
58
  <li class="right" >
59
- <a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
59
+ <a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
60
60
  accesskey="N">次へ</a> |</li>
61
61
  <li class="right" >
62
62
  <a href="match_columns.html" title="4.7. match_columnsパラメータ"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
65
65
  <li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -258,7 +258,7 @@ select --table PatSuffix --filter &#39;_key @$ &quot;ゆき&quot; &amp;&amp; ori
258
258
  title="前の章へ">4.7. match_columnsパラメータ</a></p>
259
259
  <h4>次のトピックへ</h4>
260
260
  <p class="topless"><a href="lexicon.html"
261
- title="次の章へ">4.9. 全文検索の語彙表に対する追加情報</a></p>
261
+ title="次の章へ">4.9. 全文検索用の語彙表の作成</a></p>
262
262
  <h3>このページ</h3>
263
263
  <ul class="this-page-menu">
264
264
  <li><a href="../_sources/tutorial/patricia_trie.txt"
@@ -288,12 +288,12 @@ select --table PatSuffix --filter &#39;_key @$ &quot;ゆき&quot; &amp;&amp; ori
288
288
  <a href="../genindex.html" title="総合索引"
289
289
  >索引</a></li>
290
290
  <li class="right" >
291
- <a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
291
+ <a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
292
292
  >次へ</a> |</li>
293
293
  <li class="right" >
294
294
  <a href="match_columns.html" title="4.7. match_columnsパラメータ"
295
295
  >前へ</a> |</li>
296
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
296
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
297
297
  <li><a href="../tutorial.html" >4. チュートリアル</a> &raquo;</li>
298
298
  </ul>
299
299
  </div>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>4.11. クエリ拡張 &mdash; Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
10
+ <title>4.11. クエリ拡張 &mdash; Groonga v4.0.5-143-g3391c1dドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '4.0.4-214-gb1aaec1',
18
+ VERSION: '4.0.5-143-g3391c1d',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
30
30
  <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
31
31
  <link rel="next" title="5. サジェスト" href="../suggest.html" />
32
32
  <link rel="prev" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
65
65
  <li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -71,15 +71,14 @@
71
71
  <div class="bodywrapper">
72
72
  <div class="body">
73
73
 
74
- <div class="section" id="id1">
75
- <h1>4.11. クエリ拡張<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
- <p>Groongaでは、 <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> コマンドにquery_expanderパラメータを指定することによって、ユーザが指定した検索文字列を適宜拡張することが可能です。</p>
77
- <p>たとえば、ユーザが'シークヮーサー'という文字列で検索した場合に、'シークヮーサー OR シークァーサー'で検索した場合と同一の結果を返すことによって、本来ユーザが必要とする結果をよりもれなく検索できるようになります。</p>
78
- <div class="section" id="id2">
79
- <h2>4.11.1. 準備<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
- <p>クエリ拡張機能を使用するためには、検索対象となる文書を格納するテーブル(ここでは文書テーブルと呼びます)以外に、ユーザの指定した検索文字列を置換するためのテーブル(ここでは置換テーブルと呼びます)を準備します。置換テーブルでは、その主キーが置換前の文字列となり、文字列型(ShortText)のカラムの値が置換後の文字列となります。</p>
81
- <p>TODO: 文字列型のベクターカラムでも可能であり、その場合は各要素をORでつなげたものに置換されるということを記述する。</p>
82
- <p>実際に文書テーブルと置換テーブルを作成してみましょう。</p>
74
+ <div class="section" id="query-expansion">
75
+ <h1>4.11. クエリ拡張<a class="headerlink" href="#query-expansion" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <p>Groonga <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> コマンドは <tt class="docutils literal"><span class="pre">query_expander</span></tt> 引数を受付ます。これを使うとクエリ文字列を拡張することができます。</p>
77
+ <p>例えば、&quot;theater&quot;ではなく&quot;theatre&quot;で検索したとしましょう。クエリ拡張では&quot;theater OR theatre&quot;の結果を返します。このようなやりかたで検索漏れを減らせます。これはユーザーが本当にやりたかったことです。</p>
78
+ <div class="section" id="preparation">
79
+ <h2>4.11.1. 準備<a class="headerlink" href="#preparation" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
+ <p>クエリ拡張を使うには、文書を格納するテーブルと検索文字列と置換文字列のペアを格納する置換テーブルを作る必要があります。置換テーブルでは主キーが元の文字列、ShortText型のカラムが置換後の文字列をあらわします。</p>
81
+ <p>それでは文書テーブルと置換テーブルを作成しましょう。</p>
83
82
  <p>実行例:</p>
84
83
  <div class="highlight-none"><div class="highlight"><pre>table_create Doc TABLE_PAT_KEY ShortText
85
84
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -95,25 +94,25 @@ column_create Synonym body COLUMN_SCALAR ShortText
95
94
  # [[0, 1337566253.89858, 0.000355720520019531], true]
96
95
  load --table Doc
97
96
  [
98
- {&quot;_key&quot;: &quot;001&quot;, &quot;body&quot;: &quot;すっぱいブドウと甘いシークァーサー&quot;},
99
- {&quot;_key&quot;: &quot;002&quot;, &quot;body&quot;: &quot;シークヮーサージュースとゴーヤチャンプル&quot;},
97
+ {&quot;_key&quot;: &quot;001&quot;, &quot;body&quot;: &quot;Play all night in this theater.&quot;},
98
+ {&quot;_key&quot;: &quot;002&quot;, &quot;body&quot;: &quot;theatre is British spelling.&quot;},
100
99
  ]
101
100
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
102
101
  load --table Synonym
103
102
  [
104
- {&quot;_key&quot;: &quot;シークァーサー&quot;, &quot;body&quot;: &quot;(シークァーサー OR シークヮーサー)&quot;},
105
- {&quot;_key&quot;: &quot;シークヮーサー&quot;, &quot;body&quot;: &quot;(シークァーサー OR シークヮーサー)&quot;},
103
+ {&quot;_key&quot;: &quot;theater&quot;, &quot;body&quot;: &quot;(theater OR theatre)&quot;},
104
+ {&quot;_key&quot;: &quot;theatre&quot;, &quot;body&quot;: &quot;(theater OR theatre)&quot;},
106
105
  ]
107
106
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
108
107
  </pre></div>
109
108
  </div>
110
- <p>この例では、ユーザが&quot;シークァーサー&quot;と入力しても、&quot;シークヮーサー&quot;と入力しても、それぞれの異なる表記の文書をもれなく検索するための置換テーブルを作成しています。</p>
109
+ <p>このようにすると、検索漏れは起こりません。これは置換テーブルがクエリ文字列として&quot;theater&quot;も&quot;theatre&quot;のいずれも受け付けるからです。</p>
111
110
  </div>
112
- <div class="section" id="id3">
113
- <h2>4.11.2. 検索<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
114
- <p>それでは実際に、準備した置換テーブルを使ってみましょう。まずは、query_expanderパラメータを指定せずにselectコマンドを使って検索してみます。</p>
111
+ <div class="section" id="search">
112
+ <h2>4.11.2. 検索<a class="headerlink" href="#search" title="このヘッドラインへのパーマリンク">¶</a></h2>
113
+ <p>では、準備した置換テーブルを使ってみます。まずは <tt class="docutils literal"><span class="pre">query_expander</span></tt> を使わずに <tt class="docutils literal"><span class="pre">select</span></tt> コマンドを実行してみましょう。</p>
115
114
  <p>実行例:</p>
116
- <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query &quot;シークァーサー&quot;
115
+ <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query &quot;theater&quot;
117
116
  # [
118
117
  # [
119
118
  # 0,
@@ -142,12 +141,12 @@ load --table Synonym
142
141
  # [
143
142
  # 1,
144
143
  # &quot;001&quot;,
145
- # &quot;すっぱいブドウと甘いシークァーサー&quot;
144
+ # &quot;Play all night in this theater.&quot;
146
145
  # ]
147
146
  # ]
148
147
  # ]
149
148
  # ]
150
- select Doc --match_columns body --query &quot;シークヮーサー&quot;
149
+ select Doc --match_columns body --query &quot;theatre&quot;
151
150
  # [
152
151
  # [
153
152
  # 0,
@@ -176,16 +175,17 @@ select Doc --match_columns body --query &quot;シークヮーサー&quot;
176
175
  # [
177
176
  # 2,
178
177
  # &quot;002&quot;,
179
- # &quot;シークヮーサージュースとゴーヤチャンプル&quot;
178
+ # &quot;theatre is British spelling.&quot;
180
179
  # ]
181
180
  # ]
182
181
  # ]
183
182
  # ]
184
183
  </pre></div>
185
184
  </div>
186
- <p>指定された文字列に完全に一致するレコードのみがそれぞれヒットします。次に、query_expanderパラメータに、準備したSynonymテーブルのbodyカラムを指定してみましょう。</p>
185
+ <p>このクエリではクエリ文字列に完全に一致するレコードを返します。</p>
186
+ <p>では、 <tt class="docutils literal"><span class="pre">query_expander</span></tt> を <tt class="docutils literal"><span class="pre">Synonym</span></tt> テーブルの <tt class="docutils literal"><span class="pre">body</span></tt> カラムに対して使ってみましょう。</p>
187
187
  <p>実行例:</p>
188
- <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query &quot;シークァーサー&quot; --query_expander Synonym.body
188
+ <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query &quot;theater&quot; --query_expander Synonym.body
189
189
  # [
190
190
  # [
191
191
  # 0,
@@ -214,17 +214,17 @@ select Doc --match_columns body --query &quot;シークヮーサー&quot;
214
214
  # [
215
215
  # 1,
216
216
  # &quot;001&quot;,
217
- # &quot;すっぱいブドウと甘いシークァーサー&quot;
217
+ # &quot;Play all night in this theater.&quot;
218
218
  # ],
219
219
  # [
220
220
  # 2,
221
221
  # &quot;002&quot;,
222
- # &quot;シークヮーサージュースとゴーヤチャンプル&quot;
222
+ # &quot;theatre is British spelling.&quot;
223
223
  # ]
224
224
  # ]
225
225
  # ]
226
226
  # ]
227
- select Doc --match_columns body --query &quot;シークヮーサー&quot; --query_expander Synonym.body
227
+ select Doc --match_columns body --query &quot;theatre&quot; --query_expander Synonym.body
228
228
  # [
229
229
  # [
230
230
  # 0,
@@ -253,19 +253,19 @@ select Doc --match_columns body --query &quot;シークヮーサー&quot; --quer
253
253
  # [
254
254
  # 1,
255
255
  # &quot;001&quot;,
256
- # &quot;すっぱいブドウと甘いシークァーサー&quot;
256
+ # &quot;Play all night in this theater.&quot;
257
257
  # ],
258
258
  # [
259
259
  # 2,
260
260
  # &quot;002&quot;,
261
- # &quot;シークヮーサージュースとゴーヤチャンプル&quot;
261
+ # &quot;theatre is British spelling.&quot;
262
262
  # ]
263
263
  # ]
264
264
  # ]
265
265
  # ]
266
266
  </pre></div>
267
267
  </div>
268
- <p>どちらのクエリ文字列も、&quot;(シークァーサー OR シークヮーサー)&quot;という文字列に置換されてから検索されるため、表記の揺れを吸収して検索できるようになりました。</p>
268
+ <p>この場合、クエリ文字列は &quot;theater OR theatre&quot; へと置き換えられます。つまり、検索時に表記揺れを考慮して検索できます。</p>
269
269
  </div>
270
270
  </div>
271
271
 
@@ -278,8 +278,8 @@ select Doc --match_columns body --query &quot;シークヮーサー&quot; --quer
278
278
  <h3><a href="../index.html">目次</a></h3>
279
279
  <ul>
280
280
  <li><a class="reference internal" href="#">4.11. クエリ拡張</a><ul>
281
- <li><a class="reference internal" href="#id2">4.11.1. 準備</a></li>
282
- <li><a class="reference internal" href="#id3">4.11.2. 検索</a></li>
281
+ <li><a class="reference internal" href="#preparation">4.11.1. 準備</a></li>
282
+ <li><a class="reference internal" href="#search">4.11.2. 検索</a></li>
283
283
  </ul>
284
284
  </li>
285
285
  </ul>
@@ -324,7 +324,7 @@ select Doc --match_columns body --query &quot;シークヮーサー&quot; --quer
324
324
  <li class="right" >
325
325
  <a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
326
326
  >前へ</a> |</li>
327
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
327
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
328
328
  <li><a href="../tutorial.html" >4. チュートリアル</a> &raquo;</li>
329
329
  </ul>
330
330
  </div>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>4.4. さまざまな検索条件 &mdash; Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
10
+ <title>4.4. さまざまな検索条件 &mdash; Groonga v4.0.5-143-g3391c1dドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '4.0.4-214-gb1aaec1',
18
+ VERSION: '4.0.5-143-g3391c1d',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
30
30
  <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
31
31
  <link rel="next" title="4.5. ドリルダウン" href="drilldown.html" />
32
32
  <link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="data.html" title="4.3. いろいろなデータの保存"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
65
65
  <li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -207,7 +207,7 @@ select --table Site --filter &quot;_id &lt;= 2 || _id &gt;= 7&quot; --output_col
207
207
  <p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">scorer</span></tt> パラメータは、 全文検索を行った結果の各レコードに対して処理を行うためのパラメータです。</p>
208
208
  <p><tt class="docutils literal"><span class="pre">filter</span></tt> パラメータと同様に、 JavaScriptの式に似た文法で様々な条件を指定することができます。</p>
209
209
  <p>実行例:</p>
210
- <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter &quot;1&quot; --scorer &quot;_score = rand()&quot; --output_columns _id,_key,_score --sortby _score
210
+ <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter &quot;true&quot; --scorer &quot;_score = rand()&quot; --output_columns _id,_key,_score --sortby _score
211
211
  # [
212
212
  # [
213
213
  # 0,
@@ -281,7 +281,7 @@ select --table Site --filter &quot;_id &lt;= 2 || _id &gt;= 7&quot; --output_col
281
281
  # ]
282
282
  # ]
283
283
  # ]
284
- select --table Site --filter &quot;1&quot; --scorer &quot;_score = rand()&quot; --output_columns _id,_key,_score --sortby _score
284
+ select --table Site --filter &quot;true&quot; --scorer &quot;_score = rand()&quot; --output_columns _id,_key,_score --sortby _score
285
285
  # [
286
286
  # [
287
287
  # 0,
@@ -614,7 +614,7 @@ select --table Site --query &quot;_id:1 OR _id:2&quot; --output_columns _key,loc
614
614
  <li class="right" >
615
615
  <a href="data.html" title="4.3. いろいろなデータの保存"
616
616
  >前へ</a> |</li>
617
- <li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> &raquo;</li>
617
+ <li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> &raquo;</li>
618
618
  <li><a href="../tutorial.html" >4. チュートリアル</a> &raquo;</li>
619
619
  </ul>
620
620
  </div>
@@ -0,0 +1,22 @@
1
+ Original Authors "mruby developers" are:
2
+ Yukihiro Matsumoto
3
+ FUKUOKA CSK CORPORATION
4
+ Kyushu Institute of Technology
5
+ Network Applied Communication Laboratory, Inc.
6
+ Daniel Bovensiepen
7
+ Jon Maken
8
+ Bjorn De Meyer
9
+ Yuichiro MASUI
10
+ Masamitsu MURASE
11
+ Masaki Muranaka
12
+ Internet Initiative Japan Inc.
13
+ Tadashi FUKUZAWA
14
+ MATSUMOTO Ryosuke
15
+ Yasuhiro Matsumoto
16
+ Koji Yoshioka
17
+ Jun Hiroe
18
+ Narihiro Nakamura
19
+ Yuichi Nishiwaki
20
+ Tatsuhiko Kubo
21
+ Takeshi Watanabe
22
+ Yuki Kurihara
@@ -0,0 +1,6 @@
1
+ LEGAL NOTICE INFORMATION
2
+ ------------------------
3
+
4
+ All the files in this distribution are covered under the MIT license
5
+ (see the file MITL) except some files mentioned below:
6
+
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2014 mruby developers
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a
4
+ copy of this software and associated documentation files (the "Software"),
5
+ to deal in the Software without restriction, including without limitation
6
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
7
+ and/or sell copies of the Software, and to permit persons to whom the
8
+ Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
19
+ DEALINGS IN THE SOFTWARE.
20
+
@@ -0,0 +1,111 @@
1
+ [![Build Status](https://travis-ci.org/mruby/mruby.png?branch=master)](https://travis-ci.org/mruby/mruby)
2
+
3
+ ## What's mruby
4
+
5
+ mruby is the lightweight implementation of the Ruby language complying to (part of)
6
+ the [ISO standard](http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579).
7
+ Its syntax is Ruby 1.9 compatible.
8
+
9
+ mruby can be linked and embedded within your application. We provide the interpreter program "mruby" and
10
+ the interactive mruby shell "mirb" as examples. You can also compile Ruby programs into compiled byte code
11
+ using the mruby compiler "mrbc". All those tools reside in the "bin" directory. "mrbc" is also able to
12
+ generate compiled byte code in a C source file, see the "mrbtest" program under the "test" directory
13
+ for an example.
14
+
15
+ This achievement was sponsored by the Regional Innovation Creation R&D Programs of
16
+ the Ministry of Economy, Trade and Industry of Japan.
17
+
18
+
19
+ ## How to get mruby
20
+
21
+ The stable version 1.0.0 of mruby can be downloaded via the following URL:
22
+
23
+ https://github.com/mruby/mruby/archive/1.0.0.zip
24
+
25
+ The latest development version of mruby can be downloaded via the following URL:
26
+
27
+ https://github.com/mruby/mruby/zipball/master
28
+
29
+ The trunk of the mruby source tree can be checked out with the
30
+ following command:
31
+
32
+ $ git clone https://github.com/mruby/mruby.git
33
+
34
+
35
+ ## mruby home-page
36
+
37
+ The URL of the mruby home-page is:
38
+
39
+ http://www.mruby.org/
40
+
41
+
42
+ ## Mailing list
43
+
44
+ To subscribe to the mruby mailing list....[T.B.D.]
45
+
46
+
47
+ ## How to compile and install (mruby and gems)
48
+
49
+ See the INSTALL file.
50
+
51
+ ## Running Tests
52
+
53
+ To run the tests, execute the following from the project's root directory.
54
+
55
+ $ make test
56
+
57
+ Or
58
+
59
+ $ ruby ./minirake test
60
+
61
+ ## Customization
62
+
63
+ mruby contains a package manager called *mrbgems*. To create extensions
64
+ in C and/or Ruby you should create a *GEM*. You will find a complete
65
+ documentation with examples under *examples/mrbgems*.
66
+
67
+ ## License
68
+
69
+ Copyright (c) 2014 mruby developers
70
+
71
+ Permission is hereby granted, free of charge, to any person obtaining a
72
+ copy of this software and associated documentation files (the "Software"),
73
+ to deal in the Software without restriction, including without limitation
74
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
75
+ and/or sell copies of the Software, and to permit persons to whom the
76
+ Software is furnished to do so, subject to the following conditions:
77
+
78
+ The above copyright notice and this permission notice shall be included in
79
+ all copies or substantial portions of the Software.
80
+
81
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
82
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
83
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
84
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
85
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
86
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
87
+ DEALINGS IN THE SOFTWARE.
88
+
89
+ ## Note for License
90
+
91
+ mruby has chosen a MIT License due to its permissive license allowing
92
+ developers to target various environments such as embedded systems.
93
+ However, the license requires the display of the copyright notice and license
94
+ information in manuals for instance. Doing so for big projects can be
95
+ complicated or troublesome.
96
+ This is why mruby has decided to display "mruby developers" as the copyright name
97
+ to make it simple conventionally.
98
+ In the future, mruby might ask you to distribute your new code
99
+ (that you will commit,) under the MIT License as a member of
100
+ "mruby developers" but contributors will keep their copyright.
101
+ (We did not intend for contributors to transfer or waive their copyrights,
102
+ Actual copyright holder name (contributors) will be listed in the AUTHORS file.)
103
+
104
+ Please ask us if you want to distribute your code under another license.
105
+
106
+ ## How to Contribute
107
+
108
+ See the [contribution guidelines](https://github.com/mruby/mruby/blob/master/CONTRIBUTING.md)
109
+ then send a pull request to <http://github.com/mruby/mruby>. We consider you have granted
110
+ non-exclusive right to your contributed code under MIT license. If you want to be named
111
+ as one of mruby developers, please include an update to the AUTHORS file in your pull request.