rroonga 4.0.5-x86-mingw32 → 4.0.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (545) hide show
  1. checksums.yaml +5 -13
  2. data/.yardopts +1 -1
  3. data/benchmark/common.rb +4 -4
  4. data/benchmark/create-wikipedia-database.rb +5 -5
  5. data/benchmark/read-write-many-small-items.rb +8 -8
  6. data/benchmark/repeat-load.rb +4 -4
  7. data/benchmark/select.rb +9 -9
  8. data/benchmark/write-many-small-items.rb +8 -8
  9. data/doc/images/sample-schema.png +0 -0
  10. data/doc/text/install.textile +2 -2
  11. data/doc/text/news.textile +41 -0
  12. data/doc/text/tutorial.textile +4 -4
  13. data/example/bookmark.rb +6 -7
  14. data/example/index-html.rb +6 -6
  15. data/ext/groonga/extconf.rb +23 -1
  16. data/ext/groonga/rb-grn-column.c +3 -2
  17. data/ext/groonga/rb-grn-context.c +20 -3
  18. data/ext/groonga/rb-grn-double-array-trie.c +11 -2
  19. data/ext/groonga/rb-grn-exception.c +28 -10
  20. data/ext/groonga/rb-grn-expression.c +78 -0
  21. data/ext/groonga/rb-grn-hash.c +10 -0
  22. data/ext/groonga/rb-grn-logger.c +7 -3
  23. data/ext/groonga/rb-grn-object.c +3 -2
  24. data/ext/groonga/rb-grn-patricia-trie.c +23 -20
  25. data/ext/groonga/rb-grn-table-key-support.c +92 -1
  26. data/ext/groonga/rb-grn-table.c +60 -17
  27. data/ext/groonga/rb-grn-utils.c +51 -2
  28. data/ext/groonga/rb-grn-variable-size-column.c +11 -7
  29. data/ext/groonga/rb-grn.h +11 -1
  30. data/lib/1.9/groonga.so +0 -0
  31. data/lib/2.0/groonga.so +0 -0
  32. data/lib/2.1/groonga.so +0 -0
  33. data/lib/groonga/dumper.rb +23 -1
  34. data/lib/groonga/patricia-trie.rb +1 -1
  35. data/lib/groonga/schema.rb +190 -205
  36. data/misc/grnop2ruby.rb +1 -1
  37. data/rroonga-build.rb +3 -3
  38. data/rroonga.gemspec +1 -0
  39. data/test/groonga-test-utils.rb +2 -2
  40. data/test/test-column.rb +19 -0
  41. data/test/test-context.rb +5 -1
  42. data/test/test-double-array-trie.rb +19 -0
  43. data/test/test-exception.rb +7 -2
  44. data/test/test-expression.rb +19 -0
  45. data/test/test-fix-size-column.rb +49 -36
  46. data/test/test-hash.rb +22 -0
  47. data/test/test-patricia-trie.rb +26 -7
  48. data/test/test-schema-dumper.rb +65 -1
  49. data/test/test-schema.rb +13 -2
  50. data/test/test-variable-size-column.rb +6 -5
  51. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  52. data/vendor/local/bin/groonga.exe +0 -0
  53. data/vendor/local/bin/libgroonga-0.dll +0 -0
  54. data/vendor/local/bin/libmecab-1.dll +0 -0
  55. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  56. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  57. data/vendor/local/bin/libonig-5.dll +0 -0
  58. data/vendor/local/bin/mecab-config +0 -0
  59. data/vendor/local/bin/mecab.exe +0 -0
  60. data/vendor/local/bin/onig-config +0 -0
  61. data/vendor/local/include/groonga/groonga.h +21 -6
  62. data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
  63. data/vendor/local/include/groonga/groonga/tokenizer.h +33 -1
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  66. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  68. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  70. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/ruby/eval.la +1 -1
  72. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  74. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/ruby/load.la +1 -1
  76. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  78. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  79. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  80. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  81. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  82. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  83. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  84. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  85. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  86. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  87. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +41 -0
  88. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  89. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  90. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  91. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  92. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
  93. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
  94. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
  95. data/vendor/local/lib/libgroonga.a +0 -0
  96. data/vendor/local/lib/libgroonga.dll.a +0 -0
  97. data/vendor/local/lib/libgroonga.la +2 -2
  98. data/vendor/local/lib/libmecab.a +0 -0
  99. data/vendor/local/lib/libmecab.dll.a +0 -0
  100. data/vendor/local/lib/libmecab.la +1 -1
  101. data/vendor/local/lib/libmsgpack.a +0 -0
  102. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  103. data/vendor/local/lib/libmsgpack.la +1 -1
  104. data/vendor/local/lib/libmsgpackc.a +0 -0
  105. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  106. data/vendor/local/lib/libmsgpackc.la +1 -1
  107. data/vendor/local/lib/libonig.a +0 -0
  108. data/vendor/local/lib/libonig.dll.a +0 -0
  109. data/vendor/local/lib/libonig.la +0 -0
  110. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  111. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  112. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  113. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  114. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  115. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  116. data/vendor/local/sbin/groonga-httpd-restart +0 -0
  117. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  118. data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
  119. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
  120. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
  121. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
  122. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
  123. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  124. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  125. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  126. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  127. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +6 -6
  128. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  129. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  130. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  131. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +68 -5
  132. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
  133. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
  135. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
  136. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
  137. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
  138. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
  139. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
  140. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
  141. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
  143. data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
  144. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
  145. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
  146. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
  147. data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
  148. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
  150. data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
  151. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
  152. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
  154. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
  156. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
  157. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
  158. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
  159. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
  160. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
  161. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
  162. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
  163. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
  164. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
  165. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
  166. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
  167. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
  168. data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
  169. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
  170. data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
  171. data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
  172. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  174. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  175. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  176. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  177. data/vendor/local/share/doc/groonga/en/html/install/others.html +11 -11
  178. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  179. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  180. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  181. data/vendor/local/share/doc/groonga/en/html/limitations.html +21 -21
  182. data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
  183. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -6
  187. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
  190. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  192. data/vendor/local/share/doc/groonga/en/html/reference.html +154 -135
  193. data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -27
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -24
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
  212. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
  213. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
  214. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +26 -26
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
  216. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
  218. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
  221. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
  222. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
  223. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
  255. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
  256. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
  257. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
  258. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
  259. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
  264. data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
  265. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
  266. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
  267. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
  268. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
  269. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
  270. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +44 -44
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +37 -37
  278. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
  279. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
  280. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
  281. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +25 -25
  282. data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
  283. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
  284. data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
  285. data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
  286. data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
  287. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
  288. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
  289. data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
  290. data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
  291. data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
  292. data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
  293. data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
  294. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
  295. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
  296. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
  297. data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
  298. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  300. data/vendor/local/share/doc/groonga/en/html/server.html +24 -24
  301. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
  302. data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
  303. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
  304. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
  305. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
  306. data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
  307. data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
  308. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
  309. data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
  310. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
  311. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  312. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
  313. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  314. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  315. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  318. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  321. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  322. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  323. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -10
  324. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  325. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  326. data/vendor/local/share/doc/groonga/ja/html/_sources/client.txt +19 -0
  327. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
  328. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
  329. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
  330. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
  331. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  332. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  333. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  334. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  335. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +6 -6
  336. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  337. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  338. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  339. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +68 -5
  340. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
  341. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
  342. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
  343. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
  344. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
  345. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
  346. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
  347. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
  352. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
  353. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
  354. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
  356. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
  357. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
  358. data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
  359. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
  360. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
  362. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
  364. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
  365. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
  366. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
  367. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
  368. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
  369. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
  370. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
  371. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
  372. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
  373. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
  374. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
  375. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
  376. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
  377. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
  378. data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
  379. data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
  380. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
  382. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
  383. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
  384. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  385. data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -13
  386. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  387. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
  388. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  389. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
  390. data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
  391. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
  395. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
  398. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  400. data/vendor/local/share/doc/groonga/ja/html/reference.html +154 -135
  401. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
  402. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
  403. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
  404. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
  405. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
  406. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
  407. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
  408. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
  409. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
  410. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
  411. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
  412. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
  413. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
  414. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
  415. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
  416. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
  417. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
  418. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
  424. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
  426. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
  429. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
  430. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
  431. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
  432. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
  433. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
  434. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
  435. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
  436. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
  437. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
  438. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
  439. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
  440. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
  441. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
  442. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
  443. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
  444. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
  445. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
  446. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
  447. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
  448. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
  449. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
  450. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
  451. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
  452. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
  453. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
  454. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
  463. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
  464. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
  465. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
  466. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
  467. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
  468. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
  469. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
  470. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
  471. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
  472. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
  473. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
  474. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
  475. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
  476. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
  477. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
  478. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
  479. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
  480. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
  481. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
  482. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
  483. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
  484. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
  485. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
  486. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
  487. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
  488. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
  489. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
  490. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
  491. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
  492. data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
  493. data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
  494. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
  495. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
  496. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
  497. data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
  498. data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
  499. data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
  500. data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
  501. data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
  502. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
  503. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
  504. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
  505. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
  506. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  508. data/vendor/local/share/doc/groonga/ja/html/server.html +24 -24
  509. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
  510. data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
  511. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
  512. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
  513. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
  514. data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
  515. data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
  516. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
  517. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
  518. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
  519. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  520. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
  521. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  522. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
  523. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  526. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  528. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
  530. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  531. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
  532. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  533. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  534. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  535. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  536. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  537. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  538. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  539. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  540. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  541. data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
  542. data/vendor/local/share/man/man1/groonga.1 +9023 -8517
  543. metadata +117 -109
  544. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
  545. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjlkNDRhMjc0OWNlN2U3ZTg0NmFlYWQzNzllNTY1ODkzZDEzYjkwOQ==
