rroonga 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (420) hide show
  1. checksums.yaml +4 -4
  2. data/README.textile +10 -10
  3. data/bin/groonga-database-inspect +40 -0
  4. data/doc/text/news.textile +19 -0
  5. data/ext/groonga/extconf.rb +3 -1
  6. data/ext/groonga/rb-grn-expression.c +1 -1
  7. data/ext/groonga/rb-grn-operator.c +218 -8
  8. data/ext/groonga/rb-grn.h +4 -2
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga.rb +4 -1
  13. data/lib/groonga/column.rb +25 -0
  14. data/lib/groonga/database-inspector.rb +279 -0
  15. data/lib/groonga/database.rb +32 -2
  16. data/lib/groonga/dumper.rb +7 -13
  17. data/lib/groonga/index-column.rb +11 -1
  18. data/lib/groonga/statistic-measurer.rb +37 -0
  19. data/lib/groonga/table.rb +25 -0
  20. data/rroonga-build.rb +2 -2
  21. data/test/groonga-test-utils.rb +10 -10
  22. data/test/test-column.rb +26 -0
  23. data/test/test-database-inspector.rb +676 -0
  24. data/test/test-database.rb +25 -1
  25. data/test/test-expression-builder.rb +1 -0
  26. data/test/test-expression.rb +73 -0
  27. data/test/test-index-column.rb +23 -0
  28. data/test/test-statistic-measurer.rb +55 -0
  29. data/test/test-table.rb +40 -0
  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/mecab.exe +0 -0
  37. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  39. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  42. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  49. data/vendor/local/lib/libgroonga.a +0 -0
  50. data/vendor/local/lib/libgroonga.dll.a +0 -0
  51. data/vendor/local/lib/libmecab.a +0 -0
  52. data/vendor/local/lib/libmecab.dll.a +0 -0
  53. data/vendor/local/lib/libmsgpack.a +0 -0
  54. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  55. data/vendor/local/lib/libmsgpackc.a +0 -0
  56. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  57. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  58. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  59. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  60. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  61. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  62. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  63. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  68. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  70. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  71. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +25 -39
  72. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +273 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +16 -6
  76. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  79. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/genindex.html +19 -19
  94. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/index.html +7 -7
  96. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
  98. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  99. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  100. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  101. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  102. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  103. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  104. data/vendor/local/share/doc/groonga/en/html/install/windows.html +50 -45
  105. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/news.html +220 -172
  107. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
  109. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  113. data/vendor/local/share/doc/groonga/en/html/reference.html +7 -7
  114. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +12 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
  163. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
  173. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +10 -10
  174. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +410 -0
  176. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +14 -14
  177. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -33
  182. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  209. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +21 -11
  221. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
  233. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
  237. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  241. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
  242. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  243. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  244. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  245. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  246. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  247. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  248. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +25 -39
  249. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
  250. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
  251. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +273 -0
  252. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +16 -6
  253. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  254. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  258. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  269. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  270. data/vendor/local/share/doc/groonga/ja/html/genindex.html +19 -19
  271. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/index.html +7 -7
  273. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  274. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
  275. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  276. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  277. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  278. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  279. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  280. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  281. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +39 -38
  282. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  283. data/vendor/local/share/doc/groonga/ja/html/news.html +234 -173
  284. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  286. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  287. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  290. data/vendor/local/share/doc/groonga/ja/html/reference.html +7 -7
  291. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
  296. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  297. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  298. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  299. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  301. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  314. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  318. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  321. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  325. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  327. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  328. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +12 -5
  337. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
  350. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -10
  351. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +411 -0
  353. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +14 -14
  354. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -33
  359. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  386. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +21 -11
  398. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +8 -8
  410. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
  414. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  417. data/vendor/local/share/man/ja/man1/groonga.1 +489 -491
  418. data/vendor/local/share/man/man1/groonga.1 +500 -498
  419. metadata +21 -8
  420. data/lib/groonga/view-record.rb +0 -50
@@ -17,9 +17,9 @@ Install required packages to build groonga::
17
17
 
18
18
  Download source::
