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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (481) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +73 -0
  3. data/Rakefile +13 -0
  4. data/doc/text/news.textile +26 -2
  5. data/ext/groonga/extconf.rb +3 -1
  6. data/ext/groonga/rb-grn-context.c +1 -1
  7. data/ext/groonga/rb-grn-double-array-trie.c +160 -4
  8. data/ext/groonga/rb-grn-object.c +10 -1
  9. data/ext/groonga/rb-grn-posting.c +4 -4
  10. data/ext/groonga/rb-grn-table-key-support.c +9 -4
  11. data/ext/groonga/rb-grn-table.c +1 -1
  12. data/ext/groonga/rb-grn-utils.c +2 -6
  13. data/ext/groonga/rb-grn-variable-size-column.c +2 -2
  14. data/ext/groonga/rb-grn.h +27 -2
  15. data/lib/1.9/groonga.so +0 -0
  16. data/lib/2.0/groonga.so +0 -0
  17. data/lib/2.1/groonga.so +0 -0
  18. data/lib/groonga/record.rb +19 -2
  19. data/lib/groonga/schema.rb +2 -2
  20. data/rroonga-build.rb +1 -1
  21. data/rroonga.gemspec +5 -5
  22. data/test/test-column.rb +6 -6
  23. data/test/test-database.rb +6 -2
  24. data/test/test-double-array-trie.rb +18 -0
  25. data/test/test-expression-builder.rb +3 -2
  26. data/test/test-hash.rb +13 -1
  27. data/test/test-plugin.rb +3 -1
  28. data/test/test-record.rb +10 -0
  29. data/test/test-variable-size-column.rb +4 -4
  30. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  31. data/vendor/local/bin/groonga.exe +0 -0
  32. data/vendor/local/bin/libgroonga-0.dll +0 -0
  33. data/vendor/local/bin/libmecab-1.dll +0 -0
  34. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  35. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  36. data/vendor/local/bin/libonig-5.dll +0 -0
  37. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  38. data/vendor/local/bin/mecab.exe +0 -0
  39. data/vendor/local/bin/onig-config +78 -0
  40. data/vendor/local/include/oniggnu.h +85 -0
  41. data/vendor/local/include/onigposix.h +169 -0
  42. data/vendor/local/include/oniguruma.h +870 -0
  43. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.la +41 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  53. data/vendor/local/lib/groonga/plugins/ruby/load.la +41 -0
  54. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  55. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  56. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  62. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  63. data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +20 -0
  64. data/vendor/local/lib/groonga/scripts/ruby/context.rb +31 -0
  65. data/vendor/local/lib/groonga/scripts/ruby/context/error_level.rb +30 -0
  66. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +99 -0
  67. data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +13 -0
  68. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +13 -0
  69. data/vendor/local/lib/groonga/scripts/ruby/index_info.rb +10 -0
  70. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +27 -0
  71. data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +32 -0
  72. data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +30 -0
  73. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +342 -0
  74. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +198 -0
  75. data/vendor/local/lib/libgroonga.a +0 -0
  76. data/vendor/local/lib/libgroonga.dll.a +0 -0
  77. data/vendor/local/lib/libmecab.a +0 -0
  78. data/vendor/local/lib/libmecab.dll.a +0 -0
  79. data/vendor/local/lib/libmsgpack.a +0 -0
  80. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  81. data/vendor/local/lib/libmsgpackc.a +0 -0
  82. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  83. data/vendor/local/lib/libonig.a +0 -0
  84. data/vendor/local/lib/libonig.dll.a +0 -0
  85. data/vendor/local/lib/libonig.la +41 -0
  86. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  87. data/vendor/local/lib/pkgconfig/oniguruma.pc +14 -0
  88. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  89. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  90. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  91. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  92. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  93. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  94. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +4 -5
  95. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +46 -10
  96. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -87
  97. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  98. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  99. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  100. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  101. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  102. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  103. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +68 -0
  104. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables.txt +3 -3
  105. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  106. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +5 -4
  107. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +265 -232
  108. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +30 -23
  109. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +8 -9
  125. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/index.html +17 -18
  130. data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
  131. data/vendor/local/share/doc/groonga/en/html/install/centos.html +63 -10
  132. data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -108
  133. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  134. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  135. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  136. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  137. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  138. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  139. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/news.html +123 -48
  141. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -6
  145. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  150. data/vendor/local/share/doc/groonga/en/html/reference.html +10 -10
  151. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +8 -8
  214. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -12
  215. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +8 -8
  216. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
  217. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +8 -8
  218. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +8 -8
  219. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +8 -8
  220. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +8 -8
  221. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +8 -8
  222. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  251. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/suggest.html +9 -9
  262. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  263. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  264. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  265. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  266. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  267. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  268. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  269. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/tutorial.html +13 -13
  271. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
  273. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +14 -13
  276. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +264 -250
  278. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +9 -9
  280. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +46 -41
  281. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
  282. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +4 -5
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +46 -10
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -87
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +68 -0
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables.txt +3 -3
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +5 -4
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +265 -232
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +30 -23
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +2 -2
  299. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  301. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -6
  314. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  318. data/vendor/local/share/doc/groonga/ja/html/index.html +14 -15
  319. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
  320. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +57 -10
  321. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -102
  322. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  323. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  324. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  325. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  326. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  327. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  328. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/news.html +130 -48
  330. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  339. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +9 -9
  342. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +17 -33
  343. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -26
  344. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +10 -10
  346. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
  347. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +10 -10
  348. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -37
  349. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
  363. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
  403. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  440. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +11 -11
  460. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  462. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +9 -9
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +249 -237
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  468. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +9 -9
  469. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +36 -36
  470. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
  471. data/vendor/local/share/license/mruby/AUTHORS +22 -0
  472. data/vendor/local/share/license/mruby/LEGAL +6 -0
  473. data/vendor/local/share/license/mruby/MITL +20 -0
  474. data/vendor/local/share/license/mruby/README.md +111 -0
  475. data/vendor/local/share/license/onigmo/AUTHORS +2 -0
  476. data/vendor/local/share/license/onigmo/COPYING +87 -0
  477. data/vendor/local/share/license/onigmo/README +249 -0
  478. data/vendor/local/share/man/ja/man1/groonga.1 +471 -485
  479. data/vendor/local/share/man/man1/groonga.1 +389 -454
  480. metadata +82 -46
  481. data/README.textile +0 -73
@@ -1,6 +1,6 @@
1
1
  .\" Man page generated from reStructuredText.
2
2
  .
3
- .TH "GROONGA" "1" "August 28, 2014" "4.0.5" "Groonga"
3
+ .TH "GROONGA" "1" "September 28, 2014" "4.0.6" "Groonga"
4
4
  .SH NAME
5
5
  groonga \- Groonga documentation
6
6
  .
@@ -110,7 +110,7 @@ packages.groonga.org:
110
110
  .INDENT 3.5
111
111
  .INDENT 0.0