5
- data.tar.gz: !binary |-
6
- MzE0NjMwOWM1NDNlMDc5NzU1MWYxOWI2ZGY5YjYwZmNhODMwMWZiZg==
2
+ SHA1:
3
+ metadata.gz: 655aad0f4394498613e4b2f6bdc11c63aeec5d50
4
+ data.tar.gz: e0b29627fa3ec06d4fb2335f3ceed8751135a434
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MDQ0N2U0NjI0OGM3YzljOTQyZmIxYzUxMDdmYWRmOTlhMzk2ZGJjNjQ2MjJi
10
- NmRiNmJkYjFjODE3ZmNiZTc3MmExYmE3ZjU4NGNiYzNjNTU2OWU3NzU2Nzll
11
- YTVkYjBkN2E2Njk0OWJlOTdiYjE4NWFjOWI5NGExOTE2Y2FiNDY=
12
- data.tar.gz: !binary |-
13
- Y2MxZGZhMTgwYmFhNmU5Y2IwMDZiNGE3NDk4N2YyM2RjMWNhOGVjNGNkZjg2
14
- Yzg5MTY3ODg0NjFhOTI2MDQ0M2U4ODJkODJmMTM3ZGQ5ZDMxNzY1ZjNmNGRi
15
- Nzc3NDE2NGEyMWY1ZjQxMDBmNmEyZWFhZThjYjFmYzJlZDBlM2Q=
6
+ metadata.gz: 117779194b08baa5d9104b6b344a3057db9e436605436386f403b16ef57e328a1cc2ac86342807f4cb137f18067f7638088dad62ea2ce6d35e70a59b9a1f64a2
7
+ data.tar.gz: 82edc782346a55cec90c48ffa7911927081e78203c14cf795e1758cd715f124ee31b2cac3fd2bfb32e86ee847df2c707fc0134b010d5f662ccadd0efb2807a37
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --output-dir doc/reference/en
2
- --markup textile
2
+ --markup markdown
3
3
  lib/**/*.rb
