rroonga 2.0.4-x86-mingw32 → 2.0.7-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 (887) hide show
  1. data/Rakefile +29 -2
  2. data/bin/grndump +3 -2
  3. data/ext/groonga/extconf.rb +37 -10
  4. data/ext/groonga/rb-grn-accessor.c +8 -10
  5. data/ext/groonga/rb-grn-array-cursor.c +2 -2
  6. data/ext/groonga/rb-grn-array.c +39 -36
  7. data/ext/groonga/rb-grn-column.c +185 -200
  8. data/ext/groonga/rb-grn-context.c +104 -93
  9. data/ext/groonga/rb-grn-database.c +116 -114
  10. data/ext/groonga/rb-grn-double-array-trie-cursor.c +3 -3
  11. data/ext/groonga/rb-grn-double-array-trie.c +159 -168
  12. data/ext/groonga/rb-grn-encoding-support.c +2 -3
  13. data/ext/groonga/rb-grn-encoding.c +39 -34
  14. data/ext/groonga/rb-grn-exception.c +1 -1
  15. data/ext/groonga/rb-grn-expression.c +141 -159
  16. data/ext/groonga/rb-grn-fix-size-column.c +12 -13
  17. data/ext/groonga/rb-grn-geo-point.c +55 -0
  18. data/ext/groonga/rb-grn-hash-cursor.c +3 -3
  19. data/ext/groonga/rb-grn-hash.c +73 -86
  20. data/ext/groonga/rb-grn-index-column.c +80 -90
  21. data/ext/groonga/rb-grn-index-cursor.c +48 -15
  22. data/ext/groonga/rb-grn-logger.c +42 -63
  23. data/ext/groonga/rb-grn-object.c +73 -100
  24. data/ext/groonga/rb-grn-operator.c +1 -1
  25. data/ext/groonga/rb-grn-patricia-trie-cursor.c +2 -2
  26. data/ext/groonga/rb-grn-patricia-trie.c +200 -260
  27. data/ext/groonga/rb-grn-plugin.c +17 -24
  28. data/ext/groonga/rb-grn-posting.c +6 -1
  29. data/ext/groonga/rb-grn-snippet.c +37 -54
  30. data/ext/groonga/rb-grn-table-cursor-key-support.c +3 -3
  31. data/ext/groonga/rb-grn-table-cursor.c +21 -26
  32. data/ext/groonga/rb-grn-table-key-support.c +53 -63
  33. data/ext/groonga/rb-grn-table.c +366 -393
  34. data/ext/groonga/rb-grn-type.c +122 -26
  35. data/ext/groonga/rb-grn-utils.c +77 -7
  36. data/ext/groonga/rb-grn-variable-size-column.c +12 -20
  37. data/ext/groonga/rb-grn-variable.c +6 -7
  38. data/ext/groonga/rb-grn-view-accessor.c +1 -1
  39. data/ext/groonga/rb-grn-view-cursor.c +2 -2
  40. data/ext/groonga/rb-grn-view.c +46 -58
  41. data/ext/groonga/rb-grn.h +36 -4
  42. data/ext/groonga/rb-groonga.c +7 -6
  43. data/lib/1.8/groonga.so +0 -0
  44. data/lib/1.9/groonga.so +0 -0
  45. data/lib/groonga/command.rb +3 -1
  46. data/lib/groonga/database.rb +27 -0
  47. data/lib/groonga/dumper.rb +201 -46
  48. data/lib/groonga/expression-builder.rb +24 -0
  49. data/lib/groonga/geo-point.rb +216 -0
  50. data/lib/groonga/pagination.rb +30 -24
  51. data/lib/groonga/posting.rb +29 -1
  52. data/lib/groonga/record.rb +21 -18
  53. data/lib/groonga/schema.rb +185 -186
  54. data/lib/groonga.rb +3 -1
  55. data/rroonga-build.rb +1 -1
  56. data/rroonga.gemspec +90 -0
  57. data/test/groonga-test-utils.rb +168 -0
  58. data/test/run-test.rb +60 -0
  59. data/test/test-accessor.rb +36 -0
  60. data/test/test-array.rb +146 -0
  61. data/test/test-column.rb +350 -0
  62. data/test/test-command-select.rb +246 -0
  63. data/test/test-context.rb +130 -0
  64. data/test/test-database-dumper.rb +299 -0
  65. data/test/test-database.rb +173 -0
  66. data/test/test-double-array-trie.rb +189 -0
  67. data/test/test-encoding.rb +33 -0
  68. data/test/test-exception.rb +230 -0
  69. data/test/test-expression-builder.rb +643 -0
  70. data/test/test-expression.rb +134 -0
  71. data/test/test-fix-size-column.rb +77 -0
  72. data/test/test-geo-point.rb +190 -0
  73. data/test/test-gqtp.rb +70 -0
  74. data/test/test-hash.rb +367 -0
  75. data/test/test-index-column.rb +180 -0
  76. data/test/test-index-cursor.rb +149 -0
  77. data/test/test-logger.rb +37 -0
  78. data/test/test-pagination.rb +249 -0
  79. data/test/test-patricia-trie.rb +440 -0
  80. data/test/test-plugin.rb +35 -0
  81. data/test/test-procedure.rb +37 -0
  82. data/test/test-record.rb +577 -0
  83. data/test/test-remote.rb +63 -0
  84. data/test/test-schema-create-table.rb +267 -0
  85. data/test/test-schema-dumper.rb +235 -0
  86. data/test/test-schema-type.rb +208 -0
  87. data/test/test-schema-view.rb +90 -0
  88. data/test/test-schema.rb +886 -0
  89. data/test/test-snippet.rb +130 -0
  90. data/test/test-table-dumper.rb +353 -0
  91. data/test/test-table-offset-and-limit.rb +100 -0
  92. data/test/test-table-select-mecab.rb +80 -0
  93. data/test/test-table-select-normalize.rb +57 -0
  94. data/test/test-table-select-weight.rb +123 -0
  95. data/test/test-table-select.rb +191 -0
  96. data/test/test-table-traverse.rb +304 -0
  97. data/test/test-table.rb +711 -0
  98. data/test/test-type.rb +136 -0
  99. data/test/test-variable-size-column.rb +147 -0
  100. data/test/test-variable.rb +28 -0
  101. data/test/test-vector-column.rb +76 -0
  102. data/test/test-version.rb +61 -0
  103. data/test/test-view.rb +72 -0
  104. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  105. data/vendor/local/bin/groonga.exe +0 -0
  106. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  107. data/vendor/local/bin/libgroonga-0.dll +0 -0
  108. data/vendor/local/bin/libmecab-1.dll +0 -0
  109. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  110. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  111. data/vendor/local/bin/libstdc++-6.dll +0 -0
  112. data/vendor/local/bin/mecab-config +2 -2
  113. data/vendor/local/bin/mecab.exe +0 -0
  114. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +49 -0
  115. data/vendor/local/include/groonga/groonga/plugin.h +1 -1
  116. data/vendor/local/include/groonga/groonga.h +83 -7
  117. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  118. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  119. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  120. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  121. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  122. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  123. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  124. data/vendor/local/lib/groonga/plugins/table/table.la +41 -0
  125. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  126. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  127. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  128. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  129. data/vendor/local/lib/libgroonga.a +0 -0
  130. data/vendor/local/lib/libgroonga.dll.a +0 -0
  131. data/vendor/local/lib/libgroonga.la +3 -3
  132. data/vendor/local/lib/libmecab.a +0 -0
  133. data/vendor/local/lib/libmecab.dll.a +0 -0
  134. data/vendor/local/lib/libmecab.la +1 -1
  135. data/vendor/local/lib/libmsgpack.a +0 -0
  136. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  137. data/vendor/local/lib/libmsgpack.la +2 -2
  138. data/vendor/local/lib/libmsgpackc.a +0 -0
  139. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  140. data/vendor/local/lib/libmsgpackc.la +2 -2
  141. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  142. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  143. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  144. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  145. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  146. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  147. data/vendor/local/sbin/groonga-httpd-restart +64 -0
  148. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +17 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +638 -0
  151. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +21 -6
  152. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -1
  153. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +61 -0
  154. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +15 -0
  155. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -0
  156. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +131 -0
  157. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +136 -0
  158. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +72 -0
  159. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +53 -0
  160. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +267 -0
  161. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +43 -0
  162. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +196 -0
  163. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +77 -0
  164. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +21 -346
  165. data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +3 -3
  166. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +16 -16
  167. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
  168. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +17 -17
  169. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +235 -4
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +8 -0
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -0
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +8 -0
  173. data/vendor/local/share/doc/groonga/en/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
  174. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
  175. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/check.txt +0 -0
  176. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
  177. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
  178. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
  179. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
  180. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/define_selector.txt +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
  182. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/delete.txt +0 -0
  183. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/dump.txt +0 -0
  184. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/load.txt +1 -1
  185. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
  186. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
  187. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/quit.txt +0 -0
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +892 -0
  190. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
  191. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/status.txt +5 -6
  192. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/suggest.txt +8 -8
  193. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
  194. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_list.txt +3 -26
  195. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_remove.txt +3 -3
  196. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
  197. data/vendor/local/share/doc/groonga/en/html/_sources/{commands.txt → reference/commands.txt} +0 -0
  198. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/add.txt +0 -0
  199. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/get.txt +0 -0
  200. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/set.txt +0 -0
  201. data/vendor/local/share/doc/groonga/en/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
  202. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/grntest.txt +1 -1
  203. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +209 -0
  204. data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/groonga-http.txt → en/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
  205. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
  206. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/executables/groonga.txt +4 -4
  207. data/vendor/local/share/doc/groonga/en/html/_sources/{executables.txt → reference/executables.txt} +0 -0
  208. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
  209. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +284 -0
  210. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
  211. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  212. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/now.txt +0 -0
  213. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/rand.txt +0 -0
  214. data/vendor/local/share/doc/groonga/en/html/_sources/{functions.txt → reference/functions.txt} +0 -0
  215. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
  216. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
  217. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +59 -0
  218. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/indexing.txt +7 -7
  219. data/vendor/local/share/doc/groonga/en/html/_sources/{log.txt → reference/log.txt} +0 -0
  220. data/vendor/local/share/doc/groonga/en/html/_sources/{output.txt → reference/output.txt} +0 -0
  221. data/vendor/local/share/doc/groonga/en/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  222. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +8 -0
  223. data/vendor/local/share/doc/groonga/en/html/_sources/{type.txt → reference/type.txt} +4 -4
  224. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +12 -9
  225. data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +16 -0
  226. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +288 -0
  227. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +8 -0
  228. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +8 -0
  229. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +29 -0
  230. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +12 -0
  231. data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
  232. data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +2 -2
  233. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +1 -1
  234. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +2 -2
  235. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -0
  236. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +1 -1
  237. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  238. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +11 -11
  239. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +23 -23
  240. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +3 -1
  241. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
  242. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +8 -6
  243. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
  244. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -3
  245. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -154
  246. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +29 -21
  247. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/community.html +25 -10
  249. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
  250. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
  251. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +67 -67
  252. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +742 -0
  253. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +47 -47
  254. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -22
  255. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
  256. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +38 -38
  257. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -19
  258. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +46 -21
  259. data/vendor/local/share/doc/groonga/en/html/contribution.html +85 -50
  260. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +191 -0
  261. data/vendor/local/share/doc/groonga/en/html/{executables.html → development.html} +27 -28
  262. data/vendor/local/share/doc/groonga/en/html/genindex.html +61 -61
  263. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +10 -10
  264. data/vendor/local/share/doc/groonga/en/html/index.html +167 -108
  265. data/vendor/local/share/doc/groonga/en/html/install/centos.html +251 -0
  266. data/vendor/local/share/doc/groonga/en/html/install/debian.html +260 -0
  267. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +202 -0
  268. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +186 -0
  269. data/vendor/local/share/doc/groonga/en/html/install/others.html +394 -0
  270. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +171 -0
  271. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +321 -0
  272. data/vendor/local/share/doc/groonga/en/html/install/windows.html +200 -0
  273. data/vendor/local/share/doc/groonga/en/html/install.html +91 -349
  274. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
  275. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -8
  276. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -21
  277. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
  278. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +23 -23
  279. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/news.html +301 -37
  281. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  282. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +111 -0
  283. data/vendor/local/share/doc/groonga/en/html/reference/api.html +134 -0
  284. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +111 -0
  285. data/vendor/local/share/doc/groonga/en/html/{command_version.html → reference/command_version.html} +44 -44
  286. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/cache_limit.html +48 -48
  287. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/check.html +48 -48
  288. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/clearlock.html +48 -48
  289. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_create.html +48 -48
  290. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_list.html +48 -48
  291. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_remove.html +48 -48
  292. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/define_selector.html +51 -51
  293. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/defrag.html +48 -48
  294. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/delete.html +48 -48
  295. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/dump.html +46 -46
  296. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/load.html +51 -51
  297. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_level.html +50 -50
  298. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_put.html +50 -50
  299. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_reopen.html +52 -52
  300. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/quit.html +46 -46
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +2340 -0
  302. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/shutdown.html +46 -46
  303. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/status.html +67 -51
  304. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/suggest.html +246 -246
  305. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_create.html +48 -48
  306. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_list.html +140 -72
  307. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_remove.html +51 -51
  308. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/view_add.html +48 -48
  309. data/vendor/local/share/doc/groonga/en/html/{commands.html → reference/commands.html} +55 -55
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +201 -0
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +182 -0
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +203 -0
  313. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grnslap.html +46 -46
  314. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grntest.html +62 -62
  315. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +367 -0
  316. data/vendor/local/share/doc/groonga/en/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +46 -46
  317. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga-suggest-create-dataset.html +53 -53
  318. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga.html +54 -54
  319. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +144 -0
  320. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/edit_distance.html +46 -46
  321. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +551 -0
  322. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_circle.html +46 -46
  323. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_rectangle.html +46 -46
  324. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/now.html +44 -44
  325. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/rand.html +46 -46
  326. data/vendor/local/share/doc/groonga/en/html/reference/functions.html +143 -0
  327. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +1365 -0
  328. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +1977 -0
  329. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +192 -0
  330. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +318 -0
  331. data/vendor/local/share/doc/groonga/en/html/{log.html → reference/log.html} +42 -42
  332. data/vendor/local/share/doc/groonga/en/html/{output.html → reference/output.html} +39 -39
  333. data/vendor/local/share/doc/groonga/en/html/{pseudo_column.html → reference/pseudo_column.html} +38 -38
  334. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +134 -0
  335. data/vendor/local/share/doc/groonga/en/html/{type.html → reference/type.html} +45 -45
  336. data/vendor/local/share/doc/groonga/en/html/reference.html +84 -76
  337. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  339. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +135 -0
  340. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +452 -0
  341. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +136 -0
  342. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +136 -0
  343. data/vendor/local/share/doc/groonga/en/html/server/http.html +168 -0
  344. data/vendor/local/share/doc/groonga/en/html/{functions.html → server.html} +26 -28
  345. data/vendor/local/share/doc/groonga/en/html/spec/search.html +30 -30
  346. data/vendor/local/share/doc/groonga/en/html/spec.html +18 -20
  347. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +35 -35
  348. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +36 -36
  349. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +13 -11
  350. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +39 -39
  351. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  352. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  353. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
  354. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
  355. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +340 -340
  356. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +452 -36
  357. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +382 -382
  358. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +755 -79
  359. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  360. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +311 -311
  361. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +561 -535
  362. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +107 -107
  363. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +145 -143
  364. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +176 -176
  365. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +415 -34
  366. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +17 -0
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +638 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +21 -6
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +61 -0
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +15 -0
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +131 -0
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +136 -0
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +72 -0
  378. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +53 -0
  379. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +267 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +43 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +196 -0
  382. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +77 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +21 -346
  384. data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +3 -3
  385. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +16 -16
  386. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
  387. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +17 -17
  388. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +235 -4
  389. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +8 -0
  390. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -0
  391. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +8 -0
  392. data/vendor/local/share/doc/groonga/ja/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
  393. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
  394. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/check.txt +0 -0
  395. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
  396. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
  397. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
  398. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
  399. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/commands/define_selector.txt +1 -1
  400. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
  401. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/delete.txt +0 -0
  402. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/dump.txt +0 -0
  403. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/load.txt +1 -1
  404. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
  405. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
  406. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
  407. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/quit.txt +0 -0
  408. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +892 -0
  409. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
  410. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/status.txt +5 -6
  411. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/suggest.txt +8 -8
  412. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
  413. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_list.txt +3 -26
  414. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_remove.txt +3 -3
  415. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
  416. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands.txt → reference/commands.txt} +0 -0
  417. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +104 -0
  418. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +80 -0
  419. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +105 -0
  420. data/vendor/local/share/doc/groonga/ja/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
  421. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/grntest.txt +1 -1
  422. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +209 -0
  423. data/vendor/local/share/doc/groonga/{source/executables/groonga-http.txt → ja/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
  424. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
  425. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga.txt +4 -4
  426. data/vendor/local/share/doc/groonga/ja/html/_sources/{executables.txt → reference/executables.txt} +0 -0
  427. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
  428. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +284 -0
  429. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
  430. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  431. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/now.txt +0 -0
  432. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/rand.txt +0 -0
  433. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions.txt → reference/functions.txt} +0 -0
  434. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
  435. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
  436. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +59 -0
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/{indexing.txt → reference/indexing.txt} +7 -7
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/{log.txt → reference/log.txt} +0 -0
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/{output.txt → reference/output.txt} +0 -0
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +8 -0
  442. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/type.txt +4 -4
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +12 -9
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +16 -0
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +288 -0
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +8 -0
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +8 -0
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +29 -0
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +12 -0
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +2 -2
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +1 -1
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +2 -2
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -0
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +1 -1
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +11 -11
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +23 -23
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +3 -1
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +8 -6
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -3
  464. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -154
  465. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +29 -21
  466. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  467. data/vendor/local/share/doc/groonga/ja/html/community.html +22 -10
  468. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
  469. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +30 -30
  470. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +67 -67
  471. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +743 -0
  472. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +47 -47
  473. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +23 -22
  474. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
  475. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +38 -38
  476. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -19
  477. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +41 -17
  478. data/vendor/local/share/doc/groonga/ja/html/contribution.html +85 -50
  479. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +180 -0
  480. data/vendor/local/share/doc/groonga/ja/html/{executables.html → development.html} +25 -28
  481. data/vendor/local/share/doc/groonga/ja/html/genindex.html +61 -61
  482. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +10 -10
  483. data/vendor/local/share/doc/groonga/ja/html/index.html +167 -108
  484. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +236 -0
  485. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +250 -0
  486. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +190 -0
  487. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +182 -0
  488. data/vendor/local/share/doc/groonga/ja/html/install/others.html +348 -0
  489. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +168 -0
  490. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +309 -0
  491. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +186 -0
  492. data/vendor/local/share/doc/groonga/ja/html/install.html +83 -340
  493. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
  494. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -8
  495. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -21
  496. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  497. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +23 -23
  498. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/news.html +273 -40
  500. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  501. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +112 -0
  502. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +135 -0
  503. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +112 -0
  504. data/vendor/local/share/doc/groonga/ja/html/{command_version.html → reference/command_version.html} +45 -45
  505. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/cache_limit.html +49 -49
  506. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/check.html +49 -49
  507. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/clearlock.html +49 -49
  508. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_create.html +49 -49
  509. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_list.html +49 -49
  510. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_remove.html +49 -49
  511. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/define_selector.html +52 -52
  512. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/defrag.html +49 -49
  513. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/delete.html +49 -49
  514. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/dump.html +47 -47
  515. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/load.html +52 -52
  516. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_level.html +51 -51
  517. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_put.html +51 -51
  518. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_reopen.html +53 -53
  519. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/quit.html +47 -47
  520. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2134 -0
  521. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/shutdown.html +47 -47
  522. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/status.html +68 -52
  523. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/suggest.html +254 -254
  524. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_create.html +49 -49
  525. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_list.html +141 -73
  526. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_remove.html +52 -52
  527. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/view_add.html +49 -49
  528. data/vendor/local/share/doc/groonga/ja/html/{commands.html → reference/commands.html} +56 -56
  529. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +202 -0
  530. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +183 -0
  531. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +204 -0
  532. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grnslap.html +47 -47
  533. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grntest.html +63 -63
  534. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +339 -0
  535. data/vendor/local/share/doc/groonga/ja/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +47 -47
  536. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +187 -0
  537. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/groonga.html +55 -55
  538. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +145 -0
  539. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/edit_distance.html +47 -47
  540. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +510 -0
  541. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_circle.html +47 -47
  542. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_rectangle.html +47 -47
  543. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/now.html +45 -45
  544. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/rand.html +47 -47
  545. data/vendor/local/share/doc/groonga/ja/html/reference/functions.html +144 -0
  546. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +1210 -0
  547. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +1819 -0
  548. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +169 -0
  549. data/vendor/local/share/doc/groonga/ja/html/{indexing.html → reference/indexing.html} +147 -147
  550. data/vendor/local/share/doc/groonga/ja/html/{log.html → reference/log.html} +55 -55
  551. data/vendor/local/share/doc/groonga/ja/html/{output.html → reference/output.html} +40 -40
  552. data/vendor/local/share/doc/groonga/ja/html/{pseudo_column.html → reference/pseudo_column.html} +39 -39
  553. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +135 -0
  554. data/vendor/local/share/doc/groonga/ja/html/{type.html → reference/type.html} +48 -48
  555. data/vendor/local/share/doc/groonga/ja/html/reference.html +84 -76
  556. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  557. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  558. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +136 -0
  559. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +406 -0
  560. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +137 -0
  561. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +137 -0
  562. data/vendor/local/share/doc/groonga/ja/html/server/http.html +166 -0
  563. data/vendor/local/share/doc/groonga/ja/html/{functions.html → server.html} +26 -28
  564. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +30 -30
  565. data/vendor/local/share/doc/groonga/ja/html/spec.html +18 -20
  566. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +35 -35
  567. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +36 -36
  568. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +15 -13
  569. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +39 -39
  570. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
  573. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
  574. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +339 -339
  575. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +452 -36
  576. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +382 -382
  577. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +756 -80
  578. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +311 -311
  580. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +561 -535
  581. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +108 -108
  582. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +145 -143
  583. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +176 -176
  584. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +415 -34
  585. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  586. data/vendor/local/share/doc/groonga/source/community.txt +17 -0
  587. data/vendor/local/share/doc/groonga/source/conf.py +3 -16
  588. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +638 -0
  589. data/vendor/local/share/doc/groonga/source/contribution/report.txt +21 -6
  590. data/vendor/local/share/doc/groonga/source/contribution.txt +0 -1
  591. data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +61 -0
  592. data/vendor/local/share/doc/groonga/source/development.txt +15 -0
  593. data/vendor/local/share/doc/groonga/source/example/completion-1.log +29 -30
  594. data/vendor/local/share/doc/groonga/source/example/correction-1.log +29 -30
  595. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +41 -0
  596. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +59 -0
  597. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +65 -0
  598. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +32 -0
  599. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +35 -0
  600. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +31 -0
  601. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +35 -0
  602. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +74 -0
  603. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +35 -0
  604. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +29 -0
  605. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +29 -0
  606. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +36 -0
  607. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +31 -0
  608. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +41 -0
  609. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +41 -0
  610. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +41 -0
  611. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +52 -0
  612. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +131 -0
  613. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +12 -0
  614. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +41 -0
  615. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +59 -0
  616. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +90 -0
  617. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +41 -0
  618. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +59 -0
  619. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +47 -0
  620. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +41 -0
  621. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +47 -0
  622. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +65 -0
  623. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +65 -0
  624. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +35 -0
  625. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +65 -0
  626. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +18 -0
  627. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +33 -0
  628. data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +21 -0
  629. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +31 -0
  630. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +31 -0
  631. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +12 -0
  632. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +14 -0
  633. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +8 -0
  634. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +77 -0
  635. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +35 -0
  636. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +94 -0
  637. data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +21 -0
  638. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +16 -0
  639. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +26 -0
  640. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +15 -0
  641. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +26 -0
  642. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +26 -0
  643. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +26 -0
  644. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +13 -0
  645. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +16 -0
  646. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +33 -0
  647. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +41 -0
  648. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +47 -0
  649. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +47 -0
  650. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +41 -0
  651. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +47 -0
  652. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +92 -0
  653. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +53 -0
  654. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +59 -0
  655. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +41 -0
  656. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +41 -0
  657. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +47 -0
  658. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +59 -0
  659. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +41 -0
  660. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +41 -0
  661. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +47 -0
  662. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +51 -0
  663. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +41 -0
  664. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +59 -0
  665. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +41 -0
  666. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +41 -0
  667. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +41 -0
  668. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +53 -0
  669. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +47 -0
  670. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +41 -0
  671. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +41 -0
  672. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +47 -0
  673. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +92 -0
  674. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +41 -0
  675. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +47 -0
  676. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +41 -0
  677. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +59 -0
  678. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +47 -0
  679. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +29 -0
  680. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +41 -0
  681. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +52 -0
  682. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +59 -0
  683. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +29 -0
  684. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +35 -0
  685. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +41 -0
  686. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +29 -0
  687. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +41 -0
  688. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +51 -0
  689. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +39 -0
  690. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +41 -0
  691. data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +9 -0
  692. data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +4 -0
  693. data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +8 -0
  694. data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +8 -0
  695. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +31 -0
  696. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +35 -0
  697. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +27 -0
  698. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +33 -34
  699. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +2 -3
  700. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +44 -45
  701. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +53 -54
  702. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +43 -44
  703. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +43 -44
  704. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +43 -44
  705. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +44 -45
  706. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +52 -53
  707. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +21 -22
  708. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +76 -3
  709. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +83 -3
  710. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +111 -3
  711. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +84 -3
  712. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +72 -3
  713. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +22 -23
  714. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +103 -104
  715. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +18 -19
  716. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +82 -83
  717. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +76 -77
  718. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +37 -38
  719. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +39 -40
  720. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -1
  721. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +2 -3
  722. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +2 -3
  723. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +34 -3
  724. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +34 -3
  725. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +74 -3
  726. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +127 -7
  727. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +74 -3
  728. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +74 -3
  729. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +74 -3
  730. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +19 -3
  731. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -3
  732. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +25 -3
  733. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +31 -5
  734. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +13 -14
  735. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +74 -3
  736. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +34 -3
  737. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +34 -3
  738. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +19 -20
  739. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +135 -136
  740. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +17 -18
  741. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +135 -136
  742. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +57 -34
  743. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +96 -97
  744. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +33 -34
  745. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +33 -34
  746. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +87 -88
  747. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +33 -34
  748. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +71 -72
  749. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +52 -53
  750. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +56 -57
  751. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +35 -36
  752. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +19 -20
  753. data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -1
  754. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +82 -83
  755. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +41 -41
  756. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +98 -98
  757. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +24 -25
  758. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +68 -69
  759. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +78 -79
  760. data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +29 -3
  761. data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +82 -5
  762. data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +148 -5
  763. data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +41 -11
  764. data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +39 -3
  765. data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +39 -3
  766. data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +29 -3
  767. data/vendor/local/share/doc/groonga/source/index.txt +2 -0
  768. data/vendor/local/share/doc/groonga/source/install/centos.txt +131 -0
  769. data/vendor/local/share/doc/groonga/source/install/debian.txt +136 -0
  770. data/vendor/local/share/doc/groonga/source/install/fedora.txt +72 -0
  771. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +53 -0
  772. data/vendor/local/share/doc/groonga/source/install/others.txt +267 -0
  773. data/vendor/local/share/doc/groonga/source/install/solaris.txt +43 -0
  774. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +196 -0
  775. data/vendor/local/share/doc/groonga/source/install/windows.txt +77 -0
  776. data/vendor/local/share/doc/groonga/source/install.txt +21 -346
  777. data/vendor/local/share/doc/groonga/source/news/0.x.txt +3 -3
  778. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +16 -16
  779. data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +1 -1
  780. data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +17 -17
  781. data/vendor/local/share/doc/groonga/source/news.txt +235 -4
  782. data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +8 -0
  783. data/vendor/local/share/doc/groonga/source/reference/api.txt +8 -0
  784. data/vendor/local/share/doc/groonga/source/reference/cast.txt +8 -0
  785. data/vendor/local/share/doc/groonga/source/{command_version.txt → reference/command_version.txt} +0 -0
  786. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/cache_limit.txt +0 -0
  787. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/check.txt +0 -0
  788. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/clearlock.txt +0 -0
  789. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_create.txt +0 -0
  790. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_list.txt +0 -0
  791. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_remove.txt +0 -0
  792. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/define_selector.txt +1 -1
  793. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/defrag.txt +0 -0
  794. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/delete.txt +0 -0
  795. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/dump.txt +0 -0
  796. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/load.txt +1 -1
  797. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_level.txt +0 -0
  798. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_put.txt +0 -0
  799. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_reopen.txt +0 -0
  800. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/quit.txt +0 -0
  801. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +892 -0
  802. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/shutdown.txt +0 -0
  803. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/status.txt +5 -6
  804. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/suggest.txt +8 -8
  805. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/table_create.txt +0 -0
  806. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_list.txt +3 -26
  807. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_remove.txt +3 -3
  808. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/view_add.txt +0 -0
  809. data/vendor/local/share/doc/groonga/source/{commands.txt → reference/commands.txt} +0 -0
  810. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +104 -0
  811. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +80 -0
  812. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +105 -0
  813. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grnslap.txt +0 -0
  814. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grntest.txt +1 -1
  815. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +209 -0
  816. data/vendor/local/share/doc/groonga/{en/html/_sources/executables/groonga-http.txt → source/reference/executables/groonga-server-http.txt} +3 -3
  817. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/groonga-suggest-create-dataset.txt +1 -1
  818. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/executables/groonga.txt +4 -4
  819. data/vendor/local/share/doc/groonga/source/{executables.txt → reference/executables.txt} +0 -0
  820. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/edit_distance.txt +0 -0
  821. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +284 -0
  822. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_circle.txt +0 -0
  823. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  824. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/now.txt +0 -0
  825. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/rand.txt +0 -0
  826. data/vendor/local/share/doc/groonga/source/{functions.txt → reference/functions.txt} +0 -0
  827. data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +584 -0
  828. data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +805 -0
  829. data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +59 -0
  830. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/indexing.txt +7 -7
  831. data/vendor/local/share/doc/groonga/source/{log.txt → reference/log.txt} +0 -0
  832. data/vendor/local/share/doc/groonga/source/{output.txt → reference/output.txt} +0 -0
  833. data/vendor/local/share/doc/groonga/source/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  834. data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +8 -0
  835. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/type.txt +4 -4
  836. data/vendor/local/share/doc/groonga/source/reference.txt +12 -9
  837. data/vendor/local/share/doc/groonga/source/server/gqtp.txt +16 -0
  838. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +288 -0
  839. data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +8 -0
  840. data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +8 -0
  841. data/vendor/local/share/doc/groonga/source/server/http.txt +29 -0
  842. data/vendor/local/share/doc/groonga/source/server.txt +12 -0
  843. data/vendor/local/share/doc/groonga/source/spec/search.txt +1 -1
  844. data/vendor/local/share/doc/groonga/source/spec.txt +2 -2
  845. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +1 -1
  846. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +2 -2
  847. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +2 -0
  848. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +1 -1
  849. data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  850. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +11 -11
  851. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +23 -23
  852. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +3 -1
  853. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +1 -1
  854. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +8 -6
  855. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +1 -1
  856. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -3
  857. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -5
  858. data/vendor/local/share/man/ja/man1/groonga.1 +12354 -3896
  859. data/vendor/local/share/man/man1/groonga.1 +16934 -7750
  860. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  861. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  862. metadata +1251 -905
  863. data/lib/groonga/query-log.rb +0 -348
  864. data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +0 -504
  865. data/vendor/local/share/doc/groonga/en/html/_sources/expr.txt +0 -45
  866. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +0 -92
  867. data/vendor/local/share/doc/groonga/en/html/commands/select.html +0 -891
  868. data/vendor/local/share/doc/groonga/en/html/expr.html +0 -178
  869. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +0 -226
  870. data/vendor/local/share/doc/groonga/en/html/indexing.html +0 -318
  871. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +0 -504
  872. data/vendor/local/share/doc/groonga/ja/html/_sources/expr.txt +0 -45
  873. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +0 -92
  874. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +0 -810
  875. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +0 -187
  876. data/vendor/local/share/doc/groonga/ja/html/expr.html +0 -179
  877. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +0 -227
  878. data/vendor/local/share/doc/groonga/source/commands/select.txt +0 -504
  879. data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +0 -32
  880. data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +0 -32
  881. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +0 -13
  882. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +0 -15
  883. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +0 -9
  884. data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +0 -78
  885. data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +0 -36
  886. data/vendor/local/share/doc/groonga/source/expr.txt +0 -45
  887. data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +0 -92
