rroonga 6.0.0-x64-mingw32 → 6.0.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (710) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +38 -1
  3. data/ext/groonga/extconf.rb +14 -1
  4. data/ext/groonga/rb-grn-array.c +1 -1
  5. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  6. data/ext/groonga/rb-grn-exception.c +18 -1
  7. data/ext/groonga/rb-grn-expression.c +0 -8
  8. data/ext/groonga/rb-grn-hash.c +15 -3
  9. data/ext/groonga/rb-grn-logger.c +22 -22
  10. data/ext/groonga/rb-grn-object.c +28 -6
  11. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  12. data/ext/groonga/rb-grn-request-canceler.c +164 -0
  13. data/ext/groonga/rb-grn-request-timer-id.c +64 -0
  14. data/ext/groonga/rb-grn-request-timer.c +155 -0
  15. data/ext/groonga/rb-grn-type.c +43 -1
  16. data/ext/groonga/rb-grn.h +17 -5
  17. data/ext/groonga/rb-groonga.c +3 -0
  18. data/lib/2.1/groonga.so +0 -0
  19. data/lib/2.2/groonga.so +0 -0
  20. data/lib/2.3/groonga.so +0 -0
  21. data/lib/groonga/expression-builder.rb +4 -13
  22. data/rroonga-build.rb +3 -3
  23. data/rroonga.gemspec +1 -2
  24. data/test/run-test.rb +2 -2
  25. data/test/test-expression-builder.rb +13 -1
  26. data/test/test-hash.rb +22 -3
  27. data/test/test-request-canceler.rb +46 -0
  28. data/test/test-request-timer.rb +40 -0
  29. data/test/test-table.rb +43 -7
  30. data/test/test-type.rb +104 -2
  31. data/vendor/local/bin/grndb.exe +0 -0
  32. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgroonga-0.dll +0 -0
  35. data/vendor/local/bin/libmecab-2.dll +0 -0
  36. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  37. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  38. data/vendor/local/bin/libonig-5.dll +0 -0
  39. data/vendor/local/bin/lz4.exe +0 -0
  40. data/vendor/local/bin/lz4c.exe +0 -0
  41. data/vendor/local/bin/lz4cat +0 -0
  42. data/vendor/local/bin/mecab.exe +0 -0
  43. data/vendor/local/bin/zlib1.dll +0 -0
  44. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
  45. data/vendor/local/include/groonga/groonga.h +1 -0
  46. data/vendor/local/include/groonga/groonga/dump.h +1 -1
  47. data/vendor/local/include/groonga/groonga/expr.h +1 -2
  48. data/vendor/local/include/groonga/groonga/groonga.h +18 -5
  49. data/vendor/local/include/groonga/groonga/obj.h +1 -0
  50. data/vendor/local/include/groonga/groonga/plugin.h +9 -0
  51. data/vendor/local/include/groonga/groonga/portability.h +8 -0
  52. data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
  53. data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
  54. data/vendor/local/include/groonga/groonga/type.h +9 -0
  55. data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
  56. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  58. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/ruby/eval.rb +36 -0
  66. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
  67. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
  68. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  70. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  78. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  79. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  80. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +14 -0
  81. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
  82. data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
  83. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
  84. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
  85. data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
  86. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
  87. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
  88. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
  89. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
  90. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
  91. data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
  92. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
  93. data/vendor/local/lib/libgroonga.a +0 -0
  94. data/vendor/local/lib/libgroonga.dll.a +0 -0
  95. data/vendor/local/lib/liblz4.a +0 -0
  96. data/vendor/local/lib/liblz4.dll +0 -0
  97. data/vendor/local/lib/liblz4.dll.1 +0 -0
  98. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  99. data/vendor/local/lib/libmecab.a +0 -0
  100. data/vendor/local/lib/libmecab.dll.a +0 -0
  101. data/vendor/local/lib/libmsgpack.a +0 -0
  102. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  103. data/vendor/local/lib/libmsgpackc.a +0 -0
  104. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  105. data/vendor/local/lib/libonig.a +0 -0
  106. data/vendor/local/lib/libonig.dll.a +0 -0
  107. data/vendor/local/lib/libz.a +0 -0
  108. data/vendor/local/lib/libz.dll.a +0 -0
  109. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  110. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  111. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  112. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  113. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  114. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  115. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  116. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  117. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +10 -1
  118. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
  119. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
  120. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
  121. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
  122. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  123. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +13 -3
  124. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
  125. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  126. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -4
  127. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  128. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +4 -3
  129. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -0
  135. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
  137. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
  138. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
  139. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
  140. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
  141. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
  143. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
  144. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
  145. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
  147. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
  148. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
  149. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
  150. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
  151. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
  152. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
  153. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
  154. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
  155. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
  156. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
  157. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
  158. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
  159. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
  160. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
  161. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
  162. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
  163. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
  164. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
  165. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
  166. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
  167. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
  168. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
  169. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
  173. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
  174. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
  178. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
  179. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  180. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
  182. data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
  183. data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
  184. data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
  185. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
  186. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
  187. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
  188. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
  189. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
  190. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
  191. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
  192. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
  193. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
  194. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
  195. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
  196. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
  197. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
  198. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
  199. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
  200. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
  201. data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
  202. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
  203. data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
  204. data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
  205. data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
  206. data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
  207. data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
  208. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
  209. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
  210. data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
  211. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
  212. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
  213. data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
  214. data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
  215. data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
  216. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
  217. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
  218. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
  219. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
  220. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
  221. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
  222. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
  223. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
  224. data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
  225. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  226. data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
  227. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
  228. data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
  229. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
  230. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
  231. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
  232. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
  233. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
  234. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
  235. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
  236. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
  237. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
  238. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
  239. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
  240. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
  241. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
  242. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
  243. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
  244. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
  245. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
  246. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
  247. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
  248. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
  249. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
  250. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
  251. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
  252. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
  253. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
  254. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
  255. data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
  256. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
  257. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
  258. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
  259. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
  260. data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
  261. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
  262. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
  263. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
  264. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
  265. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
  266. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
  274. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
  275. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
  276. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
  277. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
  278. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
  279. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
  280. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
  281. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
  282. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
  283. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
  284. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
  285. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
  286. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
  287. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
  288. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
  289. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
  290. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
  291. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
  292. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
  293. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
  294. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
  295. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
  296. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
  297. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
  298. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
  299. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
  300. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
  302. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
  303. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
  304. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
  305. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
  306. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
  307. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
  308. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
  309. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
  325. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
  326. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
  327. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
  328. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
  329. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
  330. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
  331. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
  332. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
  333. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
  334. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
  335. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
  336. data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
  337. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
  338. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
  339. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
  340. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
  341. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
  342. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
  343. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
  344. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
  345. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
  346. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
  347. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
  348. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
  349. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
  350. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
  351. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
  352. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
  353. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
  354. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
  355. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
  356. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
  357. data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
  358. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
  359. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
  360. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
  361. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
  362. data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
  363. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
  364. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
  365. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
  366. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
  367. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
  368. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
  369. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
  370. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
  371. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
  372. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
  373. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
  374. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
  375. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
  376. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
  377. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
  378. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
  379. data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
  380. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  381. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  382. data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
  383. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
  384. data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
  385. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
  386. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
  387. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
  388. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
  389. data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
  390. data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
  391. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
  392. data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
  393. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
  394. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
  395. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
  396. data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
  397. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
  398. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
  399. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
  400. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
  401. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
  402. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
  403. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
  404. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
  405. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
  406. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
  407. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
  408. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  409. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
  410. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
  411. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
  412. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
  413. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
  414. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  415. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +13 -3
  416. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
  417. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  418. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -4
  419. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  420. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +4 -3
  421. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
  422. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
  423. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
  424. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  425. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
  426. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -0
  427. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
  428. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
  429. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
  430. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
  431. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
  432. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
  433. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
  434. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
  435. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
  436. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
  442. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
  470. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
  471. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  472. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  473. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
  474. data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
  475. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
  476. data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
  477. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
  478. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
  479. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
  480. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
  481. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
  482. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
  483. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
  484. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
  485. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
  486. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
  487. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
  488. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
  489. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
  490. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
  491. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
  492. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
  493. data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
  494. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
  495. data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
  496. data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
  497. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
  498. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
  499. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
  500. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
  501. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
  502. data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
  503. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
  504. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
  505. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
  506. data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
  507. data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
  508. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
  509. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
  510. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
  511. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
  512. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
  513. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
  514. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
  515. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
  516. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
  517. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  518. data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
  519. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
  520. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
  521. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
  522. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
  523. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
  524. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
  525. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
  526. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
  527. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
  528. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
  529. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
  530. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
  531. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
  532. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
  533. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
  534. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
  535. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
  536. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
  537. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
  546. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
  547. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
  548. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
  549. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
  550. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
  551. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
  552. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
  553. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
  554. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
  555. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
  556. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
  557. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
  558. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
  559. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
  560. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
  561. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
  562. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
  563. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
  564. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
  565. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
  566. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
  567. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
  568. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
  569. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
  570. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
  571. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
  572. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
  573. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
  574. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
  575. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
  576. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
  590. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
  591. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
  592. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
  593. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
  594. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
  595. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
  596. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
  597. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
  598. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
  599. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
  600. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
  601. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
  602. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
  603. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
  604. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
  605. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
  606. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
  607. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
  608. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
  609. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
  610. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
  611. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
  617. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
  618. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
  619. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
  620. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
  621. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
  622. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
  623. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
  624. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
  625. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
  626. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
  627. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
  628. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
  629. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
  630. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
  631. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
  632. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
  633. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
  634. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
  635. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
  636. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
  637. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
  638. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
  639. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
  640. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
  641. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
  642. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
  643. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
  644. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
  645. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
  646. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
  647. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
  648. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
  649. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
  650. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
  651. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
  652. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
  653. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
  654. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
  655. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
  656. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
  657. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
  658. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
  659. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
  660. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
  661. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
  662. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
  663. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
  664. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
  665. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
  666. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
  667. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
  668. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
  669. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
  670. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
  671. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
  672. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  673. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  674. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
  675. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
  676. data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
  677. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
  678. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
  679. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
  680. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
  681. data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
  682. data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
  683. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
  684. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
  685. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
  686. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
  687. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
  688. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
  689. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
  690. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
  691. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
  692. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
  693. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
  694. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
  695. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
  696. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
  697. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
  698. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
  699. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
  700. metadata +72 -76
  701. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  702. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  703. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  704. data/vendor/local/lib/groonga/plugins/ruby/eval.la +0 -41
  705. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  706. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  707. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  708. data/vendor/local/lib/groonga/plugins/ruby/load.la +0 -41
  709. data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
  710. data/vendor/local/share/man/man1/groonga.1 +0 -55612