4
4
  ext/**/*.c
5
5
  -
data/benchmark/common.rb CHANGED
@@ -1,7 +1,7 @@
1
- require 'benchmark'
2
- require 'tempfile'
1
+ require "benchmark"
2
+ require "tempfile"
3
3
 
4
- def memory_usage()
4
+ def memory_usage
5
5
  status = `cat /proc/#{$$}/status`
6
6
  lines = status.split("\n")
7
7
  lines.each do |line|
@@ -10,7 +10,7 @@ def memory_usage()
10
10
  return line.to_i / 1024.0
11
11
  end
12
12
  end
13
- return -1;
13
+ return -1
14
14
  end
15
15
 
16
16
  @items = []
@@ -1,10 +1,10 @@
1
1
  # Wikipedia data: http://download.wikimedia.org/jawiki/latest/jawiki-latest-pages-articles.xml.bz2
2
2
 
3
- require 'time'
4
- require 'fileutils'
5
- require 'groonga'
3
+ require "time"
4
+ require "fileutils"
5
+ require "groonga"
6
6
 
7
- require 'nokogiri'
7
+ require "nokogiri"
8
8
 
9
9
  class WikipediaExtractor
10
10
  def initialize(listener)
@@ -200,7 +200,7 @@ class GroongaLoader
200
200
  def load_links(title, content)
