rroonga 2.1.2-x86-mingw32 → 2.1.3-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (788) hide show
  1. data/doc/text/news.textile +29 -0
  2. data/doc/text/tutorial.textile +176 -199
  3. data/ext/groonga/extconf.rb +16 -2
  4. data/ext/groonga/rb-grn-logger.c +214 -202
  5. data/ext/groonga/rb-grn-object.c +1 -23
  6. data/ext/groonga/rb-grn-table-cursor.c +1 -2
  7. data/ext/groonga/rb-grn-table.c +1 -2
  8. data/ext/groonga/rb-grn-utils.c +3 -7
  9. data/ext/groonga/rb-grn.h +2 -16
  10. data/ext/groonga/rb-groonga.c +1 -3
  11. data/lib/1.8/groonga.so +0 -0
  12. data/lib/1.9/groonga.so +0 -0
  13. data/lib/groonga/context.rb +27 -0
  14. data/lib/groonga/dumper.rb +35 -3
  15. data/lib/groonga/logger.rb +142 -0
  16. data/lib/groonga.rb +2 -1
  17. data/rroonga-build.rb +2 -2
  18. data/test/groonga-test-utils.rb +3 -1
  19. data/test/test-context.rb +63 -0
  20. data/test/test-logger.rb +1 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libstdc++-6.dll +0 -0
  29. data/vendor/local/bin/mecab-config +2 -2
  30. data/vendor/local/bin/mecab.exe +0 -0
  31. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  32. data/vendor/local/include/groonga/groonga.h +48 -7
  33. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  37. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  41. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  49. data/vendor/local/lib/libgroonga.a +0 -0
  50. data/vendor/local/lib/libgroonga.dll.a +0 -0
  51. data/vendor/local/lib/libgroonga.la +3 -3
  52. data/vendor/local/lib/libmecab.a +0 -0
  53. data/vendor/local/lib/libmecab.dll.a +0 -0
  54. data/vendor/local/lib/libmecab.la +1 -1
  55. data/vendor/local/lib/libmsgpack.a +0 -0
  56. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  57. data/vendor/local/lib/libmsgpack.la +2 -2
  58. data/vendor/local/lib/libmsgpackc.a +0 -0
  59. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.la +2 -2
  61. data/vendor/local/lib/pkgconfig/groonga.pc +5 -3
  62. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  63. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  67. data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
  68. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +5 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +5 -3
  70. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -4
  71. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  72. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  73. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -3
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +50 -22
  76. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +46 -0
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +1 -1
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +4 -0
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +135 -0
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +4 -0
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +17 -15
  83. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +192 -0
  84. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
  85. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
  86. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +2 -14
  87. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +193 -138
  88. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  89. data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -9
  90. data/vendor/local/share/doc/groonga/en/html/community.html +7 -9
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -8
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +6 -8
  93. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -8
  94. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -8
  95. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -8
  96. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -8
  97. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -8
  98. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +8 -18
  99. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -8
  100. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -8
  101. data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -9
  102. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -8
  103. data/vendor/local/share/doc/groonga/en/html/development.html +7 -9
  104. data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -10
  105. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -9
  106. data/vendor/local/share/doc/groonga/en/html/index.html +22 -18
  107. data/vendor/local/share/doc/groonga/en/html/install/centos.html +22 -11
  108. data/vendor/local/share/doc/groonga/en/html/install/debian.html +22 -11
  109. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -14
  110. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -11
  111. data/vendor/local/share/doc/groonga/en/html/install/others.html +9 -11
  112. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -11
  113. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +22 -11
  114. data/vendor/local/share/doc/groonga/en/html/install/windows.html +47 -25
  115. data/vendor/local/share/doc/groonga/en/html/install.html +8 -10
  116. data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -9
  117. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -8
  118. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -8
  119. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -8
  120. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -8
  121. data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -8
  122. data/vendor/local/share/doc/groonga/en/html/news.html +148 -97
  123. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -8
  125. data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -8
  126. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -8
  127. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -8
  128. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -8
  129. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -8
  130. data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -9
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -8
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -8
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +19 -19
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -8
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -8
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -8
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -8
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -8
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -8
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -8
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -8
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -8
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -8
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -8
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -8
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -8
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +8 -10
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -8
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -8
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -8
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -8
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -8
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +11 -13
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +6 -8
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +6 -8
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +6 -8
  157. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -8
  158. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -8
  159. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -8
  160. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -8
  161. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
  162. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +6 -8
  163. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -8
  164. data/vendor/local/share/doc/groonga/en/html/reference/function.html +9 -10
  165. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -8
  166. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -8
  167. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -8
  168. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -8
  169. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -13
  170. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +403 -0
  171. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +29 -31
  172. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -26
  173. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -8
  174. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +6 -8
  175. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -8
  176. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -12
  177. data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -13
  178. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +11 -13
  179. data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -8
  180. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +6 -8
  181. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -8
  182. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -8
  183. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +37 -44
  184. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -8
  185. data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -13
  186. data/vendor/local/share/doc/groonga/en/html/reference.html +14 -16
  187. data/vendor/local/share/doc/groonga/en/html/search.html +7 -9
  188. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  189. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +16 -18
  190. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +43 -45
  191. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +14 -16
  192. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +18 -20
  193. data/vendor/local/share/doc/groonga/en/html/server/http.html +30 -32
  194. data/vendor/local/share/doc/groonga/en/html/server/package.html +375 -0
  195. data/vendor/local/share/doc/groonga/en/html/server.html +23 -19
  196. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +6 -8
  197. data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -8
  198. data/vendor/local/share/doc/groonga/en/html/spec.html +7 -9
  199. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +6 -8
  200. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +6 -8
  201. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +6 -8
  202. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +6 -8
  203. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +6 -8
  204. data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -9
  205. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
  206. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -9
  207. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -8
  208. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -8
  209. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -8
  210. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -8
  211. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -8
  212. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -8
  213. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -8
  214. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -8
  215. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -8
  216. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -8
  217. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -8
  218. data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -9
  219. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +5 -3
  221. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +5 -3
  222. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -4
  223. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  224. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  225. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -3
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +50 -22
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +46 -0
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +1 -1
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +4 -0
  231. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +135 -0
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +4 -0
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +17 -15
  235. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +192 -0
  236. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
  237. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
  238. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +2 -14
  239. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +192 -137
  240. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  241. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -9
  242. data/vendor/local/share/doc/groonga/ja/html/community.html +7 -9
  243. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -8
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +6 -8
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -8
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -8
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -8
  248. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -8
  249. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -9
  250. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +11 -21
  251. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -9
  252. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -8
  253. data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -12
  254. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -8
  255. data/vendor/local/share/doc/groonga/ja/html/development.html +7 -9
  256. data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -10
  257. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -9
  258. data/vendor/local/share/doc/groonga/ja/html/index.html +28 -24
  259. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +20 -11
  260. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +20 -11
  261. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -14
  262. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -11
  263. data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -11
  264. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -11
  265. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -11
  266. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +47 -20
  267. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -10
  268. data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -9
  269. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -8
  270. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -8
  271. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -8
  272. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -8
  273. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -8
  274. data/vendor/local/share/doc/groonga/ja/html/news.html +135 -97
  275. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  276. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -8
  277. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -8
  278. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -8
  279. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -8
  280. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -8
  281. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -8
  282. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -9
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -8
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -8
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +19 -19
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -8
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -8
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -8
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -8
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -8
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -8
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -8
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -8
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -8
  295. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -8
  296. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -8
  297. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -8
  298. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -8
  299. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -10
  300. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -8
  301. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -8
  302. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -8
  303. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +13 -15
  304. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -8
  305. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +11 -13
  306. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -8
  307. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -8
  308. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -8
  309. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -8
  310. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -8
  311. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -8
  312. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -8
  313. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
  314. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -8
  315. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -8
  316. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +9 -10
  317. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -8
  318. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -8
  319. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -8
  320. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -8
  321. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -13
  322. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +394 -0
  323. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +29 -31
  324. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -26
  325. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -8
  326. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -8
  327. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -8
  328. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -12
  329. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +11 -13
  330. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -68
  331. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -8
  332. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -8
  333. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -8
  334. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -8
  335. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +82 -134
  336. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -12
  337. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +15 -17
  338. data/vendor/local/share/doc/groonga/ja/html/reference.html +20 -22
  339. data/vendor/local/share/doc/groonga/ja/html/search.html +7 -9
  340. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  341. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +16 -18
  342. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +43 -45
  343. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +14 -16
  344. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +18 -20
  345. data/vendor/local/share/doc/groonga/ja/html/server/http.html +30 -32
  346. data/vendor/local/share/doc/groonga/ja/html/server/package.html +372 -0
  347. data/vendor/local/share/doc/groonga/ja/html/server.html +23 -19
  348. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -8
  349. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -8
  350. data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -9
  351. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -8
  352. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -8
  353. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -8
  354. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -8
  355. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -8
  356. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -9
  357. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
  358. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -9
  359. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -9
  360. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -8
  361. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -8
  362. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -8
  363. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -8
  364. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -8
  365. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -8
  366. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -8
  367. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -8
  368. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -8
  369. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -8
  370. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -9
  371. data/vendor/local/share/man/ja/man1/groonga.1 +849 -276
  372. data/vendor/local/share/man/man1/groonga.1 +814 -144
  373. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  374. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  375. metadata +883 -1287
  376. data/ext/groonga/rb-grn-view-accessor.c +0 -53
  377. data/ext/groonga/rb-grn-view-cursor.c +0 -35
  378. data/ext/groonga/rb-grn-view-record.c +0 -41
  379. data/ext/groonga/rb-grn-view.c +0 -414
  380. data/test/test-schema-view.rb +0 -90
  381. data/test/test-view.rb +0 -71
  382. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/view_add.txt +0 -55
  383. data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +0 -196
  384. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/view_add.txt +0 -55
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +0 -197
  386. data/vendor/local/share/doc/groonga/source/__init__.py +0 -0
  387. data/vendor/local/share/doc/groonga/source/characteristic.txt +0 -69
  388. data/vendor/local/share/doc/groonga/source/community.txt +0 -37
  389. data/vendor/local/share/doc/groonga/source/conf.py +0 -272
  390. data/vendor/local/share/doc/groonga/source/contribution/development/com.txt +0 -20
  391. data/vendor/local/share/doc/groonga/source/contribution/development/document.txt +0 -40
  392. data/vendor/local/share/doc/groonga/source/contribution/development/query.txt +0 -214
  393. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +0 -661
  394. data/vendor/local/share/doc/groonga/source/contribution/development/test.txt +0 -116
  395. data/vendor/local/share/doc/groonga/source/contribution/development.txt +0 -12
  396. data/vendor/local/share/doc/groonga/source/contribution/documentation/c-api.txt +0 -14
  397. data/vendor/local/share/doc/groonga/source/contribution/documentation/i18n.txt +0 -198
  398. data/vendor/local/share/doc/groonga/source/contribution/documentation.txt +0 -16
  399. data/vendor/local/share/doc/groonga/source/contribution/report.txt +0 -28
  400. data/vendor/local/share/doc/groonga/source/contribution.txt +0 -26
  401. data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +0 -61
  402. data/vendor/local/share/doc/groonga/source/development.txt +0 -15
  403. data/vendor/local/share/doc/groonga/source/example/completion-1.log +0 -31
  404. data/vendor/local/share/doc/groonga/source/example/correction-1.log +0 -31
  405. data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +0 -4
  406. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +0 -41
  407. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +0 -59
  408. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +0 -65
  409. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +0 -32
  410. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +0 -35
  411. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +0 -31
  412. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +0 -35
  413. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +0 -74
  414. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +0 -35
  415. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +0 -29
  416. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +0 -29
  417. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +0 -36
  418. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +0 -31
  419. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +0 -41
  420. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +0 -41
  421. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +0 -41
  422. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +0 -52
  423. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +0 -131
  424. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +0 -12
  425. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +0 -41
  426. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +0 -59
  427. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +0 -90
  428. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +0 -41
  429. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +0 -59
  430. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +0 -47
  431. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +0 -41
  432. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +0 -47
  433. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +0 -65
  434. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +0 -65
  435. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +0 -35
  436. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +0 -65
  437. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +0 -18
  438. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +0 -33
  439. data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +0 -21
  440. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +0 -31
  441. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +0 -31
  442. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +0 -12
  443. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +0 -14
  444. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +0 -8
  445. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +0 -77
  446. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +0 -35
  447. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +0 -4
  448. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +0 -4
  449. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +0 -4
  450. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +0 -86
  451. data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +0 -21
  452. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +0 -16
  453. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +0 -26
  454. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +0 -26
  455. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +0 -26
  456. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +0 -26
  457. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +0 -15
  458. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +0 -26
  459. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +0 -26
  460. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +0 -26
  461. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +0 -13
  462. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +0 -16
  463. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +0 -28
  464. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +0 -29
  465. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +0 -17
  466. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +0 -28
  467. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +0 -33
  468. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +0 -41
  469. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +0 -47
  470. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +0 -47
  471. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +0 -41
  472. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +0 -47
  473. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +0 -92
  474. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +0 -53
  475. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +0 -59
  476. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +0 -41
  477. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +0 -41
  478. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +0 -47
  479. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +0 -59
  480. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +0 -41
  481. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +0 -41
  482. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +0 -47
  483. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +0 -51
  484. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +0 -41
  485. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +0 -59
  486. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +0 -41
  487. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +0 -41
  488. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +0 -41
  489. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +0 -53
  490. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +0 -47
  491. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +0 -41
  492. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +0 -41
  493. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +0 -47
  494. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +0 -92
  495. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +0 -41
  496. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +0 -47
  497. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +0 -41
  498. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +0 -59
  499. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +0 -47
  500. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +0 -29
  501. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +0 -41
  502. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +0 -52
  503. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +0 -59
  504. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +0 -29
  505. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +0 -35
  506. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +0 -41
  507. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +0 -29
  508. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +0 -41
  509. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +0 -51
  510. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +0 -39
  511. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +0 -41
  512. data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +0 -9
  513. data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +0 -4
  514. data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +0 -8
  515. data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +0 -8
  516. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +0 -31
  517. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +0 -35
  518. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +0 -27
  519. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +0 -46
  520. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +0 -4
  521. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +0 -4
  522. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +0 -4
  523. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +0 -35
  524. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +0 -4
  525. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +0 -48
  526. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +0 -57
  527. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +0 -47
  528. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +0 -47
  529. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +0 -47
  530. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +0 -46
  531. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +0 -54
  532. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +0 -23
  533. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +0 -78
  534. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +0 -85
  535. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +0 -113
  536. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +0 -86
  537. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +0 -74
  538. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +0 -24
  539. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +0 -105
  540. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +0 -20
  541. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +0 -84
  542. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +0 -78
  543. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +0 -41
  544. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +0 -41
  545. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -3
  546. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +0 -4
  547. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +0 -4
  548. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +0 -36
  549. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +0 -36
  550. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +0 -76
  551. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +0 -129
  552. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +0 -76
  553. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +0 -76
  554. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +0 -76
  555. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +0 -22
  556. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +0 -4
  557. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +0 -27
  558. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +0 -33
  559. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +0 -15
  560. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +0 -76
  561. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +0 -36
  562. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +0 -36
  563. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +0 -21
  564. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +0 -137
  565. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +0 -19
  566. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +0 -137
  567. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log +0 -23
  568. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data.log +0 -16
  569. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log +0 -30
  570. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema.log +0 -20
  571. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log +0 -86
  572. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select.log +0 -41
  573. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +0 -59
  574. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +0 -98
  575. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +0 -35
  576. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +0 -35
  577. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +0 -89
  578. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +0 -35
  579. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +0 -73
  580. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +0 -54
  581. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +0 -58
  582. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +0 -37
  583. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +0 -24
  584. data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -5
  585. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +0 -89
  586. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +0 -45
  587. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +0 -102
  588. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +0 -26
  589. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +0 -70
  590. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +0 -80
  591. data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +0 -31
  592. data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +0 -84
  593. data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +0 -150
  594. data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +0 -43
  595. data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +0 -41
  596. data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +0 -41
  597. data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +0 -31
  598. data/vendor/local/share/doc/groonga/source/geolocation_search.txt +0 -52
  599. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.png +0 -0
  600. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.svg +0 -188
  601. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.png +0 -0
  602. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.svg +0 -501
  603. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.png +0 -0
  604. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.svg +0 -275
  605. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.png +0 -0
  606. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.svg +0 -899
  607. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.png +0 -0
  608. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.svg +0 -249
  609. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.png +0 -0
  610. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.svg +0 -275
  611. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.png +0 -0
  612. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.svg +0 -743
  613. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.png +0 -0
  614. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.svg +0 -261
  615. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.png +0 -0
  616. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.svg +0 -228
  617. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.png +0 -0
  618. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.svg +0 -241
  619. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.png +0 -0
  620. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.svg +0 -879
  621. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.png +0 -0
  622. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.svg +0 -879
  623. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.png +0 -0
  624. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.svg +0 -879
  625. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.png +0 -0
  626. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.svg +0 -602
  627. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.png +0 -0
  628. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.svg +0 -600
  629. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.png +0 -0
  630. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.svg +0 -600
  631. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.png +0 -0
  632. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.svg +0 -600
  633. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.png +0 -0
  634. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.svg +0 -917
  635. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.png +0 -0
  636. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.svg +0 -600
  637. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.png +0 -0
  638. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.svg +0 -600
  639. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.png +0 -0
  640. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.svg +0 -600
  641. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.png +0 -0
  642. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.svg +0 -561
  643. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.png +0 -0
  644. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.svg +0 -389
  645. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.png +0 -0
  646. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.svg +0 -469
  647. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.png +0 -0
  648. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.svg +0 -514
  649. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.png +0 -0
  650. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.svg +0 -595
  651. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.png +0 -0
  652. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.svg +0 -600
  653. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.png +0 -0
  654. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.svg +0 -424
  655. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.png +0 -0
  656. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.svg +0 -549
  657. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.png +0 -0
  658. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.svg +0 -241
  659. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.png +0 -0
  660. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.svg +0 -203
  661. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.png +0 -0
  662. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.svg +0 -264
  663. data/vendor/local/share/doc/groonga/source/images/geo-in-rectangle.png +0 -0
  664. data/vendor/local/share/doc/groonga/source/images/geo-points-distance.png +0 -0
  665. data/vendor/local/share/doc/groonga/source/images/geo-points-distance.svg +0 -317
  666. data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.png +0 -0
  667. data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.svg +0 -306
  668. data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.png +0 -0
  669. data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.svg +0 -304
  670. data/vendor/local/share/doc/groonga/source/images/geo-points-sort.png +0 -0
  671. data/vendor/local/share/doc/groonga/source/images/geo-points-sort.svg +0 -383
  672. data/vendor/local/share/doc/groonga/source/images/geo-points.png +0 -0
  673. data/vendor/local/share/doc/groonga/source/images/geo-points.svg +0 -296
  674. data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.png +0 -0
  675. data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.svg +0 -287
  676. data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png +0 -0
  677. data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg +0 -174
  678. data/vendor/local/share/doc/groonga/source/index.txt +0 -33
  679. data/vendor/local/share/doc/groonga/source/install/centos.txt +0 -152
  680. data/vendor/local/share/doc/groonga/source/install/debian.txt +0 -136
  681. data/vendor/local/share/doc/groonga/source/install/fedora.txt +0 -82
  682. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +0 -53
  683. data/vendor/local/share/doc/groonga/source/install/others.txt +0 -267
  684. data/vendor/local/share/doc/groonga/source/install/solaris.txt +0 -43
  685. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +0 -196
  686. data/vendor/local/share/doc/groonga/source/install/windows.txt +0 -87
  687. data/vendor/local/share/doc/groonga/source/install.txt +0 -28
  688. data/vendor/local/share/doc/groonga/source/limitations.txt +0 -29
  689. data/vendor/local/share/doc/groonga/source/news/0.x.txt +0 -126
  690. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +0 -289
  691. data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +0 -31
  692. data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +0 -386
  693. data/vendor/local/share/doc/groonga/source/news/senna.txt +0 -109
  694. data/vendor/local/share/doc/groonga/source/news.txt +0 -632
  695. data/vendor/local/share/doc/groonga/source/rdoc.py +0 -762
  696. data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +0 -8
  697. data/vendor/local/share/doc/groonga/source/reference/api.txt +0 -8
  698. data/vendor/local/share/doc/groonga/source/reference/cast.txt +0 -8
  699. data/vendor/local/share/doc/groonga/source/reference/command/command_version.txt +0 -75
  700. data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +0 -228
  701. data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +0 -110
  702. data/vendor/local/share/doc/groonga/source/reference/command.txt +0 -20
  703. data/vendor/local/share/doc/groonga/source/reference/commands/cache_limit.txt +0 -54
  704. data/vendor/local/share/doc/groonga/source/reference/commands/check.txt +0 -166
  705. data/vendor/local/share/doc/groonga/source/reference/commands/clearlock.txt +0 -63
  706. data/vendor/local/share/doc/groonga/source/reference/commands/column_create.txt +0 -95
  707. data/vendor/local/share/doc/groonga/source/reference/commands/column_list.txt +0 -111
  708. data/vendor/local/share/doc/groonga/source/reference/commands/column_remove.txt +0 -60
  709. data/vendor/local/share/doc/groonga/source/reference/commands/define_selector.txt +0 -116
  710. data/vendor/local/share/doc/groonga/source/reference/commands/defrag.txt +0 -59
  711. data/vendor/local/share/doc/groonga/source/reference/commands/delete.txt +0 -72
  712. data/vendor/local/share/doc/groonga/source/reference/commands/dump.txt +0 -91
  713. data/vendor/local/share/doc/groonga/source/reference/commands/load.txt +0 -100
  714. data/vendor/local/share/doc/groonga/source/reference/commands/log_level.txt +0 -67
  715. data/vendor/local/share/doc/groonga/source/reference/commands/log_put.txt +0 -71
  716. data/vendor/local/share/doc/groonga/source/reference/commands/log_reopen.txt +0 -68
  717. data/vendor/local/share/doc/groonga/source/reference/commands/quit.txt +0 -40
  718. data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +0 -59
  719. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +0 -894
  720. data/vendor/local/share/doc/groonga/source/reference/commands/shutdown.txt +0 -40
  721. data/vendor/local/share/doc/groonga/source/reference/commands/status.txt +0 -60
  722. data/vendor/local/share/doc/groonga/source/reference/commands/suggest.txt +0 -270
  723. data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +0 -286
  724. data/vendor/local/share/doc/groonga/source/reference/commands/table_list.txt +0 -81
  725. data/vendor/local/share/doc/groonga/source/reference/commands/table_remove.txt +0 -52
  726. data/vendor/local/share/doc/groonga/source/reference/commands/view_add.txt +0 -55
  727. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +0 -104
  728. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +0 -80
  729. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +0 -105
  730. data/vendor/local/share/doc/groonga/source/reference/executables/grnslap.txt +0 -66
  731. data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +0 -273
  732. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +0 -209
  733. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +0 -56
  734. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-suggest-create-dataset.txt +0 -50
  735. data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +0 -248
  736. data/vendor/local/share/doc/groonga/source/reference/executables.txt +0 -14
  737. data/vendor/local/share/doc/groonga/source/reference/function.txt +0 -20
  738. data/vendor/local/share/doc/groonga/source/reference/functions/edit_distance.txt +0 -48
  739. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +0 -301
  740. data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_circle.txt +0 -81
  741. data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_rectangle.txt +0 -55
  742. data/vendor/local/share/doc/groonga/source/reference/functions/now.txt +0 -36
  743. data/vendor/local/share/doc/groonga/source/reference/functions/rand.txt +0 -43
  744. data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +0 -120
  745. data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +0 -584
  746. data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +0 -805
  747. data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +0 -59
  748. data/vendor/local/share/doc/groonga/source/reference/indexing.txt +0 -110
  749. data/vendor/local/share/doc/groonga/source/reference/log.txt +0 -214
  750. data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +0 -122
  751. data/vendor/local/share/doc/groonga/source/reference/output.txt +0 -164
  752. data/vendor/local/share/doc/groonga/source/reference/pseudo_column.txt +0 -40
  753. data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +0 -153
  754. data/vendor/local/share/doc/groonga/source/reference/query_expanders.txt +0 -12
  755. data/vendor/local/share/doc/groonga/source/reference/tables.txt +0 -163
  756. data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +0 -8
  757. data/vendor/local/share/doc/groonga/source/reference/types.txt +0 -129
  758. data/vendor/local/share/doc/groonga/source/reference.txt +0 -24
  759. data/vendor/local/share/doc/groonga/source/server/gqtp.txt +0 -16
  760. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +0 -298
  761. data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +0 -8
  762. data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +0 -8
  763. data/vendor/local/share/doc/groonga/source/server/http.txt +0 -29
  764. data/vendor/local/share/doc/groonga/source/server.txt +0 -12
  765. data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +0 -214
  766. data/vendor/local/share/doc/groonga/source/spec/search.txt +0 -115
  767. data/vendor/local/share/doc/groonga/source/spec.txt +0 -12
  768. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +0 -195
  769. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +0 -148
  770. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +0 -96
  771. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +0 -115
  772. data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +0 -8
  773. data/vendor/local/share/doc/groonga/source/suggest.txt +0 -17
  774. data/vendor/local/share/doc/groonga/source/textile.py +0 -771
  775. data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
  776. data/vendor/local/share/doc/groonga/source/troubleshooting.txt +0 -12
  777. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +0 -155
  778. data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +0 -66
  779. data/vendor/local/share/doc/groonga/source/tutorial/index.txt +0 -118
  780. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +0 -286
  781. data/vendor/local/share/doc/groonga/source/tutorial/lexicon.txt +0 -11
  782. data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +0 -220
  783. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +0 -487
  784. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +0 -142
  785. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +0 -53
  786. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +0 -62
  787. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +0 -121
  788. data/vendor/local/share/doc/groonga/source/tutorial.txt +0 -21