@@ -35,7 +35,7 @@ static ID id_array_set;
35
35
  * Document-class: Groonga::Table < Groonga::Object
36
36
  *
37
37
  * rroongaが提供するテーブルのベースとなるクラス。このクラス
38
- * からGroonga::Array, Groonga::Hash, Groonga::PatriciaTrie
38
+ * から {Groonga::Array} , {Groonga::Hash} , {Groonga::PatriciaTrie}
39
39
  * が継承されている。
40
40
  */
41
41
 
@@ -204,10 +204,10 @@ rb_grn_table_inspect_content (VALUE self, VALUE inspected)
204
204
  }
205
205
 
206
206
  /*
207
- * call-seq:
208
- * table.inspect -> String
209
- *
210
207
  * テーブルの中身を人に見やすい文字列で返す。
208
+ *
209
+ * @overload inspect
210
+ * @return [String]
211
211
  */
212
212
  static VALUE
213
213
  rb_grn_table_inspect (VALUE self)
@@ -224,36 +224,31 @@ rb_grn_table_inspect (VALUE self)
224
224
  }
225
225
 
226
226
  /*
227
- * call-seq:
228
- * table.define_column(name, value_type, options={}) ->
229
- * Groonga::FixSizeColumnかGroonga::VariableSizeColumn
230
- *
231
227
  * テーブルに名前が _name_ で型が _value_type_ のカラムを定義
232
228
  * し、新しく定義されたカラムを返す。
233
229
  *
234
- * _options_ に指定可能な値は以下の通り。
235
- * @param options [::Hash] The name and value
236
- * pairs. Omitted names are initialized as the default value.
237
- * @option options :path The path
238
- * カラムを保存するパス。
239
- *
240
- * @option options :persistent (永続カラム) The persistent
241
- * +true+ を指定すると永続カラムとなる。省略した場合は永
242
- * 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
243
- * 付加される。
244
- *
245
- * @option options :type (:scalar) The type
246
- * カラムの値の格納方法について指定する。省略した場合は、
247
- * +:scalar+ になる。
248
- *
249
- * [+:scalar+] スカラ値(単独の値)を格納する。
250
- * [+:vector+] 値の配列を格納する。
251
- *
252
- * @param options :compress The compress
253
- * 値の圧縮方法を指定する。省略した場合は、圧縮しない。
254
- *
255
- * [+:zlib+] 値をzlib圧縮して格納する。
256
- * [+:lzo+] 値をlzo圧縮して格納する。
230
+ * @overload define_column(name, value_type, options={})
231
+ * @param options [::Hash] The name and value
232
+ * pairs. Omitted names are initialized as the default value.
233
+ * @option options :path
234
+ * カラムを保存するパス。
235
+ * @option options :persistent (永続カラム)
236
+ * +true+ を指定すると永続カラムとなる。省略した場合は永
237
+ * 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
238
+ * 付加される。
239
+ * @option options :type (:scalar)
240
+ * カラムの値の格納方法について指定する。省略した場合は、
241
+ * +:scalar+ になる。
242
+ *
243
+ * - +:scalar+ := スカラ値(単独の値)を格納する。
244
+ * - +:vector+ := 値の配列を格納する。
245
+ * @option options :compress
246
+ * 値の圧縮方法を指定する。省略した場合は、圧縮しない。
247
+ *
248
+ * - +:zlib+ := 値をzlib圧縮して格納する。
249
+ * - +:lzo+ := 値をlzo圧縮して格納する。
250
+ *
251
+ * @return [Groonga::FixSizeColumn or Groonga::VariableSizeColumn]
257
252
  */