201
201
  links = content.scan(/\[\[.*?\]\]/)
202
202
  links = links.collect do |link|
203
- link.sub(/\A\[\[/, '').sub(/\]\]\z/, '').sub(/\|[^\|]+\z/, '')
203
+ link.sub(/\A\[\[/, "").sub(/\]\]\z/, "").sub(/\|[^\|]+\z/, "")
204
204
  end
205
205
  @documents.add(title, :links => links)
206
206
  end
@@ -1,4 +1,4 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  # This benchmark is based on Tokyo Cabinet's benchmark at
4
4
  # http://alpha.mixi.co.jp/blog/?p=791
@@ -52,7 +52,7 @@ begin
52
52
  $LOAD_PATH.unshift(File.join(base_dir, "ext", "groonga"))
53
53
  $LOAD_PATH.unshift(File.join(base_dir, "lib"))
54
54
 
55
- require 'groonga'
55
+ require "groonga"
56
56
  tmp_dir = "/tmp/groonga"
57
57
  FileUtils.rm_rf(tmp_dir)
58
58
  FileUtils.mkdir(tmp_dir)
@@ -93,7 +93,7 @@ rescue LoadError
93
93
  end
94
94
 
95
95
  begin
96
- require 'localmemcache'
96
+ require "localmemcache"
97
97
 
98
98
  LocalMemCache.drop(:namespace => "read-write-many-small-items",
99
99
  :force => true)
@@ -108,9 +108,9 @@ rescue LoadError
108
108
  end
109
109
 
110
110
  begin
111
- require 'tokyocabinet'
111
+ require "tokyocabinet"
112
112
 
113
- tc_hash_memory = TokyoCabinet::ADB::new
113
+ tc_hash_memory = TokyoCabinet::ADB.new
114
114
  tc_hash_memory.open("*#bnum=#{n}#mode=wct#xmsiz=0")
115
115
  item("TC: Hash: memory") do
116
116
  values.each do |value|
@@ -119,7 +119,7 @@ begin
119
119
  end
120
120
  end
121
121
 
122
- tc_tree_memory = TokyoCabinet::ADB::new
122
+ tc_tree_memory = TokyoCabinet::ADB.new
123
123
  tc_tree_memory.open("+#bnum=#{n}#mode=wct#xmsiz=0")
124
124
  item("TC: Tree: memory") do
125
125
  values.each do |value|
@@ -129,7 +129,7 @@ begin
129
129
  end
130
130
 
131
131
  hash_file = Tempfile.new(["tc-hash", ".tch"])
132
- tc_hash_file = TokyoCabinet::ADB::new
132
+ tc_hash_file = TokyoCabinet::ADB.new
133
133
  tc_hash_file.open("#{hash_file.path}#bnum=#{n}#mode=wct#xmsiz=0")