@@ -1,22 +1,20 @@
1
- h1. チュートリアル
1
+ h1. Tutorial
2
2
 
3
- このページでは簡単なアプリケーションの作成を通して
4
- rroongaの操作方法を紹介します。
3
+ This page introduce how to use rroonga via a simple application making.
5
4
 
6
- h2. インストール
5
+ h2. Install
7
6
 
8
- rroongaRubyGemsでインストールできます。
7
+ You can install rroonga in your compter with RubyGems.
9
8
 
10
9
  <pre>
11
10
  !!!command_line
12
11
  % sudo gem install rroonga
13
12
  </pre>
14
13
 
15
- h2. データベースの作成
14
+ h2. Create Database
16
15
 
17
- 簡単なブックマークアプリケーション用のデータベースを作ってみ
18
- ます。以下のようにgroongaライブラリを読み込んでirbを起動しま
19
- す。
16
+ Let's create database for simple bookmark application.
17
+ Please execute irb with loading rroonga with this command:
20
18
 
21
19
  <pre>
22
20
  !!!irb
@@ -24,7 +22,7 @@ h2. データベースの作成
24
22
  >>
25
23
  </pre>
26
24
 
27
- まず、エンコーディングを設定します。ここではUTF-8を利用します。
25
+ Now you use UTF-8 as the encoding of database.
28
26
 