258
253
  static VALUE
259
254
  rb_grn_table_define_column (int argc, VALUE *argv, VALUE self)
@@ -364,37 +359,30 @@ n_gram_tokenizer_p(grn_ctx *context, grn_obj *tokenizer)
364
359
  }
365
360
 
366
361
  /*
367
- * call-seq:
368
- * table.define_index_column(name, value_type, options={}) -> Groonga::IndexColumn
369
- *
370
362
  * テーブルに名前が _name_ で型が _value_type_ のインデックスカ
371
363
  * ラムを定義し、新しく定義されたカラムを返す。
372
364
  *
373
- * _options_ に指定可能な値は以下の通り。
374
- * @param options [::Hash] The name and value
375
- * pairs. Omitted names are initialized as the default value.
376
- * @option options :path The path
377
- * カラムを保存するパス。
378
- *
379
- * @option options :persistent (永続カラム) The persistent
380
- * +true+ を指定すると永続カラムとなる。省略した場合は永
381
- * 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
382
- * 付加される。
383
- *
384
- * @option options :with_section The with_section
385
- * 転置索引にsection(段落情報)を合わせて格納する。
386
- *
387
- * @option options :with_weight The with_weight
388
- * 転置索引にweight情報を合わせて格納する。
389
- *
390
- * @option options :with_position The with_position
391
- * 転置索引に出現位置情報を合わせて格納する。
392
- *
393
- * @option options :source The source
394
- * インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
395
- *
396
- * @option options :sources The sources
397
- * インデックス対象となる複数のカラムを指定する。 +:source+ との併用はできない。
365
+ * @overload define_index_column(name, value_type, options={})
366
+ * @param options [::Hash] The name and value
367
+ * pairs. Omitted names are initialized as the default value.
368
+ * @option options :path
369
+ * カラムを保存するパス。
370
+ * @option options :persistent (永続カラム)
371
+ * +true+ を指定すると永続カラムとなる。省略した場合は永
372
+ * 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
373
+ * 付加される。
374
+ * @option options :with_section
375
+ * 転置索引にsection(段落情報)を合わせて格納する。
376
+ * @option options :with_weight
377
+ * 転置索引にweight情報を合わせて格納する。
378
+ * @option options :with_position
379
+ * 転置索引に出現位置情報を合わせて格納する。
380
+ * @option options :source
381
+ * インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
382
+ * @option options :sources
383
+ * インデックス対象となる複数のカラムを指定する。 +:source+ との併用はできない。
384
+ *
385
+ * @return [Groonga::IndexColumn]
398
386
  */