134
134
  item("TC: Hash: file") do
135
135
  values.each do |value|
@@ -139,7 +139,7 @@ begin
139
139
  end
140
140
 
141
141
  tree_file = Tempfile.new(["tc-tree", ".tcb"])
142
- tc_tree_file = TokyoCabinet::ADB::new
142
+ tc_tree_file = TokyoCabinet::ADB.new
143
143
  tc_tree_file.open("#{tree_file.path}#bnum=#{n}#mode=wct#xmsiz=0")
144
144
  item("TC: Tree: file") do
145
145
  values.each do |value|
@@ -1,10 +1,10 @@
1
- require 'fileutils'
2
- require 'shellwords'
1
+ require "fileutils"
2
+ require "shellwords"
3
3
 
4
- require 'groonga'
4
+ require "groonga"
5
5
 
6
6
  $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'create-wikipedia-database'
7
+ require "create-wikipedia-database"
8
8
 
9
9
  class SampleRecords
10
10
  def initialize(record_count)
data/benchmark/select.rb CHANGED
@@ -1,10 +1,10 @@
1
- #encoding: UTF-8
1
+ # -*- coding: utf-8 -*-
2
2
 
3
- require 'benchmark'
4
- require 'shellwords'
5
- require 'optparse'
3
+ require "benchmark"
4
+ require "shellwords"
5
+ require "optparse"
6
6
 
7
- require 'groonga'
7
+ require "groonga"
8
8
 
9
9
  Groonga::Logger.query_log_path = "/tmp/query.log"
10
10
 
@@ -17,7 +17,7 @@ module ColumnTokenizer
17
17
  end
18
18
  tokens.each do |token|
19
19
  unless token == "*"
20
- token.sub!(/[^A-Za-z0-9_]\z/, '')
20
+ token.sub!(/[^A-Za-z0-9_]\z/, "")
21
21
  end
22
22
  end
23
23
  end
@@ -217,7 +217,7 @@ class Query
217
217
  end
218
218
 
219
219
  def to_parameter_symbol(name)
220
- name.sub(NAMED_PARAMETER_PREFIX, '').to_sym
220
+ name.sub(NAMED_PARAMETER_PREFIX, "").to_sym
221
221
  end
222
222
 
223
223
  def create_query
@@ -383,7 +383,7 @@ class SelectorByMethod < Selector
383
383
  tokens = tokenize_column_list(sort_by)
384
384
 
385
385
  tokens.collect do |token|
386
- key = token.sub(DESCENDING_ORDER_PREFIX, '')
386
+ key = token.sub(DESCENDING_ORDER_PREFIX, "")
387
387
  if token =~ DESCENDING_ORDER_PREFIX
388
388
  descending_order_sort_key(key)
389
389
  else
@@ -493,7 +493,7 @@ class SelectorByMethod < Selector
493
493
  columns = columns.collect do |column|
494
494
  if column == "*"
495
495
  table.columns.collect(&:name).collect do |name|
496
- name.sub(/\A[A-Za-z0-9_]+\./, '')
496
+ name.sub(/\A[A-Za-z0-9_]+\./, "")
497
497
  end
498
498
  else
499
499
  column if column_included_in_record?(column, result.first)
@@ -1,4 +1,4 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  # This benchmark is based on Tokyo Cabinet's benchmark at
4
4
  # http://alpha.mixi.co.jp/blog/?p=791
@@ -51,7 +51,7 @@ begin
51
51
  $LOAD_PATH.unshift(File.join(base_dir, "ext", "groonga"))
52
52
  $LOAD_PATH.unshift(File.join(base_dir, "lib"))
53
53
 
54
- require 'groonga'
54
+ require "groonga"
55
55
  tmp_dir = "/tmp/groonga"
56
56
  FileUtils.rm_rf(tmp_dir)
57
57
  FileUtils.mkdir(tmp_dir)
@@ -89,7 +89,7 @@ rescue LoadError
89
89
  end
90
90
 
91
91
  begin