29
27
  <pre>
30
28
  !!!irb
@@ -34,7 +32,7 @@ h2. データベースの作成
34
32
  => {:encoding=>:utf8}
35
33
  </pre>
36
34
 
37
- それでは、ファイルを指定してデータベースを作成します。
35
+ Then, try to create database in a file.
38
36
 
39
37
  <pre>
40
38
  !!!irb
@@ -42,33 +40,38 @@ h2. データベースの作成
42
40
  => #<Groonga::Database ...>
43
41
  </pre>
44
42
 
45
- ここで作成したデータベースは、これ以降、暗黙のうちに利用され
46
- ます。最初にデータベースを作成したら特に意識する必要はありま
47
- せん。
43
+ From now, the created database is used implicitly.
44
+ You don't have to be aware of it after you created a database first.
48
45
 
49
- h2. テーブルの定義
46
+ h2. Define table
50
47
 
51
- groongaには以下の3種類のテーブルがあります。
48
+ Groonga supports 4 types of tables.
52
49
 
53
50
  - Groonga::Hash :=
54
- ハッシュテーブル。主キーでレコードを管理します。キーと完全
55
- 一致するレコードを非常に高速に検索することができます。
51
+ Hash table. It manages records via each primary key. It supports
52
+ very quickly exact match search.
56
53
  =:
57
54
 
58
55
  - Groonga::PatriciaTrie :=
59
- パトリシアトライ。ハッシュテーブルに比べて完全一致検索の速
60
- 度がやや遅いですが、前方一致検索・共通接頭辞探索などの検索
61
- が行えます。またカーソルを用いてキーの昇降順にレコードを取
62
- り出すことができます。
56
+ Patricia Trie. It supports some search such as predictive search and
57
+ common prefix search, but it provides a little slowly exact match search
58
+ than Groonga::Hash. It provides cursor to take records in ascending
59
+ or descending order.
60
+ =:
61
+
62
+ - Groonga::DoubleArrayTrie :=
63
+ Double Array Trie. It requires large spaces rather than other
64
+ tables, but it can update key without ID change. It provides exract
65
+ match search, predictive search and common prefix search and cursor
66
+ like Groonga::PatriciaTrie.
63
67
  =:
64
68
 
65
69
  - Groonga::Array :=
66
- 配列。主キーの存在しないテーブルです。レコードはIDによって
67
- 識別します。
70
+ Array. It doesn't have primary keys. It manages records by ID.
68
71
  =:
69
72
 
70
- ここではハッシュテーブルを利用して、 @Items@ という名前のテー
71
- ブルを作成します。キーは文字列とします。
73
+ Now, you use Groonga::Hash and create the table named @Items@. The type
74
+ of its primary key is String.
72
75
 