@@ -186,6 +186,19 @@ class ExpressionBuilderTest < Test::Unit::TestCase
186
186
  result.collect {|record| record.key.key})
187
187
  end
188
188
 
189
+ def test_and_array_nested
190
+ result = @users.select do |record|
191
+ conditions = []
192
+ conditions << [(record.hp > 100)]
193
+ conditions << []
194
+ conditions << [[[(record.hp < 200)]]]
195
+ conditions << [[]]
196
+ conditions
197
+ end
198
+ assert_equal(["gunyara-kun"],
199
+ result.collect {|record| record.key.key})
200
+ end
201
+
189
202
  def test_or
190
203
  result = @users.select do |record|
191
204
  (record["hp"] == 150) | (record["hp"] > 150)
@@ -675,7 +688,6 @@ EOC
675
688
  end
676
689
 
677
690
  def test_search
678
- omit("TODO: Enable me when Groonga 6.0.1 is released.")
679
691
  result = @tags.select do |record|
680
692
  record.key.fuzzy_search("Toym", :with_transposition => true)
681
693
  end
data/test/test-hash.rb CHANGED
@@ -1,7 +1,5 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
1
  # Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
4
- # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
2
+ # Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
5
3
  #
6
4
  # This library is free software; you can redistribute it and/or
7
5
  # modify it under the terms of the GNU Lesser General Public