92
- require 'localmemcache'
92
+ require "localmemcache"
93
93
 
94
94
  LocalMemCache.drop(:namespace => "write-many-small-items", :force => true)
95
95
  mem_cache = LocalMemCache.new(:namespace => "write-many-small-items")
@@ -102,9 +102,9 @@ rescue LoadError
102
102
  end
103
103
 
104
104
  begin
105
- require 'tokyocabinet'
105
+ require "tokyocabinet"
106
106
 
107
- tc_hash_memory = TokyoCabinet::ADB::new
107
+ tc_hash_memory = TokyoCabinet::ADB.new
108
108
  tc_hash_memory.open("*#bnum=#{n}#mode=wct#xmsiz=0")
109
109
  item("TC: Hash: memory") do
110
110
  values.each do |value|
@@ -112,7 +112,7 @@ begin
112
112
  end
113
113
  end
114
114
 
115
- tc_tree_memory = TokyoCabinet::ADB::new
115
+ tc_tree_memory = TokyoCabinet::ADB.new
116
116
  tc_tree_memory.open("+#bnum=#{n}#mode=wct#xmsiz=0")
117
117
  item("TC: Tree: memory") do
118
118
  values.each do |value|
@@ -121,7 +121,7 @@ begin
121
121
  end
122
122
 
123
123
  hash_file = Tempfile.new(["tc-hash", ".tch"])
124
- tc_hash_file = TokyoCabinet::ADB::new
124
+ tc_hash_file = TokyoCabinet::ADB.new
125
125
  tc_hash_file.open("#{hash_file.path}#bnum=#{n}#mode=wct#xmsiz=0")
126
126
  item("TC: Hash: file") do
127
127
  values.each do |value|
@@ -130,7 +130,7 @@ begin
130
130
  end
131
131
 
132
132
  tree_file = Tempfile.new(["tc-tree", ".tcb"])
133
- tc_tree_file = TokyoCabinet::ADB::new
133
+ tc_tree_file = TokyoCabinet::ADB.new
134
134
  tc_tree_file.open("#{tree_file.path}#bnum=#{n}#mode=wct#xmsiz=0")
135
135
  item("TC: Tree: file") do
136
136
  values.each do |value|
Binary file
@@ -2,7 +2,7 @@ h1. Install
2
2
 
3
3
  This document describes how to install Rroonga.
4
4
 
5
- You can install Rrroonga by RubyGems. It is the standard way for Ruby
5
+ You can install Rroonga by RubyGems. It is the standard way for Ruby
6
6
  libraries.
7
7
 
8
8
  Rroonga is depends on Groonga. So you need to install both Groonga and
@@ -48,7 +48,7 @@ Type the following command on Ruby console:
48
48
 
49
49
  <pre>
50
50
  !!!command_line
51
- % gem.bat install rroonga
51
+ > gem install rroonga
52
52
  </pre>
53
53
 
54
54
  This document assumes that you're using "RubyInstaller for