19
19
 
20
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
21
- % gtar xvzf groonga-3.0.9.tar.gz
22
- % cd groonga-3.0.9
20
+ % wget http://packages.groonga.org/source/groonga/groonga-3.1.0.tar.gz
21
+ % gtar xvzf groonga-3.1.0.tar.gz
22
+ % cd groonga-3.1.0
23
23
 
24
24
  Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
25
25
  needed for building 64-bit version. To build 32-bit version, just
@@ -253,9 +253,9 @@ Install required packages to build groonga::
253
253
 
254
254
  Download source::
255
255
 
256
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
257
- % tar xvzf groonga-3.0.9.tar.gz
258
- % cd groonga-3.0.9
256
+ % wget http://packages.groonga.org/source/groonga/groonga-3.1.0.tar.gz
257
+ % tar xvzf groonga-3.1.0.tar.gz
258
+ % cd groonga-3.1.0
259
259
 
260
260
  Configure (see :ref:`source-configure` about ``configure`` options)::
261
261
 
@@ -5,8 +5,8 @@
5
5
  Windows
6
6
  =======
7
7
 
8
- This section describes how to install groonga on Windows. You can
9
- install groogna by extracting a zip package or running an installer.
8
+ This section describes how to install Groonga on Windows. You can
9
+ install Groogna by extracting a zip package or running an installer.
10
10
 
11
11
  We distribute both 32-bit and 64-bit packages but we strongly
12
12
  recommend a 64-bit package for server. You should use a 32-bit package
@@ -17,89 +17,75 @@ size data.
17
17
  Installer
18
18
  ---------
19
19
 
20
- For 32-bit environment, download x86 executable binary from packages.groonga.org.
20
+ For 32-bit environment, download x86 executable binary from
21
+ packages.groonga.org:
21
22
 
22
- You can download such a binary by command line operation.
23
-
24
- Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
25
-
26
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x86.exe
23
+ * http://packages.groonga.org/windows/groonga/groonga-3.1.0-x86.exe
27
24
 
28
25
  Then run it.
29
26
 
27
+ For 64-bit environment, download x64 executable binary from
28
+ packages.goronga.org:
30
29
 
31
- For 64-bit environment, download x64 executable binary from packages.groonga.org.
32
-
33
- Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
34
-
35
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x64.exe
30
+ * http://packages.groonga.org/windows/groonga/groonga-3.1.0-x64.exe
36
31
 
37
32
  Then run it.
38
33
 
39
- Use command prompt for :doc:`/reference/executables/groonga` installed in start menu.
34
+ Use command prompt in start menu to run
35
+ :doc:`/reference/executables/groonga`.
40
36
 
41
37
  zip
42
38
  ---
43
39
 
44
- For 32-bit environment, download x86 zip archive from packages.groonga.org.
45
-
46
- You can download such a binary by command line operation.
40
+ For 32-bit environment, download x86 zip archive from
41
+ packages.groonga.org:
47
42
 
48
- Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
49
-
50
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x86.zip
43
+ * http://packages.groonga.org/windows/groonga/groonga-3.1.0-x86.zip
51
44
 
52
45
  Then extract it.
53
46
 
54
- For 64-bit environment, download x64 zip archive from packages.groonga.org.
55
-
56
- Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
47
+ For 64-bit environment, download x64 zip archive from
48
+ packages.groonga.org:
57
49
 
58
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x64.zip
50
+ * http://packages.groonga.org/windows/groonga/groonga-3.1.0-x64.zip
59
51
 
60
52
  Then extract it.
61
53
 
62
- :doc:`/reference/executables/groonga` is in ``bin`` folder.
54
+ You can find :doc:`/reference/executables/groonga` in ``bin`` folder.
63
55
 
64
56
  Build from source
65
57
  -----------------
66
58
 
67
- First, you need to install required tools for building groonga on
59
+ First, you need to install required tools for building Groonga on
68
60
  Windows. Here are required tools:
69
61
 
70
62
  * `Microsoft Visual Studio 2010 Express
71
63
  <http://www.microsoft.com/japan/msdn/vstudio/express/>`_