73
76
  <pre>
74
77
  !!!irb
@@ -76,9 +79,8 @@ groongaには以下の3種類のテーブルがあります。
76
79
  => [...]
77
80
  </pre>
78
81
 
79
- これで @Items@ という名前のテーブルが作成できました。
80
-
81
- 定義したテーブルはGroonga.[]で参照できます。
82
+ You have @Items@ table by this code.
83
+ You can refer the defined table with Groonga.[] like below:
82
84
 
83
85
  <pre>
84
86
  !!!irb
@@ -86,10 +88,9 @@ groongaには以下の3種類のテーブルがあります。
86
88
  => #<Groonga::Hash ...>
87
89
  </pre>
88
90
 
89
- テーブルはRubyのHashのように扱えます。
90
-
91
- 例えば、以下のように @size@ でテーブルに登録されているレコード
92
- の件数を取得できます。
91
+ You can treat it like Hash.
92
+ For example, let's type @items.size@ to get the number of records in
93
+ the table.
93
94
 
94
95
  <pre>
95
96
  !!!irb
@@ -97,19 +98,19 @@ groongaには以下の3種類のテーブルがあります。
97
98
  => 0
98
99
  </pre>
99
100
 
100
- h2. レコードを追加する
101
+ h2. Add records
101
102
 
102
- @Items@ テーブルにレコードを追加します。
103
+ Let's add records to @Items@ table.
103
104
 
104
105
  <pre>
105
106
  !!!irb
106
- >> items.add("http://ja.wikipedia.org/wiki/Ruby")
107
+ >> items.add("http://en.wikipedia.org/wiki/Ruby")
107
108
  => #<Groonga::Record ...>
108
- >> items.add("http://www.ruby-lang.org/ja/")
109
+ >> items.add("http://www.ruby-lang.org/")
109
110
  => #<Groonga::Record ...>
110
111
  </pre>
111
112
 
112
- 件数を確認すると確かに2件増えています。
113
+ Please check the number of records. It increases from 0 to 2.
113
114
 
114
115
  <pre>
115
116
  !!!irb
@@ -117,22 +118,19 @@ h2. レコードを追加する
117
118
  => 2
118
119
  </pre>
119
120
 
120
- 主キーを指定してレコードを取り出す時には以下のようにします。
121
+ If you can get record by primary key, type like below:
121
122
 
122
123
  <pre>
123
124
  !!!irb
124
- >> items["http://ja.wikipedia.org/wiki/Ruby"]
125
+ >> items["http://en.wikipedia.org/wiki/Ruby"]
125
126
  => #<Groonga::Record ...>
126
127
  </pre>
127
128
 
128
- h2. 全文検索を行う
129
+ h2. Full text search
129
130
 
130
- itemのタイトル文字列を登録して、全文検索できるようにしてみ
131
- ましょう。
131
+ Let's add item's title to full text search.
132
132
 
133
- まず @Items@ テーブルに @title@ という名前のカラムを追加し
134
- ます。ここでは、 @Text@ 型のデータを持つカラムとして定義
135
- します。
133
+ first, you add the @Text@ type column "@title@" to @Items@ table.
136
134
 
137
135
  <pre>
138
136
  !!!irb
@@ -142,8 +140,8 @@ h2. 全文検索を行う
142
140
  => [...]
143
141
  </pre>
144
142
 
145
- 定義したカラムは @#{テーブル名}.#{カラム名}@ という名前になります。
146
- テーブルと同じように {Groonga.[]} で参照できます。
143
+ Defined columns is named as @#{TABLE_NAME}.#{COLUMN_NAME}@.
144
+ You can refer them with {Groonga.[]} as same as tables.
147
145
 
148
146
  <pre>
149
147
  !!!irb
@@ -151,35 +149,33 @@ h2. 全文検索を行う
151
149
  => #<Groonga::VariableSizeColumn ...>
152
150
  </pre>
153
151
 
154
- 全文検索するために、文字列を分解して得られる各単語を格納する
155
- ためのテーブルを別途用意します。ここではTermsという名前でテー
156
- ブルを定義します。
152
+
153
+ Secondly, let's add the table containing terms from splited from texts.
154
+ Then you define the @Terms@ for it.
157
155
 
158
156
  <pre>
159
157
  !!!irb
160
158
  >> Groonga::Schema.create_table("Terms",
161
159
  ?> :type => :patricia_trie,
162
- ?> :key_normalize => true,
160
+ ?> :normalizer => :NormalizerAuto,
163
161
  ?> :default_tokenizer => "TokenBigram")
164
162
  </pre>
165
163
 
166
- ここでは、トークナイザとして<tt>:default_tokenzier =>
167
- "TokenBigram"</tt> を指定しています。トークナイザとは文字列を
168
- 単語に分解するオブジェクトのことです。デフォルトではトークナ
169
- イザは指定されていません。全文検索を利用するためにはトークナ
170
- イザを指定する必要があるので、ここではN-gramの一種であるバイ
171
- グラムを指定しています。
164
+ You specify @:default_tokenzier => "TokenBigram"@ for "Tokenizer" in
165
+ the above code.
166
+ "Tokenizer" is the object to split terms from texts. The default value
167
+ for it is none.
168
+ Full text search requires a tokenizer, so you specify "Bigram", a type
169
+ of N-gram.
170
+ Full text search with N-gram uses splited N characters and their
171
+ position in texts. "N" in N-gram specifies the number of each terms.
172
+ Groonga supports Unigram (N=1), Bigram (N=2) and Trigram (N=3).
172
173
 
173
- N-gramを利用した全文検索では、分解したN文字とその出現位置を利
174
- 用して全文検索を行います。N-gramのNは文字列を何文字毎に分解す
175
- るかの文字数になります。groongaは1文字で分解するユニグラム、
176
- 2文字のバイグラム、3文字のトリグラムをサポートしています。
174
+ You also specify @:normalizer => :NormalizerAuto@ to search texts with
175
+ ignoring the case.
177
176
 
178
- また、大文字小文字の区別なく検索するために
179
- @:key_normalize => true@ も指定しています。
180
-
181
- 単語格納用テーブルの準備ができたので、 @Items@ テーブ
182
- ルの @title@ カラムに対するインデックスを定義します。
177
+ Now, you ready table for terms, so you define the index of
178
+ @Items.tiltle@ column.
183
179
 
