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
@@ -21,7 +21,7 @@ module Groonga
21
21
 
22
22
  # groongaのスキーマ(データ構造)を管理するクラス。
23
23
  #
24
- # Groonga::Schemaを使うことにより簡単にテーブルやカラムを
24
+ # {Groonga::Schema} を使うことにより簡単にテーブルやカラムを
25
25
  # 追加・削除することができる。
26
26
  #
27
27
  # !http://qwik.jp/senna/senna2.files/rect4605.png!
@@ -148,11 +148,12 @@ module Groonga
148
148
 
149
149
  class << self
150
150
 
151
- # スキーマを定義する。ブロックにはGroonga::Schemaオブ
151
+ # スキーマを定義する。ブロックには {Groonga::Schema} オブ
152
152
  # ジェクトがわたるので、そのオブジェクトを利用してスキー
153
153
  # マを定義する。以下の省略形。
154
154
  #
155
155
  # <pre>
156
+ # !!!ruby
156
157
  # schema = Groonga::Scheme.new(options)
157
158
  # # ...
158
159
  # schema.define
@@ -162,20 +163,25 @@ module Groonga
162
163
  # pairs. Omitted names are initialized as the default value.
163
164
  # @option options [Groonga::Context] :content (Groonga::Context.default) The context
164
165
  #
165
- # スキーマ定義時に使用するGroonga::Contextを指定する。
166
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
166
167
  def define(options={})
167
168
  schema = new(options)
168
169
  yield(schema)
169
170
  schema.define
170
171
  end
171
172
 
172
- # @example 名前が _name_ のテーブルを作成する。以下の省略形。
173
- # Groonga::Schema.define do |schema|
174
- # schema.create_table(name, options) do |table|
175
- # # ...
176
- # end
177
- # end
178
- # ブロックにはGroonga::Schema::TableDefinitionオブジェ
173
+ # 名前が _name_ のテーブルを作成する。以下の省略形。
174
+ #
175
+ # <pre>
176
+ # !!!ruby
177
+ # Groonga::Schema.define do |schema|
178
+ # schema.create_table(name, options) do |table|
179
+ # # ...
180
+ # end
181
+ # end
182
+ # </pre>
183
+ #
184
+ # ブロックには {Groonga::Schema::TableDefinition} オブジェ
179
185
  # クトがわたるので、そのオブジェクトを利用してテーブル
180
186
  # の詳細を定義する。
181
187
  #
@@ -195,7 +201,7 @@ module Groonga
195
201
  # (:key_typeの項も参照)
196
202
  # @option options [Groonga::Context] :context (Groonga::Context.default) The context
197
203
  #
198
- # スキーマ定義時に使用するGroonga::Contextを指定する。
204
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
199
205
  # @option options :path The path
200
206
  #
201
207
  # テーブルを保存するパスを指定する。
@@ -210,8 +216,8 @@ module Groonga
210
216
  # 値を保存したい場合は必ず指定すること。
211
217
  # @option options :sub_records The sub_records
212
218
  #
213
- # +true+ を指定するとGroonga::Table#groupで
214
- # グループ化したときに、Groonga::Record#n_sub_recordsでグループに
219
+ # +true+ を指定すると {Groonga::Table#group}
220
+ # グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
215
221
  # 含まれるレコードの件数を取得できる。
216
222
  #
217
223
  # @overload create_table(name, options= {:type => :hash}, &block)
@@ -229,7 +235,7 @@ module Groonga
229
235
  # (:key_typeの項も参照)
230
236
  # @option options [Groonga::Context] :context (Groonga::Context.default) The context
231
237
  #
232
- # スキーマ定義時に使用するGroonga::Contextを指定する。
238
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
233
239
  # @option options :path The path
234
240
  #
235
241
  # テーブルを保存するパスを指定する。
@@ -244,29 +250,29 @@ module Groonga
244
250
  # 値を保存したい場合は必ず指定すること。
245
251
  # @option options :sub_records The sub_records
246
252
  #
247
- # +true+ を指定するとGroonga::Table#groupで
248
- # グループ化したときに、Groonga::Record#n_sub_recordsでグループに
253
+ # +true+ を指定すると {Groonga::Table#group}
254
+ # グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
249
255
  # 含まれるレコードの件数を取得できる。
250
256
  # @option options :key_type The key_type
251
257
  #
252
258
  # キーの種類を示すオブジェクトを指定する。
253
- # キーの種類には型名("Int32"や"ShortText"など)またはGroonga::Type
254
- # またはテーブル(Groonga::Array、Groonga::Hash、
255
- # Groonga::PatriciaTrie、Groonga::DoubleArrayTrieの
256
- # どれか)を指定する。Groonga::Typeを指定した場合は、その型が示す範囲の
259
+ # キーの種類には型名("Int32"や"ShortText"など)または {Groonga::Type}
260
+ # またはテーブル( {Groonga::Array} {Groonga::Hash}
261
+ # {Groonga::PatriciaTrie} {Groonga::DoubleArrayTrie}
262
+ # どれか)を指定する。 {Groonga::Type} を指定した場合は、その型が示す範囲の
257
263
  # 値をキーとして使用する。ただし、キーの最大サイズは4096バイトで
258
- # あるため、Groonga::Type::TEXTやGroonga::Type::LONG_TEXTは使用できない
264
+ # あるため、 {Groonga::Type::TEXT} {Groonga::Type::LONG_TEXT} は使用できない
259
265
  # 。テーブルを指定した場合はレコードIDをキーとして使用する。
