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
@@ -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にあります。ご報告をお願いします。
@@ -37,7 +37,11 @@ For example, there is a registered word "日本". And "ニホン"
37
37
  (it must be katakana) is registered as its reading. An user
38
38
  can find "日本" by "ni", "二" or "に".
39
39
 
40
- If you create dataset which is named as example by :doc:`/reference/executables/groonga-suggest-create-dataset` command, you can update pairs of registered word and its reading by loading data to '_key' and 'kana' column of item_example table explicitly for prefix RK search.
40
+ If you create dataset which is named as example by
41
+ :doc:`/reference/executables/groonga-suggest-create-dataset` command,
42
+ you can update pairs of registered word and its reading by loading
43
+ data to '_key' and 'kana' column of item_example table explicitly for
44
+ prefix RK search.
41
45
 
42
46
  Cooccurrence search
43
47
  ^^^^^^^^^^^^^^^^^^^
@@ -227,19 +231,25 @@ Then you can complete registered word "日本" by RK input - "nihon".
227
231
  .. include:: ../example/suggest/complete/rk-search-nihon.log
228
232
  .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
229
233
 
230
- Without loading above RK data, you can't complete registered word "日本" by query - "nihon".
234
+ Without loading above RK data, you can't complete registered word "日本"
235
+ by query - "nihon".
231
236
 
232
- As the column type of item_query table is VECTOR_COLUMN, you can register multiple readings for registered word.
237
+ As the column type of item_query table is VECTOR_COLUMN, you can
238
+ register multiple readings for registered word.
233
239
 
234
- This is the reason that you can also complete the registered word "日本" by query - "nippon".
240
+ This is the reason that you can also complete the registered word "日本"
241
+ by query - "nippon".
235
242
 
236
243
  .. groonga-command
237
244
  .. include:: ../example/suggest/complete/rk-search-nippon.log
238
245
  .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nippon
239
246
 
240
- This feature is very convenient because you can search registered word even though Japanese IM is disabled.
247
+ This feature is very convenient because you can search registered word
248
+ even though Japanese IM is disabled.
241
249
 
242
- If there are multiple candidates as completed result, you can customize priority to set the value of "boost" column in item_query table.
250
+ If there are multiple candidates as completed result, you can
251
+ customize priority to set the value of "boost" column in item_query
252
+ table.
243
253
 
244
254
  Here is the example to customize priority for RK search.
245
255
 
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>1. groongaの特徴 &mdash; Groonga v3.0.9ドキュメント</title>
10
+ <title>1. groongaの特徴 &mdash; Groonga v3.1.0ドキュメント</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: '3.0.9',
18
+ VERSION: '3.1.0',
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 v3.0.9ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.1.0ドキュメント" href="index.html" />
30
30
  <link rel="next" title="2. インストール" href="install.html" />
31
31
  <link rel="prev" title="groonga ドキュメント" href="index.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="index.html" title="groonga ドキュメント"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -180,7 +180,7 @@
180
180
  <li class="right" >
181
181
  <a href="index.html" title="groonga ドキュメント"
182
182
  >前へ</a> |</li>
183
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
183
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
184
184
  </ul>
185
185
  </div>
186
186
  <div class="footer">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>3. コミュニティ &mdash; Groonga v3.0.9ドキュメント</title>
10
+ <title>3. コミュニティ &mdash; Groonga v3.1.0ドキュメント</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: '3.0.9',
18
+ VERSION: '3.1.0',
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 v3.0.9ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.1.0ドキュメント" href="index.html" />
30
30
  <link rel="next" title="4. チュートリアル" href="tutorial.html" />
31
31
  <link rel="prev" title="2.8. その他" href="install/others.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="install/others.html" title="2.8. その他"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -150,7 +150,7 @@
150
150
  <li class="right" >
151
151
  <a href="install/others.html" title="2.8. その他"
152
152
  >前へ</a> |</li>
153
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
153
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
154
154
  </ul>
155
155
  </div>
156
156
  <div class="footer">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>13. groongaへのコントリビュート方法 &mdash; Groonga v3.0.9ドキュメント</title>
10
+ <title>13. groongaへのコントリビュート方法 &mdash; Groonga v3.1.0ドキュメント</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: '3.0.9',
18
+ VERSION: '3.1.0',
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 v3.0.9ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.1.0ドキュメント" href="index.html" />
30
30
  <link rel="next" title="13.1. バグレポートの送り方" href="contribution/report.html" />
31
31
  <link rel="prev" title="12.1. Travis CI" href="development/travis-ci.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="development/travis-ci.html" title="12.1. Travis CI"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -228,7 +228,7 @@
228
228
  <li class="right" >
229
229
  <a href="development/travis-ci.html" title="12.1. Travis CI"
230
230
  >前へ</a> |</li>
231
- <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
231
+ <li><a href="index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
232
232
  </ul>
233
233
  </div>
234
234
  <div class="footer">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>13.2. groonga開発者向け情報 &mdash; Groonga v3.0.9ドキュメント</title>
10
+ <title>13.2. groonga開発者向け情報 &mdash; Groonga v3.1.0ドキュメント</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: '3.0.9',
18
+ VERSION: '3.1.0',
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 v3.0.9ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v3.1.0ドキュメント" href="../index.html" />
30
30
  <link rel="up" title="13. groongaへのコントリビュート方法" href="../contribution.html" />
31
31
  <link rel="next" title="13.2.1. リポジトリ" href="development/repository.html" />
32
32
  <link rel="prev" title="13.1. バグレポートの送り方" href="report.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="report.html" title="13.1. バグレポートの送り方"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../contribution.html" accesskey="U">13. groongaへのコントリビュート方法</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -133,7 +133,7 @@
133
133
  <li class="right" >
134
134
  <a href="report.html" title="13.1. バグレポートの送り方"
135
135
  >前へ</a> |</li>
136
- <li><a href="../index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
136
+ <li><a href="../index.html">Groonga v3.1.0ドキュメント</a> &raquo;</li>
137
137
  <li><a href="../contribution.html" >13. groongaへのコントリビュート方法</a> &raquo;</li>
138
138
  </ul>
139
139
  </div>