@@ -443,4 +441,25 @@ class HashTest < Test::Unit::TestCase
443
441
  user_names = users.each.collect(&:key)
444
442
  assert_equal(["Alice", "Bob", "Carl"], user_names)
445
443
  end
444
+
445
+ class KeyLargeTest < self
446
+ def test_default
447
+ paths = Groonga::Hash.create(:name => "Paths",
448
+ :key_type => "ShortText")
449
+ inspected = context.execute_command("object_inspect",
450
+ :name => paths.name)
451
+ assert_equal((4 * 1024 * 1024 * 1024) - 1,
452
+ inspected.body["key"]["max_total_size"])
453
+ end
454
+
455
+ def test_enable
456
+ paths = Groonga::Hash.create(:name => "Paths",
457
+ :key_type => "ShortText",
458
+ :key_large => true)
459
+ inspected = context.execute_command("object_inspect",
460
+ :name => paths.name)
461
+ assert_equal((1 * 1024 * 1024 * 1024 * 1024) - 1,
462
+ inspected.body["key"]["max_total_size"])
463
+ end
464
+ end
446
465
  end
@@ -0,0 +1,46 @@
1
+ # Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License version 2.1 as published by the Free Software Foundation.
6
+ #
7
+ # This library is distributed in the hope that it will be useful,
8
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
9
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
+ # Lesser General Public License for more details.
11
+ #
12
+ # You should have received a copy of the GNU Lesser General Public
13
+ # License along with this library; if not, write to the Free Software
14
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15
+
16
+ class RequestCancelerTest < Test::Unit::TestCase
17
+ include GroongaTestUtils
18
+
19
+ def setup
20
+ @request_id = "request-29"
21
+ end
22
+
23
+ def teardown
24
+ Groonga::RequestCanceler.unregister(@request_id)
25
+ end
26
+
27
+ def test_cancel
28
+ assert do
29
+ not Groonga::RequestCanceler.cancel(@request_id)
30
+ end
31
+ Groonga::RequestCanceler.register(@request_id)
32
+ assert do
33
+ Groonga::RequestCanceler.cancel(@request_id)
34
+ end
35
+ end
36
+
37
+ def test_cancel_all
38
+ assert do
39
+ not Groonga::RequestCanceler.cancel_all
40
+ end
41
+ Groonga::RequestCanceler.register(@request_id)
42
+ assert do
43
+ Groonga::RequestCanceler.cancel_all
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,40 @@
1
+ # Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License version 2.1 as published by the Free Software Foundation.
6
+ #
7
+ # This library is distributed in the hope that it will be useful,
8
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
9
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
+ # Lesser General Public License for more details.
11
+ #
12
+ # You should have received a copy of the GNU Lesser General Public
13
+ # License along with this library; if not, write to the Free Software
14
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15
+
16
+ class RequestTimerTest < Test::Unit::TestCase
17
+ include GroongaTestUtils
18
+
19
+ def setup
20
+ @request_id = "request-29"
21
+ @timeout = 2.9
22
+ end
23
+
24
+ def teardown
25
+ end
26
+
27
+ def test_register
28
+ timer_id = Groonga::RequestTimer.register(@request_id, @timeout)
29
+ assert do
30
+ timer_id.is_a?(Groonga::RequestTimerID)
31
+ end
32
+ Groonga::RequestTimer.unregister(timer_id)
33
+ end
34
+
35
+ def test_deafult_timeout
36
+ assert_in_delta(0.0, Groonga::RequestTimer.default_timeout, 0.01)
37
+ Groonga::RequestTimer.default_timeout = @timeout
38
+ assert_in_delta(@timeout, Groonga::RequestTimer.default_timeout, 0.01)
39
+ end
40
+ end
data/test/test-table.rb CHANGED
@@ -302,13 +302,49 @@ class TableTest < Test::Unit::TestCase
302
302
  end