260
- # 指定したテーブルのGroonga::Recordをキーとして使用することもでき、
261
- # その場合は自動的にGroonga::RecordからレコードIDを取得する。
266
+ # 指定したテーブルの {Groonga::Record} をキーとして使用することもでき、
267
+ # その場合は自動的に {Groonga::Record} からレコードIDを取得する。
262
268
  # 省略した場合は文字列をキーとして使用する。
263
269
  # この場合、4096バイトまで使用可能である。
264
270
  # @option options :default_tokenizer The default_tokenizer
265
271
  #
266
- # Groonga::IndexColumnで
272
+ # {Groonga::IndexColumn}
267
273
  # 使用するトークナイザを指定する。デフォルトでは
268
274
  # 何も設定されていないので、テーブルに
269
- # Groonga::IndexColumnを定義する場合は<tt>"TokenBigram"</tt>
275
+ # {Groonga::IndexColumn} を定義する場合は @"TokenBigram"@
270
276
  # などを指定する必要がある。
271
277
  # @option options :key_normalize The key_normalize
272
278
  #
@@ -287,7 +293,7 @@ module Groonga
287
293
  # (:key_typeの項も参照)
288
294
  # @option options [Groonga::Context] :context (Groonga::Context.default) The context
289
295
  #
290
- # スキーマ定義時に使用するGroonga::Contextを指定する。
296
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
291
297
  # @option options :path The path
292
298
  #
293
299
  # テーブルを保存するパスを指定する。
@@ -302,8 +308,8 @@ module Groonga
302
308
  # 値を保存したい場合は必ず指定すること。
303
309
  # @option options :sub_records The sub_records
304
310
  #
305
- # +true+ を指定するとGroonga::Table#groupで
306
- # グループ化したときに、Groonga::Record#n_sub_recordsでグループに
311
+ # +true+ を指定すると {Groonga::Table#group}
312
+ # グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
307
313
  # 含まれるレコードの件数を取得できる。
308
314
  # @option options :key_normalize The key_normalize
309
315
  #
@@ -322,7 +328,7 @@ module Groonga
322
328
  # pairs. Omitted names are initialized as the default value.
323
329
  # @option options :context (Groonga::Context.default)
324
330
  #
325
- # スキーマ定義時に使用するGroonga::Contextを指定する。
331
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
326
332
  def remove_table(name, options={})
327
333
  define do |schema|
328
334
  schema.remove_table(name, options)
@@ -332,6 +338,7 @@ module Groonga
332
338
  # 名前が _name_ のテーブルを変更する。以下の省略形。
333
339
  #
334
340
  # <pre>
341
+ # !!!ruby
335
342
  # Groonga::Schema.define do |schema|
336
343
  # schema.change_table(name, options) do |table|
337
344
  # # ...
@@ -339,7 +346,7 @@ module Groonga
339
346
  # end
340
347
  # </pre>
341
348
  #
342
- # ブロックにはGroonga::Schema::TableDefinitionオブジェ
349
+ # ブロックには {Groonga::Schema::TableDefinition} オブジェ
343
350
  # クトがわたるので、そのオブジェクトを利用してテーブル
344
351
  # の詳細を定義する。
345
352
  #
@@ -347,7 +354,7 @@ module Groonga
347
354
  # pairs. Omitted names are initialized as the default value.
348
355
  # @option options :context (Groonga::Context.default) The context
349
356
  #
350
- # スキーマ定義時に使用するGroonga::Contextを指定する。
357
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
351
358
  def change_table(name, options={}, &block)
352
359
  define do |schema|
353
360
  schema.change_table(name, options, &block)
@@ -359,6 +366,7 @@ module Groonga
359
366
  # This is a syntax sugar of the following code:
360
367
  #
361
368
  # <pre>
369
+ # !!!ruby
362
370
  # Groonga::Schema.define do |schema|
363
371
  # schema.rename_table(current_name, new_name, options)
364
372
  # end
@@ -372,13 +380,14 @@ module Groonga
372
380
  # 名前が_name_のビューを作成する。以下の省略形。
373
381
  #
374
382
  # <pre>
383
+ # !!!ruby
375
384
  # Groonga::Schema.define do |schema|
376
385
  # schema.create_view(name, options) do |view|
377
386
  # # ...
378
387
  # end
379
388
  # end
380
389
  # </pre>
381
- # ブロックにはGroonga::Schema::ViewDefinitionオブジェ
390
+ # ブロックには {Groonga::Schema::ViewDefinition} オブジェ
382
391
  # クトがわたるので、そのオブジェクトを利用してビュー
383
392
  # の詳細を定義する。
384
393
  #
@@ -390,7 +399,7 @@ module Groonga
390
399
  # 存在していても、強制的にビューを作成する。
391
400
  # @option options :context (Groonga::Context.default) The context
392
401
  #
393
- # スキーマ定義時に使用するGroonga::Contextを指定する。
402
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
394
403
  # @option options :path The path
395
404
  #
396
405
  # ビューを保存するパスを指定する。
@@ -411,16 +420,17 @@ module Groonga
411
420
  # @param options [::Hash] The name and value
412
421
  # pairs. Omitted names are initialized as the default value.
413
422
  # @option options :context (Groonga::context.default) The context
414
- # スキーマ定義時に使用するGroonga::Contextを指定する。
423
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
415
424
  def remove_view(name, options={})
416
425
  define do |schema|
417
426
  schema.remove_view(name, options)
418
427
  end
419
428
  end
420
429
 
421
- # 名前が_name_のビューを変更する。以下の省略形。
430
+ # 名前が _name_ のビューを変更する。以下の省略形。
422
431
  #
423
432
  # <pre>
433
+ # !!!ruby
424
434
  # Groonga::Schema.define do |schema|