72
64
  * `CMake <http://www.cmake.org/>`_
73
65
 
74
- Download zipped source from packages.groonga.org.
75
-
76
- You can download such a zipped source file by command line operation.
77
-
78
- Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
79
- Visual Studio 2010 Express and download it by default browser::
66
+ Download zipped source from packages.groonga.org:
80
67
 
81
- > cd c:\Users\%USERNAME%\Downloads
82
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.9.zip
68
+ * http://packages.groonga.org/source/groonga/groonga-3.1.0.zip
83
69
 
84
70
  Then extract it.
85
71
 
86
- Move to the groonga's source folder::
72
+ Move to the Groonga's source folder::
87
73
 
88
- > cd c:\Users\%USERNAME%\Downloads\groonga-3.0.9
74
+ > cd c:\Users\%USERNAME%\Downloads\groonga-3.1.0
89
75
 
90
76
  Configure by ``cmake``. The following commnad line is for 64-bit
91
77
  version. To build 32-bit version, use ``-G "Visual Studio 10"``
92
78
  parameter instead::
93
79
 
94
- groonga-3.0.9> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
80
+ groonga-3.1.0> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
95
81
 
96
82
  Build::
97
83
 
98
- groonga-3.0.9> cmake --build . --config Release
84
+ groonga-3.1.0> cmake --build . --config Release
99
85
 
100
86
  Install::
101
87
 
102
- groonga-3.0.9> cmake --build . --config Release --target Install
88
+ groonga-3.1.0> cmake --build . --config Release --target Install
103
89
 
104
90
  After the above steps, :doc:`/reference/executables/groonga` is found in
105
91
  ``c:\groonga\bin\groonga.exe``.
@@ -5,6 +5,47 @@
5
5
  News
6
6
  ====
7
7
 