303
303
  end
304
304
 
305
- def test_remove
306
- bookmarks_path = @tables_dir + "bookmarks"
307
- bookmarks = Groonga::Array.create(:name => "Bookmarks",
308
- :path => bookmarks_path.to_s)
309
- assert_predicate(bookmarks_path, :exist?)
310
- bookmarks.remove
311
- assert_not_predicate(bookmarks_path, :exist?)
305
+ class RemoveTest < self
306
+ def test_default
307
+ bookmarks_path = @tables_dir + "bookmarks"
308
+ bookmarks = Groonga::Array.create(:name => "Bookmarks",
309
+ :path => bookmarks_path.to_s)
310
+ assert_predicate(bookmarks_path, :exist?)
311
+ bookmarks.remove
312
+ assert_not_predicate(bookmarks_path, :exist?)
313
+ end
314
+
315
+ def test_dependent
316
+ names_path = @tables_dir + "names"
317
+ names = Groonga::Hash.create(:name => "Names",
318
+ :path => names_path.to_s,
319
+ :key_type => "ShortText")
320
+ users_path = @tables_dir + "users"
321
+ Groonga::Hash.create(:name => "Users",
322
+ :path => users_path.to_s,
323
+ :key_type => "Names")
324
+ administrators_path = @tables_dir + "administrators"
325
+ Groonga::Hash.create(:name => "Administrator",
326
+ :path => administrators_path.to_s,
327
+ :key_type => "Names")
328
+ members_path = @tables_dir + "members"
329
+ members = Groonga::Hash.create(:name => "Members",
330
+ :path => members_path.to_s,
331
+ :key_type => "ShortText")
332
+ members_name_path = @columns_dir + "name"
333
+ members.define_column("name", "Names",
334
+ :path => members_name_path.to_s)
335
+
336
+ assert {names_path.exist?}
337
+ assert {users_path.exist?}
338
+ assert {administrators_path.exist?}
339
+ assert {members_path.exist?}
340
+ assert {members_name_path.exist?}
341
+ names.remove(:dependent => true)
342
+ assert {not names_path.exist?}
343
+ assert {not users_path.exist?}
344
+ assert {not administrators_path.exist?}
345
+ assert {members_path.exist?}
346
+ assert {not members_name_path.exist?}
347
+ end
312
348
  end