425
435
  # schema.change_view(name, options) do |view|
426
436
  # # ...
@@ -428,7 +438,7 @@ module Groonga
428
438
  # end
429
439
  # </pre>
430
440
  #
431
- # ブロックにはGroonga::Schema::ViewDefinitionオブジェ
441
+ # ブロックには {Groonga::Schema::ViewDefinition} オブジェ
432
442
  # クトがわたるので、そのオブジェクトを利用してテーブル
433
443
  # の詳細を定義する。
434
444
  #
@@ -436,7 +446,7 @@ module Groonga
436
446
  # pairs. Omitted names are initialized as the default value.
437
447
  # @option options :context (Groonga::Context.default) The context
438
448
  #
439
- # スキーマ定義時に使用するGroonga::Contextを指定する。
449
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
440
450
  def change_view(name, options={}, &block)
441
451
  define do |schema|
442
452
  schema.change_view(name, options, &block)
@@ -446,6 +456,7 @@ module Groonga
446
456
  # 以下と同様:
447
457
  #
448
458
  # <pre>
459
+ # !!!ruby
449
460
  # Groonga::Schema.change_table(table_name) do |table|
450
461
  # table.remove_column(column_name)
451
462
  # end
@@ -459,6 +470,7 @@ module Groonga
459
470
  # This is a syntax sugar of the following:
460
471
  #
461
472
  # <pre>
473
+ # !!!ruby
462
474
  # Groonga::Schema.define do |schema|
463
475
  # schema.rename_column(table_name,
464
476
  # current_column_name, new_column_name)
@@ -473,12 +485,13 @@ module Groonga
473
485
  # スキーマの内容を文字列をRubyスクリプト形式またはgrn式
474
486
  # 形式で返す。デフォルトはRubyスクリプト形式である。
475
487
  # Rubyスクリプト形式で返された値は
476
- # Groonga::Schema.restoreすることによりスキーマ内に組み
488
+ # {Groonga::Schema.restore} することによりスキーマ内に組み
477
489
  # 込むことができる。
478
490
  #
479
491
  # dump.rb:
480
492
  #
481
493
  # <pre>
494
+ # !!!ruby
482
495
  # File.open("/tmp/groonga-schema.rb", "w") do |schema|
483
496
  # dumped_text = Groonga::Schema.dump
484
497
  # end
@@ -487,6 +500,7 @@ module Groonga
487
500
  # restore.rb:
488
501
  #
489
502
  # <pre>
503
+ # !!!ruby
490
504
  # dumped_text = Groonga::Schema.dump
491
505
  # Groonga::Database.create(:path => "/tmp/new-db.grn")
492
506
  # Groonga::Schema.restore(dumped_text)
@@ -498,6 +512,7 @@ module Groonga
498
512
  # dump.rb:
499
513
  #
500
514
  # <pre>
515
+ # !!!ruby
501
516
  # File.open("/tmp/groonga-schema.grn", "w") do |schema|
502
517
  # dumped_text = Groonga::Schema.dump(:syntax => :command)
503
518
  # end
@@ -512,7 +527,7 @@ module Groonga
512
527
  # pairs. Omitted names are initialized as the default value.
513
528
  # @option options :context (Groonga::Context.default) The context
514
529
  #
515
- # スキーマ定義時に使用するGroonga::Contextを指定する。
530
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
516
531
  # @option options :syntax The syntax
517
532
  #
518
533
  # スキーマの文字列の形式を指定する。指定可能な値は以下の通り。
@@ -526,13 +541,14 @@ module Groonga
526
541
  schema.dump
527
542
  end
528
543
 
529
- # Groonga::Schema.dumpで文字列化したスキーマを組み込む。
544
+ # {Groonga::Schema.dump} で文字列化したスキーマを組み込む。
530
545
  def restore(dumped_text, options={})
531
546
  define(options) do |schema|
532
547
  schema.restore(dumped_text)
533
548
  end
534
549
  end
535
550
 