399
387
  static VALUE
400
388
  rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
@@ -520,11 +508,11 @@ ruby_object_to_column_name (VALUE rb_name,
520
508
  }
521
509
 
522
510
  /*
523
- * call-seq:
524
- * table.column(name) -> Groonga::Column or nil
525
- *
526
511
  * テーブルの _name_ に対応するカラムを返す。カラムが存在しな
527
512
  * い場合は +nil+ を返す。
513
+ *
514
+ * @overload column(name)
515
+ * @return [Groonga::Column or nil]
528
516
  */
529
517
  VALUE
530
518
  rb_grn_table_get_column (VALUE self, VALUE rb_name)
@@ -601,11 +589,11 @@ rb_grn_table_get_column_surely (VALUE self, VALUE rb_name)
601
589
  }
602
590
 
603
591
  /*
604
- * call-seq:
605
- * table.columns(name=nil) -> Groonga::Columnの配列
606
- *
607
592
  * テーブルの全てのカラムを返す。 _name_ が指定された場合はカ
608
593
  * ラム名の先頭が _name_ で始まるカラムを返す。
594
+ *
595
+ * @overload columns(name=nil)
596
+ * @return [Groonga::Columnの配列]
609
597
  */
610
598
  static VALUE
611
599
  rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
@@ -619,6 +607,7 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
619
607
  VALUE rb_name, rb_columns;
620
608
  char *name = NULL;
621
609
  unsigned name_size = 0;
610
+ VALUE exception;
622
611
 
623
612
  rb_grn_table_deconstruct(SELF(self), &table, &context,
624
613
  NULL, NULL,
@@ -655,6 +644,13 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
655
644
  grn_table_cursor_get_key(context, cursor, &key);
656
645
  column_id = key;
657
646
  column = grn_ctx_at(context, *column_id);
647
+ exception = rb_grn_context_to_exception(context, self);
648
+ if (!NIL_P(exception)) {
649
+ grn_table_cursor_close(context, cursor);
650
+ grn_obj_unlink(context, columns);
651
+ rb_exc_raise(exception);
652
+ }
653
+
658
654
  rb_column = GRNOBJECT2RVAL(Qnil, context, column, GRN_FALSE);
659
655
  rb_ary_push(rb_columns, rb_column);
660
656
  }
@@ -669,10 +665,9 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
669
665
  }
670
666
 
671
667
  /*
672
- * call-seq:
673
- * table.have_column?(name) -> true/false
674
- *
675
668
  * テーブルが _name_ カラムを持っている場合は +true+ を返す。
669
+ *
670
+ * @overload have_column?(name)
676
671
  */
677
672
  static VALUE
678
673
  rb_grn_table_have_column (VALUE self, VALUE rb_name)
@@ -762,54 +757,74 @@ rb_grn_table_open_grn_cursor (int argc, VALUE *argv, VALUE self,
762
757
  }