313
349
 
314
350
  def test_temporary_add
data/test/test-type.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2009-2012 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
2
2
  # Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
@@ -91,6 +91,106 @@ class TypeTest < Test::Unit::TestCase
91
91
  assert_false(Groonga["UInt32"].geo_point?)
92
92
  end
93
93
 
94
+ class TextFamilyTest < self
95
+ def test_short_text
96
+ assert do
97
+ Groonga["ShortText"].text_family?
98
+ end
99
+ end
100
+
101
+ def test_text
102
+ assert do
103
+ Groonga["Text"].text_family?
104
+ end
105
+ end
106
+
107
+ def test_long_text
108
+ assert do
109
+ Groonga["LongText"].text_family?
110
+ end
111
+ end
112
+
113
+ def test_under_short_text
114
+ assert do
115
+ not Groonga["Time"].text_family?
116
+ end
117
+ end
118
+
119
+ def test_over_long_text
120
+ assert do
121
+ not Groonga["TokyoGeoPoint"].text_family?
122
+ end
123
+ end
124
+ end
125
+
126
+ class NumberFamilyTest < self
127
+ def test_int8
128
+ assert do
129
+ Groonga["Int8"].number_family?
130
+ end
131
+ end
132
+
133
+ def test_uint8
134
+ assert do
135
+ Groonga["UInt8"].number_family?
136
+ end
137
+ end
138
+
139
+ def test_int16
140
+ assert do
141
+ Groonga["Int16"].number_family?
142
+ end
143
+ end
144
+
145
+ def test_uint16
146
+ assert do
147
+ Groonga["UInt16"].number_family?
148
+ end
149
+ end
150
+
151
+ def test_int32
152
+ assert do
153
+ Groonga["Int32"].number_family?
154
+ end
155
+ end
156
+
157
+ def test_uint32
158
+ assert do
159
+ Groonga["UInt32"].number_family?
160
+ end
161
+ end
162
+
163
+ def test_int64
164
+ assert do
165
+ Groonga["Int64"].number_family?
166
+ end
167
+ end
168
+
169
+ def test_uint64
170
+ assert do
171
+ Groonga["UInt64"].number_family?
172
+ end
173
+ end
174
+
175
+ def test_float
176
+ assert do
177
+ Groonga["Float"].number_family?
178
+ end
179
+ end
180
+
181
+ def test_under_int8
182
+ assert do
183
+ not Groonga["Bool"].number_family?
184
+ end
185
+ end
186
+
187
+ def test_over_float
188
+ assert do
189
+ not Groonga["Time"].number_family?
190
+ end
191
+ end
192
+ end
193
+
94
194
  def test_builtins