@@ -1,5 +1,46 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#4-0-6). 4.0.6: 2014-11-06
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 4.0.7. [GitHub#28]
8
+ ** Changed {Groonga::Context#support_lzo?} always returns @false@.
9
+ ** Added {Groonga::Context#support_lz4?}.
10
+ ** Supported @:lz4@ in {Groonga::Table#define_column} options.
11
+ ** Supported @:lz4@ in {Groonga::VariableSizeColumn#compressed?} options.
12
+ ** Added {Groonga::LZ4Error}.
13
+ ** [grndump] Supported @COMPRESS_ZLIB@ and @COMPRESS_LZ4@ flags.
14
+ ** Added {Groonga::TableKeySupport#token_filters}.
15
+ ** Added {Groonga::TableKeySupport#token_filters=}.
16
+ ** Supported @:token_filters@ in {Groonga::Hash.create} options.
17
+ ** Supported @:token_filters@ in {Groonga::PatriciaTrie.create} options.
18
+ ** Supported @:token_filters@ in {Groonga::DoubleArrayTrie.create} options.
19
+ ** Supported @:token_filters@ in {Groonga::Schema.create_table} options.
20
+ ** Added {Groonga::TokenFilterError}.
21
+ ** [grndump] Supported token filters.
22
+ * Added {Groonga::Expression#keywords}. [GitHub#30]
23
+ * Stopped to require logger object as the first argument of
24
+ {Groonga::Logger.register} when block is specified.
25
+
26
+ h3. Fixes
27
+
28
+ * [doc] Removed deprecated example.
29
+ [GitHub#26] [Patch by ongaeshi]
30
+ * Fixed a bug that a column assignment raises an error when
31
+ you assign value with type A and then assign value type B again.
32
+ [GitHub#27] [Patch by Daisuke Goto]
33
+ * Fixed a memory leak in {Groonga::PatriciaTrie#open_near_cursor}.
34
+ * Fixed a bug that you can access a column renamed by
35
+ {Groonga::Column#rename} with old name.
36
+ [GitHub#29] [Patch by Daisuke Goto]
37
+ * [doc] Fixed wrong option name of {Groonga::Logger.register}.
38
+
39
+ h3. Thanks
40
+
41
+ * ongaeshi
42
+ * Daisuke Goto
43
+
3
44
  h2(#4-0-5). 4.0.5: 2014-10-05
4
45
 
5
46
  h3. Improvements
@@ -1,10 +1,10 @@
1
1
  h1. Tutorial
2
2
 
3
- This page introduce how to use rroonga via a simple application making.
3
+ This page introduce how to use Rroonga via a simple application making.
4
4
 
5
5
  h2. Install
6
6
 
7
- You can install rroonga in your compter with RubyGems.
7
+ You can install Rroonga in your compter with RubyGems.
8
8
 
9
9
  <pre>
10
10
  !!!command_line
@@ -14,11 +14,11 @@ You can install rroonga in your compter with RubyGems.
14
14
  h2. Create Database
15
15
 
16
16
  Let's create database for simple bookmark application.
17
- Please execute irb with loading rroonga with this command:
17
+ Please execute irb with loading Rroonga with this command:
18
18
 
19
19
  <pre>
20
20
  !!!irb
21
- % irb --simple-prompt -rubygems -rgroonga
21
+ % irb --simple-prompt -r groonga
22
22
  >>
23
23
  </pre>
24
24
 
data/example/bookmark.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # -*- coding: utf-8 -*-
3
3
 
4
4
  base_dir = File.join(File.dirname(__FILE__), "..")
5
- groonga_ext_dir = File.join(base_dir, 'ext', 'groonga')
6
- groonga_lib_dir = File.join(base_dir, 'lib')
5
+ groonga_ext_dir = File.join(base_dir, "ext", "groonga")
6
+ groonga_lib_dir = File.join(base_dir, "lib")
7
7
  $LOAD_PATH.unshift(groonga_ext_dir)
8
8
  $LOAD_PATH.unshift(groonga_lib_dir)
9
9
 
@@ -14,19 +14,18 @@ rescue LoadError
14
14
  require "groonga"
15
15
  end
16
16
 
17
- require 'time'
17
+ require "time"
18
18
 
19
19
  # Groonga::Logger.register(:level => :debug) do |level, time, title, message, location|
20
20
  # p [level, time, title, message, location]
21
21
  # end
22
22
 
23
- $KCODE = "UTF-8"
24
23
  Groonga::Context.default_options = {:encoding => :utf8}
25
24
 
26
25
  path = ARGV[0]
27
26
  if path.nil?
28
- require 'tmpdir'
29
- require 'fileutils'
27
+ require "tmpdir"
28
+ require "fileutils"
30
29
  temporary_directory = File.join(Dir.tmpdir, "rroonga")
31
30
  FileUtils.mkdir_p(temporary_directory)
32
31
  at_exit {FileUtils.rm_rf(temporary_directory)}
@@ -112,7 +111,7 @@ p(add_bookmark("http://jp.rubyist.net/magazine/",
112
111
  "Rubyist Magazine - るびま", "moritan", "Ruby 記事",
113
112
  Time.parse("2010-10-07T14:18:28+09:00")))
114
113
  p(add_bookmark("http://groonga.rubyforge.org/",
115
- "Rubyでgroonga使って全文検索 - ラングバ", "taporobo",
114
+ "RubyでGroonga使って全文検索 - ラングバ", "taporobo",
116
115
  "Ruby groonga 全文検索",
117
116
  Time.parse("2010-11-11T12:39:59+09:00")))
118
117
  p(add_bookmark("http://www.rubyist.net/~matz/",
@@ -5,15 +5,15 @@ if ARGV.size < 2 or ARGV.find {|option| option == "-h" or option == "--help"}
5
5
  exit
6
6
  end
7
7
 
8
- require 'pathname'
8
+ require "pathname"
9
9
 
10
10
  base_directory = Pathname(__FILE__).dirname + ".."
11
11
  $LOAD_PATH.unshift((base_directory + "ext").to_s)
12
12
  $LOAD_PATH.unshift((base_directory + "lib").to_s)
13
13
 
14
- require 'rubygems'
15
- require 'groonga'
16
- require 'nokogiri'
14
+ require "rubygems"
15
+ require "groonga"
16
+ require "nokogiri"
17
17
 
18
18
  database_file, *targets = ARGV
19
19
 
@@ -71,8 +71,8 @@ targets.each do |target|
71
71
  end
72
72
  html_document.css("img").each do |image|
73
73
  image_content = []
74
- title = image['title']
75
- alt = image['alt']
74
+ title = image["title"]
75
+ alt = image["alt"]
76
76
  image_content << title if title and !title.empty?
77
77
  image_content << alt if alt and !alt.empty?
78
78
  contents.concat(image_content) unless image_content.empty?
@@ -167,11 +167,22 @@ def configure_command_line(prefix)
167
167
  escaped_command_line.join(" ")
168
168
  end
169
169
 
170
+ def n_processors
171
+ proc_file = "/proc/cpuinfo"
172
+ if File.exist?(proc_file)
173
+ File.readlines(proc_file).grep(/^processor/).size
174
+ elsif /darwin/ =~ RUBY_PLATFORM
175
+ `sysctl -n hw.ncpu`.to_i
176
+ else
177
+ 1
178
+ end
179
+ end
180
+
170
181
  def install_for_gnu_build_system(install_dir)
171
182
  run_command("configuring...",
172
183
  configure_command_line(install_dir))
173
184
  run_command("building (maybe long time)...",
174
- "make")
185
+ "make -j#{n_processors}")
175
186
  run_command("installing...",
176
187
  "make install")
177
188
  end
@@ -272,6 +283,9 @@ have_func("rb_sym2str", "ruby.h")
272
283
  have_func("rb_to_symbol", "ruby.h")
273
284
  have_type("enum ruby_value_type", "ruby.h")
274
285
 
286
+ # TODO: Remove me after Groogna 4.0.8 is released.
287
+ have_func("grn_expr_dump_plan", "groonga.h")
288
+
275
289
  checking_for(checking_message("--enable-debug-log option")) do
276
290
  enable_debug_log = enable_config("debug-log", false)
277
291
  if enable_debug_log
@@ -313,6 +327,14 @@ checking_for(checking_message("--enable-debug-build option")) do
313
327
  enable_debug_build
314
328
  end
315
329
 
330
+ checking_for(checking_message("--enable-untyped-data-warning option")) do
331
+ enable_check_untyped_data = enable_config("untyped-data-warning", false)
332
+ if enable_check_untyped_data
333
+ $defs << "-DRUBY_UNTYPED_DATA_WARNING"
334
+ end
335
+ enable_check_untyped_data
336
+ end
337
+
316
338
  if ENV["INSTALL_RB"] == "yes"
317
339
  $INSTALLFILES ||= []
318
340
  $INSTALLFILES << ["../../lib/**/*.rb", "$(RUBYLIBDIR)", "../../lib"]