763
758
 
764
759
  /*
765
- * call-seq:
766
- * table.open_cursor(options={}) -> Groonga::TableCursor
767
- * table.open_cursor(options={}) {|cursor| }
768
- *
769
760
  * カーソルを生成して返す。ブロックを指定すると、そのブロッ
770
761
  * クに生成したカーソルが渡され、ブロックを抜けると自動的に
771
762
  * カーソルが破棄される。
772
763
  *
773
- * _options_に指定可能な値は以下の通り。
774
- * @param options [::Hash] The name and value
775
- * pairs. Omitted names are initialized as the default value.
776
- * @option options :min The min
777
- * キーの下限
778
- *
779
- * @option options :max The max
780
- * キーの上限
781
- *
782
- * @option options :offset The offset
783
- * 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
784
- * からレコードを取り出す。
785
- *
786
- * @option options :limit The limit
787
- * 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
788
- * 省略された場合または-1が指定された場合は、全件が指定され
789
- * たものとみなす。
790
- *
791
- * @option options :order (asc) The order
792
- * +:asc+ または +:ascending+ を指定すると昇順にレコードを取
793
- * り出す。(デフォルト)
794
- *
795
- * +:desc+ または +:descending+ を指定すると降順にレコードを
796
- * 取り出す。
797
- *
798
- * @option options :order_by The order_by
799
- * +:id+ を指定するとID順にレコードを取り出す。(Arrayと
800
- * Hashのデフォルト)
801
- *
802
- * +:key+ 指定するとキー順にレコードを取り出す。ただし、
803
- * Groonga::PatriciaTrieにしか使えない。(PatriciaTrieのデ
804
- * フォルト)
805
- *
806
- * @option options :greater_than The greater_than
807
- * +true+ を指定すると +:min+ で指定した値に一致した [ +key+ ] を
808
- * 範囲に含まない。
809
- *
810
- * @option options :less_than The less_than
811
- * +true+ を指定すると +:max+ で指定した値に一致した [ +key+ ] を
812
- * 範囲に含まない。
764
+ * @overload open_cursor(options={})
765
+ * @return [Groonga::TableCursor]
766
+ * @param options [::Hash] The name and value
767
+ * pairs. Omitted names are initialized as the default value.
768
+ * @option options :min
769
+ * キーの下限
770
+ * @option options :max
771
+ * キーの上限
772
+ * @option options :offset
773
+ * 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
774
+ * からレコードを取り出す。
775
+ * @option options :limit
776
+ * 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
777
+ * 省略された場合または-1が指定された場合は、全件が指定され
778
+ * たものとみなす。
779
+ * @option options :order (asc)
780
+ * +:asc+ または +:ascending+ を指定すると昇順にレコードを取
781
+ * り出す。(デフォルト)
782
+ * +:desc+ または +:descending+ を指定すると降順にレコードを
783
+ * 取り出す。
784
+ * @option options :order_by
785
+ * +:id+ を指定するとID順にレコードを取り出す。(Arrayと
786
+ * Hashのデフォルト)
787
+ * +:key+ 指定するとキー順にレコードを取り出す。ただし、
788
+ * Groonga::PatriciaTrieにしか使えない。(PatriciaTrieのデ
789
+ * フォルト)
790
+ * @option options :greater_than
791
+ * +true+ を指定すると +:min+ で指定した値に一致した [ +key+ ] を
792
+ * 範囲に含まない。
793
+ * @option options :less_than
794
+ * +true+ を指定すると +:max+ で指定した値に一致した [ +key+ ] を
795
+ * 範囲に含まない。
796
+ * @overload open_cursor(options={})
797
+ * @yield [cursor]
798
+ * @param options [::Hash] The name and value
799
+ * pairs. Omitted names are initialized as the default value.
800
+ * @option options :min
801
+ * キーの下限
802
+ * @option options :max
803
+ * キーの上限
804
+ * @option options :offset
805
+ * 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
806
+ * からレコードを取り出す。
807
+ * @option options :limit
808
+ * 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
809
+ * 省略された場合または-1が指定された場合は、全件が指定され
810
+ * たものとみなす。
811
+ * @option options :order (asc)
812
+ * +:asc+ または +:ascending+ を指定すると昇順にレコードを取
813
+ * り出す。(デフォルト)
814
+ * +:desc+ または +:descending+ を指定すると降順にレコードを
815
+ * 取り出す。
816
+ * @option options :order_by
817
+ * +:id+ を指定するとID順にレコードを取り出す。(Arrayと
818
+ * Hashのデフォルト)
819
+ * +:key+ 指定するとキー順にレコードを取り出す。ただし、
820
+ * Groonga::PatriciaTrieにしか使えない。(PatriciaTrieのデ
821
+ * フォルト)
822
+ * @option options :greater_than
823
+ * +true+ を指定すると +:min+ で指定した値に一致した [ +key+ ] を
824
+ * 範囲に含まない。
825
+ * @option options :less_than
826
+ * +true+ を指定すると +:max+ で指定した値に一致した [ +key+ ] を
827
+ * 範囲に含まない。
813
828
  */
814
829
  static VALUE
815
830
  rb_grn_table_open_cursor (int argc, VALUE *argv, VALUE self)
@@ -828,11 +843,11 @@ rb_grn_table_open_cursor (int argc, VALUE *argv, VALUE self)
828
843
  }
829
844
 
830
845
  /*
831
- * call-seq:
832
- * table.records -> Groonga::Recordの配列
833
- *
834
846
  * テーブルに登録されている全てのレコードが入っている配列を
835
847
  * 返す。
848
+ *
849
+ * @overload records
850
+ * @return [Groonga::Recordの配列]
836
851
  */
837
852
  static VALUE
838
853
  rb_grn_table_get_records (int argc, VALUE *argv, VALUE self)
@@ -853,10 +868,10 @@ rb_grn_table_get_records (int argc, VALUE *argv, VALUE self)
853
868
  }
854
869
 
855
870
  /*
856
- * call-seq:
857
- * table.size -> レコード数
858
- *
859
871
  * テーブルに登録されているレコード数を返す。
872
+ *
873
+ * @overload size
874
+ * @return [Integer]
860
875
  */
861
876
  static VALUE
862
877
  rb_grn_table_get_size (VALUE self)
@@ -874,10 +889,9 @@ rb_grn_table_get_size (VALUE self)
874
889
  }
875
890
 
876
891
  /*
877
- * call-seq:
878
- * table.empty? -> true/false
879
- *
880
892
  * テーブルにレコードが登録されていなければ +true+ を返す。
893
+ *
894
+ * @overload empty?
881
895
  */
882
896
  static VALUE
883
897
  rb_grn_table_empty_p (VALUE self)
@@ -895,10 +909,9 @@ rb_grn_table_empty_p (VALUE self)
895
909
  }
896
910
 
897
911
  /*
898
- * call-seq:
899
- * table.truncate
900
- *
901
912
  * テーブルの全レコードを一括して削除する。
913
+ *
914
+ * @overload truncate
902
915
  */
903
916
  static VALUE
904
917
  rb_grn_table_truncate (VALUE self)
@@ -918,13 +931,17 @@ rb_grn_table_truncate (VALUE self)
918
931
  }
919
932
 
920
933
  /*
921
- * call-seq:
922
- * table.each {|record| } -> nil
923
- * table.each(options={}) {|record| } -> nil
924
- *
925
934
  * テーブルに登録されているレコードを順番にブロックに渡す。
926
935
  *
927
- * _options_ is the same as #open_cursor's one.
936
+ * _options_ is the same as {#open_cursor} 's one.
937
+ *
938
+ * @overload each
939
+ * @!macro [new] table.each.metadata
940
+ * @yield [record]
941
+ * @return [nil]
942
+ * @!macro table.each.metadata
943
+ * @overload each(options={})
944
+ * @!macro table.each.metadata
928
945
  */
929
946
  static VALUE
930
947
  rb_grn_table_each (int argc, VALUE *argv, VALUE self)
@@ -937,6 +954,8 @@ rb_grn_table_each (int argc, VALUE *argv, VALUE self)
937
954
  VALUE rb_cursor;
938
955
  grn_id id;
939
956
 
957
+ RETURN_ENUMERATOR(self, argc, argv);
958
+
940
959
  cursor = rb_grn_table_open_grn_cursor(argc, argv, self, &context);
941
960
  rb_cursor = GRNTABLECURSOR2RVAL(Qnil, context, cursor);
942
961
  rb_table = SELF(self);
@@ -951,10 +970,9 @@ rb_grn_table_each (int argc, VALUE *argv, VALUE self)
951
970
  }
952
971
 
953
972
  /*
954
- * call-seq:
955
- * table.delete(id)
956
- *
957
973
  * テーブルの _id_ に対応するレコードを削除する。
974
+ *
975
+ * @overload delete(id)
958
976
  */
959
977
  VALUE
960
978
  rb_grn_table_delete (VALUE self, VALUE rb_id)
@@ -977,10 +995,7 @@ rb_grn_table_delete (VALUE self, VALUE rb_id)
977
995
  }
978
996
 
979
997
  /*
980
- * call-seq:
981
- * table.sort(keys, options={}) -> Groonga::Recordの配列
982
- *
983
- * テーブルに登録されているレコードを_keys_で指定されたルー
998
+ * テーブルに登録されているレコードを _keys_ で指定されたルー
984
999
  * ルに従ってソートしたレコードの配列を返す。
985
1000
  *
986
1001
  * _order_ には +:asc+ , +:ascending+ , +:desc+ , +:descending+ の
@@ -1022,16 +1037,17 @@ rb_grn_table_delete (VALUE self, VALUE rb_id)
1022
1037
  * </pre>
1023
1038
  * =:
1024
1039
  *
1025
- * @param options [::Hash] The name and value
1026
- * pairs. Omitted names are initialized as the default value.
1027
- * @option options :offset The offset
1028
- * ソートされたレコードのうち、(0ベースで) _:offset_ 番目
1029
- * からレコードを取り出す。
1030
- *
1031
- * @option options :limit The limit
1032
- * ソートされたレコードのうち、 _:limit_ 件のみを取り出す。
1033
- * 省略された場合または-1が指定された場合は、全件が指定され
1034
- * たものとみなす。
1040
+ * @overload sort(keys, options={})
1041
+ * @param options [::Hash] The name and value
1042
+ * pairs. Omitted names are initialized as the default value.
1043
+ * @option options :offset
1044
+ * ソートされたレコードのうち、(0ベースで) _:offset_ 番目
1045
+ * からレコードを取り出す。
1046
+ * @option options :limit
1047
+ * ソートされたレコードのうち、 _:limit_ 件のみを取り出す。
1048
+ * 省略された場合または-1が指定された場合は、全件が指定され
1049
+ * たものとみなす。
1050
+ * @return [::Array<Groonga::Record>]
1035
1051
  */