95
195
  assert_equal_type("Object", Groonga::Type::OBJECT) # FIXME!!!
96
196
  assert_equal_type("Bool", Groonga::Type::BOOLEAN)
@@ -125,7 +225,9 @@ class TypeTest < Test::Unit::TestCase
125
225
  "builtin - Time" => "Time")
126
226
  def test_builtin?(name)
127
227
  type = Groonga[name]
128
- assert_predicate(type, :builtin?)
228
+ assert do
229
+ type.builtin?
230
+ end
129
231
  end
130
232
 
131
233
  private
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,9 +1,17 @@
1
1
  worker_processes 1;
2
+ pid ${prefix}/var/run/groonga-httpd.pid;
2
3
 
3
4
  # Match this to the file owner of Groonga database files if groonga-httpd is
4
5
  # run as root.
5
6
  user groonga groonga;
6
7
 
8
+ env GRN_IN_VALUES_TOO_MANY_INDEX_MATCH_RATIO;
9
+ env GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO;
10
+ env GRN_II_CURSOR_SET_MIN_ENABLE;
11
+ env GRN_INDEX_CHUNK_SPLIT_ENABLE;
12
+ env GRN_MECAB_CHUNKED_TOKENIZE_ENABLED;
13
+ env GRN_MECAB_CHUNK_SIZE_THRESHOLD;
14
+
7
15
  events {
8
16
  worker_connections 1024;
9
17
  }
@@ -34,6 +34,7 @@
34
34
  #include "groonga/output.h"
35
35
  #include "groonga/pat.h"
36
36
  #include "groonga/request_canceler.h"
37
+ #include "groonga/request_timer.h"
37
38
  #include "groonga/thread.h"
38
39
  #include "groonga/type.h"
39
40
  #include "groonga/util.h"