8
+ .. _release-3-1-0:
9
+
10
+ Release 3.1.0 - 2013/11/29
11
+ --------------------------
12
+
13
+ Improvements
14
+ ^^^^^^^^^^^^
15
+
16
+ * [experimental] Supported an option to skip updating for the same value.
17
+ It is enabled by setting GRN_JA_SKIP_SAME_VALUE_PUT=yes as environment variable.
18
+ * Improved to show tokenizer and original text in empty token warning message.
19
+ It shows actual token, so it helps you to investigate token related issue.
20
+ * Dropped broken AIO support. [#2054] [Reported by sho MINAGAWA]
21
+ * [windows] Supported build with Visual Studio Express 2008. [#1964 the 21th comment]
22
+ It is aimed to promote bundling Mroonga with MariaDB in the future.
23
+
24
+ Fixes
25
+ ^^^^^
26
+
27
+ * Fixed a bug that type of "_value" column is treated as Int32.
28
+ It causes the case that the value of "_value" column is casted unexpectedly.
29
+ [Reported by Genki Takiuchi]
30
+ * Fixed to require GLib 2.14.0 or later for benchmark program.
31
+ The benchmark program is changed to use GRegex which requires GLib 2.14.0 or later.
32
+ It affects users who compile Groonga with '--enable-benchmark' configuration.
33
+ [groonga-dev,01890] [Reported by WING]
34
+ * Fixed a memory leak on updating an empty column vector with the same value.
35
+ * Fixed a memory leak on updating index for column vector.
36
+ It affects the case if you store the value of column which has invalid UTF-8 byte
37
+ sequence.
38
+ * [plugin][windows] Fixed the issue that register command fails without
39
+ 'lib/groonga/plugins'. [Reported by @yito]
40
+
41
+ Thanks
42
+ ^^^^^^
43
+
44
+ * sho MINAGAWA
45
+ * Genki Takiuchi
46
+ * WING
47
+ * @yito
48
+
8
49
  .. _release-3-0-9:
9
50
 
10
51
  Release 3.0.9 - 2013/10/29
@@ -43,7 +43,7 @@ Parameters
43
43
  This section describes all parameters.
44
44
 
45
45
  ``path``
46
- """""""""""""""
46
+ """"""""
47
47
 
48
48
  It specifies the Ruby script path which you want to load.
49
49
 
@@ -0,0 +1,273 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ groonga-benchmark
6
+ =================
7
+
8
+ 名前
9
+ ----
10
+
11
+ groonga-benchmark - groongaテストプログラム
12
+
13
+ 書式
14
+ ----
15
+
16
+ ::
17
+
18
+ groonga-benchmark [options...] [script] [db]
19
+
20
+ 説明
21
+ ----
22
+
23
+ groonga-benchmarkは、groonga汎用ベンチマークツールです。
24
+
25
+ groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利用する場合の動作確認や実行速度測定が可能です。
26
+
27
+ groonga-benchmark用のデータファイルは自分で作成することも既存のものを利用することもできます。既存のデータファイルは、ftp.groonga.orgから必要に応じダウンロードします。そのため、groonga及びgroonga-benchmarkが動作し、インターネットに接続できる環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。
28
+
29
+ 現在は、Linux 及びWindows上で動作します。make installしてもインストールは行われません。
30
+
31
+ オプション
32
+ ----------
33
+ .. cmdoption:: -i, --host <ip/hostname>
34
+
35
+ 接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先にgroongaサーバが立ち上がっていない場合、接続不能となることに注意してください。このオプションを指定しない場合、groonga-benchmarkは自動的にlocalhostのgroongaサーバを起動して接続します。
36
+
37
+
38
+ .. cmdoption:: -p, --port <port number>
39
+
40
+ 自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、このオプションで指定したポート番号が異なる場合、接続不能となることに注意してください。
41
+
42
+
43
+ .. cmdoption:: --dir
44
+
45
+ ftp.groonga.org に用意されているスクリプトファイルを表示します。
46
+
47
+ .. cmdoption:: --ftp
48
+
49
+ ftp.groonga.orgとFTP通信を行い、scriptファイルの同期やログファイルの送信を行います。
50
+
51
+ .. cmdoption:: --log-output-dir
52
+
53
+ デフォルトでは、groonga-benchmark終了後のログファイルの出力先ははカレントディレクトリです。このオプションを利用すると、任意のディレクトリに出力先を変更することができます。
54
+
55
+ .. cmdoption:: --groonga <groonga_path>
56
+
57
+ groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマンドを探します。
58
+
59
+ .. cmdoption:: --protocol <gqtp|http>
60
+
61
+ groongaコマンドが使うプロトコルとして `gqtp` または `http` を指定します。
62
+
63
+ 引数
64
+ ----
65
+
66
+ .. cmdoption:: script
67
+
68
+ groonga-benchmarkの動作方法(以下、groonga-benchmark命令と呼びます)を記述したテキストファイルです。拡張子は.scrです。
69
+
70
+ .. cmdoption:: db
71
+
72
+ groonga-benchmarkが利用するgroonga データベースです。指定されたデータベースが存在しない場合、groonga-benchmarkが新規に作成します。またgroonga サーバを自動的に起動する場合もこの引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースになることに注意してください。
73
+
74
+
75
+ 使い方
76
+ ------
77
+ まず、シェル上(Windowsならコマンドプロンプト上)で::
78
+
79
+ groonga-benchmark test.scr 任意のDB名
80
+
81
+ とタイプしてください。もしgroonga-benchmarkが正常に動作すれば、::
82
+
83
+ test-ユーザ名-数字.log
84
+
85
+ というファイルが作成されるはずです。作成されない場合、このドキュメントの「トラブルシューティング」の章を参照してください。
86
+
87
+
88
+ スクリプトファイル
89
+ ------------------
90
+
91
+ スクリプトファイルは、groonga-benchmark命令を記述したテキストファイルです。
92
+ ";"セミコロンを利用して、一行に複数のgroonga-benchmark命令を記述することができます。一行に複数のgroonga-benchmark命令がある場合、各命令は並列に実行されます。
93
+ "#"で始まる行はコメントとして扱われます。
94
+
95
+
96
+
97
+ groonga-benchmark命令
98
+ ^^^^^^^^^^^^^^^^^^^^^
99
+
100
+ 現在サポートされているgroonga-benchmark命令は以下の8つです。
101
+
102
+ do_local コマンドファイル [スレッド数] [繰り返し数]
103
+
104
+ コマンドファイルをgroonga-benchmark単体で実行します。スレッド数が指定されている場合、複数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されてい場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数とも省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイル 1 [繰り返し数]と明示的に指定してください。
105
+
106
+ do_gqpt コマンドファイル [スレッド数] [繰り返し数]
107
+
108
+ コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。
109
+
110
+ rep_local コマンドファイル [スレッド数] [繰り返し数]
111
+
112
+ コマンドファイルをgroonga-benchmark単体で実行し、より詳細な報告を行います。
113
+
114
+ rep_gqpt コマンドファイル [スレッド数] [繰り返し数]
115
+
116
+ コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。
117
+
118
+ out_local コマンドファイル 入力ファイル名
119
+
120
+ コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果をすべて”出力ファイル"に書きだします。この結果は、test_local, test_gqtp命令で利用します。なおこの命令の「出力ファイル」とは、groonga-benchmark実行時に自動的に作成されるログとは別のものです。groonga-benchmarkではコメントが利用できる以外、::
121
+
122
+ groonga < コマンドファイル > 出力ファイル
123
+
124
+ とした場合と同じです。
125
+
126
+ out_gqtp コマンドファイル 出力ファイル名
127
+
128
+ コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等です。
129
+
130
+ test_local コマンドファイル 入力ファイル名
131
+ コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。
132
+
133
+
134
+ コマンドファイル
135
+ ^^^^^^^^^^^^^^^^
136
+
137
+ コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/command` を参照してください。
138
+
139
+ サンプル
140
+ ^^^^^^^^
141
+
142
+ スクリプトファイルのサンプルです。::
143
+
144
+ # sample script
145
+ rep_local test.ddl
146
+ do_local test.load;
147
+ do_gqtp test.select 10 10; do_local test.status 10
148
+
149
+
150
+ 上記の意味は以下のとおりです。
151
+
152
+ 1行目
153
+ コメント行。
154
+ 2行目
155
+ test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。
156
+ 3行目
157
+ test.load というコマンドファイルをgroonga単体で実行する。(最後の";"セミコロンは複数のgroonga-benchmark命令を記述する場合に必要ですが、この例のように1つのgroonga-benchmark命令を実行する場合に付与しても問題ありません。)
158
+ 4行目
159
+ test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体でtest.statusというコマンドファイルを10個のスレッドで実行する。
160
+
161
+ 特殊命令
162
+ ^^^^^^^^
163
+
164
+ スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在サポートされている特殊命令は以下の二つです。
165
+
166
+ #SET_HOST <ip/hostname>
167
+ -i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPアドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプションで指定した場合と同様です。
168
+
169
+ #SET_PORT <port number>
170
+ -p, --port オプションと同等の機能です。コマンドラインオプションに指定したポート番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_PORTが優先されます。
171
+
172
+
173
+ 特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。
174
+
175
+ 例えば、
176
+
177
+ ::
178
+
179
+ $ ./groonga-benchmark --port 20010 test.scr testdb
180
+
181
+ とコマンド上でポートを指定した場合でも、もしtest.scrの中身が
182
+
183
+ ::
184
+
185
+ #SET_PORT 10900
186
+ rep_local test.ddl
187
+ do_local test.load;
188
+ rep_gqtp test.select 10 10; rep_local test.status 10
189
+ #SET_PORT 10400
190
+
191
+ であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。
192
+
193
+
194
+ groonga-benchmark実行結果
195
+ ---------------
196
+
197
+ groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
198
+ に送信されます。ログファイルは以下のようなjson形式のテキストです。
199
+
200
+ ::
201
+
202
+ [{"script": "test.scr",
203
+ "user": "homepage",
204
+ "date": "2010-04-14 22:47:04",
205
+ "CPU": Intel(R) Pentium(R) 4 CPU 2.80GHz",
206
+ "BIT": 32,
207
+ "CORE": 1,
208
+ "RAM": "975MBytes",
209
+ "HDD": "257662232KBytes",
210
+ "OS": "Linux 2.4.20-24.7-i686",
211
+ "HOST": "localhost",
212
+ "PORT": "10041",
213
+ "VERSION": "0.1.8-100-ga54c5f8"
214
+ },
215
+ {"jobs": "rep_local test.ddl",
216
+ "detail": [
217
+ [0, "table_create res_table --key_type ShortText", 1490, 3086, [0,1271252824.25846,0.00144
218
+ 7]],
219
+ [0, "column_create res_table res_column --type Text", 3137, 5956, [0,1271252824.2601,0.002
220
+ 741]],
221
+ [0, "column_create res_table user_column --type Text", 6020, 8935, [0,1271252824.26298,0.0
222
+ 02841]],
223
+ [0, "column_create res_table mail_column --type Text", 8990, 11925, [0,1271252824.26595,0.
224
+ 002861]],
225
+ [0, "column_create res_table time_column --type Time", 12008, 13192, [0,1271252824.26897,0
226
+ .001147]],
227
+ [0, "status", 13214, 13277, [0,1271252824.27018,3.0e-05]],
228
+ [0, "table_create thread_table --key_type ShortText", 13289, 14541, [0,1271252824.27025,0.
229
+ 001213]],
230
+ [0, "column_create thread_table thread_title_column --type ShortText", 14570, 17380, [0,12
231
+ 71252824.27153,0.002741]],
232
+ [0, "status", 17435, 17480, [0,1271252824.2744,2.7e-05]],
233
+ [0, "table_create lexicon_table --flags 129 --key_type ShortText --default_tokenizer Token
234
+ Bigram", 17491, 18970, [0,1271252824.27446,0.001431]],
235
+ [0, "column_create lexicon_table inv_res_column 514 res_table res_column ", 18998, 33248,
236
+ [0,1271252824.27596,0.01418]],
237
+ [0, "column_create lexicon_table inv_thread_column 514 thread_table thread_title_column ",
238
+ 33285, 48472, [0,1271252824.29025,0.015119]],
239
+ [0, "status", 48509, 48554, [0,1271252824.30547,2.7e-05]]],
240
+ "summary" :[{"job": "rep_local test.ddl", "latency": 48607, "self": 47719, "qps": 272.4281
241
+ 73, "min": 45, "max": 15187, "queries": 13}]},
242
+ {"jobs": "do_local test.load; ",
243
+ "summary" :[{"job": "do_local test.load", "latency": 68693, "self": 19801, "qps": 1010.049
244
+ 997, "min": 202, "max": 5453, "queries": 20}]},
245
+ {"jobs": "do_gqtp test.select 10 10; do_local test.status 10",
246
+ "summary" :[{"job": " do_local test.status 10", "latency": 805990, "self": 737014, "qps":
247
+ 54.273053, "min": 24, "max": 218, "queries": 40},{"job": "do_gqtp test.select 10 10", "lat
248
+ ency": 831495, "self": 762519, "qps": 1967.164097, "min": 73, "max": 135631, "queries": 15
249
+ 00}]},
250
+ {"total": 915408, "qps": 1718.359464, "queries": 1573}]
251
+
252
+
253
+
254
+ 制限事項
255
+ --------
256
+
257
+ * スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。
258
+
259
+ * コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。
260
+
261
+
262
+ トラブルシューティング
263
+ ----------------------
264
+
265
+ もし、groonga-benchmarkが正常に動作しない場合、まず以下を確認してください。
266
+
267
+ * インターネットに接続しているか? `--ftp` オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。
268
+
269
+ * groonga サーバが動作していないか? groonga-benchmarkは、-i, --host オプションで明示的にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。すでにgroongaサーバが動作している場合、groonga-benchmarkは正常に動作しない可能性があります。
270
+
271
+ * 指定したDBが適切か? groonga-benchmarkは、引数で指定したDBの中身はチェックしません。もし指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性があります。
272
+
273
+ 以上の原因でなければ、問題はgroonga-benchmarkかgroongaにあります。ご報告をお願いします。