1036
1052
  static VALUE
1037
1053
  rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
@@ -1152,13 +1168,14 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
1152
1168
  }
1153
1169
 
1154
1170
  /*
1155
- * call-seq:
1156
- * table.group([key1, key2, ...], options={}) -> [Groonga::Hash, ...]
1157
- * table.group(key, options={}) -> Groonga::Hash
1158
- *
1159
1171
  * _table_ のレコードを _key1_ , _key2_ , _..._ で指定したキーの
1160
1172
  * 値でグループ化する。多くの場合、キーにはカラムを指定する。
1161
1173
  * カラムはカラム名(文字列)でも指定可能。
1174
+ *
1175
+ * @overload group([key1, key2, ...], options={})
1176
+ * @return [[Groonga::Hash, ...]]
1177
+ * @overload group(key, options={})
1178
+ * @return [Groonga::Hash]
1162
1179
  */
1163
1180
  static VALUE
1164
1181
  rb_grn_table_group (int argc, VALUE *argv, VALUE self)
@@ -1252,14 +1269,12 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self)
1252
1269
  }
1253
1270
 
1254
1271
  /*
1255
- * Document-method: []
1272
+ * _table_ の _id_ に対応する {Groonga::Record} を返す。
1256
1273
  *
1257
- * call-seq:
1258
- * table[id] -> Groonga::Record
1274
+ * 0.9.0から値ではなく {Groonga::Record} を返すようになった。
1259
1275
  *
1260
- * _table_ の _id_ に対応するGroonga::Recordを返す。
1261
- *
1262
- * 0.9.0から値ではなくGroonga::Recordを返すようになった。
1276
+ * @overload [](id)
1277
+ * @return [Groonga::Record]
1263
1278
  */
1264
1279
  VALUE
1265
1280
  rb_grn_table_array_reference (VALUE self, VALUE rb_id)
@@ -1294,17 +1309,16 @@ rb_grn_table_get_value (VALUE self, VALUE rb_id)
1294
1309
  }
1295
1310
 
1296
1311
  /*
1297
- * Document-method: value
1298
- *
1299
- * call-seq:
1300
- * table.value(id) -> 値
1301
- * table.value(id, :id => true) -> 値
1302
- *
1303
1312
  * _table_ の _id_ に対応する値を返す。
1304
1313
  *
1305
- * <tt>:id => true</tt>が指定できるのは利便性のため。
1306
- * Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
1314
+ * @:id => true@ が指定できるのは利便性のため。
1315
+ * {Groonga::Array} でも {Groonga::Hash} {Groonga::PatriciaTrie}
1307
1316
  * 同じ引数で動くようになる。
1317
+ *
1318
+ * @overload value(id)
1319
+ * @return [値]
1320
+ * @overload value(id, :id => true)
1321
+ * @return [値]
1308
1322
  */
1309
1323
  static VALUE
1310
1324
  rb_grn_table_get_value_convenience (int argc, VALUE *argv, VALUE self)
@@ -1354,18 +1368,15 @@ rb_grn_table_set_value (VALUE self, VALUE rb_id, VALUE rb_value)
1354
1368
  }
1355
1369
 
1356
1370
  /*
1357
- * Document-method: set_value
1358
- *
1359
- * call-seq:
1360
- * table.set_value(id, value)
1361
- * table.set_value(id, value, :id => true)
1362
- *
1363
1371
  * _table_ の _id_ に対応する値として _value_ 設定する。既存の値は
1364
1372
  * 上書きされる。
1365
1373
  *
1366
- * <tt>:id => true</tt>が指定できるのは利便性のため。
1367
- * Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
1374
+ * @:id => true@ が指定できるのは利便性のため。
1375
+ * {Groonga::Array} でも {Groonga::Hash} {Groonga::PatriciaTrie}
1368
1376
  * 同じ引数で動くようになる。
1377
+ *
1378
+ * @overload set_value(id, value)
1379
+ * @overload set_value(id, value, :id => true)
1369
1380
  */
1370
1381
  static VALUE
1371
1382
  rb_grn_table_set_value_convenience (int argc, VALUE *argv, VALUE self)
@@ -1407,17 +1418,16 @@ rb_grn_table_get_column_value (VALUE self, VALUE rb_id, VALUE rb_name)
1407
1418
  }
1408
1419
 
1409
1420
  /*
1410
- * Document-method: column_value
1411
- *
1412
- * call-seq:
1413
- * table.column_value(id, name) -> 値
1414
- * table.column_value(id, name, :id => true) -> 値
1415
- *
1416
1421
  * _table_ の _id_ に対応するカラム _name_ の値を返す。
1417
1422
  *
1418
- * <tt>:id => true</tt>が指定できるのは利便性のため。
1419
- * Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
1423
+ * @:id => true@ が指定できるのは利便性のため。
1424
+ * {Groonga::Array} でも {Groonga::Hash} {Groonga::PatriciaTrie}
1420
1425
  * 同じ引数で動くようになる。
1426
+ *
1427
+ * @overload column_value(id, name)
1428
+ * @return [値]
1429
+ * @overload column_value(id, name, :id => true)
1430
+ * @return [値]
1421
1431
  */
1422
1432
  static VALUE
1423
1433
  rb_grn_table_get_column_value_convenience (int argc, VALUE *argv, VALUE self)
@@ -1463,18 +1473,15 @@ rb_grn_table_set_column_value (VALUE self, VALUE rb_id,
1463
1473
  }
1464
1474
 
1465
1475
  /*
1466
- * Document-method: set_column_value
1467
- *
1468
- * call-seq:
1469
- * table.set_column_value(id, name, value)
1470
- * table.set_column_value(id, name, value, :id => true)
1471
- *
1472
1476
  * _table_ の _id_ に対応するカラム _name_ の値として _value_ 設定す
1473
1477
  * る。既存の値は上書きされる。
1474
1478
  *
1475
- * <tt>:id => true</tt>が指定できるのは利便性のため。
1476
- * Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
1479
+ * @:id => true@ が指定できるのは利便性のため。
1480
+ * {Groonga::Array} でも {Groonga::Hash} {Groonga::PatriciaTrie}
1477
1481
  * 同じ引数で動くようになる。
1482
+ *
1483
+ * @overload set_column_value(id, name, value)
1484
+ * @overload set_column_value(id, name, valuf, :id => true)
1478
1485
  */
1479
1486
  static VALUE
1480
1487
  rb_grn_table_set_column_value_convenience (int argc, VALUE *argv, VALUE self)
@@ -1500,18 +1507,14 @@ rb_grn_table_set_column_value_convenience (int argc, VALUE *argv, VALUE self)
1500
1507
  }
1501
1508
 
1502
1509
  /*
1503
- * Document-method: unlock
1504
- *
1505
- * call-seq:
1506
- * table.unlock(options={})
1507
- *
1508
1510
  * _table_ のロックを解除する。
1509
1511
  *
1510
- * 利用可能なオプションは以下の通り。
1511
- *
1512
- * [ _:id_ ]
1513
- * _:id_ で指定したレコードのロックを解除する。(注:
1514
- * groonga側が未実装のため、現在は無視される)
1512
+ * @overload unlock(options={})
1513
+ * @param options [::Hash] The name and value
1514
+ * pairs. Omitted names are initialized as the default value.
1515
+ * @option options :id
1516
+ * _:id_ で指定したレコードのロックを解除する。(注:
1517
+ * groonga側が未実装のため、現在は無視される)
1515
1518
  */
1516
1519
  static VALUE
1517
1520
  rb_grn_table_unlock (int argc, VALUE *argv, VALUE self)
@@ -1550,30 +1553,32 @@ rb_grn_table_unlock_ensure (VALUE self)
1550
1553
  }
1551
1554
 
1552
1555
  /*
1553
- * Document-method: lock
1554
- *
1555
- * call-seq:
1556
- * table.lock(options={})
1557
- * table.lock(options={}) {}
1558
- *
1559
1556
  * _table_ をロックする。ロックに失敗した場合は
1560
- * Groonga::ResourceDeadlockAvoided例外が発生する。
1557
+ * {Groonga::ResourceDeadlockAvoided} 例外が発生する。
1561
1558
  *
1562
1559
  * ブロックを指定した場合はブロックを抜けたときにunlockする。
1563
1560
  *
1564
- * 利用可能なオプションは以下の通り。
1565
- * @param options [::Hash] The name and value
1566
- * pairs. Omitted names are initialized as the default value.
1567
- * @option options :timeout The timeout
1568
- *
1569
- * ロックを獲得できなかった場合は _:timeout_ 秒間ロックの獲
1570
- * 得を試みる。 _:timeout_ 秒以内にロックを獲得できなかった
1571
- * 場合は例外が発生する。
1572
- *
1573
- * @option options :id The id
1574
- *
1575
- * _:id_ で指定したレコードをロックする。(注: groonga側が
1576
- * 未実装のため、現在は無視される)
1561
+ * @overload lock(options={})
1562
+ * @param options [::Hash] The name and value
1563
+ * pairs. Omitted names are initialized as the default value.
1564
+ * @option options :timeout
1565
+ * ロックを獲得できなかった場合は _:timeout_ 秒間ロックの獲
1566
+ * 得を試みる。 _:timeout_ 秒以内にロックを獲得できなかった
1567
+ * 場合は例外が発生する。
1568
+ * @option options :id
1569
+ * _:id_ で指定したレコードをロックする。(注: groonga側が
1570
+ * 未実装のため、現在は無視される)
1571
+ * @overload lock(options={})
1572
+ * @yield ブロックを抜けたときにunlockする。
1573
+ * @param options [::Hash] The name and value
1574
+ * pairs. Omitted names are initialized as the default value.
1575
+ * @option options :timeout
1576
+ * ロックを獲得できなかった場合は _:timeout_ 秒間ロックの獲
1577
+ * 得を試みる。 _:timeout_ 秒以内にロックを獲得できなかった
1578
+ * 場合は例外が発生する。
1579
+ * @option options :id
1580
+ * _:id_ で指定したレコードをロックする。(注: groonga側が
1581
+ * 未実装のため、現在は無視される)
1577
1582
  */
1578
1583
  static VALUE
1579
1584
  rb_grn_table_lock (int argc, VALUE *argv, VALUE self)
@@ -1615,22 +1620,16 @@ rb_grn_table_lock (int argc, VALUE *argv, VALUE self)
1615
1620
  }