112
112
  .IP \(bu 2
113
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.5\-x86.exe\fP
113
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x86.exe\fP
114
114
  .UNINDENT
115
115
  .UNINDENT
116
116
  .UNINDENT
@@ -123,7 +123,7 @@ packages.goronga.org:
123
123
  .INDENT 3.5
124
124
  .INDENT 0.0
125
125
  .IP \(bu 2
126
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.5\-x64.exe\fP
126
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x64.exe\fP
127
127
  .UNINDENT
128
128
  .UNINDENT
129
129
  .UNINDENT
@@ -140,7 +140,7 @@ packages.groonga.org:
140
140
  .INDENT 3.5
141
141
  .INDENT 0.0
142
142
  .IP \(bu 2
143
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.5\-x86.zip\fP
143
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x86.zip\fP
144
144
  .UNINDENT
145
145
  .UNINDENT
146
146
  .UNINDENT
@@ -153,7 +153,7 @@ packages.groonga.org:
153
153
  .INDENT 3.5
154
154
  .INDENT 0.0
155
155
  .IP \(bu 2
156
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.5\-x64.zip\fP
156
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x64.zip\fP
157
157
  .UNINDENT
158
158
  .UNINDENT
159
159
  .UNINDENT
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
181
181
  .INDENT 3.5
182
182
  .INDENT 0.0
183
183
  .IP \(bu 2
184
- \fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.5.zip\fP
184
+ \fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.6.zip\fP
185
185
  .UNINDENT
186
186
  .UNINDENT
187
187
  .UNINDENT
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
194
194
  .sp
195
195
  .nf
196
196
  .ft C
197
- > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.5
197
+ > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.6
198
198
  .ft P
199
199
  .fi
200
200
  .UNINDENT
@@ -208,7 +208,7 @@ parameter instead:
208
208
  .sp
209
209
  .nf
210
210
  .ft C
211
- groonga\-4.0.5> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
211
+ groonga\-4.0.6> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
212
212
  .ft P
213
213
  .fi
214
214
  .UNINDENT
@@ -220,7 +220,7 @@ Build:
220
220
  .sp
221
221
  .nf
222
222
  .ft C
223
- groonga\-4.0.5> cmake \-\-build . \-\-config Release
223
+ groonga\-4.0.6> cmake \-\-build . \-\-config Release
224
224
  .ft P
225
225
  .fi
226
226
  .UNINDENT
@@ -232,7 +232,7 @@ Install:
232
232
  .sp
233
233
  .nf
234
234
  .ft C
235
- groonga\-4.0.5> cmake \-\-build . \-\-config Release \-\-target Install
235
+ groonga\-4.0.6> cmake \-\-build . \-\-config Release \-\-target Install
236
236
  .ft P
237
237
  .fi
238
238
  .UNINDENT
@@ -293,9 +293,9 @@ Download source:
293
293
  .sp
294
294
  .nf
295
295
  .ft C
296
- % curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
297
- % tar xvzf groonga\-4.0.5.tar.gz
298
- % cd groonga\-4.0.5
296
+ % curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
297
+ % tar xvzf groonga\-4.0.6.tar.gz
298
+ % cd groonga\-4.0.6
299
299
  .ft P
300
300
  .fi
301
301
  .UNINDENT
@@ -444,116 +444,119 @@ Install groonga\-normalizer\-mysql package:
444
444
  .fi
445
445
  .UNINDENT
446
446
  .UNINDENT
447
- .SS jessie
448
- .sp
449
- Add the groonga apt repository.
447
+ .SS Build from source
450
448
  .sp
451
- /etc/apt/sources.list.d/groonga.list:
449
+ Install required packages to build Groonga:
452
450
  .INDENT 0.0
453
451
  .INDENT 3.5
454
452
  .sp
455
453
  .nf
456
454
  .ft C
457
- deb http://packages.groonga.org/debian/ jessie main
458
- deb\-src http://packages.groonga.org/debian/ jessie main
455
+ % sudo apt\-get install \-y \-V wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
459
456
  .ft P
460
457
  .fi
461
458
  .UNINDENT
462
459
  .UNINDENT
463
460
  .sp
464
- Install:
461
+ Download source:
465
462
  .INDENT 0.0
466
463
  .INDENT 3.5
467
464
  .sp
468
465
  .nf
469
466
  .ft C
470
- % sudo apt\-get update
471
- % sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
472
- % sudo apt\-get update
473
- % sudo apt\-get install \-y groonga
467
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
468
+ % tar xvzf groonga\-4.0.6.tar.gz
469
+ % cd groonga\-4.0.6
474
470
  .ft P
475
471
  .fi
476
472
  .UNINDENT
477
473
  .UNINDENT
478
474
  .sp
479
- \fBNOTE:\fP
475
+ Configure (see \fIsource\-configure\fP about \fBconfigure\fP options):
480
476
  .INDENT 0.0
481
477
  .INDENT 3.5
482
- \fBgroonga\fP package is the minimum set of fulltext search engine.
483
- If you want to use Groonga for server use, you can install
484
- additional preconfigured packages.
485
- .sp
486
- There are three packages for server use.
487
- .INDENT 0.0
488
- .IP \(bu 2
489
- groonga\-server\-http (simple HTTP protocol based server package)
490
- .IP \(bu 2
491
- groonga\-httpd (nginx and HTTP protocol based server package)
492
- .IP \(bu 2
493
- groonga\-server\-gqtp (GQTP protocol based server package)
494
- .UNINDENT
495
478
  .sp
496
- See \fB/server\fP section about details.
479
+ .nf
480
+ .ft C
481
+ % ./configure
482
+ .ft P
483
+ .fi
497
484
  .UNINDENT
498
485
  .UNINDENT
499
486
  .sp
500
- If you want to use \fI\%MeCab\fP as a
501
- tokenizer, install groonga\-tokenizer\-mecab package.
502
- .sp
503
- Install groonga\-tokenizer\-mecab package:
487
+ Build:
504
488
  .INDENT 0.0
505
489
  .INDENT 3.5
506
490
  .sp
507
491
  .nf
508
492
  .ft C
509
- % sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
493
+ % make \-j$(grep \(aq^processor\(aq /proc/cpuinfo | wc \-l)
510
494
  .ft P
511
495
  .fi
512
496
  .UNINDENT
513
497
  .UNINDENT
514
498
  .sp
515
- There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
516
- groonga status by Munin, install groonga\-munin\-plugins package.
517
- .sp
518
- Install groonga\-munin\-plugins package:
499
+ Install:
519
500
  .INDENT 0.0
520
501
  .INDENT 3.5
521
502
  .sp
522
503
  .nf
523
504
  .ft C
524
- % sudo apt\-get install \-y \-V groonga\-munin\-plugins
505
+ % sudo make install
525
506
  .ft P
526
507
  .fi
527
508
  .UNINDENT
528
509
  .UNINDENT
510
+ .SS Ubuntu
529
511
  .sp
530
- There is a package that provides MySQL compatible normalizer as
531
- Groonga plugins.
532
- If you want to use that one, install groonga\-normalizer\-mysql package.
512
+ This section describes how to install Groonga related deb packages on
513
+ Ubuntu. You can install them by \fBapt\fP\&.
533
514
  .sp
534
- Install groonga\-normalizer\-mysql package:
515
+ We distribute both 32\-bit and 64\-bit packages but we strongly
516
+ recommend a 64\-bit package for server. You should use a 32\-bit package
517
+ just only for tests or development. You will encounter an out of
518
+ memory error with a 32\-bit package even if you just process medium
519
+ size data.
520
+ .SS PPA (Personal Package Archive)
521
+ .sp
522
+ The Groonga APT repository for Ubuntu uses PPA (Personal Package
523
+ Archive) on Launchpad. You can install Groonga by APT from the PPA.
524
+ .sp
525
+ Here are supported Ubuntu versions:
526
+ .INDENT 0.0
527
+ .INDENT 3.5
528
+ .INDENT 0.0
529
+ .IP \(bu 2
530
+ 12.04 LTS Precise Pangolin
531
+ .IP \(bu 2
532
+ 13.10 Saucy Salamander
533
+ .IP \(bu 2
534
+ 14.04 LTS Trusty Tahr
535
+ .UNINDENT
536
+ .UNINDENT
537
+ .UNINDENT
538
+ .sp
539
+ Enable the universe repository to install Groonga:
535
540
  .INDENT 0.0
536
541
  .INDENT 3.5
537
542
  .sp
538
543
  .nf
539
544
  .ft C
540
- % sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
545
+ % sudo apt\-get \-y install software\-properties\-common
546
+ % sudo add\-apt\-repository \-y universe
541
547
  .ft P
542
548
  .fi
543
549
  .UNINDENT
544
550
  .UNINDENT
545
- .SS sid
546
- .sp
547
- Add the groonga apt repository.
548
551
  .sp
549
- /etc/apt/sources.list.d/groonga.list:
552
+ Add the \fBppa:groonga/ppa\fP PPA to your system:
550
553
  .INDENT 0.0
551
554
  .INDENT 3.5
552
555
  .sp
553
556
  .nf
554
557
  .ft C
555
- deb http://packages.groonga.org/debian/ unstable main
556
- deb\-src http://packages.groonga.org/debian/ unstable main
558
+ % sudo add\-apt\-repository \-y ppa:groonga/ppa
559
+ % sudo apt\-get update
557
560
  .ft P
558
561
  .fi
559
562
  .UNINDENT
@@ -565,10 +568,7 @@ Install:
565
568
  .sp
566
569
  .nf
567
570
  .ft C
568
- % sudo apt\-get update
569
- % sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
570
- % sudo apt\-get update
571
- % sudo apt\-get install \-y \-V groonga
571
+ % sudo apt\-get \-y install groonga
572
572
  .ft P
573
573
  .fi
574
574
  .UNINDENT
@@ -604,7 +604,7 @@ Install groonga\-tokenizer\-mecab package:
604
604
  .sp
605
605
  .nf
606
606
  .ft C
607
- % sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
607
+ % sudo apt\-get \-y install groonga\-tokenizer\-mecab
608
608
  .ft P
609
609
  .fi
610
610
  .UNINDENT
@@ -619,14 +619,14 @@ Install groonga\-munin\-plugins package:
619
619
  .sp
620
620
  .nf
621
621
  .ft C
622
- % sudo apt\-get install \-y \-V groonga\-munin\-plugins
622
+ % sudo apt\-get \-y install groonga\-munin\-plugins
623
623
  .ft P
624
624
  .fi
625
625
  .UNINDENT
626
626
  .UNINDENT
627
627
  .sp
628
628
  There is a package that provides MySQL compatible normalizer as
629
- groonga plugins.
629
+ Groonga plugins.
630
630
  If you want to use that one, install groonga\-normalizer\-mysql package.
631
631
  .sp
632
632
  Install groonga\-normalizer\-mysql package:
@@ -635,7 +635,7 @@ Install groonga\-normalizer\-mysql package:
635
635
  .sp
636
636
  .nf
637
637
  .ft C
638
- % sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
638
+ % sudo apt\-get \-y install groonga\-normalizer\-mysql
639
639
  .ft P
640
640
  .fi
641
641
  .UNINDENT
@@ -648,7 +648,7 @@ Install required packages to build Groonga:
648
648
  .sp
649
649
  .nf
650
650
  .ft C
651
- % sudo apt\-get install \-y \-V wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
651
+ % sudo apt\-get \-V \-y install wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
652
652
  .ft P
653
653
  .fi
654
654
  .UNINDENT
@@ -660,9 +660,9 @@ Download source:
660
660
  .sp
661
661
  .nf
662
662
  .ft C
663
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
664
- % tar xvzf groonga\-4.0.5.tar.gz
665
- % cd groonga\-4.0.5
663
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
664
+ % tar xvzf groonga\-4.0.6.tar.gz
665
+ % cd groonga\-4.0.6
666
666
  .ft P
667
667
  .fi
668
668
  .UNINDENT
@@ -703,60 +703,17 @@ Install:
703
703
  .fi
704
704
  .UNINDENT
705
705
  .UNINDENT
706
- .SS Ubuntu
706
+ .SS CentOS
707
707
  .sp
708
- This section describes how to install Groonga related deb packages on
709
- Ubuntu. You can install them by \fBapt\fP\&.
708
+ This section describes how to install Groonga related RPM packages on
709
+ CentOS. You can install them by \fByum\fP\&.
710
710
  .sp
711
711
  We distribute both 32\-bit and 64\-bit packages but we strongly
712
712
  recommend a 64\-bit package for server. You should use a 32\-bit package
713
713
  just only for tests or development. You will encounter an out of
714
714
  memory error with a 32\-bit package even if you just process medium
715
715
  size data.
716
- .SS PPA (Personal Package Archive)
717
- .sp
718
- The Groonga APT repository for Ubuntu uses PPA (Personal Package
719
- Archive) on Launchpad. You can install Groonga by APT from the PPA.
720
- .sp
721
- Here are supported Ubuntu versions:
722
- .INDENT 0.0
723
- .INDENT 3.5
724
- .INDENT 0.0
725
- .IP \(bu 2
726
- 12.04 LTS Precise Pangolin
727
- .IP \(bu 2
728
- 13.10 Saucy Salamander
729
- .IP \(bu 2
730
- 14.04 LTS Trusty Tahr
731
- .UNINDENT
732
- .UNINDENT
733
- .UNINDENT
734
- .sp
735
- Enable the universe repository to install Groonga:
736
- .INDENT 0.0
737
- .INDENT 3.5
738
- .sp
739
- .nf
740
- .ft C
741
- % sudo apt\-get \-y install software\-properties\-common
742
- % sudo add\-apt\-repository \-y universe
743
- .ft P
744
- .fi
745
- .UNINDENT
746
- .UNINDENT
747
- .sp
748
- Add the \fBppa:groonga/ppa\fP PPA to your system:
749
- .INDENT 0.0
750
- .INDENT 3.5
751
- .sp
752
- .nf
753
- .ft C
754
- % sudo add\-apt\-repository \-y ppa:groonga/ppa
755
- % sudo apt\-get update
756
- .ft P
757
- .fi
758
- .UNINDENT
759
- .UNINDENT
716
+ .SS CentOS 5
760
717
  .sp
761
718
  Install:
762
719
  .INDENT 0.0
@@ -764,7 +721,9 @@ Install:
764
721
  .sp
765
722
  .nf
766
723
  .ft C
767
- % sudo apt\-get \-y install groonga
724
+ % sudo rpm \-ivh http://packages.groonga.org/centos/groonga\-release\-1.1.0\-1.noarch.rpm
725
+ % sudo yum makecache
726
+ % sudo yum install \-y groonga
768
727
  .ft P
769
728
  .fi
770
729
  .UNINDENT
@@ -800,116 +759,93 @@ Install groonga\-tokenizer\-mecab package:
800
759
  .sp
801
760
  .nf
802
761
  .ft C
803
- % sudo apt\-get \-y install groonga\-tokenizer\-mecab
762
+ % sudo yum install \-y groonga\-tokenizer\-mecab
804
763
  .ft P
805
764
  .fi
806
765
  .UNINDENT
807
766
  .UNINDENT
808
767
  .sp
809
768
  There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
810
- groonga status by Munin, install groonga\-munin\-plugins package.
769
+ Groonga status by Munin, install groonga\-munin\-plugins package.
811
770
  .sp
812
- Install groonga\-munin\-plugins package:
771
+ \fBNOTE:\fP
813
772
  .INDENT 0.0
814
773
  .INDENT 3.5
774
+ Groonga\-munin\-plugins package requires munin\-node package that
775
+ isn\(aqt included in the official CentOS repository. You need to
776
+ enable \fI\%Repoforge (RPMforge)\fP repository
777
+ or \fI\%EPEL\fP repository to
778
+ install it by \fByum\fP\&.
815
779
  .sp
816
- .nf
817
- .ft C
818
- % sudo apt\-get \-y install groonga\-munin\-plugins
819
- .ft P
820
- .fi
821
- .UNINDENT
822
- .UNINDENT
823
- .sp
824
- There is a package that provides MySQL compatible normalizer as
825
- Groonga plugins.
826
- If you want to use that one, install groonga\-normalizer\-mysql package.
827
- .sp
828
- Install groonga\-normalizer\-mysql package:
780
+ Enable Repoforge (RPMforge) repository on i386 environment:
829
781
  .INDENT 0.0
830
782
  .INDENT 3.5
831
783
  .sp
832
784
  .nf
833
785
  .ft C
834
- % sudo apt\-get \-y install groonga\-normalizer\-mysql
786
+ % wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.i386.rpm
787
+ % sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.i386.rpm
835
788
  .ft P
836
789
  .fi
837
790
  .UNINDENT
838
791
  .UNINDENT
839
- .SS Build from source
840
792
  .sp
841
- Install required packages to build Groonga:
793
+ Enable Repoforge (RPMforge) repository on x86_64 environment:
842
794
  .INDENT 0.0
843
795
  .INDENT 3.5
844
796
  .sp
845
797
  .nf
846
798
  .ft C
847
- % sudo apt\-get \-V \-y install wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
799
+ % wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.x86_64.rpm
800
+ % sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.x86_64.rpm
848
801
  .ft P
849
802
  .fi
850
803
  .UNINDENT
851
804
  .UNINDENT
852
805
  .sp
853
- Download source:
806
+ Enable EPEL repository on any environment:
854
807
  .INDENT 0.0
855
808
  .INDENT 3.5
856
809
  .sp
857
810
  .nf
858
811
  .ft C
859
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
860
- % tar xvzf groonga\-4.0.5.tar.gz
861
- % cd groonga\-4.0.5
812
+ % wget http://download.fedoraproject.org/pub/epel/5/i386/epel\-release\-5\-4.noarch.rpm
813
+ % sudo rpm \-ivh epel\-release\-5\-4.noarch.rpm
862
814
  .ft P
863
815
  .fi
864
816
  .UNINDENT
865
817
  .UNINDENT
866
- .sp
867
- Configure (see \fIsource\-configure\fP about \fBconfigure\fP options):
868
- .INDENT 0.0
869
- .INDENT 3.5
870
- .sp
871
- .nf
872
- .ft C
873
- % ./configure
874
- .ft P
875
- .fi
876
818
  .UNINDENT
877
819
  .UNINDENT
878
820
  .sp
879
- Build:
821
+ Install groonga\-munin\-plugins package:
880
822
  .INDENT 0.0
881
823
  .INDENT 3.5
882
824
  .sp
883
825
  .nf
884
826
  .ft C
885
- % make \-j$(grep \(aq^processor\(aq /proc/cpuinfo | wc \-l)
827
+ % sudo yum install \-y groonga\-munin\-plugins
886
828
  .ft P
887
829
  .fi
888
830
  .UNINDENT
889
831
  .UNINDENT
890
832
  .sp
891
- Install:
833
+ There is a package that provides MySQL compatible normalizer as
834
+ Groonga plugins.
835
+ If you want to use that one, install groonga\-normalizer\-mysql package.
836
+ .sp
837
+ Install groonga\-normalizer\-mysql package:
892
838
  .INDENT 0.0
893
839
  .INDENT 3.5
894
840
  .sp
895
841
  .nf
896
842
  .ft C
897
- % sudo make install
843
+ % sudo yum install \-y groonga\-normalizer\-mysql
898
844
  .ft P
899
845
  .fi
900
846
  .UNINDENT
901
847
  .UNINDENT
902
- .SS CentOS
903
- .sp
904
- This section describes how to install Groonga related RPM packages on
905
- CentOS. You can install them by \fByum\fP\&.
906
- .sp
907
- We distribute both 32\-bit and 64\-bit packages but we strongly
908
- recommend a 64\-bit package for server. You should use a 32\-bit package
909
- just only for tests or development. You will encounter an out of
910
- memory error with a 32\-bit package even if you just process medium
911
- size data.
912
- .SS CentOS 5
848
+ .SS CentOS 6
913
849
  .sp
914
850
  Install:
915
851
  .INDENT 0.0
@@ -969,44 +905,16 @@ Groonga status by Munin, install groonga\-munin\-plugins package.
969
905
  .INDENT 3.5
970
906
  Groonga\-munin\-plugins package requires munin\-node package that
971
907
  isn\(aqt included in the official CentOS repository. You need to
972
- enable \fI\%Repoforge (RPMforge)\fP repository
973
- or \fI\%EPEL\fP repository to
908
+ enable \fI\%EPEL\fP repository to
974
909
  install it by \fByum\fP\&.
975
910
  .sp
976
- Enable Repoforge (RPMforge) repository on i386 environment:
977
- .INDENT 0.0
978
- .INDENT 3.5
979
- .sp
980
- .nf
981
- .ft C
982
- % wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.i386.rpm
983
- % sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.i386.rpm
984
- .ft P
985
- .fi
986
- .UNINDENT
987
- .UNINDENT
988
- .sp
989
- Enable Repoforge (RPMforge) repository on x86_64 environment:
990
- .INDENT 0.0
991
- .INDENT 3.5
992
- .sp
993
- .nf
994
- .ft C
995
- % wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.x86_64.rpm
996
- % sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.x86_64.rpm
997
- .ft P
998
- .fi
999
- .UNINDENT
1000
- .UNINDENT
1001
- .sp
1002
911
  Enable EPEL repository on any environment:
1003
912
  .INDENT 0.0
1004
913
  .INDENT 3.5
1005
914
  .sp
1006
915
  .nf
1007
916
  .ft C
1008
- % wget http://download.fedoraproject.org/pub/epel/5/i386/epel\-release\-5\-4.noarch.rpm
1009
- % sudo rpm \-ivh epel\-release\-5\-4.noarch.rpm
917
+ % sudo rpm \-ivh http://download.fedoraproject.org/pub/epel/6/i386/epel\-release\-6\-8.noarch.rpm
1010
918
  .ft P
1011
919
  .fi
1012
920
  .UNINDENT
@@ -1041,7 +949,7 @@ Install groonga\-normalizer\-mysql package:
1041
949
  .fi
1042
950
  .UNINDENT
1043
951
  .UNINDENT
1044
- .SS CentOS 6
952
+ .SS CentOS 7
1045
953
  .sp
1046
954
  Install:
1047
955
  .INDENT 0.0
@@ -1104,13 +1012,13 @@ isn\(aqt included in the official CentOS repository. You need to
1104
1012
  enable \fI\%EPEL\fP repository to
1105
1013
  install it by \fByum\fP\&.
1106
1014
  .sp
1107
- Enable EPEL repository on any environment:
1015
+ Enable EPEL repository:
1108
1016
  .INDENT 0.0
1109
1017
  .INDENT 3.5
1110
1018
  .sp
1111
1019
  .nf
1112
1020
  .ft C
1113
- % sudo rpm \-ivh http://download.fedoraproject.org/pub/epel/6/i386/epel\-release\-6\-8.noarch.rpm
1021
+ % sudo yum install \-y epel\-release
1114
1022
  .ft P
1115
1023
  .fi
1116
1024
  .UNINDENT
@@ -1165,9 +1073,9 @@ Download source:
1165
1073
  .sp
1166
1074
  .nf
1167
1075
  .ft C
1168
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
1169
- % tar xvzf groonga\-4.0.5.tar.gz
1170
- % cd groonga\-4.0.5
1076
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
1077
+ % tar xvzf groonga\-4.0.6.tar.gz
1078
+ % cd groonga\-4.0.6
1171
1079
  .ft P
1172
1080
  .fi
1173
1081
  .UNINDENT
@@ -1370,9 +1278,9 @@ Download source:
1370
1278
  .sp
1371
1279
  .nf
1372
1280
  .ft C
1373
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
1374
- % tar xvzf groonga\-4.0.5.tar.gz
1375
- % cd groonga\-4.0.5
1281
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
1282
+ % tar xvzf groonga\-4.0.6.tar.gz
1283
+ % cd groonga\-4.0.6
1376
1284
  .ft P
1377
1285
  .fi
1378
1286
  .UNINDENT
@@ -1437,9 +1345,9 @@ Download source:
1437
1345
  .sp
1438
1346
  .nf
1439
1347
  .ft C
1440
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
1441
- % gtar xvzf groonga\-4.0.5.tar.gz
1442
- % cd groonga\-4.0.5
1348
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
1349
+ % gtar xvzf groonga\-4.0.6.tar.gz
1350
+ % cd groonga\-4.0.6
1443
1351
  .ft P
1444
1352
  .fi
1445
1353
  .UNINDENT
@@ -1579,9 +1487,9 @@ steps:
1579
1487
  .sp
1580
1488
  .nf
1581
1489
  .ft C
1582
- % wget http://packages.groonga.org/source/groonga/groonga\-4.0.5.tar.gz
1583
- % tar xvzf groonga\-4.0.5.tar.gz
1584
- % cd groonga\-4.0.5
1490
+ % wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
1491
+ % tar xvzf groonga\-4.0.6.tar.gz
1492
+ % cd groonga\-4.0.6
1585
1493
  % ./configure
1586
1494
  % make
1587
1495
  % sudo make install
@@ -3991,7 +3899,7 @@ Execution example:
3991
3899
  .sp
3992
3900
  .nf
3993
3901
  .ft C
3994
- select \-\-table Site \-\-filter "1" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
3902
+ select \-\-table Site \-\-filter "true" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
3995
3903
  # [
3996
3904
  # [
3997
3905
  # 0,
@@ -4065,7 +3973,7 @@ select \-\-table Site \-\-filter "1" \-\-scorer "_score = rand()" \-\-output_col
4065
3973
  # ]
4066
3974
  # ]
4067
3975
  # ]
4068
- select \-\-table Site \-\-filter "1" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
3976
+ select \-\-table Site \-\-filter "true" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
4069
3977
  # [
4070
3978
  # [
4071
3979
  # 0,
@@ -5021,7 +4929,7 @@ select \-\-table Site \-\-limit 0 \-\-drilldown country \-\-drilldown_sortby _ns
5021
4929
  .UNINDENT
5022
4930
  .SS limits drildown results
5023
4931
  .sp
5024
- The number of drilldown results is limited to 10 as a default. Use \fBdrilldown_limits\fP and \fBdrilldown_offset\fP parameter to customize orilldown results.
4932
+ The number of drilldown results is limited to 10 as a default. Use \fBdrilldown_limit\fP and \fBdrilldown_offset\fP parameter to customize orilldown results.
5025
4933
  .sp
5026
4934
  Execution example:
5027
4935
  .INDENT 0.0
@@ -6520,17 +6428,19 @@ select \-\-table PatSuffix \-\-filter \(aq_key @$ "ゆき" && original == true\(
6520
6428
  .fi
6521
6429
  .UNINDENT
6522
6430
  .UNINDENT
6523
- .SS 全文検索の語彙表に対する追加情報
6431
+ .SS Additional information about lexicon for full text search
6524
6432
  .sp
6525
- Groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストップワードのフラグ、単語の重要度などを保持することができます。
6433
+ Groonga uses lexicon for full text search as a table. Thus, Groonga can hold multiple information each lexicon.
6434
+ For example, Groonga holds frequency of word, flags for stop word, importance of word and so on.
6526
6435
  .sp
6527
- この項目については、現在執筆中です。
6528
- .SS マイクロブログ検索システムの作成
6436
+ TODO: Write document.
6437
+ .SS Let\(aqs create micro\-blog
6529
6438
  .sp
6530
- これまで学んだGroongaの機能を用いて、マイクロブログの検索システムを作成してみましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログです。
6531
- .SS テーブルの作成
6439
+ Let\(aqs create micro\-blog with full text search by Groonga.
6440
+ Micro\-blog is one of the broadcast medium in the forms of blog. It is mainly used to post small messages like a Twitter.
6441
+ .SS Create a table
6532
6442
  .sp
6533
- まずは、テーブルを作成します。
6443
+ Let\(aqs create table.
6534
6444
  .INDENT 0.0
6535
6445
  .INDENT 3.5
6536
6446
  .sp
@@ -6570,95 +6480,97 @@ column_create \-\-table GeoIndex \-\-name comments_location \-\-type Comments \-
6570
6480
  .fi
6571
6481
  .UNINDENT
6572
6482
  .UNINDENT
6573
- .SS Usersテーブル
6483
+ .SS Users table
6574
6484
  .sp
6575
- ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を格納するためのテーブルです。
6485
+ This is the table which stores user information.
6486
+ It stores name of user, profile, list of follower and so on.
6576
6487
  .INDENT 0.0
6577
6488
  .TP
6578
6489
  .B \fB_key\fP
6579
- ユーザーID
6490
+ User ID
6580
6491
  .TP
6581
6492
  .B \fBname\fP
6582
- ユーザー名
6493
+ User name
6583
6494
  .TP
6584
6495
  .B \fBfollower\fP
6585
- フォローしているユーザーの一覧
6496
+ List of following users
6586
6497
  .TP
6587
6498
  .B \fBfavorites\fP
6588
- お気に入りのコメント一覧
6499
+ List of favorite comments
6589
6500
  .TP
6590
6501
  .B \fBlocation\fP
6591
- ユーザーの現在地(緯度経度座標)
6502
+ Current location of user (geolocation)
6592
6503
  .TP
6593
6504
  .B \fBlocation_str\fP
6594
- ユーザーの現在地(文字列)
6505
+ Current location of user (string)
6595
6506
  .TP
6596
6507
  .B \fBdescription\fP
6597
- ユーザーの自己紹介
6508
+ User profile
6598
6509
  .TP
6599
6510
  .B \fBfollowee\fP
6600
- Usersテーブルのfollowerカラムに対するインデックス。
6601
- このインデックスを作ることで、あるユーザーをフォローしているユーザーを検索できるようになります。
6511
+ Indexes for \fBfollower\fP column in \fBUsers\fP table.
6512
+ With this indexes, you can search users who follows the person.
6602
6513
  .UNINDENT
6603
- .SS Commentsテーブル
6514
+ .SS Comments table
6604
6515
  .sp
6605
- コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブルです。
6516
+ This is the table which stores comments and its metadata.
6517
+ It stores content of comment, posted date, comment which reply to, and so on.
6606
6518
  .INDENT 0.0
6607
6519
  .TP
6608
6520
  .B \fB_key\fP
6609
- コメントID
6521
+ Comment ID
6610
6522
  .TP
6611
6523
  .B \fBcomment\fP
6612
- コメント内容
6524
+ Content of comment
6613
6525
  .TP
6614
6526
  .B \fBlast_modified\fP
6615
- 投稿日時
6527
+ Posted date
6616
6528
  .TP
6617
6529
  .B \fBreplied_to\fP
6618
- 返信元のコメント内容
6530
+ Comment which you reply to someone
6619
6531
  .TP
6620
6532
  .B \fBreplied_users\fP
6621
- 返信先のユーザーの一覧
6533
+ List of users who you reply to
6622
6534
  .TP
6623
6535
  .B \fBhash_tags\fP
6624
- コメントのハッシュタグの一覧
6536
+ List of hash tags about comment
6625
6537
  .TP
6626
6538
  .B \fBlocation\fP
6627
- 投稿場所(緯度経度座標のため)
6539
+ Posted place (for geolocation)
6628
6540
  .TP
6629
6541
  .B \fBposted_by\fP
6630
- コメントを書いたユーザー
6542
+ Person who write comment
6631
6543
  .TP
6632
6544
  .B \fBfavorited_by\fP
6633
- Usersテーブルのfavoritesカラムに対するインデックス。
6634
- このインデックスを作ることで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになります。
6545
+ Indexes for \fBfavorites\fP column in \fBUsers\fP table.
6546
+ With this indexes, you can search the person who mark comment as favorite one.
6635
6547
  .UNINDENT
6636
- .SS HashTagsテーブル
6548
+ .SS HashTags table
6637
6549
  .sp
6638
- コメントのハッシュタグを一覧で保存するためのテーブルです。
6550
+ This is the table which stores hash tags for comments.
6639
6551
  .INDENT 0.0
6640
6552
  .TP
6641
6553
  .B \fB_key\fP
6642
- ハッシュタグ
6554
+ Hash tag
6643
6555
  .TP
6644
6556
  .B \fBhash_index\fP
6645
- 「Comments.hash_tags」のインデックス。
6646
- このインデックスを作ることで、指定したハッシュタグのついているコメントの一覧を出すことが出来るようになります。
6557
+ Indexes for \fBComments.hash_tags\fP\&.
6558
+ With this indexes, you can search list of comments with specified hash tags.
6647
6559
  .UNINDENT
6648
- .SS Bigramテーブル
6560
+ .SS Bigram table
6649
6561
  .sp
6650
- ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納するテーブルです。
6562
+ This is the table which stores indexes for full text search by user information or comments.
6651
6563
  .INDENT 0.0
6652
6564
  .TP
6653
6565
  .B \fB_key\fP
6654
- 単語
6566
+ Word
6655
6567
  .TP
6656
6568
  .B \fBusers_index\fP
6657
- ユーザー情報のインデックス。
6658
- このカラムは、ユーザー名「Users.name」、現在地「Users.location_str」、自己紹介文「Users.description」のインデックスになっています。
6569
+ Indexes of user information.
6570
+ This column contains indexes of user name (\fBUsers.name\fP), current location (\fBUsers.location_str\fP), profile (\fBUsers.description\fP).
6659
6571
  .TP
6660
6572
  .B \fBcomment_index\fP
6661
- コメント内容「Comments.comment」のインデックス
6573
+ Indexes about content of comments (\fBComments.comment\fP).
6662
6574
  .UNINDENT
6663
6575
  .SS GeoIndex table
6664
6576
  .sp
@@ -6671,9 +6583,9 @@ Indexes of location column for Users table
6671
6583
  .B \fBcomments_location\fP
6672
6584
  Indexes of location column for Comments table
6673
6585
  .UNINDENT
6674
- .SS データのロード
6586
+ .SS Loading data
6675
6587
  .sp
6676
- つづいて、テスト用データをロードします。
6588
+ Then, load example data.
6677
6589
  .INDENT 0.0
6678
6590
  .INDENT 3.5
6679
6591
  .sp
@@ -6682,94 +6594,94 @@ Indexes of location column for Comments table
6682
6594
  load \-\-table Users
6683
6595
  [
6684
6596
  {
6685
- "_key": "daijiro",
6686
- "name": "hsiomaneki",
6687
- "follower": ["tasukuchan"],
6597
+ "_key": "alice",
6598
+ "name": "Alice",
6599
+ "follower": ["bob"],
6688
6600
  "favorites": [],
6689
- "location": "127678039x502643091",
6690
- "location_str": "神奈川県",
6691
- "description": "groonga developer"
6601
+ "location": "152489000x\-255829000",
6602
+ "location_str": "Boston, Massachusetts",
6603
+ "description": "Groonga developer"
6692
6604
  },
6693
6605
  {
6694
- "_key": "tasukuchan",
6695
- "name": "グニャラくん",
6696
- "follower": ["daijiro","OffGao"],
6697
- "favorites": ["daijiro:1","OffGao:1"],
6698
- "location": "128423343x502929252",
6699
- "location_str": "東京都渋谷区",
6700
- "description": "エロいおっさん"
6606
+ "_key": "bob",
6607
+ "name": "Bob",
6608
+ "follower": ["alice","charlie"],
6609
+ "favorites": ["alice:1","charlie:1"],
6610
+ "location": "146249000x\-266228000",
6611
+ "location_str": "Brooklyn, New York City",
6612
+ "description": ""
6701
6613
  },
6702
6614
  {
6703
- "_key": "OffGao",
6704
- "name": "OffGao",
6705
- "follower": ["tasukuchan","daijiro"],
6706
- "favorites": ["tasukuchan:1","daijiro:1"],
6707
- "location": "128544408x502801502",
6708
- "location_str": "東京都中野区",
6709
- "description": "がおがお"
6615
+ "_key": "charlie",
6616
+ "name": "Charlie",
6617
+ "follower": ["alice","bob"],
6618
+ "favorites": ["alice:1","bob:1"],
6619
+ "location": "146607190x\-267021260",
6620
+ "location_str": "Newark, New Jersey",
6621
+ "description": "Hmm,Hmm"
6710
6622
  }
6711
6623
  ]
6712
6624
 
6713
6625
  load \-\-table Comments
6714
6626
  [
6715
6627
  {
6716
- "_key": "daijiro:1",
6717
- "comment": "マイクロブログ作ってみました(甘栗むいちゃいました的な感じで)。",
6628
+ "_key": "alice:1",
6629
+ "comment": "I\(aqve created micro\-blog!",
6718
6630
  "last_modified": "2010/03/17 12:05:00",
6719
- "posted_by": "daijiro",
6631
+ "posted_by": "alice",
6720
6632
  },
6721
6633
  {
6722
- "_key": "tasukuchan:1",
6723
- "comment": "初の書き込み。テストテスト。",
6634
+ "_key": "bob:1",
6635
+ "comment": "First post. test,test...",
6724
6636
  "last_modified": "2010/03/17 12:00:00",
6725
- "posted_by": "tasukuchan",
6637
+ "posted_by": "bob",
6726
6638
  },
6727
6639
  {
6728
- "_key": "daijiro:2",
6729
- "comment": "@tasukuchan ようこそ!!!",
6640
+ "_key": "alice:2",
6641
+ "comment": "@bob Welcome!!!",
6730
6642
  "last_modified": "2010/03/17 12:05:00",
6731
- "replied_to": "tasukuchan:1",
6732
- "replied_users": ["tasukuchan"],
6733
- "posted_by": "daijiro",
6643
+ "replied_to": "bob:1",
6644
+ "replied_users": ["bob"],
6645
+ "posted_by": "alice",
6734
6646
  },
6735
6647
  {
6736
- "_key": "tasukuchan:2",
6737
- "comment": "@daijiro ありがとう!",
6648
+ "_key": "bob:2",
6649
+ "comment": "@alice Thanks!",
6738
6650
  "last_modified": "2010/03/17 13:00:00",
6739
- "replied_to": "daijiro:2",
6740
- "replied_users": ["daijiro"],
6741
- "posted_by": "tasukuchan",
6651
+ "replied_to": "alice:2",
6652
+ "replied_users": ["alice"],
6653
+ "posted_by": "bob",
6742
6654
  },
6743
6655
  {
6744
- "_key": "tasukuchan:3",
6745
- "comment": "groongaなう #groonga",
6656
+ "_key": "bob:3",
6657
+ "comment": "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
6746
6658
  "last_modified": "2010/03/17 14:00:00",
6747
6659
  "hash_tags": ["groonga"],
6748
- "location": "127972422x503117107",
6749
- "posted_by": "tasukuchan",
6660
+ "location": "146566000x\-266422000",
6661
+ "posted_by": "bob",
6750
6662
  },
6751
6663
  {
6752
- "_key": "tasukuchan:4",
6753
- "comment": "groonga開発合宿のため羽田空港に来ました! #groonga #travel",
6664
+ "_key": "bob:4",
6665
+ "comment": "I\(aqm come at city of New York for development camp! #groonga #travel",
6754
6666
  "last_modified": "2010/03/17 14:05:00",
6755
6667
  "hash_tags": ["groonga", "travel"],
6756
- "location": "127975798x502919856",
6757
- "posted_by": "tasukuchan",
6668
+ "location": "146566000x\-266422000",
6669
+ "posted_by": "bob",
6758
6670
  },
6759
6671
  {
6760
- "_key": "OffGao:1",
6761
- "comment": "@daijiro @tasukuchan 登録してみましたよー!",
6672
+ "_key": "charlie:1",
6673
+ "comment": "@alice @bob I\(aqve tried to register!",
6762
6674
  "last_modified": "2010/03/17 15:00:00",
6763
- "replied_users": ["daijiro", "tasukuchan"],
6764
- "location": "128551935x502796433",
6765
- "posted_by": "OffGao",
6675
+ "replied_users": ["alice", "bob"],
6676
+ "location": "146607190x\-267021260",
6677
+ "posted_by": "charlie",
6766
6678
  }
6767
6679
  {
6768
- "_key": "OffGao:2",
6769
- "comment": "中野ブロードウェイなうなう",
6680
+ "_key": "charlie:2",
6681
+ "comment": "I\(aqm at the Museum of Modern Art in NY now!",
6770
6682
  "last_modified": "2010/03/17 15:05:00",
6771
- "location": "128551935x502796434",
6772
- "posted_by": "OffGao",
6683
+ "location": "146741340x\-266319590",
6684
+ "posted_by": "charlie",
6773
6685
  }
6774
6686
  ]
6775
6687
  .ft P
@@ -6777,20 +6689,26 @@ load \-\-table Comments
6777
6689
  .UNINDENT
6778
6690
  .UNINDENT
6779
6691
  .sp
6780
- Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルのreplied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値を指定します。
6692
+ \fBfollower\fP column and \fBfavorites\fP column in \fBUsers\fP table and \fBreplied_users\fP column in \fBComments\fP table are vector column, so specify the value as an array.
6781
6693
  .sp
6782
- Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint型です。この型での値の指定は、"[緯度]x[経度]"と記述して指定します。
6694
+ \fBlocation\fP column in \fBUsers\fP table, \fBlocation\fP column in \fBComments\fP table use GeoPoint type. This type accepts "[latitude]x[longitude]".
6783
6695
  .sp
6784
- Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値を指定する方法は2つあります。
6785
- 1つ目の方法は、1970年1月1日0時0分0秒からの経過秒数の値を直接指定する方法です。このとき、小数部分を指定することでマイクロ秒数での指定が可能です。指定した値は、データのロードの際にマイクロ秒を単位とする整数値に変換後、格納されます。
6786
- 2つ目の方法は、文字列で日時と時刻を指定する方法です。"年/月/日 時:分:秒"というフォーマットで記述することで、データロードの際に文字列からキャストされ、マイクロ秒数の値が格納されます。
6787
- .SS 検索
6696
+ \fBlast_modified\fP column in \fBComments\fP table use Time type.
6697
+ .sp
6698
+ There are two way to specify the value.
6699
+ First, specify epoch (seconds since Jan, 1, 1970 AM 00:00:00) directly. In this case, you can specify micro seconds as fractional part.
6700
+ The value is converted from factional part to the time which is micro seconds based one when data is loaded.
6701
+ The second, specify the timestamp as string in following format: "(YEAR)/(MONTH)/(DAY) (HOUR):(MINUTE):(SECOND)". In this way, the string is casted to proper micro seconds
6702
+ when data is loaded.
6703
+ .SS Search
6788
6704
  .sp
6789
- それでは、実際に検索をしてみましょう。
6790
- .SS キーワードでユーザー検索
6705
+ Let\(aqs search micro\-blog.
6706
+ .SS Search users by keyword
6791
6707
  .sp
6792
- ここでは、 \fBmatch_columns\fP で扱った、複数カラムを対象とした検索を行います。
6793
- 指定された文字列で、ユーザー名・現在地・自己紹介文を対象に検索をします。
6708
+ In this section, we search micro\-blog against multiple column by keyword.
6709
+ See \fBmatch_columns\fP to search multiple column at once.
6710
+ .sp
6711
+ Let\(aqs search user from micro\-blog\(aqs user name, location, description entries.
6794
6712
  .sp
6795
6713
  Execution example:
6796
6714
  .INDENT 0.0
@@ -6798,7 +6716,7 @@ Execution example:
6798
6716
  .sp
6799
6717
  .nf
6800
6718
  .ft C
6801
- select \-\-table Users \-\-match_columns name,location_str,description \-\-query 東京 \-\-output_columns _key,name
6719
+ select \-\-table Users \-\-match_columns name,location_str,description \-\-query "New York" \-\-output_columns _key,name
6802
6720
  # [[0, 1337566253.89858, 0.000355720520019531], true]
6803
6721
  # [[0, 1337566253.89858, 0.000355720520019531], true]
6804
6722
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -6835,7 +6753,7 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
6835
6753
  # [
6836
6754
  # [
6837
6755
  # [
6838
- # 2
6756
+ # 1
6839
6757
  # ],
6840
6758
  # [
6841
6759
  # [
@@ -6848,12 +6766,8 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
6848
6766
  # ]
6849
6767
  # ],
6850
6768
  # [
6851
- # "tasukuchan",
6852
- # "グニャラくん"
6853
- # ],
6854
- # [
6855
- # "OffGao",
6856
- # "OffGao"
6769
+ # "bob",
6770
+ # "Bob"
6857
6771
  # ]
6858
6772
  # ]
6859
6773
  # ]
@@ -6863,11 +6777,13 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
6863
6777
  .UNINDENT
6864
6778
  .UNINDENT
6865
6779
  .sp
6866
- 「東京」をキーワードにユーザー検索した結果、東京都に住んでいる「グニャラくん」と「OffGao」がヒットしました。
6867
- .SS GeoPointでユーザー検索
6780
+ By using "New York" as searching keyword for user, "Bob" who lives in "New York" is listed in search result.
6781
+ .SS Search users by geolocation data (GeoPoint)
6782
+ .sp
6783
+ In this section, we search users by column data which use type of GeoPoint.
6784
+ See \fBsearch\fP about GeoPoint column.
6868
6785
  .sp
6869
- ここでは、 \fBsearch\fP で扱った、GeoPoint型のカラムで検索をします。
6870
- 以下の例では、指定された位置から5000m以内にいるユーザーを検索しています。
6786
+ Following example searches users who live in within 20km from specified location.
6871
6787
  .sp
6872
6788
  Execution example:
6873
6789
  .INDENT 0.0
@@ -6875,7 +6791,7 @@ Execution example:
6875
6791
  .sp
6876
6792
  .nf
6877
6793
  .ft C
6878
- select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"128484216x502919856",5000)\(aq \-\-output_columns _key,name
6794
+ select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"146710080x\-266315480",20000)\(aq \-\-output_columns _key,name
6879
6795
  # [
6880
6796
  # [
6881
6797
  # 0,
@@ -6898,12 +6814,12 @@ select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"128484216x50291985
6898
6814
  # ]
6899
6815
  # ],
6900
6816
  # [
6901
- # "tasukuchan",
6902
- # "グニャラくん"
6817
+ # "charlie",
6818
+ # "Charlie"
6903
6819
  # ],
6904
6820
  # [
6905
- # "OffGao",
6906
- # "OffGao"
6821
+ # "bob",
6822
+ # "Bob"
6907
6823
  # ]
6908
6824
  # ]
6909
6825
  # ]
@@ -6913,11 +6829,12 @@ select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"128484216x50291985
6913
6829
  .UNINDENT
6914
6830
  .UNINDENT
6915
6831
  .sp
6916
- 新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と「OffGao」がヒットしました。
6917
- .SS あるユーザーをフォローしているユーザーの検索
6832
+ It shows that "Bob" and "Charlie" lives in within 20 km from station of "Grand Central Terminal".
6833
+ .SS Search users who follows specific user
6918
6834
  .sp
6919
- ここでは、 \fBindex\fP で扱った、参照関係の逆引きをします。
6920
- 以下の例では、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。
6835
+ In this section, we do reverse resolution of reference relationships which is described at \fBindex\fP\&.
6836
+ .sp
6837
+ Following examples shows reverse resolution about \fBfollower\fP column of \fBUsers\fP table.
6921
6838
  .sp
6922
6839
  Execution example:
6923
6840
  .INDENT 0.0
@@ -6925,7 +6842,7 @@ Execution example:
6925
6842
  .sp
6926
6843
  .nf
6927
6844
  .ft C
6928
- select \-\-table Users \-\-query follower:@tasukuchan \-\-output_columns _key,name
6845
+ select \-\-table Users \-\-query follower:@bob \-\-output_columns _key,name
6929
6846
  # [
6930
6847
  # [
6931
6848
  # 0,
@@ -6948,12 +6865,12 @@ select \-\-table Users \-\-query follower:@tasukuchan \-\-output_columns _key,na
6948
6865
  # ]
6949
6866
  # ],
6950
6867
  # [
6951
- # "daijiro",
6952
- # "hsiomaneki"
6868
+ # "alice",
6869
+ # "Alice"
6953
6870
  # ],
6954
6871
  # [
6955
- # "OffGao",
6956
- # "OffGao"
6872
+ # "charlie",
6873
+ # "Charlie"
6957
6874
  # ]
6958
6875
  # ]
6959
6876
  # ]
@@ -6963,11 +6880,14 @@ select \-\-table Users \-\-query follower:@tasukuchan \-\-output_columns _key,na
6963
6880
  .UNINDENT
6964
6881
  .UNINDENT
6965
6882
  .sp
6966
- 「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしました。
6967
- .SS GeoPointでコメント検索
6883
+ It shows that "Alice" and "Charlie" follows "Bob".
6884
+ .SS Search comments by using the value of GeoPoint type
6968
6885
  .sp
6969
- ある範囲内で書かれたコメントを検索します。
6970
- また、 \fBdrilldown\fP で扱ったドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、ユーザー別・ハッシュタグ別のカウントを出します。
6886
+ In this section, we search comments which are written within specific location.
6887
+ .sp
6888
+ Then, we also use drill down which is described at \fBdrilldown\fP\&.
6889
+ Following example shows how to drill down against search results.
6890
+ As a result, we get the value of count which is grouped by user, and hash tags respectively.
6971
6891
  .sp
6972
6892
  Execution example:
6973
6893
  .INDENT 0.0
@@ -6975,7 +6895,7 @@ Execution example:
6975
6895
  .sp
6976
6896
  .nf
6977
6897
  .ft C
6978
- select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x502919856",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
6898
+ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"146867000x\-266280000",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
6979
6899
  # [
6980
6900
  # [
6981
6901
  # 0,
@@ -6998,20 +6918,20 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
6998
6918
  # ]
6999
6919
  # ],
7000
6920
  # [
7001
- # "グニャラくん",
7002
- # "groonga開発合宿のため羽田空港に来ました! #groonga #travel"
6921
+ # "Charlie",
6922
+ # "I\(aqm at the Museum of Modern Art in NY now!"
7003
6923
  # ],
7004
6924
  # [
7005
- # "グニャラくん",
7006
- # "groongaなう #groonga"
6925
+ # "Bob",
6926
+ # "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
7007
6927
  # ],
7008
6928
  # [
7009
- # "OffGao",
7010
- # "@daijiro @tasukuchan 登録してみましたよー!"
6929
+ # "Bob",
6930
+ # "I\(aqm come at city of New York for development camp! #groonga #travel"
7011
6931
  # ],
7012
6932
  # [
7013
- # "OffGao",
7014
- # "中野ブロードウェイなうなう"
6933
+ # "Charlie",
6934
+ # "@alice @bob I\(aqve tried to register!"
7015
6935
  # ]
7016
6936
  # ],
7017
6937
  # [
@@ -7052,11 +6972,11 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
7052
6972
  # ]
7053
6973
  # ],
7054
6974
  # [
7055
- # "tasukuchan",
6975
+ # "charlie",
7056
6976
  # 2
7057
6977
  # ],
7058
6978
  # [
7059
- # "OffGao",
6979
+ # "bob",
7060
6980
  # 2
7061
6981
  # ]
7062
6982
  # ]
@@ -7067,11 +6987,14 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
7067
6987
  .UNINDENT
7068
6988
  .UNINDENT
7069
6989
  .sp
7070
- 範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そして、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタグは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」がそれぞれ2件ずつであることがわかります。
7071
- .SS キーワードでコメント検索
6990
+ Above query searches comments which are posted within 20 km from Central Park in city of New York.
7072
6991
  .sp
7073
- あるキーワードを含むコメントを検索します。
7074
- さらに、 \fBsearch\fP で扱った、スコア値_scoreも出してみましょう。
6992
+ As specified range is 20 km, all comments with location are collected.
6993
+ You know that search results contain 2 #groonga hash tags and one #travel hash tag, and bob and charlie posted 2 comments.
6994
+ .SS Search comments by keyword
6995
+ .sp
6996
+ In this section, we search comments which contains specific keyword.
6997
+ And more, Let\(aqs calculate the value of \fI_score\fP which is described at \fBsearch\fP\&.
7075
6998
  .sp
7076
6999
  Execution example:
7077
7000
  .INDENT 0.0
@@ -7079,7 +7002,7 @@ Execution example:
7079
7002
  .sp
7080
7003
  .nf
7081
7004
  .ft C
7082
- select \-\-table Comments \-\-query comment:@なう \-\-output_columns comment,_score
7005
+ select \-\-table Comments \-\-query comment:@Now \-\-output_columns comment,_score
7083
7006
  # [
7084
7007
  # [
7085
7008
  # 0,
@@ -7102,12 +7025,12 @@ select \-\-table Comments \-\-query comment:@なう \-\-output_columns comment,_
7102
7025
  # ]
7103
7026
  # ],
7104
7027
  # [
7105
- # "groongaなう #groonga",
7028
+ # "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
7106
7029
  # 1
7107
7030
  # ],
7108
7031
  # [
7109
- # "中野ブロードウェイなうなう",
7110
- # 2
7032
+ # "I\(aqm at the Museum of Modern Art in NY now!",
7033
+ # 1
7111
7034
  # ]
7112
7035
  # ]
7113
7036
  # ]
@@ -7117,10 +7040,11 @@ select \-\-table Comments \-\-query comment:@なう \-\-output_columns comment,_
7117
7040
  .UNINDENT
7118
7041
  .UNINDENT
7119
7042
  .sp
7120
- 「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。また、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できます。
7121
- .SS GeoPointとキーワードでコメント検索
7043
+ By using \(aqNow\(aq as a keyword, above query returns 2 comments. It also contains count of \(aqNow\(aq as the value of \fI_score\fP\&.
7044
+ .SS Search comments by keyword and geolocation
7122
7045
  .sp
7123
- 今度は、キーワードとGeoPointの両方を条件に検索をしてみます。\-\-queryと\-\-filterの両方を使用した場合、両方の条件に一致するレコードがヒットします。
7046
+ In this section, we search comments by specific keyword and geolocation.
7047
+ By using \fI\-\-query\fP and \fI\-\-filter\fP option, following query returns records which are matched to both conditions.
7124
7048
  .sp
7125
7049
  Execution example:
7126
7050
  .INDENT 0.0
@@ -7128,7 +7052,7 @@ Execution example:
7128
7052
  .sp
7129
7053
  .nf
7130
7054
  .ft C
7131
- select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle(location,"127975798x502919856",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
7055
+ select \-\-table Comments \-\-query comment:@New \-\-filter \(aqgeo_in_circle(location,"146867000x\-266280000",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
7132
7056
  # [
7133
7057
  # [
7134
7058
  # 0,
@@ -7151,8 +7075,8 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
7151
7075
  # ]
7152
7076
  # ],
7153
7077
  # [
7154
- # "グニャラくん",
7155
- # "groonga開発合宿のため羽田空港に来ました! #groonga #travel"
7078
+ # "Bob",
7079
+ # "I\(aqm come at city of New York for development camp! #groonga #travel"
7156
7080
  # ]
7157
7081
  # ],
7158
7082
  # [
@@ -7193,7 +7117,7 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
7193
7117
  # ]
7194
7118
  # ],
7195
7119
  # [
7196
- # "tasukuchan",
7120
+ # "bob",
7197
7121
  # 1
7198
7122
  # ]
7199
7123
  # ]
@@ -7204,11 +7128,12 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
7204
7128
  .UNINDENT
7205
7129
  .UNINDENT
7206
7130
  .sp
7207
- 両方の条件を満たすコメントが1件ヒットしました。また、ドリルダウンの結果も返ってきており、「グニャラくん」のコメント1件であることがわかります。
7208
- .SS ハッシュタグでコメント検索
7131
+ It returns 1 comment which meets both condition.
7132
+ It also returns result of drilldown. There is 1 comment which is commented by Bob.
7133
+ .SS Search comments by hash tags
7209
7134
  .sp
7210
- あるハッシュタグのついているコメントを検索します。
7211
- これも、 \fBindex\fP で扱った、参照関係の逆引きを使います。
7135
+ In this section, we search comments which contains specific hash tags.
7136
+ Let\(aqs use reverse resolution of reference relationships.
7212
7137
  .sp
7213
7138
  Execution example:
7214
7139
  .INDENT 0.0
@@ -7239,12 +7164,12 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
7239
7164
  # ]
7240
7165
  # ],
7241
7166
  # [
7242
- # "グニャラくん",
7243
- # "groongaなう #groonga"
7167
+ # "Bob",
7168
+ # "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
7244
7169
  # ],
7245
7170
  # [
7246
- # "グニャラくん",
7247
- # "groonga開発合宿のため羽田空港に来ました! #groonga #travel"
7171
+ # "Bob",
7172
+ # "I\(aqm come at city of New York for development camp! #groonga #travel"
7248
7173
  # ]
7249
7174
  # ],
7250
7175
  # [
@@ -7262,7 +7187,7 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
7262
7187
  # ]
7263
7188
  # ],
7264
7189
  # [
7265
- # "tasukuchan",
7190
+ # "bob",
7266
7191
  # 2
7267
7192
  # ]
7268
7193
  # ]
@@ -7273,10 +7198,11 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
7273
7198
  .UNINDENT
7274
7199
  .UNINDENT
7275
7200
  .sp
7276
- #groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。
7277
- .SS ユーザーIDでコメント検索
7201
+ Above query returns 2 comments which contains #groonga hash tag.
7202
+ It also returns result of drilldown grouped by person who posted it. It shows that there are 2 comments. Bob commented it.
7203
+ .SS Search comments by user id
7278
7204
  .sp
7279
- あるユーザーが投稿したコメントを検索します。
7205
+ In this section, we search comments which are posted by specific user.
7280
7206
  .sp
7281
7207
  Execution example:
7282
7208
  .INDENT 0.0
@@ -7284,7 +7210,7 @@ Execution example:
7284
7210
  .sp
7285
7211
  .nf
7286
7212
  .ft C
7287
- select \-\-table Comments \-\-query posted_by:tasukuchan \-\-output_columns comment \-\-drilldown hash_tags
7213
+ select \-\-table Comments \-\-query posted_by:bob \-\-output_columns comment \-\-drilldown hash_tags
7288
7214
  # [
7289
7215
  # [
7290
7216
  # 0,
@@ -7303,16 +7229,16 @@ select \-\-table Comments \-\-query posted_by:tasukuchan \-\-output_columns comm
7303
7229
  # ]
7304
7230
  # ],
7305
7231
  # [
7306
- # "初の書き込み。テストテスト。"
7232
+ # "First post. test,test..."
7307
7233
  # ],
7308
7234
  # [
7309
- # "@daijiro ありがとう!"
7235
+ # "@alice Thanks!"
7310
7236
  # ],
7311
7237
  # [
7312
- # "groongaなう #groonga"
7238
+ # "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
7313
7239
  # ],
7314
7240
  # [
7315
- # "groonga開発合宿のため羽田空港に来ました! #groonga #travel"
7241
+ # "I\(aqm come at city of New York for development camp! #groonga #travel"
7316
7242
  # ]
7317
7243
  # ],
7318
7244
  # [
@@ -7345,10 +7271,11 @@ select \-\-table Comments \-\-query posted_by:tasukuchan \-\-output_columns comm
7345
7271
  .UNINDENT
7346
7272
  .UNINDENT
7347
7273
  .sp
7348
- 「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグでドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに「#travel」が1つあることがわかります。
7349
- .SS ユーザーのお気に入りコメントを検索
7274
+ Above query returns 4 comments which are posted by Bob.
7275
+ It also returns result of drilldown by hash tags. There are 2 comments which contains #groonga, and 1 comment which contains #travel as hash tag.
7276
+ .SS Search user\(aqs favorite comments
7350
7277
  .sp
7351
- あるユーザーがお気に入りに入れているコメントを検索します。
7278
+ In this section, we search user\(aqs favorite comments.
7352
7279
  .sp
7353
7280
  Execution example:
7354
7281
  .INDENT 0.0
@@ -7356,7 +7283,7 @@ Execution example:
7356
7283
  .sp
7357
7284
  .nf
7358
7285
  .ft C
7359
- select \-\-table Users \-\-query _key:tasukuchan \-\-output_columns favorites.posted_by,favorites.comment
7286
+ select \-\-table Users \-\-query _key:bob \-\-output_columns favorites.posted_by,favorites.comment
7360
7287
  # [
7361
7288
  # [
7362
7289
  # 0,
@@ -7380,12 +7307,12 @@ select \-\-table Users \-\-query _key:tasukuchan \-\-output_columns favorites.po
7380
7307
  # ],
7381
7308
  # [
7382
7309
  # [
7383
- # "daijiro",
7384
- # "OffGao"
7310
+ # "alice",
7311
+ # "charlie"
7385
7312
  # ],
7386
7313
  # [
7387
- # "マイクロブログ作ってみました(甘栗むいちゃいました的な感じで)。",
7388
- # "@daijiro @tasukuchan 登録してみましたよー!"
7314
+ # "I\(aqve created micro\-blog!",
7315
+ # "@alice @bob I\(aqve tried to register!"
7389
7316
  # ]
7390
7317
  # ]
7391
7318
  # ]
@@ -7396,11 +7323,13 @@ select \-\-table Users \-\-query _key:tasukuchan \-\-output_columns favorites.po
7396
7323
  .UNINDENT
7397
7324
  .UNINDENT
7398
7325
  .sp
7399
- 「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。
7400
- .SS 投稿時間でコメント検索
7326
+ Above query returns Bob\(aqs favorite comments.
7327
+ .SS Search comments by posted time
7328
+ .sp
7329
+ In this section, we search comments by posted time.
7330
+ See type of \fITime\fP in \fBdata\fP\&.
7401
7331
  .sp
7402
- コメントの投稿時間で検索をします。Time型については \fBdata\fP で扱っています。
7403
- この例では、指定した時間よりも前に投稿されているコメントを検索します。
7332
+ Let\(aqs search comments that posted time are older than specified time.
7404
7333
  .sp
7405
7334
  Execution example:
7406
7335
  .INDENT 0.0
@@ -7435,28 +7364,28 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
7435
7364
  # ]
7436
7365
  # ],
7437
7366
  # [
7438
- # "hsiomaneki",
7439
- # "マイクロブログ作ってみました(甘栗むいちゃいました的な感じで)。",
7367
+ # "Alice",
7368
+ # "I\(aqve created micro\-blog!",
7440
7369
  # 1268795100.0
7441
7370
  # ],
7442
7371
  # [
7443
- # "グニャラくん",
7444
- # "初の書き込み。テストテスト。",
7372
+ # "Bob",
7373
+ # "First post. test,test...",
7445
7374
  # 1268794800.0
7446
7375
  # ],
7447
7376
  # [
7448
- # "hsiomaneki",
7449
- # "@tasukuchan ようこそ!!!",
7377
+ # "Alice",
7378
+ # "@bob Welcome!!!",
7450
7379
  # 1268795100.0
7451
7380
  # ],
7452
7381
  # [
7453
- # "グニャラくん",
7454
- # "@daijiro ありがとう!",
7382
+ # "Bob",
7383
+ # "@alice Thanks!",
7455
7384
  # 1268798400.0
7456
7385
  # ],
7457
7386
  # [
7458
- # "グニャラくん",
7459
- # "groongaなう #groonga",
7387
+ # "Bob",
7388
+ # "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
7460
7389
  # 1268802000.0
7461
7390
  # ]
7462
7391
  # ],
@@ -7494,11 +7423,11 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
7494
7423
  # ]
7495
7424
  # ],
7496
7425
  # [
7497
- # "daijiro",
7426
+ # "alice",
7498
7427
  # 2
7499
7428
  # ],
7500
7429
  # [
7501
- # "tasukuchan",
7430
+ # "bob",
7502
7431
  # 3
7503
7432
  # ]
7504
7433
  # ]
@@ -7509,19 +7438,22 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
7509
7438
  .UNINDENT
7510
7439
  .UNINDENT
7511
7440
  .sp
7512
- 2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒットしていることがわかります。
7513
- .SS クエリ拡張
7441
+ Above query returns 5 comments which are older than 2010/03/17 14:00:00.
7442
+ It also returns result of drilldown by posted person. There are 2 comments by Alice, 3 comments by Bob.
7443
+ .SS Query expansion
7514
7444
  .sp
7515
- Groongaでは、 \fB/reference/commands/select\fP コマンドにquery_expanderパラメータを指定することによって、ユーザが指定した検索文字列を適宜拡張することが可能です。
7445
+ Groonga accepts \fBquery_expander\fP parameter for \fB/reference/commands/select\fP command.
7446
+ It enables you to extend your query string.
7516
7447
  .sp
7517
- たとえば、ユーザが\(aqシークヮーサー\(aqという文字列で検索した場合に、\(aqシークヮーサー OR シークァーサー\(aqで検索した場合と同一の結果を返すことによって、本来ユーザが必要とする結果をよりもれなく検索できるようになります。
7518
- .SS 準備
7448
+ For example, if user searches "theatre" instead of "theater",
7449
+ query expansion enables to return search results of "theatre OR theater".
7450
+ This kind of way reduces search leakages. This is what really user wants.
7451
+ .SS Preparation
7519
7452
  .sp
7520
- クエリ拡張機能を使用するためには、検索対象となる文書を格納するテーブル(ここでは文書テーブルと呼びます)以外に、ユーザの指定した検索文字列を置換するためのテーブル(ここでは置換テーブルと呼びます)を準備します。置換テーブルでは、その主キーが置換前の文字列となり、文字列型(ShortText)のカラムの値が置換後の文字列となります。
7453
+ To use query expansion, you need to create table which stores documents, synonym table which stores query string and replacement string.
7454
+ In synonym table, primary key represents original string, the column of ShortText represents modified string.
7521
7455
  .sp
7522
- TODO: 文字列型のベクターカラムでも可能であり、その場合は各要素をORでつなげたものに置換されるということを記述する。
7523
- .sp
7524
- 実際に文書テーブルと置換テーブルを作成してみましょう。
7456
+ Let\(aqs create document table and synonym table.
7525
7457
  .sp
7526
7458
  Execution example:
7527
7459
  .INDENT 0.0
@@ -7543,14 +7475,14 @@ column_create Synonym body COLUMN_SCALAR ShortText
7543
7475
  # [[0, 1337566253.89858, 0.000355720520019531], true]
7544
7476
  load \-\-table Doc
7545
7477
  [
7546
- {"_key": "001", "body": "すっぱいブドウと甘いシークァーサー"},
7547
- {"_key": "002", "body": "シークヮーサージュースとゴーヤチャンプル"},
7478
+ {"_key": "001", "body": "Play all night in this theater."},
7479
+ {"_key": "002", "body": "theatre is British spelling."},
7548
7480
  ]
7549
7481
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
7550
7482
  load \-\-table Synonym
7551
7483
  [
7552
- {"_key": "シークァーサー", "body": "(シークァーサー OR シークヮーサー)"},
7553
- {"_key": "シークヮーサー", "body": "(シークァーサー OR シークヮーサー)"},
7484
+ {"_key": "theater", "body": "(theater OR theatre)"},
7485
+ {"_key": "theatre", "body": "(theater OR theatre)"},
7554
7486
  ]
7555
7487
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
7556
7488
  .ft P
@@ -7558,10 +7490,11 @@ load \-\-table Synonym
7558
7490
  .UNINDENT
7559
7491
  .UNINDENT
7560
7492
  .sp
7561
- この例では、ユーザが"シークァーサー"と入力しても、"シークヮーサー"と入力しても、それぞれの異なる表記の文書をもれなく検索するための置換テーブルを作成しています。
7562
- .SS 検索
7493
+ In this case, it doesn\(aqt occur search leakage because it creates synonym table which accepts "theatre" and "theater" as query string.
7494
+ .SS Search
7563
7495
  .sp
7564
- それでは実際に、準備した置換テーブルを使ってみましょう。まずは、query_expanderパラメータを指定せずにselectコマンドを使って検索してみます。
7496
+ Then, let\(aqs use prepared synonym table.
7497
+ First, use select command without \fBquery_expander\fP parameter.
7565
7498
  .sp
7566
7499
  Execution example:
7567
7500
  .INDENT 0.0
@@ -7569,7 +7502,7 @@ Execution example:
7569
7502
  .sp
7570
7503
  .nf
7571
7504
  .ft C
7572
- select Doc \-\-match_columns body \-\-query "シークァーサー"
7505
+ select Doc \-\-match_columns body \-\-query "theater"
7573
7506
  # [
7574
7507
  # [
7575
7508
  # 0,
@@ -7598,12 +7531,12 @@ select Doc \-\-match_columns body \-\-query "シークァーサー"
7598
7531
  # [
7599
7532
  # 1,
7600
7533
  # "001",
7601
- # "すっぱいブドウと甘いシークァーサー"
7534
+ # "Play all night in this theater."
7602
7535
  # ]
7603
7536
  # ]
7604
7537
  # ]
7605
7538
  # ]
7606
- select Doc \-\-match_columns body \-\-query "シークヮーサー"
7539
+ select Doc \-\-match_columns body \-\-query "theatre"
7607
7540
  # [
7608
7541
  # [
7609
7542
  # 0,
@@ -7632,7 +7565,7 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー"
7632
7565
  # [
7633
7566
  # 2,
7634
7567
  # "002",
7635
- # "シークヮーサージュースとゴーヤチャンプル"
7568
+ # "theatre is British spelling."
7636
7569
  # ]
7637
7570
  # ]
7638
7571
  # ]
@@ -7642,7 +7575,9 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー"
7642
7575
  .UNINDENT
7643
7576
  .UNINDENT
7644
7577
  .sp
7645
- 指定された文字列に完全に一致するレコードのみがそれぞれヒットします。次に、query_expanderパラメータに、準備したSynonymテーブルのbodyカラムを指定してみましょう。
7578
+ Above query returns the record which completely equal to query string.
7579
+ .sp
7580
+ Then, use \fBquery_expander\fP parameter against \fBbody\fP column of \fBSynonym\fP table.
7646
7581
  .sp
7647
7582
  Execution example:
7648
7583
  .INDENT 0.0
@@ -7650,7 +7585,7 @@ Execution example:
7650
7585
  .sp
7651
7586
  .nf
7652
7587
  .ft C
7653
- select Doc \-\-match_columns body \-\-query "シークァーサー" \-\-query_expander Synonym.body
7588
+ select Doc \-\-match_columns body \-\-query "theater" \-\-query_expander Synonym.body
7654
7589
  # [
7655
7590
  # [
7656
7591
  # 0,
@@ -7679,17 +7614,17 @@ select Doc \-\-match_columns body \-\-query "シークァーサー" \-\-query_ex
7679
7614
  # [
7680
7615
  # 1,
7681
7616
  # "001",
7682
- # "すっぱいブドウと甘いシークァーサー"
7617
+ # "Play all night in this theater."
7683
7618
  # ],
7684
7619
  # [
7685
7620
  # 2,
7686
7621
  # "002",
7687
- # "シークヮーサージュースとゴーヤチャンプル"
7622
+ # "theatre is British spelling."
7688
7623
  # ]
7689
7624
  # ]
7690
7625
  # ]
7691
7626
  # ]
7692
- select Doc \-\-match_columns body \-\-query "シークヮーサー" \-\-query_expander Synonym.body
7627
+ select Doc \-\-match_columns body \-\-query "theatre" \-\-query_expander Synonym.body
7693
7628
  # [
7694
7629
  # [
7695
7630
  # 0,
@@ -7718,12 +7653,12 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー" \-\-query_ex
7718
7653
  # [
7719
7654
  # 1,
7720
7655
  # "001",
7721
- # "すっぱいブドウと甘いシークァーサー"
7656
+ # "Play all night in this theater."
7722
7657
  # ],
7723
7658
  # [
7724
7659
  # 2,
7725
7660
  # "002",
7726
- # "シークヮーサージュースとゴーヤチャンプル"
7661
+ # "theatre is British spelling."
7727
7662
  # ]
7728
7663
  # ]
7729
7664
  # ]
@@ -7733,7 +7668,7 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー" \-\-query_ex
7733
7668
  .UNINDENT
7734
7669
  .UNINDENT
7735
7670
  .sp
7736
- どちらのクエリ文字列も、"(シークァーサー OR シークヮーサー)"という文字列に置換されてから検索されるため、表記の揺れを吸収して検索できるようになりました。
7671
+ In which cases, query string is replaced to "(theater OR theatre)", thus synonym is considered for full text search.
7737
7672
  .SH SUGGEST
7738
7673
  .sp
7739
7674
  Groonga has the suggest feature. This section describes how to use it and how it works.
@@ -9853,9 +9788,9 @@ TODO
9853
9788
  .sp
9854
9789
  TODO
9855
9790
  .SH REFERENCE MANUAL
9856
- .SS 実行ファイル
9791
+ .SS Executables
9857
9792
  .sp
9858
- groongaパッケージが提供する実行ファイルについて説明します。
9793
+ This section describes executable files provided by groonga package.
9859
9794
  .SS grnslap
9860
9795
  .SS 名前
9861
9796
  .sp
@@ -32934,10 +32869,10 @@ Report a bug to the mailing list
32934
32869
  You can use either way It makes no difference to us.
32935
32870
  .SS Submit a bug to the issue tracker
32936
32871
  .sp
32937
- Groonga project has two issue tracking systems, \fI\%Redmine\fP and \fI\%GitHub
32938
- issue tracker\fP\&. Redmine
32939
- is for Japanese and GitHub issue tracker is for English. You can use
32940
- one of them to report a bug.
32872
+ Groonga project uses \fI\%GitHub
32873
+ issue tracker\fP\&.
32874
+ .sp
32875
+ You can use English or Japanese to report a bug.
32941
32876
  .SS Report a bug to the mailing list
32942
32877
  .sp
32943
32878
  Groonga project has \fB/community\fP for discussing about groonga.