@@ -23,7 +23,7 @@ extern "C" {
23
23
  #endif
24
24
 
25
25
  GRN_API grn_rc grn_dump_table_create_flags(grn_ctx *ctx,
26
- grn_obj_flags flags,
26
+ grn_table_flags flags,
27
27
  grn_obj *buffer);
28
28
  GRN_API grn_rc grn_dump_column_create_flags(grn_ctx *ctx,
29
29
  grn_obj_flags flags,
@@ -42,6 +42,7 @@ GRN_API grn_obj *grn_expr_get_var(grn_ctx *ctx, grn_obj *expr,
42
42
  GRN_API grn_obj *grn_expr_get_var_by_offset(grn_ctx *ctx, grn_obj *expr, unsigned int offset);
43
43
  GRN_API grn_rc grn_expr_clear_vars(grn_ctx *ctx, grn_obj *expr);
44
44
 
45
+ GRN_API void grn_expr_take_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj);
45
46
 
46
47
  GRN_API grn_obj *grn_expr_append_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj,
47
48
  grn_operator op, int nargs);
@@ -52,8 +53,6 @@ GRN_API grn_obj *grn_expr_append_const_str(grn_ctx *ctx, grn_obj *expr,
52
53
  grn_operator op, int nargs);
53
54
  GRN_API grn_obj *grn_expr_append_const_int(grn_ctx *ctx, grn_obj *expr, int i,
54
55
  grn_operator op, int nargs);
55
- GRN_API grn_obj *grn_expr_append_const_ptr(grn_ctx *ctx, grn_obj *expr, grn_obj *ptr,
56
- grn_operator op, int nargs);
57
56
  GRN_API grn_rc grn_expr_append_op(grn_ctx *ctx, grn_obj *expr, grn_operator op, int nargs);
58
57
 
59
58
  GRN_API grn_rc grn_expr_get_keywords(grn_ctx *ctx, grn_obj *expr, grn_obj *keywords);
@@ -36,7 +36,7 @@ extern "C" {
36
36
  #endif /* GRN_API */
37
37
 
38
38
  typedef unsigned int grn_id;
39
- typedef unsigned char grn_bool;
39
+ typedef uint8_t grn_bool;
40
40
 
41
41
  #define GRN_ID_NIL (0x00)
42
42
  #define GRN_ID_MAX (0x3fffffff)
@@ -124,7 +124,8 @@ typedef enum {
124
124
  GRN_TOKEN_FILTER_ERROR = -73,
125
125
  GRN_COMMAND_ERROR = -74,
126
126
  GRN_PLUGIN_ERROR = -75,
127
- GRN_SCORER_ERROR = -76
127
+ GRN_SCORER_ERROR = -76,
128
+ GRN_CANCEL = -77
128
129
  } grn_rc;
129
130
 
130
131
  GRN_API grn_rc grn_init(void);
@@ -290,7 +291,12 @@ GRN_API grn_encoding grn_encoding_parse(const char *name);
290
291
 
291
292
  /* obj */
292
293
 
293
- typedef unsigned short int grn_obj_flags;
294
+ typedef uint16_t grn_obj_flags;
295
+ typedef uint32_t grn_table_flags;
296
+
297
+ /* flags for grn_obj_flags and grn_table_flags */
298
+
299
+ #define GRN_OBJ_FLAGS_MASK (0xffff)
294
300
 
295
301
  #define GRN_OBJ_TABLE_TYPE_MASK (0x07)
296
302
  #define GRN_OBJ_TABLE_HASH_KEY (0x00)
@@ -335,6 +341,8 @@ typedef unsigned short int grn_obj_flags;
335
341
  #define GRN_OBJ_UNIT_USERDEF_SECTION (0x07<<8)
336
342
  #define GRN_OBJ_UNIT_USERDEF_POSITION (0x08<<8)
337
343
 
344
+ /* Don't use (0x01<<12) because it's used internally. */
345
+
338
346
  #define GRN_OBJ_NO_SUBREC (0x00<<13)
339
347
  #define GRN_OBJ_WITH_SUBREC (0x01<<13)
340
348
 
@@ -343,6 +351,10 @@ typedef unsigned short int grn_obj_flags;
343
351
  #define GRN_OBJ_TEMPORARY (0x00<<15)
344
352
  #define GRN_OBJ_PERSISTENT (0x01<<15)
345
353
 
354
+ /* flags only for grn_table_flags */
355
+
356
+ #define GRN_OBJ_KEY_LARGE (0x01<<16)
357
+
346
358
  /* obj types */
347
359
 
348
360
  #define GRN_VOID (0x00)
@@ -531,7 +543,7 @@ GRN_API grn_proc_type grn_proc_get_type(grn_ctx *ctx, grn_obj *proc);
531
543
 
532
544
  GRN_API grn_obj *grn_table_create(grn_ctx *ctx,
533
545
  const char *name, unsigned int name_size,
534
- const char *path, grn_obj_flags flags,
546
+ const char *path, grn_table_flags flags,
535
547
  grn_obj *key_type, grn_obj *value_type);
536
548
 
537
549
  #define GRN_TABLE_OPEN_OR_CREATE(ctx,name,name_size,path,flags,key_type,value_type,table) \
@@ -645,7 +657,7 @@ GRN_API int grn_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit,
645
657
  grn_obj *result, grn_table_sort_key *keys, int n_keys);
646
658
 
647
659
  typedef struct _grn_table_group_result grn_table_group_result;
648
- typedef unsigned int grn_table_group_flags;
660
+ typedef uint32_t grn_table_group_flags;
649
661
 
650
662
  #define GRN_TABLE_GROUP_CALC_COUNT (0x01<<3)
651
663
  #define GRN_TABLE_GROUP_CALC_MAX (0x01<<4)
@@ -893,6 +905,7 @@ GRN_API int grn_obj_get_values(grn_ctx *ctx, grn_obj *obj, grn_id offset, void *
893
905
 
894
906
  GRN_API grn_rc grn_obj_set_value(grn_ctx *ctx, grn_obj *obj, grn_id id, grn_obj *value, int flags);
895
907
  GRN_API grn_rc grn_obj_remove(grn_ctx *ctx, grn_obj *obj);
908
+ GRN_API grn_rc grn_obj_remove_dependent(grn_ctx *ctx, grn_obj *obj);
896
909
  GRN_API grn_rc grn_obj_rename(grn_ctx *ctx, grn_obj *obj,
897
910
  const char *name, unsigned int name_size);
898
911
  GRN_API grn_rc grn_table_rename(grn_ctx *ctx, grn_obj *table,