184
180
  <pre>
185
181
  !!!irb
@@ -189,74 +185,67 @@ N-gramを利用した全文検索では、分解したN文字とその出現位
189
185
  => [...]
190
186
  </pre>
191
187
 
192
- 少し違和感を感じるかも知れませんが、 @Items@ テーブル
193
- のカラムに対するインデックスは、 @Terms@ テーブルのカ
194
- ラムとして定義します。
188
+ You may feel a few unreasonable code. The index of @Items@ table's
189
+ column is defined as the column in @Terms@.
195
190
 
196
- @Items@ にレコードが登録されると、その中に含まれる単
197
- 語に該当するレコードが @Terms@ に自動的に追加されるよ
198
- うになります。
191
+ When a record is added to @Items@, groonga adds records associated
192
+ each terms in it to @Terms@ automatically.
199
193
 
200
- @Terms@ は、文書に含まれる語彙に相当する、やや特殊な
201
- テーブルだと言えます。しかし、他のテーブルと同様に語彙テーブ
202
- ルには自由にカラムを追加し、単語毎の様々な属性を管理すること
203
- ができます。これはある種の検索処理を行う際には非常に便利に機
204
- 能します。
205
194
 
206
- これでテーブルの定義は完了です。
195
+ @Terms@ is a few particular table, but you can add some columns to term
196
+ table such as @Terms@ and manage many attributes of each terms. It is
197
+ very useful to process particular search.
207
198
 
208
- 先ほど登録した各レコードの @title@ カラムに値をセットします。
199
+ Now, you finished table definition.
200
+ Let's put some values to @title@ of each record you added before.
209
201
 
210
202
  <pre>
211
203
  !!!irb
212
- >> items["http://ja.wikipedia.org/wiki/Ruby"].title = "Ruby"
204
+ >> items["http://en.wikipedia.org/wiki/Ruby"].title = "Ruby"
213
205
  => "Ruby"
214
- >> items["http://www.ruby-lang.org/ja/"].title = "オブジェクトスクリプト言語Ruby"
215
- "オブジェクトスクリプト言語Ruby"
206
+ >> items["http://www.ruby-lang.org/"].title = "Ruby Programming Language"
207
+ "Ruby Programming Language"
216
208
  </pre>
217
209
 
218
- 以下のようにして検索することができます。
210
+ Now, you can do full text search like above:
219
211
 
220
212
  <pre>
221
213
  !!!irb
222
214
  >> ruby_items = items.select {|record| record.title =~ "Ruby"}
223
- => #<Groonga::Hash ..., size: <2>>
215
+ => #<Groonga::Hash ..., normalizer: (nil)>
224
216
  </pre>
225
217
 
226
- 検索結果はGroonga::Hashで返されます。ハッシュのキーに見つかっ
227
- @Items@ のレコードが入っています。
218
+ Groonga returns the search result as Groonga::Hash.
219
+ Keys in this hash table is records of hitted @Items@.
228
220
 
229
221
  <pre>
230
222
  !!!irb
231
223
  >> ruby_items.collect {|record| record.key.key}
232
- => ["http://ja.wikipedia.org/wiki/Ruby", "http://www.ruby-lang.org/ja/"]
224
+ => ["http://en.wikipedia.org/wiki/Ruby", "http://www.ruby-lang.org/"]
233
225
  </pre>
234
226
 
235
- 上の例では @record.key@ @Items@ のレコードを取得して、
236
- さらにそのキーを指定して( @record.key.key@ )で @Items@
237
- のキーを返しています。
227
+ In above example, you get records in @Items@ with @record.key@, and
228
+ keys of them with @record.key.key@.
238
229
 
239
- @record["_key"]@ でアクセスすると自動的に参照しているレコード
240
- を辿っていき、参照先のキーにアクセスできます。
230
+ You can access a refered key in records briefly with @record["_key"]@.
241
231
 
242
232
  <pre>
243
233
  !!!irb
244
234
  >> ruby_items.collect {|record| record["_key"]}
245
- => ["http://ja.wikipedia.org/wiki/Ruby", "http://www.ruby-lang.org/ja/"]
235
+ => ["http://en.wikipedia.org/wiki/Ruby", "http://www.ruby-lang.org/"]
246
236
  </pre>
247
237
 
248
- h2. マルチユーザ向けのブックマークアプリケーション
238
+ h2. Improve the simple bookmark application
249
239
 
250
- ここまでで作った単機能のアプリケーションをもう少し拡張して、
251
- 複数のユーザが、それぞれにコメントを記入できるブックマークア
252
- プリケーションにしてみましょう。
240
+ Let's try to improve this simple application a little. You can create
241
+ bookmark application for multi users and they can comment to each
242
+ bookmarks.
253
243
 
254
- まず、ユーザ情報とコメント情報を格納するテーブルを追加して、
255
- 下図のようなテーブル構成にします。
244
+ First, you add tables for users and for comments like below:
256
245
 
257
246
  !http://qwik.jp/senna/senna2.files/rect4605.png!
258
247
 
259
- まず、 @Users@ テーブルを追加します。
248
+ Let's add the table for users, @Users@.
260
249
 
261
250
  <pre>
262
251
  !!!irb
@@ -266,7 +255,8 @@ h2. マルチユーザ向けのブックマークアプリケーション
266
255
  => [...]
267
256
  </pre>
268
257
 
269
- 次に、 @Comments@ テーブルを追加します。
258
+
259
+ Next, let's add the table for comments as @Comments@.
270
260
 
271
261
  <pre>
272
262
  !!!irb
@@ -279,8 +269,8 @@ h2. マルチユーザ向けのブックマークアプリケーション
279
269
  => [...]
280
270
  </pre>
281
271
 
282
- @Comments@ テーブルの @content@ カラムを全文検索できる
283
- ようにインデックスを定義します。
272
+ Then you define the index of @content@ column in @Comments@ for full
273
+ text search.
284
274
 
285
275
  <pre>
286
276
  !!!irb
@@ -290,46 +280,43 @@ h2. マルチユーザ向けのブックマークアプリケーション
290
280
  => [...]
291
281
  </pre>
292
282
 
293
- これでテーブルが定義できました。
283
+ You finish table definition by above code.
294
284
 
295
- 続いてユーザを何人か追加します。
285
+ Secondly, you add some users to @Users@.
296
286
 
297
287
  <pre>
298
288
  !!!irb
299
289
  >> users = Groonga["Users"]
300
290
  => #<Groonga::Hash ...>
301
- >> users.add("moritan", :name => "モリタン")
291
+ >> users.add("alice", :name => "Alice")
302
292
  => #<Groonga::Record ...>
303
- >> users.add("taporobo", :name => "タポロボ")
293
+ >> users.add("bob", :name => "Bob")
304
294
  => #<Groonga::Record ...>
305
295
  </pre>
306
296
 
307
- 次に、実際にユーザがブックマークを貼る時の処理を実行してみま
308
- しょう。
297
+ Now, let's write the process to bookmark by a user.
298
+ You assume that the user, @moritan@, bookmark a page including
299
+ infomation related Ruby.
309
300
 