551
+ # @private
536
552
  NORMALIZE_TYPE_TABLE = {
537
553
  "short_text" => "ShortText",
538
554
  "string" => "ShortText",
@@ -616,7 +632,7 @@ module Groonga
616
632
  # @param options [::Hash] The name and value
617
633
  # pairs. Omitted names are initialized as the default value.
618
634
  # @option options :context (Groonga::Context.default) The context
619
- # スキーマ定義時に使用するGroonga::Contextを指定する。
635
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
620
636
  def initialize(options={})
621
637
  @options = (options || {}).dup
622
638
  @options[:context] ||= Groonga::Context.default
@@ -630,9 +646,9 @@ module Groonga
630
646
  end
631
647
  end
632
648
 
633
- # Groonga::Schema#dumpで返されたスキーマの内容を読み込む。
649
+ # {Groonga::Schema#dump} で返されたスキーマの内容を読み込む。
634
650
  #
635
- # 読み込まれた内容は#defineを呼び出すまでは実行されない
651
+ # 読み込まれた内容は {#define} を呼び出すまでは実行されない
636
652
  # ことに注意すること。
637
653
  def restore(dumped_text)
638
654
  instance_eval(dumped_text)
@@ -642,7 +658,7 @@ module Groonga
642
658
  alias_method :load, :restore
643
659
 
644
660
  # スキーマの内容を文字列で返す。返された値は
645
- # Groonga::Schema#restoreすることによりスキーマ内に組み込むことができる。
661
+ # {Groonga::Schema#restore} することによりスキーマ内に組み込むことができる。
646
662
  def dump
647
663
  dumper = SchemaDumper.new(:context => @options[:context],
648
664
  :syntax => @options[:syntax] || :ruby)
@@ -651,7 +667,7 @@ module Groonga
651
667
 
652
668
  # 名前が _name_ のテーブルを作成する。
653
669
  #
654
- # テーブルの作成は#defineを呼び出すまでは実行されないこ
670
+ # テーブルの作成は {#define} を呼び出すまでは実行されないこ
655
671
  # とに注意すること。
656
672
  # @overload create_table(name, options= {:type => :array})
657
673
  # :typeにデフォルトの:arrayを使用した場合
@@ -668,10 +684,10 @@ module Groonga
668
684
  # +:double_array_trie+ のいずれかを指定する。
669
685
  # @option options [Groonga::Context] :context The context.
670
686
  #
671
- # スキーマ定義時に使用するGroonga::Contextを指定する。
672
- # 省略した場合はGroonga::Schema.newで指定した
673
- # Groonga::Contextを使用する。Groonga::Schema.newで指
674
- # 定していない場合はGroonga::Context.defaultを使用する。
687
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
688
+ # 省略した場合は {Groonga::Schema.new} で指定した
689
+ # {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
690
+ # 定していない場合は {Groonga::Context.default} を使用する。
675
691
  # @option options :path The path
676
692
  #
677
693
  # テーブルを保存するパスを指定する。パスを指定すると
@@ -685,11 +701,11 @@ module Groonga
685
701
  #
686
702
  # 値の型を指定する。省略すると値のための領域を確保しない。
687
703
  # 値を保存したい場合は必ず指定すること。
688
- # 参考: Groonga::Type.new
704
+ # 参考: {Groonga::Type.new}
689
705
  # @option options :sub_records The sub_records
690
706
  #
691
- # +true+ を指定するとGroonga::Table#groupでグループ化
692
- # したときに、Groonga::Record#n_sub_recordsでグループに
707
+ # +true+ を指定すると {Groonga::Table#group} でグループ化
708
+ # したときに、 {Groonga::Record#n_sub_records} でグループに
693
709
  # 含まれるレコードの件数を取得できる。
694
710
  #
695
711
  # @overload create_table(name, options= {:type => :hash})
@@ -707,10 +723,10 @@ module Groonga
707
723
  # +:double_array_trie+ のいずれかを指定する。
708
724
  # @option options [Groonga::Context] :context The context
709
725
  #
710
- # スキーマ定義時に使用するGroonga::Contextを指定する。
711
- # 省略した場合はGroonga::Schema.newで指定した
712
- # Groonga::Contextを使用する。Groonga::Schema.newで指
713
- # 定していない場合はGroonga::Context.defaultを使用する。
726
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
727
+ # 省略した場合は {Groonga::Schema.new} で指定した
728
+ # {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
729
+ # 定していない場合は {Groonga::Context.default} を使用する。
714
730
  # @option options :path The path
715
731
  #
716
732
  # テーブルを保存するパスを指定する。パスを指定すると
@@ -724,39 +740,39 @@ module Groonga
724
740
  #
725
741
  # 値の型を指定する。省略すると値のための領域を確保しない。
726
742
  # 値を保存したい場合は必ず指定すること。
727
- # 参考: Groonga::Type.new
743
+ # 参考: {Groonga::Type.new}
728
744
  # @option options :sub_records The sub_records
729
745
  #
730
- # +true+ を指定するとGroonga::Table#groupでグループ化
731
- # したときに、Groonga::Record#n_sub_recordsでグループに
746
+ # +true+ を指定すると {Groonga::Table#group} でグループ化
747
+ # したときに、 {Groonga::Record#n_sub_records} でグループに
732
748
  # 含まれるレコードの件数を取得できる。
733
749
  # @option options :key_type The key_type
734
750
  #
735
751
  # キーの種類を示すオブジェクトを指定する。
736
752
  # キーの種類には型名("Int32"や"ShortText"など)または
737
- # Groonga::Typeまたはテーブル(Groonga::Array、
738
- # Groonga::Hash、Groonga::PatriciaTrie、
739
- # Groonga::DoubleArrayTrieのどれか)を指定する。
753
+ # {Groonga::Type} またはテーブル( {Groonga::Array}
754
+ # {Groonga::Hash} {Groonga::PatriciaTrie}
755
+ # {Groonga::DoubleArrayTrie} のどれか)を指定する。
740
756
  #
741
- # Groonga::Typeを指定した場合は、その型が示す範囲の
757
+ # {Groonga::Type} を指定した場合は、その型が示す範囲の
742
758
  # 値をキーとして使用する。ただし、キーの最大サイズは
743
- # 4096バイトであるため、Groonga::Type::TEXTや
744
- # Groonga::Type::LONG_TEXTは使用できない。
759
+ # 4096バイトであるため、 {Groonga::Type::TEXT}
760
+ # {Groonga::Type::LONG_TEXT} は使用できない。
745
761
  #
746
762
  # テーブルを指定した場合はレコードIDをキーとして使用
747
- # する。指定したテーブルのGroonga::Recordをキーとし
763
+ # する。指定したテーブルの {Groonga::Record} をキーとし
748
764
  # て使用することもでき、その場合は自動的に
749
- # Groonga::RecordからレコードIDを取得する。
765
+ # {Groonga::Record} からレコードIDを取得する。
750
766
  #
751
767
  # 省略した場合は文字列をキーとして使用する。この場合、
752
768
  # 4096バイトまで使用可能である。
753
769
  #
754
770
  # @option options :default_tokenizer The default_tokenizer
755
771
  #
756
- # Groonga::IndexColumnで使用するトークナイザを指定する。
772
+ # {Groonga::IndexColumn} で使用するトークナイザを指定する。
757
773
  # デフォルトでは何も設定されていないので、テーブルに
758
- # Groonga::IndexColumnを定義する場合は
759
- # <tt>"TokenBigram"</tt>などを指定する必要がある。
774
+ # {Groonga::IndexColumn} を定義する場合は
775
+ # @"TokenBigram"@ などを指定する必要がある。
760
776
  #
761
777
  # @overload create_table(name, options= {:type => :double_array_trie})
762
778
  # :typeに:double_array_trieを使用した場合
@@ -768,10 +784,10 @@ module Groonga
768
784
  # 存在していても、強制的にテーブルを作成する。
769
785
  # @option options [Groonga::Context] :context The context
770
786
  #
771
- # スキーマ定義時に使用するGroonga::Contextを指定する。
772
- # 省略した場合はGroonga::Schema.newで指定した
773
- # Groonga::Contextを使用する。Groonga::Schema.newで指
774
- # 定していない場合はGroonga::Context.defaultを使用する。
787
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
788
+ # 省略した場合は {Groonga::Schema.new} で指定した
789
+ # {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
790
+ # 定していない場合は {Groonga::Context.default} を使用する。
775
791
  # @option options :path The path
776
792
  #
777
793
  # テーブルを保存するパスを指定する。パスを指定すると
@@ -785,11 +801,11 @@ module Groonga
785
801
  #
786
802
  # 値の型を指定する。省略すると値のための領域を確保しない。
787
803
  # 値を保存したい場合は必ず指定すること。
788
- # 参考: Groonga::Type.new
804
+ # 参考: {Groonga::Type.new}
789
805
  # @option options :sub_records The sub_records
790
806
  #
791
- # +true+ を指定するとGroonga::Table#groupでグループ化
792
- # したときに、Groonga::Record#n_sub_recordsでグループに
807
+ # +true+ を指定すると {Groonga::Table#group} でグループ化
808
+ # したときに、 {Groonga::Record#n_sub_records} でグループに
793
809
  # 含まれるレコードの件数を取得できる。
794
810
  # @option options :key_normalize The key_normalize
795
811
  #
@@ -798,28 +814,28 @@ module Groonga
798
814
  #
799
815
  # キーの種類を示すオブジェクトを指定する。
800
816
  # キーの種類には型名("Int32"や"ShortText"など)または
801
- # Groonga::Typeまたはテーブル(Groonga::Array、
802
- # Groonga::Hash、Groonga::PatriciaTrie、
803
- # Groonga::DoubleArrayTrieのどれか)を指定する。
817
+ # {Groonga::Type} またはテーブル( {Groonga::Array}
818
+ # {Groonga::Hash} {Groonga::PatriciaTrie}
819
+ # {Groonga::DoubleArrayTrie} のどれか)を指定する。
804
820
  #
805
- # Groonga::Typeを指定した場合は、その型が示す範囲の
821
+ # {Groonga::Type} を指定した場合は、その型が示す範囲の
806
822
  # 値をキーとして使用する。ただし、キーの最大サイズは
807
- # 4096バイトであるため、Groonga::Type::TEXTや
808
- # Groonga::Type::LONG_TEXTは使用できない。
823
+ # 4096バイトであるため、 {Groonga::Type::TEXT}
824
+ # {Groonga::Type::LONG_TEXT} は使用できない。
809
825
  #
810
826
  # テーブルを指定した場合はレコードIDをキーとして使用
811
- # する。指定したテーブルのGroonga::Recordをキーとし
827
+ # する。指定したテーブルの {Groonga::Record} をキーとし
812
828
  # て使用することもでき、その場合は自動的に
813
- # Groonga::RecordからレコードIDを取得する。
829
+ # {Groonga::Record} からレコードIDを取得する。
814
830
  #
815
831
  # 省略した場合は文字列をキーとして使用する。この場合、
816
832
  # 4096バイトまで使用可能である。
817
833
  # @option options :default_tokenizer The default_tokenizer
818
834
  #
819
- # Groonga::IndexColumnで使用するトークナイザを指定する。
835
+ # {Groonga::IndexColumn} で使用するトークナイザを指定する。
820
836
  # デフォルトでは何も設定されていないので、テーブルに
821
- # Groonga::IndexColumnを定義する場合は
822
- # <tt>"TokenBigram"</tt>などを指定する必要がある。
837
+ # {Groonga::IndexColumn} を定義する場合は
838
+ # @"TokenBigram"@ などを指定する必要がある。
823
839
  def create_table(name, options={})
824
840
  definition = TableDefinition.new(name, @options.merge(options || {}))
825
841
  yield(definition) if block_given?
@@ -828,14 +844,14 @@ module Groonga
828
844
 
829
845
  # 名前が _name_ のテーブルを削除する。
830
846
  #
831
- # テーブルの削除は#defineを呼び出すまでは実行されないこ
847
+ # テーブルの削除は# {define} を呼び出すまでは実行されないこ
832
848
  # とに注意すること。
833
849
  #
834
850
  # @param options [::Hash] The name and value
835
851
  # pairs. Omitted names are initialized as the default value.
836
852
  # @option options :context (Groonga::Context.default) The context
837
853
  #
838
- # スキーマ定義時に使用するGroonga::Contextを指定する。
854
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
839
855
  def remove_table(name, options={})
840
856
  definition = TableRemoveDefinition.new(name, @options.merge(options || {}))
841
857
  @definitions << definition
@@ -843,14 +859,14 @@ module Groonga
843
859
 
844
860
  # 名前が _name_ のテーブルを変更する。
845
861
  #
846
- # テーブルの変更は #define を呼び出すまでは実行されないこ
862
+ # テーブルの変更は {#define} を呼び出すまでは実行されないこ
847
863
  # とに注意すること。
848
864
  #
849
865
  # @param options [::Hash] The name and value
850
866
  # pairs. Omitted names are initialized as the default value.
851
867
  # @option options :context (Groonga::Context.default) The context
852
868
  #
853
- # スキーマ定義時に使用するGroonga::Contextを指定する。
869
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
854
870
  def change_table(name, options={})
855
871
  options = @options.merge(options || {}).merge(:change => true)
856
872
  definition = TableDefinition.new(name, options)
@@ -866,7 +882,7 @@ module Groonga
866
882
  # @param options [::Hash] The name and value
867
883
  # pairs. Omitted names are initialized as the default value.
868
884
  # @option options :context (Groonga::Context.default)
869
- # The Groonga::Context to be used in renaming.
885
+ # The {Groonga::Context} to be used in renaming.
870
886
  def rename_table(current_name, new_name, options={})
871
887
  options = @options.merge(options || {})
872
888
  definition = TableRenameDefinition.new(current_name, new_name, options)
@@ -875,7 +891,7 @@ module Groonga
875
891
 
876
892
  # 名前が _name_ のビューを作成する。
877
893
  #
878
- # ビューの作成は #define を呼び出すまでは実行されないこ
894
+ # ビューの作成は {#define} を呼び出すまでは実行されないこ
879
895
  # とに注意すること。
880
896
  #
881
897
  # @param options [::Hash] The name and value
@@ -886,9 +902,9 @@ module Groonga
886
902
  # ビューが存在していても、強制的にビューを作成する。
887
903
  # @option options [Groonga::Context] :context (Groonga::Schema.new) The context
888
904
  #
889
- # スキーマ定義時に使用するGroonga::Contextを指定する。
890
- # Groonga::Schema.newで指定していない場合は
891
- # Groonga::Context.defaultを使用する。
905
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
906
+ # {Groonga::Schema.new} で指定していない場合は
907
+ # {Groonga::Context.default} を使用する。
892
908
  # @option options :path The path
893
909
  #
894
910
  # テーブルを保存するパスを指定する。パスを指定すると
@@ -905,7 +921,7 @@ module Groonga
905
921
 
906
922
  # 名前が _name_ のビューを削除する。
907
923
  #
908
- # ビューの削除は #define を呼び出すまでは実行されないことに
924
+ # ビューの削除は {#define} を呼び出すまでは実行されないことに
909
925
  # 注意すること。
910
926
  #
911
927
  # @param options [::Hash] The name and value
@@ -913,7 +929,7 @@ module Groonga
913
929
  # @option options [Groonga::Context] :context (Groonga::Context.default)
914
930
  # The context
915
931
  #
916
- # スキーマ定義時に使用するGroonga::Contextを指定する。
932
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
917
933
  def remove_view(name, options={})
918
934
  definition = ViewRemoveDefinition.new(name, @options.merge(options || {}))
919
935
  @definitions << definition
@@ -921,14 +937,14 @@ module Groonga
921
937
 
922
938
  # 名前が _name_ のビューを変更する。
923
939
  #
924
- # ビューの変更は #define を呼び出すまでは実行されないこ
940
+ # ビューの変更は {#define} を呼び出すまでは実行されないこ
925
941
  # とに注意すること。
926
942
  #
927
943
  # @param options [::Hash] The name and value
928
944
  # pairs. Omitted names are initialized as the default value.
929
945
  # @option options :context (Groonga::Context.default) The context
930
946
  #
931
- # スキーマ定義時に使用するGroonga::Contextを指定する。
947
+ # スキーマ定義時に使用する {Groonga::Context} を指定する。
932
948
  def change_view(name, options={})
933
949
  options = @options.merge(options || {}).merge(:change => true)
934
950
  definition = ViewDefinition.new(name, options)
@@ -939,6 +955,7 @@ module Groonga
939
955
  # 以下と同様:
940
956
  #
941
957
  # <pre>
958
+ # !!!ruby
942
959
  # schema.change_table(table_name) do |table|
943
960
  # table.remove_column(column_name)
944
961
  # end
@@ -952,6 +969,7 @@ module Groonga
952
969
  # It is a syntax sugar of the following:
953
970
  #
954
971
  # <pre>
972
+ # !!!ruby
955
973
  # schema.change_table(table_name) do |table|
956
974
  # table.rename_column(current_column_name, new_column_name)
957
975
  # end
@@ -991,8 +1009,8 @@ module Groonga
991
1009
  end
992
1010
  end
993
1011
 
994
- # スキーマ定義時にGroonga::Schema.create_tableや
995
- # Groonga::Schema#create_tableからブロックに渡されてくる
1012
+ # スキーマ定義時に {Groonga::Schema.create_table}
1013
+ # {Groonga::Schema#create_table} からブロックに渡されてくる
996
1014
  # オブジェクト
997
1015
  class TableDefinition
998
1016
  include Path
@@ -1039,31 +1057,29 @@ module Groonga
1039
1057
  #
1040
1058
  # @param options [::Hash] The name and value
1041
1059
  # pairs. Omitted names are initialized as the default value.
1042
- # @option options :force The force
1060
+ # @option options :force
1043
1061
  #
1044
1062
  # +true+ を指定すると既存の同名のカラムが
1045
1063
  # 存在していても、強制的に新しいカラムを作成する。
1046
- # @option options :path The path
1064
+ # @option options :path
1047
1065
  #
1048
1066
  # カラムを保存するパス。
1049
- # @option options :persistent The persistent
1067
+ # @option options :persistent
1050
1068
  #
1051
- # +true+ を指定すると永続カラムとなる。+:path+ を省略
1069
+ # +true+ を指定すると永続カラムとなる。 +:path+ を省略
1052
1070
  # した場合は自動的にパスが付加される。
1053
- # @option options :type (:scalar) The type
1071
+ # @option options :type (:scalar)
1054
1072
  #
1055
1073
  # カラムの値の格納方法について指定する。
1056
- # <b>:scalar</b>
1057
- # スカラ値(単独の値)を格納する。
1058
- # <b>:vector</b>
1059
- # 値の配列を格納する。
1060
- # @option options :compress The compress
1074
+ #
1075
+ # - :scalar := スカラ値(単独の値)を格納する。
1076
+ # - :vector := 値の配列を格納する。
1077
+ # @option options :compress
1061
1078
  #
1062
1079
  # 値の圧縮方法を指定する。省略した場合は、圧縮しない。
1063
- # <b>:zlib</b>
1064
- # 値をzlib圧縮して格納する。
1065
- # <b>:lzo</b>
1066
- # 値をlzo圧縮して格納する。
1080
+ #
1081
+ # - :zlib := 値をzlib圧縮して格納する。
1082
+ # - :lzo := 値をlzo圧縮して格納する。
1067
1083
  def column(name, type, options={})
1068
1084
  definition = self[name, ColumnDefinition]
1069
1085
  if definition.nil?
@@ -1112,43 +1128,40 @@ module Groonga
1112
1128
  # きます。
1113
1129
  #
1114
1130
  # _target_column_full_name_ で指定するときはテーブル名
1115
- # とカラム名を"."でつなげます。例えば、「Users」テーブ
1116
- # ルの「name」カラムのインデックスカラムを指定する場合
1117
- # はこうなります。
1118
- #
1119
- # table.index("Users.name")
1120
- #
1121
- # @param options [::Hash] The name and value
1122
- # pairs. Omitted names are initialized as the default value.
1123
- # @option options :name The name
1124
- #
1125
- # インデックスカラムのカラム名を任意に指定する。
1126
- # @option options :force The force
1127
- #
1128
- # +true+ を指定すると既存の同名のカラムが
1129
- # 存在していても、強制的に新しいカラムを作成する。
1130
- # @option options :path The path
1131
- #
1132
- # カラムを保存するパス。
1133
- # @option options :persistent The persistent
1134
- #
1135
- # +true+ を指定すると永続カラムとなる。
1136
- # +:path+ を省略した場合は自動的にパスが付加される。
1137
- # @option options :with_section The with_section
1131
+ # とカラム名を"."でつなげます。
1138
1132
  #
1139
- # +true+ を指定すると転置索引にsection(段落情報)を
1140
- # 合わせて格納する。未指定または +nil+ を指定した場合、
1141
- # 複数のカラムを指定すると自動的に有効になる。
1142
- # @option options :with_weight The with_weight
1133
+ # 例えば、「Users」テーブルの「name」カラムのインデックスカラムを
1134
+ # 指定する場合はこうなります。
1143
1135
  #
1144
- # +true+ を指定すると転置索引にweight情報を合わせて
1145
- # 格納する。
1146
- # @option options :with_position
1136
+ # @example
1137
+ # table.index("Users.name")
1147
1138
  #
1148
- # +true+ を指定すると転置索引に出現位置情報を合わせて
1149
- # 格納する。未指定または +nil+ を指定した場合、テーブル
1150
- # がN-gram系のトークナイザーを利用している場合は
1151
- # 自動的に有効になる。
1139
+ # @param [Array] args
1140
+ # インデックスカラム作成時に指定できるオプション。
1141
+ # ハッシュを使って次の要素を指定することができる。
1142
+ #
1143
+ # - :name :=
1144
+ # インデックスカラムのカラム名を任意に指定する。 =:
1145
+ # - :force :=
1146
+ # +true+ を指定すると既存の同名のカラムが
1147
+ # 存在していても、強制的に新しいカラムを作成する。 =:
1148
+ # - :path :=
1149
+ # カラムを保存するパス。 =:
1150
+ # - :persistent :=
1151
+ # +true+ を指定すると永続カラムとなる。
1152
+ # +:path+ を省略した場合は自動的にパスが付加される。 =:
1153
+ # - :with_section :=
1154
+ # +true+ を指定すると転置索引にsection(段落情報)を
1155
+ # 合わせて格納する。未指定または +nil+ を指定した場合、
1156
+ # 複数のカラムを指定すると自動的に有効になる。 =:
1157
+ # - :with_weight :=
1158
+ # +true+ を指定すると転置索引にweight情報を合わせて
1159
+ # 格納する。 =:
1160
+ # - :with_position :=
1161
+ # +true+ を指定すると転置索引に出現位置情報を合わせて
1162
+ # 格納する。未指定または +nil+ を指定した場合、テーブル
1163
+ # がN-gram系のトークナイザーを利用している場合は
1164
+ # 自動的に有効になる。 =:
1152
1165
  def index(target_table_or_target_column_full_name, *args)
1153
1166
  key, target_table, target_columns, options =
1154
1167
  parse_index_argument(target_table_or_target_column_full_name, *args)
@@ -1169,16 +1182,16 @@ module Groonga
1169
1182
  # クスカラムを削除します。
1170
1183
  #
1171
1184
  # _target_column_full_name_ で指定するときはテーブル名
1172
- # とカラム名を"."でつなげます。例えば、「Users」テーブ
1173
- # ルの「name」カラムのインデックスカラムを削除する場合
1174
- # はこうなります。
1185
+ # とカラム名を"."でつなげます。
1186
+ #
1187
+ # 例えば、「Users」テーブルの「name」カラムのインデックスカラムを
1188
+ # 削除する場合はこうなります。
1175
1189
  #
1190
+ # @example
1176
1191
  # table.remove_index("Users.name")
1177
1192
  #
1178
- # @param options [::Hash] The name and value
1179
- # pairs. Omitted names are initialized as the default value.
1180
- # @option options :name The name
1181
- # インデックスカラムのカラム名を任意に指定する。
1193
+ # @param [::Hash] args { :name => target_column }と指定す
1194
+ # ることでインデックスカラムの任意のカラム名を指定することができる。
1182
1195
  def remove_index(target_table_or_target_column_full_name, *args)
1183
1196
  key, target_table, target_columns, options =
1184
1197
  parse_index_argument(target_table_or_target_column_full_name, *args)
@@ -1202,8 +1215,7 @@ module Groonga
1202
1215
  #
1203
1216
  # @param [String or Symbol] name the column name
1204
1217
  # @param [Hash] options ({}) the options
1205
- # @see Groonga::Schema::TableDefinition#column for
1206
- # available @options@.
1218
+ # @see #column #column for available options.
1207
1219
  def integer8(name, options={})
1208
1220
  column(name, "Int8", options)
1209
1221
  end
@@ -1213,8 +1225,7 @@ module Groonga
1213
1225
  #
1214
1226
  # @param [String or Symbol] name the column name
1215
1227
  # @param [Hash] options ({}) the options
1216
- # @see Groonga::Schema::TableDefinition#column for
1217
- # available @options@.
1228
+ # @see #column #column for available options.
1218
1229
  def integer16(name, options={})
1219
1230
  column(name, "Int16", options)
1220
1231
  end
@@ -1243,8 +1254,7 @@ module Groonga
1243
1254
  #
1244
1255
  # @param [String or Symbol] name the column name
1245
1256
  # @param [Hash] options ({}) the options
1246
- # @see Groonga::Schema::TableDefinition#column for
1247
- # available @options@.
1257
+ # @see #column #column for available options.
1248
1258
  def unsigned_integer8(name, options={})
1249
1259
  column(name, "UInt8", options)
1250
1260
  end
@@ -1254,8 +1264,7 @@ module Groonga
1254
1264
  #
1255
1265
  # @param [String or Symbol] name the column name
1256
1266
  # @param [Hash] options ({}) the options
1257
- # @see Groonga::Schema::TableDefinition#column for
1258
- # available @options@.
1267
+ # @see #column #column for available options.
1259
1268
  def unsigned_integer16(name, options={})
1260
1269
  column(name, "UInt16", options)
1261
1270
  end
@@ -1299,8 +1308,11 @@ module Groonga
1299
1308
  end
1300
1309
 
1301
1310
  # 以下と同様:
1302
- # table.time("updated_at")
1303
- # table.time("created_at")
1311
+ # <pre>
1312
+ # !!!ruby
1313
+ # table.time("updated_at")
1314
+ # table.time("created_at")
1315
+ # </pre>
1304
1316
  def timestamps(options={})
1305
1317
  time("created_at", options)
1306
1318
  time("updated_at", options)
@@ -1356,24 +1368,12 @@ module Groonga
1356
1368
  end
1357
1369
  alias_method :bool, :boolean
1358
1370
 
1359
- # Defines a 8 bit signed integer column named @name@.
1360
- #
1361
- # @param [String or Symbol] name the column name
1362
- # @param [Hash] options ({}) the options
1363
- # @see Groonga::Schema::TableDefinition#column for
1364
- # available @options@.
1365
- def integer8(name, options={})
1366
- column(name, "Int8", options)
1367
- end
1368
- alias_method :int8, :integer8
1369
-
1370
1371
  # Defines a geo point in Tokyo geodetic system column
1371
1372
  # named @name@.
1372
1373
  #
1373
1374
  # @param [String or Symbol] name the column name
1374
1375
  # @param [Hash] options ({}) the options
1375
- # @see Groonga::Schema::TableDefinition#column for
1376
- # available @options@.
1376
+ # @see #column #column for available options.
1377
1377
  def tokyo_geo_point(name, options={})
1378
1378
  column(name, "TokyoGeoPoint", options)
1379
1379
  end
@@ -1383,8 +1383,7 @@ module Groonga
1383
1383
  #
1384
1384
  # @param [String or Symbol] name the column name
1385
1385
  # @param [Hash] options ({}) the options
1386
- # @see Groonga::Schema::TableDefinition#column for
1387
- # available @options@.
1386
+ # @see #column #column for available options.
1388
1387
  def wgs84_geo_point(name, options={})
1389
1388
  column(name, "WGS84GeoPoint", options)
1390
1389
  end
@@ -1649,8 +1648,8 @@ module Groonga
1649
1648
  end
1650
1649
  end
1651
1650
 
1652
- # スキーマ定義時にGroonga::Schema.create_viewや
1653
- # Groonga::Schema#create_viewからブロックに渡されてくる
1651
+ # スキーマ定義時に {Groonga::Schema.create_view}
1652
+ # {Groonga::Schema#create_view} からブロックに渡されてくる
1654
1653
  # オブジェクト
1655
1654
  class ViewDefinition
1656
1655
  # ビューの名前
@@ -1688,7 +1687,7 @@ module Groonga
1688
1687
  view
1689
1688
  end
1690
1689
 
1691
- # 名前が_table_のテーブルをビューに追加する。
1690
+ # 名前が _table_ のテーブルをビューに追加する。
1692
1691
  def add(table)
1693
1692
  table = table.to_s if table.is_a?(Symbol)
1694
1693
  @tables << table