1616
1621
 
1617
1622
  /*
1618
- * Document-method: clear_lock
1619
- *
1620
- * call-seq:
1621
- * table.clear_lock(options={})
1622
- *
1623
1623
  * _table_ のロックを強制的に解除する。
1624
1624
  *
1625
- * 利用可能なオプションは以下の通り。
1626
- * @param options [::Hash] The name and value
1627
- * pairs. Omitted names are initialized as the default value.
1628
- * @option options :id The id
1629
- *
1630
- * _:id_ で指定したレコードのロックを強制的に解除する。
1631
- * (注: groonga側が未実装のため、現在は無視される。実装さ
1632
- * れるのではないかと思っているが、実装されないかもしれな
1633
- * い。)
1625
+ * @overload clear_lock(options={})
1626
+ * @param [::Hash] options The name and value
1627
+ * pairs. Omitted names are initialized as the default value.
1628
+ * @option options :id
1629
+ * _:id_ で指定したレコードのロックを強制的に解除する。
1630
+ * (注: groonga側が未実装のため、現在は無視される。実装さ
1631
+ * れるのではないかと思っているが、実装されないかもしれな
1632
+ * い。)
1634
1633
  */
1635
1634
  static VALUE
1636
1635
  rb_grn_table_clear_lock (int argc, VALUE *argv, VALUE self)
@@ -1660,22 +1659,16 @@ rb_grn_table_clear_lock (int argc, VALUE *argv, VALUE self)
1660
1659
  }
1661
1660
 
1662
1661
  /*
1663
- * Document-method: locked?
1664
- *
1665
- * call-seq:
1666
- * table.locked?(options={})
1667
- *
1668
1662
  * _table_ がロックされていれば +true+ を返す。
1669
1663
  *
1670
- * 利用可能なオプションは以下の通り。
1671
- * @param options [options] The name and value
1672
- * pairs. Omitted names are initialized as the default value.
1673
- * @option options :id The id
1674
- *
1675
- * _:id_ で指定したレコードがロックされていれば +true+ を返す。
1676
- * (注: groonga側が未実装のため、現在は無視される。実装さ
1677
- * れるのではないかと思っているが、実装されないかもしれな
1678
- * い。)
1664
+ * @overload locked?(options={})
1665
+ * @param [options] options The name and value
1666
+ * pairs. Omitted names are initialized as the default value.
1667
+ * @option options :id
1668
+ * _:id_ で指定したレコードがロックされていれば +true+ を返す。
1669
+ * (注: groonga側が未実装のため、現在は無視される。実装さ
1670
+ * れるのではないかと思っているが、実装されないかもしれな
1671
+ * い。)
1679
1672
  */
1680
1673
  static VALUE
1681
1674
  rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
@@ -1703,16 +1696,11 @@ rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
1703
1696
  }
1704
1697
 
1705
1698
  /*
1706
- * call-seq:
1707
- * table.select(options) {|record| ...} -> Groonga::Hash
1708
- * table.select(query, options) -> Groonga::Hash
1709
- * table.select(expression, options) -> Groonga::Hash
1710
- *
1711
1699
  * _table_ からブロックまたは文字列で指定した条件にマッチする
1712
1700
  * レコードを返す。返されたテーブルには +expression+ という特
1713
1701
  * 異メソッドがあり、指定した条件を表している
1714
- * Groonga::Expressionを取得できる。
1715
- * Groonga::Expression#snippetを使うことにより、指定した条件
1702
+ * {Groonga::Expression} を取得できる。
1703
+ * {Groonga::Expression#snippet} を使うことにより、指定した条件
1716
1704
  * 用のスニペットを簡単に生成できる。
1717
1705
  *
1718
1706
  * <pre>
@@ -1741,108 +1729,104 @@ rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
1741
1729
  * ---
1742
1730
  * </pre>
1743
1731
  *
1744
- * _query_ には「[カラム名]:[演算子][値]」という書式で条件を
1745
- * 指定する。演算子は以下の通り。
1746
- *
1747
- * - なし := [カラム値] == [値]
1748
- * - @!@ := [カラム値] != [値]
1749
- * - @<@ := [カラム値] < [値]
1750
- * - @>@ := [カラム値] > [値]
1751
- * - @<=@ := [カラム値] <= [値]
1752
- * - @>=@ := [カラム値] >= [値]
1753
- * - @@@ := [カラム値]が[値]を含んでいるかどうか
1754
- *
1755
- * 例:
1756
- *
1757
- * <pre>
1758
- * !!!ruby
1759
- * "name:daijiro" # "name"カラムの値が"daijiro"のレコードにマッチ
1760
- * "description:@groonga" # "description"カラムが
1761
- * # "groonga"を含んでいるレコードにマッチ
1762
- * </pre>
1763
- *
1764
- * _expression_ には既に作成済みのGroonga::Expressionを渡す
1765
- *
1766
- * ブロックで条件を指定する場合は
1767
- * Groonga::RecordExpressionBuilderを参照。
1768
- *
1769
- * Ruby1.9以降では、ブロックで条件を指定する際に
1770
- * Groonga::ColumnExpressionBuilderの他に"!="も使用可能。
1771
- *
1772
- * 例:
1773
- *
1774
- * <pre>
1775
- * !!!ruby
1776
- * comments = Groonga::Array.create(:name => "Comments")
1777
- * comments.define_column("content", "Text")
1778
- * comments.add(:content => "Hello Good-bye!")
1779
- * comments.add(:content => "Hello World")
1780
- * comments.add(:content => "test")
1781
- * result = comments.select do |record|
1782
- * record.content != "test"
1783
- * end
1784
- * p result.collect {|record| record.content}
1785
- * # => ["Hello Good-bye!", "Hello World"]
1786
- * </pre>
1787
- *
1788
- * _options_ に指定可能な値は以下の通り。
1789
- * @param options [::Hash] The name and value
1790
- * pairs. Omitted names are initialized as the default value.
1791
- * @option options :default_column
1792
- *
1793
- * "column_name:hoge"ではなく"hoge"のようにcolumn_nameが指
1794
- * 定されない条件の検索対象となるカラムを指定する。
1795
- *
1796
- * @option options :operator (Groonga::Operator::OR) The operator
1797
- *
1798
- * マッチしたレコードをどのように扱うか。指定可能な値は以
1799
- * 下の通り。省略した場合はGroonga::Operator::OR。
1800
- *
1801
- * [Groonga::Operator::OR] マッチしたレコードを追加。すで
1802
- * にレコードが追加されている場合
1803
- * は何もしない。
1804
- * [Groonga::Operator::AND] マッチしたレコードのスコアを増
1805
- * 加。マッチしなかったレコード
1806
- * を削除。
1807
- * [Groonga::Operator::BUT] マッチしたレコードを削除。
1808
- * [Groonga::Operator::ADJUST] マッチしたレコードのスコア
1809
- * を増加。
1810
- *
1811
- * @option options :result The result
1812
- *
1813
- * 検索結果を格納するテーブル。マッチしたレコードが追加さ
1814
- * れていく。省略した場合は新しくテーブルを作成して返す。
1815
- *
1816
- * @option options :name The name
1817
- *
1818
- * 条件の名前。省略した場合は名前を付けない。
1819
- *
1820
- * @option options :syntax The syntax
1821
- *
1822
- * _query_ の構文。省略した場合は +:query+
1823
- *
1824
- * 参考: Groonga::Expression#parse.
1825
- *
1826
- * @option options :allow_pragma The allow_pragma
1827
- *
1828
- * query構文時にプラグマを利用するかどうか。省略した場合は
1829
- * 利用する。
1830
- *
1831
- * 参考: Groonga::Expression#parse.
1832
- *
1833
- * @option options :allow_column The allow_column
1834
- *
1835
- * query構文時にカラム指定を利用するかどうか。省略した場合
1836
- * は利用する。
1837
- *
1838
- * 参考: Groonga::Expression#parse.
1839
- *
1840
- * @option options :allow_update The allow_update
1841
- *
1842
- * script構文時に更新操作を利用するかどうか。省略した場合
1843
- * は利用する。
1844
- *
1845
- * 参考: Groonga::Expression#parse.
1732
+ * @overload select(options)
1733
+ * @yield [record] ブロックで条件を指定する場合は
1734
+ * Groonga::RecordExpressionBuilderを参照。
1735
+ *
1736
+ * Ruby1.9以降では、ブロックで条件を指定する際に
1737
+ * Groonga::ColumnExpressionBuilderの他に"!="も使用可能。
1738
+ *
1739
+ * 例:
1740
+ *
1741
+ * <pre>
1742
+ * !!!ruby
1743
+ * comments = Groonga::Array.create(:name => "Comments")
1744
+ * comments.define_column("content", "Text")
1745
+ * comments.add(:content => "Hello Good-bye!")
1746
+ * comments.add(:content => "Hello World")
1747
+ * comments.add(:content => "test")
1748
+ * result = comments.select do |record|
1749
+ * record.content != "test"
1750
+ * end
1751
+ * p result.collect {|record| record.content}
1752
+ * # => ["Hello Good-bye!", "Hello World"]
1753
+ * </pre>
1754
+ *
1755
+ * @!macro [new] table.select.options
1756
+ * @param options [::Hash] The name and value
1757
+ * pairs. Omitted names are initialized as the default value.
1758
+ * @option options :default_column
1759
+ * "column_name:hoge"ではなく"hoge"のようにcolumn_nameが指
1760
+ * 定されない条件の検索対象となるカラムを指定する。
1761
+ * @option options :operator (Groonga::Operator::OR)
1762
+ * マッチしたレコードをどのように扱うか。指定可能な値は以
1763
+ * 下の通り。省略した場合はGroonga::Operator::OR。
1764
+ *
1765
+ * - Groonga::Operator::OR :=
1766
+ * マッチしたレコードを追加。すでにレコードが追加されている場合
1767
+ * は何もしない。 =:
1768
+ * - Groonga::Operator::AND :=
1769
+ * マッチしたレコードのスコアを増加。マッチしなかったレコードを削除。 =:
1770
+ * - Groonga::Operator::BUT :=
1771
+ * マッチしたレコードを削除。 =:
1772
+ * - Groonga::Operator::ADJUST :=
1773
+ * マッチしたレコードのスコアを増加。 =:
1774
+ *
1775
+ * @option options :result
1776
+ * 検索結果を格納するテーブル。マッチしたレコードが追加さ
1777
+ * れていく。省略した場合は新しくテーブルを作成して返す。
1778
+ * @option options :name
1779
+ * 条件の名前。省略した場合は名前を付けない。
1780
+ * @option options :syntax
1781
+ * _query_ の構文。省略した場合は +:query+ 。
1782
+ *
1783
+ * 参考: {Groonga::Expression#parse} .
1784
+ *
1785
+ * @option options :allow_pragma
1786
+ * query構文時にプラグマを利用するかどうか。省略した場合は
1787
+ * 利用する。
1788
+ *
1789
+ * 参考: {Groonga::Expression#parse} .
1790
+ *
1791
+ * @option options :allow_column
1792
+ * query構文時にカラム指定を利用するかどうか。省略した場合
1793
+ * は利用する。
1794
+ *
1795
+ * 参考: {Groonga::Expression#parse} .
1796
+ *
1797
+ * @option options :allow_update
1798
+ * script構文時に更新操作を利用するかどうか。省略した場合
1799
+ * は利用する。
1800
+ *
1801
+ * 参考: {Groonga::Expression#parse} .
1802
+ *
1803
+ * @overload select(query, options)
1804
+ * _query_ には「[カラム名]:[演算子][値]」という書式で条件を
1805
+ * 指定する。演算子は以下の通り。
1806
+ *
1807
+ * - なし := [カラム値] == [値]
1808
+ * - @!@ := [カラム値] != [値]
1809
+ * - @<@ := [カラム値] < [値]
1810
+ * - @>@ := [カラム値] > [値]
1811
+ * - @<=@ := [カラム値] <= [値]
1812
+ * - @>=@ := [カラム値] >= [値]
1813
+ * - @@@ := [カラム値]が[値]を含んでいるかどうか
1814
+ *
1815
+ * 例:
1816
+ *
1817
+ * <pre>
1818
+ * !!!ruby
1819
+ * "name:daijiro" # "name"カラムの値が"daijiro"のレコードにマッチ
1820
+ * "description:@groonga" # "description"カラムが
1821
+ * # "groonga"を含んでいるレコードにマッチ
1822
+ * </pre>
1823
+ *
1824
+ * @!macro table.select.options
1825
+ * @overload select(expression, options)
1826
+ * _expression_ には既に作成済みの {Groonga::Expression} を渡す。
1827
+ *
1828
+ * @!macro table.select.options
1829
+ * @return [Groonga::Hash]
1846
1830
  */