310
- ユーザ @moritan@ が、Ruby関連のとあるページをブックマークしたと
311
- 想定します。
312
-
313
- まず対象のページが @Items@ テーブルに登録済かどうか調
314
- べます。
301
+ First, you check if the page has been added @Items@ already.
315
302
 
316
303
  <pre>
317
304
  !!!irb
318
- >> items.has_key?("http://www.rubyist.net/~matz/")
305
+ >> items.has_key?("http://www.ruby-doc.org/")
319
306
  => false
320
307
  </pre>
321
308
 
322
- 未登録なのでまず当該ページを @Items@ に登録します。
309
+ The page hasn't been added, so you add it to @Items@.
323
310
 
324
311
  <pre>
325
312
  !!!irb
326
- >> items.add("http://www.rubyist.net/~matz/",
327
- ?> :title => "Matzにっき")
313
+ >> items.add("http://www.ruby-doc.org/",
314
+ ?> :title => "Ruby-Doc.org: Documenting the Ruby Language")
328
315
  => #<Groonga::Record ...>
329
316
  </pre>
330
317
 
331
- 次に、登録したitemを @item@ カラムの値に指定して
332
- @Comments@ にレコードを登録します。
318
+ Next, you add the record to @Comments@. This record contains this page
319
+ as its @item@ column.
333
320
 
334
321
  <pre>
335
322
  !!!irb
@@ -337,16 +324,16 @@ h2. マルチユーザ向けのブックマークアプリケーション
337
324
  => true
338
325
  >> comments = Groonga["Comments"]
339
326
  => #<Groonga::Array ...>
340
- >> comments.add(:item => "http://www.rubyist.net/~matz/",
341
- ?> :author => "moritan",
342
- ?> :content => "Ruby Matz",
327
+ >> comments.add(:item => "http://www.ruby-doc.org/",
328
+ ?> :author => "alice",
329
+ ?> :content => "Ruby documents",
343
330
  ?> :issued => Time.parse("2010-11-20T18:01:22+09:00"))
344
331
  => #<Groonga::Record ...>
345
332
  </pre>
346
333
 
347
- h2. メソッド化
334
+ h2. Define methods for this process
348
335
 
349
- 上記の一連の手続きをメソッドにまとめてみます。
336
+ For usefull, you define methods for above processes.
350
337
 
351
338
  <pre>
352
339
  !!!irb
@@ -364,38 +351,37 @@ h2. メソッド化
364
351
  => nil
365
352
  </pre>
366
353
 
367
- @items@ @comments@ をインスタンス変数に代入しているのはメ
368
- ソッド内からでも見えるようにするためです。
354
+ You assign @items@ and @comments@ to each instance variable, so you can
355
+ use them in @add_bookmark@ method.
369
356
 
370
- @add_bookmark@ は以下のような手順を実行しています。
357
+ @add_bookmark@ executes processes like below:
371
358
 
372
- * @Items@ テーブルに該当ページのレコードがあるかどうか調べる。
373
- * レコードがなければ追加する。
374
- * @Comments@ テーブルにレコードを登録する。
359
+ * Check if the record associated the page exists in @Items@ table.
360
+ * If not, add the record to it.
361
+ * Add the record to @Comments@ table.
375
362
 
376
- 作成したメソッドを呼び出していくつかブックマークを登録してみ
377
- ましょう。
363
+ With this method, lets bookmark some pages.
378
364
 
379
365
  <pre>
380
366
  !!!irb
381
- >> add_bookmark("http://jp.rubyist.net/magazine/",
382
- ?> "Rubyist Magazine - るびま", "moritan", "Ruby 記事",
367
+ >> add_bookmark("https://rubygems.org/",
368
+ ?> "RubyGems.org | your community gem host", "alice", "Ruby gems",
383
369
  ?> Time.parse("2010-10-07T14:18:28+09:00"))
384
370
  => #<Groonga::Record ...>
385
- >> add_bookmark("http://groonga.rubyforge.org/",
386
- ?> "Rubygroonga使って全文検索 - ラングバ", "taporobo",
387
- ?> "Ruby groonga 全文検索",
371
+ >> add_bookmark("http://ranguba.org/",
372
+ ?> "Fulltext search by Ruby with groonga - Ranguba", "bob",
373
+ ?> "Ruby groonga fulltextsearch",
388
374
  ?> Time.parse("2010-11-11T12:39:59+09:00"))
389
375
  => #<Groonga::Record ...>
390
- >> add_bookmark("http://www.rubyist.net/~matz/",
391
- ?> "Matz日記", "taporobo", "Ruby 日記",
376
+ >> add_bookmark("http://www.ruby-doc.org/",
377
+ ?> "ruby-doc", "bob", "ruby documents",
392
378
  ?> Time.parse("2010-07-28T20:46:23+09:00"))
393
379
  => #<Groonga::Record ...>
394
380
  </pre>
395
381
 
396
- h2. 全文検索その2
382
+ h2. Full text search part 2
397
383
 
398
- 登録したレコードに対して全文検索を実行してみます。
384
+ Let's do full text search for added records.
399
385
 
400
386
  <pre>
401
387
  !!!irb
@@ -404,28 +390,26 @@ h2. 全文検索その2
404
390
  >> end
405
391
  => #<Groonga::Hash ...>
406
392
  >> records.each do |record|
407
- ?> comment = record.value
393
+ ?> comment = record
408
394
  >> p [comment.id,
409
395
  ?> comment.issued,
410
396
  ?> comment.item.title,
411
397
  ?> comment.author.name,
412
398
  ?> comment.content]
413
399
  >> end
414
- [1, Sat Nov 20 18:01:22 +0900 2010, "Matzにっき", "モリタン", "Ruby Matz"]
415
- [2, Thu Oct 07 14:18:28 +0900 2010, "Rubyist Magazine - るびま", "モリタン", "Ruby 記事"]
416
- [3, Thu Nov 11 12:39:59 +0900 2010, "Rubygroonga使って全文検索 - ラングバ", "タポロボ", "Ruby groonga 全文検索検"]
417
- [4, Wed Jul 28 20:46:23 +0900 2010, "Matzにっき", "タポロボ", "Ruby 日記"]
400
+ [1, 2010-11-20 18:01:22 +0900, "Ruby-Doc.org: Documenting the Ruby Language", "Alice", "Ruby documents"]
401
+ [2, 2010-10-07 14:18:28 +0900, "RubyGems.org | your community gem host", "Alice", "Ruby gems"]
402
+ [3, 2010-11-11 12:39:59 +0900, "Fulltext search by Ruby with groonga - Ranguba", "Bob", "Ruby groonga fulltextsearch"]
403
+ [4, 2010-07-28 20:46:23 +0900, "Ruby-Doc.org: Documenting the Ruby Language", "Bob", "ruby documents"]
418
404
  </pre>
419
405
 
420
- カラム名と同じメソッドでカラムへのアクセスできます。複合デー
421
- タ型の要素も再帰的に辿ることができます。(同様の出力を普通の
422
- RDBで実現するためには、 @Items@ テーブル、
423
- @Comments@ テーブル、 @Users@ テーブルのJOIN操作が
424
- 必要になります。)
406
+ You can access the columns with the same name method as each them.
407
+ These methods suport to access the complex data type.
408
+ (In usually RDB, you should namage JOIN tables, @Items@, @Comments@,
409
+ @Users@.)
425
410
 
426
- 上の式の中で、肝心の検索処理は、第一引数の式を評価する時点で
427
- 完了していて、レコードセットオブジェクトとしてメモリに蓄積さ
428
- れています。
411
+ The search is finished when the first sentence in this codes. The
412
+ results of this search is the object as records set.
429
413
 
430
414
  <pre>
431
415
  !!!irb
@@ -433,29 +417,27 @@ RDBで実現するためには、 @Items@ テーブル、
433
417
  #<Groonga::Hash ..., size: <4>>
434
418
  </pre>
435
419
 
436
- レコードセットは、出力する前に様々に加工することができます。
437
-
438
- 以下は、日付で降順にソートしてから出力した例です。
420
+ You can arrange this records set before output.
421
+ For example, sort these records in the descending order by date.
439
422
 
440
423
  <pre>
441
424
  !!!irb
442
425
  >> records.sort([{:key => "issued", :order => "descending"}]).each do |record|
443
- ?> comment = record.key
426
+ ?> comment = record
444
427
  >> p [comment.id,
445
428
  ?> comment.issued,
446
429
  ?> comment.item.title,
447
430
  ?> comment.author.name,
448
431
  ?> comment.content]
449
432
  >> end
450
- [1, Sat Nov 20 18:01:22 +0900 2010, "Matzにっき", "モリタン", "Ruby Matz"]
451
- [3, Thu Nov 11 12:39:59 +0900 2010, "Rubygroonga使って全文検索 - ラングバ", "タポロボ", "Ruby groonga 全文検索"]
452
- [2, Thu Oct 07 14:18:28 +0900 2010, "Rubyist Magazine - るびま", "モリタン", "Ruby 記事"]
453
- [4, Wed Jul 28 20:46:23 +0900 2010, "Matzにっき, "タポロボ", "Ruby 日記"]
433
+ [1, 2010-11-20 18:01:22 +0900, "Ruby-Doc.org: Documenting the Ruby Language", "Alice", "Ruby documents"]
434
+ [2, 2010-11-11 12:39:59 +0900, "Fulltext search by Ruby with groonga - Ranguba", "Bob", "Ruby groonga fulltextsearch"]
435
+ [3, 2010-10-07 14:18:28 +0900, "RubyGems.org | your community gem host", "Alice", "Ruby gems"]
436
+ [4, 2010-07-28 20:46:23 +0900, "Ruby-Doc.org: Documenting the Ruby Language", "Bob", "ruby documents"]
454
437
  => [...]
455
438
  </pre>
456
439
 
457
- 同じitemが何度も出てくると検索結果が見にくいので、item毎にグ
458
- ループ化してみます。
440
+ Let's group the result by each item for easy view.
459
441
 
460
442
  <pre>
461
443
  !!!irb
@@ -465,42 +447,37 @@ RDBで実現するためには、 @Items@ テーブル、
465
447
  ?> item.key,
466
448
  ?> item.title]
467
449
  >> end
468
- [2, "http://www.rubyist.net/~matz/", "Matzにっき"]
469
- [1, "http://jp.rubyist.net/magazine/", "Rubyist Magazine - るびま"]
470
- [1, "http://groonga.rubyforge.org/", "Rubygroonga使って全文検索 - ラングバ"]
450
+ [2, "http://www.ruby-doc.org/", "Ruby-Doc.org: Documenting the Ruby Language"]
451
+ [1, "https://rubygems.org/", "RubyGems.org | your community gem host"]
452
+ [1, "http://ranguba.org/", "Fulltext search by Ruby with groonga - Ranguba"]
471
453
  => nil
472
454
  </pre>
473
455
 
474
- @n_sub_records@ というのはグループ化した単位に含まれるレコード
475
- の件数を示します。SQLで言えば、GROUP BY句を含むクエリのcount
476
- 関数のような働きです。
456
+ @n_sub_records@ is the number of records in each group.
457
+ It is similar value as count() function of a query including "GROUP
458
+ BY" in SQL.
477
459
 
478
- h2. 少し複雑な検索
460
+ h2. more complex search
479
461
 
480
- さらに実用的な検索について考えてみましょう。
462
+ Now, you challenge the more useful search.
481
463
 
482
- ブックマークが大量に蓄積されるに従って、より的確に適合度を算
483
- 出する必要性に迫られます。
464
+ You should calcurate goodness of fit of search explicitly.
484
465
 
485
- 今のところ検索対象として利用できるのは @Items.title@
486
- @Comments.content@ ですが、 @Items.title@
487
- 元ページから得られるやや信頼できる情報なのに対して、
488
- @Comments.content@ はブックマークユーザが任意に設定で
489
- きる情報で、やや信憑性に乏しいと言えます。しかし、再現率を確
490
- 保するためにはユーザのコメントも是非対象に含めたいところです。
466
+ You can use @Items.title@ and @Comments.content@ as search targets now.
467
+ @Items.title@ is the a few reliable information taken from each
468
+ original pages. On the other hands, @Comments.content@ is the less
469
+ reliable information because this depends on users of bookmark
470
+ application.
491
471
 
492
- そこで、以下のようなポリシーで検索を行うことにします。
472
+ Then, you search records with this policy:
493
473
 
494
- * @Items.title@ @Comments.content@ のいずれ
495
- かにマッチするitemを検索する。
496
- * ただし、 @Items.title@ にマッチしたレコードはスコア
497
- を10倍重み付けする。
498
- * 同一のitemに対して、キーワードにマッチする @comment@
499
- が複数存在した場合は、それぞれの @comment@ のスコアの
500
- 和を、該当するitemのスコアとする。
474
+ * Search item matched @Items.title@ or @Comments.content@.
475
+ * Add 10 times heavier weight to socres of each record matched
476
+ @Items.title@ than ones of @Comments.comment@.
477
+ * If multi @comment@ of one item are matched keyword, specify the sum
478
+ of scores of each @coments@ as score of the item.
501
479
 
502
- 以下のようにして、commentとitemとそれぞれに対する検索結果を求
503
- めます。
480
+ On this policy, you try to type below:
504
481
 
505
482
  <pre>
506
483
  !!!irb
@@ -515,8 +492,8 @@ h2. 少し複雑な検索
515
492
  #<Groonga::Hash ..., size: <4>>
516
493
  </pre>
517
494
 
518
- _ruby_comments_の結果をitem毎にグループ化し、_ruby_items_と
519
- unionして出力します。
495
+ You group the results of _ruby_comments_ in each item and union
496
+ _ruby_items_ .
520
497
 
521
498
  <pre>
522
499
  !!!irb
@@ -525,11 +502,11 @@ unionして出力します。
525
502
  >> ruby_items.sort([{:key => "_score", :order => "descending"}]).each do |record|
526
503
  >> p [record.score, record.title]
527
504
  >> end
528
- [10, "Rubyist Magazine - るびま"]
505
+ [22, "Ruby-Doc.org: Documenting the Ruby Language"]
506
+ [11, "Fulltext search by Ruby with groonga - Ranguba"]
507
+ [10, "Ruby Programming Language"]
529
508
  [10, "Ruby"]
530
- [10, "Rubyでgroonga使って全文検索 - ラングバ"]
531
- [10, "オブジェクトスクリプト言語Ruby"]
532
- [2, "Matzにっき"]
509
+ [1, "RubyGems.org | your community gem host"]
533
510
  </pre>
534
511
 
535
- これで目的の結果が得られました。
512
+ Then, you get the result.