1847
1831
  static VALUE
1848
1832
  rb_grn_table_select (int argc, VALUE *argv, VALUE self)
@@ -1852,7 +1836,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
1852
1836
  grn_operator operator = GRN_OP_OR;
1853
1837
  VALUE rb_query = Qnil, condition_or_options, options;
1854
1838
  VALUE rb_name, rb_operator, rb_result, rb_syntax;
1855
- VALUE rb_allow_pragma, rb_allow_column, rb_allow_update;
1839
+ VALUE rb_allow_pragma, rb_allow_column, rb_allow_update, rb_allow_leading_not;
1856
1840
  VALUE rb_default_column;
1857
1841
  VALUE rb_expression = Qnil, builder;
1858
1842
 
@@ -1886,6 +1870,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
1886
1870
  "allow_pragma", &rb_allow_pragma,
1887
1871
  "allow_column", &rb_allow_column,
1888
1872
  "allow_update", &rb_allow_update,
1873
+ "allow_leading_not", &rb_allow_leading_not,
1889
1874
  "default_column", &rb_default_column,
1890
1875
  NULL);
1891
1876
 
@@ -1909,6 +1894,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
1909
1894
  rb_funcall(builder, rb_intern("allow_pragma="), 1, rb_allow_pragma);
1910
1895
  rb_funcall(builder, rb_intern("allow_column="), 1, rb_allow_column);
1911
1896
  rb_funcall(builder, rb_intern("allow_update="), 1, rb_allow_update);
1897
+ rb_funcall(builder, rb_intern("allow_leading_not="), 1, rb_allow_leading_not);
1912
1898
  rb_funcall(builder, rb_intern("default_column="), 1, rb_default_column);
1913
1899
  rb_expression = rb_grn_record_expression_builder_build(builder);
1914
1900
  }
@@ -1952,12 +1938,11 @@ rb_grn_table_set_operation_bang (VALUE self, VALUE rb_other,
1952
1938
  }
1953
1939
 
1954
1940
  /*
1955
- * call-seq:
1956
- * table.union!(other) -> Groonga::Table
1957
- *
1958
1941
  * キーを比較し、 _table_ には登録されていない _other_ のレコー
1959
1942
  * ドを _table_ に作成する。
1960
1943
  *
1944
+ * @overload union!(other)
1945
+ * @return [Groonga::Table]
1961
1946
  */
1962
1947
  static VALUE
1963
1948
  rb_grn_table_union_bang (VALUE self, VALUE rb_other)
@@ -1967,12 +1952,11 @@ rb_grn_table_union_bang (VALUE self, VALUE rb_other)
1967
1952
 
1968
1953
 
1969
1954
  /*
1970
- * call-seq:
1971
- * table.intersection!(other) -> Groonga::Table
1972
- *
1973
1955
  * キーを比較し、 _other_ には登録されていないレコードを
1974
1956
  * _table_ から削除する。
1975
1957
  *
1958
+ * @overload intersection!(other)
1959
+ * @return [Groonga::Table]
1976
1960
  */
1977
1961
  static VALUE
1978
1962
  rb_grn_table_intersection_bang (VALUE self, VALUE rb_other)
@@ -1981,12 +1965,11 @@ rb_grn_table_intersection_bang (VALUE self, VALUE rb_other)
1981
1965
  }
1982
1966
 
1983
1967
  /*
1984
- * call-seq:
1985
- * table.difference!(other) -> Groonga::Table
1986
- *
1987
1968
  * キーを比較し、 _other_ にも登録されているレコードを _table_
1988
1969
  * から削除する。
1989
1970
  *
1971
+ * @overload difference!(other)
1972
+ * @return [Groonga::Table]
1990
1973
  */
1991
1974
  static VALUE
1992
1975
  rb_grn_table_difference_bang (VALUE self, VALUE rb_other)
@@ -1995,12 +1978,11 @@ rb_grn_table_difference_bang (VALUE self, VALUE rb_other)
1995
1978
  }
1996
1979
 
1997
1980
  /*
1998
- * call-seq:
1999
- * table.merge!(other) -> Groonga::Table
2000
- *
2001
1981
  * キーを比較し、 _other_ にも登録されている _table_ のレコード
2002
1982
  * のスコアを _other_ のスコアと同値にする。
2003
1983
  *
1984
+ * @overload merge!(other)
1985
+ * @return [Groonga::Table]
2004
1986
  */
2005
1987
  static VALUE
2006
1988
  rb_grn_table_merge_bang (VALUE self, VALUE rb_other)
@@ -2009,11 +1991,10 @@ rb_grn_table_merge_bang (VALUE self, VALUE rb_other)
2009
1991
  }
2010
1992
 
2011
1993
  /*
2012
- * call-seq:
2013
- * table.support_key? -> true/false
2014
- *
2015
1994
  * _table_ に主キーが設定されていれば +true+ 、されていなければ
2016
1995
  * +false+ を返す。
1996
+ *
1997
+ * @overload support_key?
2017
1998
  */
2018
1999
  static VALUE
2019
2000
  rb_grn_table_support_key_p (VALUE self)
@@ -2022,12 +2003,11 @@ rb_grn_table_support_key_p (VALUE self)
2022
2003
  }
2023
2004
 
2024
2005
  /*
2025
- * call-seq:
2026
- * table.support_sub_records? -> true/false
2027
- *
2028
2006
  * グループ化したとき、テーブルにグループに含まれるレコード
2029
2007
  * 数を格納できる場合は +true+ 、格納できない場合は +false+ を返
2030
2008
  * す。
2009
+ *
2010
+ * @overload support_sub_records?
2031
2011
  */
2032
2012
  static VALUE
2033
2013
  rb_grn_table_support_sub_records_p (VALUE self)
@@ -2042,14 +2022,13 @@ rb_grn_table_support_sub_records_p (VALUE self)
2042
2022
  }
2043
2023
 
2044
2024
  /*
2045
- * call-seq:
2046
- * table.exist?(id) -> true/false
2047
- *
2048
2025
  * _table_ に _id_ で指定したIDのレコードが存在する場合は +true+ 、
2049
2026
  * 存在しない場合は +false+ を返す。
2050
2027
  *
2051
2028
  * 注意: 実行には相応のコストがかかるのであまり頻繁に呼ばな
2052
2029
  * いようにして下さい。
2030
+ *
2031
+ * @overload exist?(id)
2053
2032
  */
2054
2033
  static VALUE
2055
2034
  rb_grn_table_exist_p (VALUE self, VALUE id)
@@ -2065,18 +2044,16 @@ rb_grn_table_exist_p (VALUE self, VALUE id)
2065
2044
  }
2066
2045
 
2067
2046
  /*
2068
- * Document-method: defrag
2069
- *
2070
- * call-seq:
2071
- * table.defrag(options={}) -> n_segments
2072
- *
2073
2047
  * Defrags all variable size columns in the table.
2074
2048
  *
2049
+ * @overload defrag(options={})
2050
+ * @param options [::Hash] The name and value
2051
+ * pairs. Omitted names are initialized as the default value.
2052
+ * @option options [Integer] :threshold (0) the threshold to
2053
+ * determine whether a segment is defraged. Available
2054
+ * values are -4..22. -4 means all segments are defraged.
2055
+ * 22 means no segment is defraged.
2075
2056
  * @return [Integer] the number of defraged segments
2076
- * @option options [Integer] :threshold (0) the threshold to
2077
- * determine whether a segment is defraged. Available
2078
- * values are -4..22. -4 means all segments are defraged.
2079
- * 22 means no segment is defraged.
2080
2057
  * @since 1.3.0
2081
2058
  */
2082
2059
  static VALUE
@@ -2107,15 +2084,11 @@ rb_grn_table_defrag (int argc, VALUE *argv, VALUE self)
2107
2084
  }
2108
2085
 
2109
2086
  /*
2110
- * Document-method: rename
2111
- *
2112
- * call-seq:
2113
- * table.rename(name)
2114
- *
2115
2087
  * Renames the table to name.
2116
2088
  *
2117
- * @param name [String] the new name
2118
- * @since 1.3.0
2089
+ * @overload rename(name)
2090
+ * @param name [String] the new name
2091
+ * @since 1.3.0
2119
2092
  */
2120
2093
  static VALUE
2121
2094
  rb_grn_table_rename (VALUE self, VALUE rb_name)