rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +2 -2
  3. data/doc/text/news.textile +19 -0
  4. data/ext/groonga/rb-grn-exception.c +35 -1
  5. data/ext/groonga/rb-grn-normalizer.c +37 -7
  6. data/ext/groonga/rb-grn-table.c +106 -35
  7. data/ext/groonga/rb-grn.h +3 -2
  8. data/lib/1.9/groonga.so +0 -0
  9. data/lib/2.0/groonga.so +0 -0
  10. data/lib/2.1/groonga.so +0 -0
  11. data/lib/groonga/record.rb +45 -1
  12. data/rroonga-build.rb +6 -5
  13. data/test/groonga-test-utils.rb +9 -0
  14. data/test/test-array.rb +11 -0
  15. data/test/test-exception.rb +3 -1
  16. data/test/test-normalizer.rb +28 -0
  17. data/test/test-record.rb +34 -0
  18. data/test/test-table-group.rb +366 -0
  19. data/test/test-table.rb +0 -182
  20. data/vendor/local/bin/grndb.exe +0 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libonig-5.dll +0 -0
  29. data/vendor/local/bin/libstdc++-6.dll +0 -0
  30. data/vendor/local/bin/lz4.exe +0 -0
  31. data/vendor/local/bin/lz4c.exe +0 -0
  32. data/vendor/local/bin/lz4cat +0 -0
  33. data/vendor/local/bin/mecab-config +2 -2
  34. data/vendor/local/bin/mecab.exe +0 -0
  35. data/vendor/local/bin/onig-config +1 -1
  36. data/vendor/local/bin/zlib1.dll +0 -0
  37. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  38. data/vendor/local/include/groonga/groonga.h +2 -1
  39. data/vendor/local/include/groonga/groonga/command.h +79 -0
  40. data/vendor/local/include/groonga/groonga/groonga.h +32 -74
  41. data/vendor/local/include/groonga/groonga/output.h +108 -0
  42. data/vendor/local/include/groonga/groonga/plugin.h +18 -3
  43. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  47. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  51. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  53. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  55. data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
  56. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
  57. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
  58. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -0
  59. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  63. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  65. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  69. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  75. data/vendor/local/lib/groonga/scripts/ruby/command.rb +35 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
  77. data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
  78. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
  79. data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
  80. data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
  81. data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
  82. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
  83. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
  84. data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
  85. data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
  86. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
  87. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
  88. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
  89. data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -0
  90. data/vendor/local/lib/libgroonga.a +0 -0
  91. data/vendor/local/lib/libgroonga.dll.a +0 -0
  92. data/vendor/local/lib/libgroonga.la +3 -3
  93. data/vendor/local/lib/liblz4.a +0 -0
  94. data/vendor/local/lib/liblz4.dll +0 -0
  95. data/vendor/local/lib/liblz4.dll.1 +0 -0
  96. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  97. data/vendor/local/lib/libmecab.a +0 -0
  98. data/vendor/local/lib/libmecab.dll.a +0 -0
  99. data/vendor/local/lib/libmecab.la +2 -2
  100. data/vendor/local/lib/libmsgpack.a +0 -0
  101. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  102. data/vendor/local/lib/libmsgpack.la +2 -2
  103. data/vendor/local/lib/libmsgpackc.a +0 -0
  104. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  105. data/vendor/local/lib/libmsgpackc.la +2 -2
  106. data/vendor/local/lib/libonig.a +0 -0
  107. data/vendor/local/lib/libonig.dll.a +0 -0
  108. data/vendor/local/lib/libonig.la +2 -2
  109. data/vendor/local/lib/libz.a +0 -0
  110. data/vendor/local/lib/libz.dll.a +0 -0
  111. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  112. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  113. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  115. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  116. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  117. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  118. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  119. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  120. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  121. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  122. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  123. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  124. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  125. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
  126. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  127. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  129. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  130. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
  131. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  132. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +16 -570
  133. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
  134. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
  135. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
  136. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
  137. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
  138. data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
  139. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
  140. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
  141. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
  142. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
  143. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
  144. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
  145. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
  147. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
  148. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
  149. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -1
  150. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  151. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  152. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  153. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  154. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -2
  155. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  156. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  157. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  158. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  159. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  160. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  161. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
  162. data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
  163. data/vendor/local/share/doc/groonga/en/html/client.html +20 -18
  164. data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
  165. data/vendor/local/share/doc/groonga/en/html/contribution.html +21 -19
  166. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
  167. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
  168. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
  169. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
  170. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
  171. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
  172. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
  173. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
  174. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
  175. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
  176. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +27 -25
  177. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
  178. data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
  179. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
  180. data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
  181. data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
  182. data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
  183. data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
  184. data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
  185. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
  186. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
  187. data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
  188. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
  189. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
  190. data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
  191. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  192. data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
  193. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
  194. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -19
  195. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
  196. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +35 -33
  197. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
  198. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
  199. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
  200. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
  201. data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
  202. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  203. data/vendor/local/share/doc/groonga/en/html/reference.html +83 -75
  204. data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
  212. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
  213. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
  214. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
  216. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
  217. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
  218. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
  219. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
  220. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
  221. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
  222. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
  223. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
  224. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
  225. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
  226. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
  227. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
  228. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
  229. data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
  230. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
  231. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
  232. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
  233. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
  234. data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
  235. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
  236. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +56 -54
  237. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
  238. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
  274. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
  275. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
  276. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
  277. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
  279. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
  280. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  281. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +45 -43
  282. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
  283. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
  284. data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
  286. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
  287. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +45 -43
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
  299. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
  300. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
  301. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
  302. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
  303. data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
  304. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
  305. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
  306. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
  307. data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
  308. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
  309. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +58 -56
  310. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
  311. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
  312. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
  315. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
  316. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
  317. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
  318. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
  319. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
  320. data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
  321. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  322. data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
  323. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
  324. data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
  325. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
  326. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
  327. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
  328. data/vendor/local/share/doc/groonga/en/html/server/package.html +34 -32
  329. data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
  330. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
  331. data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
  332. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
  333. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  334. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
  335. data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
  336. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
  337. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
  338. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
  339. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +24 -22
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +21 -19
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
  347. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +16 -570
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
  373. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -1
  374. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  376. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  377. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  378. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -2
  379. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  382. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  384. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  385. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
  386. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
  387. data/vendor/local/share/doc/groonga/ja/html/client.html +20 -18
  388. data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
  389. data/vendor/local/share/doc/groonga/ja/html/contribution.html +21 -19
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
  393. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
  394. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +21 -19
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
  402. data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
  403. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -21
  404. data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
  405. data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
  406. data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
  407. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
  408. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
  409. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
  410. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
  411. data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
  412. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
  413. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
  414. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
  415. data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
  416. data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
  417. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
  418. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -19
  419. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
  420. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +36 -34
  421. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
  422. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
  423. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
  424. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
  425. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
  426. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  427. data/vendor/local/share/doc/groonga/ja/html/reference.html +85 -77
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
  429. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +29 -27
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
  452. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
  453. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
  454. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
  455. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
  456. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
  457. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
  458. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
  459. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
  460. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +50 -48
  461. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
  498. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
  499. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
  500. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
  501. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
  502. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
  503. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +45 -43
  506. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
  507. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
  508. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
  509. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
  510. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
  511. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
  512. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
  513. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
  514. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
  521. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +31 -29
  522. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
  523. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
  524. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
  525. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
  526. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
  527. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
  528. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
  529. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
  530. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
  531. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
  532. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
  533. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +37 -35
  534. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
  535. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
  536. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
  537. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
  538. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
  539. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
  540. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
  541. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
  542. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
  543. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
  544. data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
  545. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  546. data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
  547. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
  548. data/vendor/local/share/doc/groonga/ja/html/server/http.html +22 -20
  549. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
  550. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
  551. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
  552. data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -33
  553. data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
  554. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
  555. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
  556. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
  557. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  558. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
  559. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
  560. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
  561. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
  562. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
  563. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
  564. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
  565. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +27 -25
  566. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
  567. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
  568. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
  569. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
  570. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
  571. data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
  572. data/vendor/local/share/man/man1/groonga.1 +7192 -3297
  573. metadata +33 -4
data/rroonga-build.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
+ # Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
3
4
  # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
4
5
  #
5
6
  # This library is free software; you can redistribute it and/or
@@ -17,17 +18,17 @@
17
18
 
18
19
  module RroongaBuild
19
20
  module RequiredGroongaVersion
20
- MAJOR = 4
21
+ MAJOR = 5
21
22
  MINOR = 0
22
- MICRO = 9
23
+ MICRO = 0
23
24
  VERSION = [MAJOR, MINOR, MICRO]
24
- RELEASED_DATE = Time.utc(2014, 12, 29)
25
+ RELEASED_DATE = Time.utc(2015, 2, 9)
25
26
  end
26
27
 
27
28
  module LatestGroongaVersion
28
- MAJOR = 4
29
+ MAJOR = 5
29
30
  MINOR = 0
30
- MICRO = 9
31
+ MICRO = 0
31
32
  VERSION = [MAJOR, MINOR, MICRO]
32
33
  end
33
34
 
@@ -1,3 +1,4 @@
1
+ # Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
1
2
  # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
2
3
  #
3
4
  # This library is free software; you can redistribute it and/or
@@ -165,6 +166,14 @@ module GroongaTestUtils
165
166
  omit("Ruby 1.9 is needed.") unless ruby19?
166
167
  end
167
168
 
169
+ def linux?
170
+ /linux/ =~ RUBY_PLATFORM
171
+ end
172
+
173
+ def only_linux
174
+ omit("This test is only for Linux system.") unless linux?
175
+ end
176
+
168
177
  def support_self_recursive_equal?
169
178
  self_recursive_hash1 = {}
170
179
  self_recursive_hash1["next"] = self_recursive_hash1
data/test/test-array.rb CHANGED
@@ -242,6 +242,17 @@ EXPECTED_OUTPUT
242
242
  $stdout.sync = true
243
243
 
244
244
  base_dir = #{base_dir.dump}
245
+
246
+ groonga_command_dir = File.join(base_dir, "..", "groonga-command")
247
+ if File.exist?(groonga_command_dir)
248
+ $LOAD_PATH.unshift(File.join(groonga_command_dir, "lib"))
249
+ end
250
+
251
+ groonga_client_dir = File.join(base_dir, "..", "groonga-client")
252
+ if File.exist?(groonga_client_dir)
253
+ $LOAD_PATH.unshift(File.join(groonga_client_dir, "lib"))
254
+ end
255
+
245
256
  ext_dir = File.join(base_dir, "ext", "groonga")
246
257
  lib_dir = File.join(base_dir, "lib")
247
258
 
@@ -1,5 +1,5 @@
1
+ # Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
1
2
  # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
2
- # Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
@@ -97,6 +97,8 @@ class ExceptionTest < Test::Unit::TestCase
97
97
  assert_const_defined(Groonga, :UnsupportedCommandVersion)
98
98
  assert_const_defined(Groonga, :NormalizerError)
99
99
  assert_const_defined(Groonga, :TokenFilterError)
100
+ assert_const_defined(Groonga, :CommandError)
101
+ assert_const_defined(Groonga, :PluginError)
100
102
  end
101
103
  end
102
104
 
@@ -1,3 +1,5 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
1
3
  # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
2
4
  #
3
5
  # This library is free software; you can redistribute it and/or
@@ -21,4 +23,30 @@ class NormalizerTest < Test::Unit::TestCase
21
23
  def test_normalize
22
24
  assert_equal("abc", Groonga::Normalizer.normalize("AbC"))
23
25
  end
26
+
27
+ def test_normalize_with_space
28
+ assert_equal("abcdefgh", Groonga::Normalizer.normalize("AbC Def gh"))
29
+ end
30
+
31
+ def test_normalize_with_space_explicitly
32
+ assert_equal("abcdefgh",
33
+ Groonga::Normalizer.normalize("AbC Def gh",
34
+ :remove_blank => true))
35
+ end
36
+
37
+ def test_normalize_group_text
38
+ assert_equal("キロメートルキロメートルキロメートルキロメートル",
39
+ Groonga::Normalizer.normalize("㌖㌖㌖㌖"));
40
+ end
41
+
42
+ def test_normalize_keep_space
43
+ # full width space => half width space
44
+ assert_equal("abc def gh",
45
+ Groonga::Normalizer.normalize("AbC Def gh",
46
+ :remove_blank => false))
47
+ end
48
+
49
+ def test_normalize_tilda
50
+ assert_equal("~~~", Groonga::Normalizer.normalize("~~〜"))
51
+ end
24
52
  end
data/test/test-record.rb CHANGED
@@ -619,6 +619,11 @@ class RecordTest < Test::Unit::TestCase
619
619
  def setup
620
620
  setup_database
621
621
  setup_schema
622
+ setup_tz
623
+ end
624
+
625
+ def teardown
626
+ teardown_tz
622
627
  end
623
628
 
624
629
  def setup_schema
@@ -633,6 +638,14 @@ class RecordTest < Test::Unit::TestCase
633
638
  @bookmarks = Groonga["Bookmarks"]
634
639
  end
635
640
 
641
+ def setup_tz
642
+ @tz_original = ENV["TZ"]
643
+ end
644
+
645
+ def teardown_tz
646
+ ENV["TZ"] = @tz_original
647
+ end
648
+
636
649
  def test_to_json
637
650
  ENV["TZ"] = "Japan"
638
651
  created_at = Time.parse("2013-05-16T16:57:34+09:00")
@@ -652,5 +665,26 @@ class RecordTest < Test::Unit::TestCase
652
665
  }.to_json
653
666
  assert_equal(expected, groonga.to_json)
654
667
  end
668
+
669
+ def test_to_json_with_leap_second
670
+ only_linux
671
+ ENV["TZ"] = "right/Japan"
672
+ created_at = Time.parse("2012-07-01T08:59:60+09:00")
673
+ values = {
674
+ "uri" => "http://groonga.org/",
675
+ "rate" => 5,
676
+ "comment" => "Great!",
677
+ "created_at" => created_at,
678
+ }
679
+ groonga = @bookmarks.add(values)
680
+ expected = {
681
+ "_id" => groonga.id,
682
+ "comment" => values["comment"],
683
+ "created_at" => created_at.iso8601,
684
+ "rate" => values["rate"],
685
+ "uri" => values["uri"],
686
+ }.to_json
687
+ assert_equal(expected, groonga.to_json)
688
+ end
655
689
  end
656
690
  end
@@ -0,0 +1,366 @@
1
+ # Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
2
+ # Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
3
+ #
4
+ # This library is free software; you can redistribute it and/or
5
+ # modify it under the terms of the GNU Lesser General Public
6
+ # License version 2.1 as published by the Free Software Foundation.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class TableGroupTest < Test::Unit::TestCase
18
+ include GroongaTestUtils
19
+
20
+ setup :setup_database
21
+
22
+ class MaxNSubRecordsTest < self
23
+ setup
24
+ def setup_schema
25
+ Groonga::Schema.define do |schema|
26
+ schema.create_table("Bookmarks", :type => :hash) do |table|
27
+ table.text("title")
28
+ end
29
+
30
+ schema.create_table("Comments", :type => :array) do |table|
31
+ table.reference("bookmark")
32
+ table.text("content")
33
+ table.int32("rank")
34
+ end
35
+ end
36
+ end
37
+
38
+ setup
39
+ def setup_data
40
+ setup_bookmarks
41
+ setup_comments
42
+ end
43
+
44
+ def setup_bookmarks
45
+ @bookmarks = Groonga["Bookmarks"]
46
+ @groonga = @bookmarks.add("http://groonga.org/", :title => "groonga")
47
+ @ruby = @bookmarks.add("http://ruby-lang.org/", :title => "Ruby")
48
+ end
49
+
50
+ def setup_comments
51
+ @comments = Groonga["Comments"]
52
+ @comments.add(:bookmark => @groonga,
53
+ :content => "garbage comment1",
54
+ :rank => 0)
55
+ @comments.add(:bookmark => @groonga,
56
+ :content => "garbage comment2",
57
+ :rank => 0)
58
+ @comments.add(:bookmark => @groonga,
59
+ :content => "full-text search",
60
+ :rank => 1)
61
+ @comments.add(:bookmark => @groonga,
62
+ :content => "column store",
63
+ :rank => 5)
64
+ @comments.add(:bookmark => @ruby,
65
+ :content => "object oriented script language",
66
+ :rank => 100)
67
+ @comments.add(:bookmark => @ruby,
68
+ :content => "multi paradigm programming language",
69
+ :rank => 80)
70
+ end
71
+
72
+ setup
73
+ def setup_searched
74
+ @records = @comments.select do |record|
75
+ record.rank > 0
76
+ end
77
+ end
78
+
79
+ def test_upper_limit
80
+ grouped_records = @records.group("bookmark", :max_n_sub_records => 2)
81
+ groups = grouped_records.collect do |record|
82
+ sub_record_contents = record.sub_records.collect do |sub_record|
83
+ sub_record.content
84
+ end
85
+ [record.title, sub_record_contents]
86
+ end
87
+ assert_equal([
88
+ [
89
+ "groonga",
90
+ [
91
+ "full-text search",
92
+ "column store",
93
+ ],
94
+ ],
95
+ [
96
+ "Ruby",
97
+ [
98
+ "object oriented script language",
99
+ "multi paradigm programming language",
100
+ ],
101
+ ],
102
+ ],
103
+ groups)
104
+ end
105
+
106
+ def test_less_than_limit
107
+ sorted = @records.sort([{:key => "rank", :order => :descending}],
108
+ :limit => 3, :offset => 0)
109
+ grouped_records = sorted.group("bookmark", :max_n_sub_records => 2)
110
+ groups = grouped_records.collect do |record|
111
+ sub_record_ranks = record.sub_records.collect do |sub_record|
112
+ sub_record.rank
113
+ end
114
+ [record.title, sub_record_ranks]
115
+ end
116
+ assert_equal([
117
+ ["Ruby", [100, 80]],
118
+ ["groonga", [5]]
119
+ ],
120
+ groups)
121
+ end
122
+ end
123
+
124
+ class KeyTest < self
125
+ setup
126
+ def setup_schema
127
+ Groonga::Schema.define do |schema|
128
+ schema.create_table("Bookmarks", :type => :hash) do |table|
129
+ table.text("title")
130
+ end
131
+
132
+ schema.create_table("Comments", :type => :array) do |table|
133
+ table.reference("bookmark")
134
+ table.text("content")
135
+ table.int32("rank")
136
+ end
137
+ end
138
+ end
139
+
140
+ setup
141
+ def setup_data
142
+ setup_bookmarks
143
+ setup_comments
144
+ end
145
+
146
+ def setup_bookmarks
147
+ @bookmarks = Groonga["Bookmarks"]
148
+ @groonga = @bookmarks.add("http://groonga.org/", :title => "groonga")
149
+ @ruby = @bookmarks.add("http://ruby-lang.org/", :title => "Ruby")
150
+ end
151
+
152
+ def setup_comments
153
+ @comments = Groonga["Comments"]
154
+ @comments.add(:bookmark => @groonga,
155
+ :content => "full-text search")
156
+ @comments.add(:bookmark => @groonga,
157
+ :content => "column store")
158
+ @comments.add(:bookmark => @ruby,
159
+ :content => "object oriented script language")
160
+ end
161
+
162
+ def test_string
163
+ grouped_records = @comments.group("bookmark").collect do |record|
164
+ bookmark = record.key
165
+ [
166
+ record.n_sub_records,
167
+ bookmark["title"],
168
+ bookmark.key,
169
+ ]
170
+ end
171
+ assert_equal([
172
+ [2, "groonga", "http://groonga.org/"],
173
+ [1, "Ruby", "http://ruby-lang.org/"],
174
+ ],
175
+ grouped_records)
176
+ end
177
+
178
+ def test_array
179
+ grouped_records = @comments.group(["bookmark"]).collect do |record|
180
+ bookmark = record.key
181
+ [
182
+ record.n_sub_records,
183
+ bookmark["title"],
184
+ bookmark.key,
185
+ ]
186
+ end
187
+ assert_equal([
188
+ [2, "groonga", "http://groonga.org/"],
189
+ [1, "Ruby", "http://ruby-lang.org/"],
190
+ ],
191
+ grouped_records)
192
+ end
193
+
194
+ def test_accessor
195
+ grouped_records = @comments.group("bookmark._key").collect do |record|
196
+ [
197
+ record.n_sub_records,
198
+ record.key
199
+ ]
200
+ end
201
+ assert_equal([
202
+ [2, "http://groonga.org/"],
203
+ [1, "http://ruby-lang.org/"],
204
+ ],
205
+ grouped_records)
206
+ end
207
+
208
+ def test_nonexistent
209
+ message = "unknown group key: <\"nonexistent\">: <#{@comments.inspect}>"
210
+ assert_raise(ArgumentError.new(message)) do
211
+ @comments.group("nonexistent")
212
+ end
213
+ end
214
+ end
215
+
216
+ class MultipleKeyTest < self
217
+ setup
218
+ def setup_schema
219
+ Groonga::Schema.define do |schema|
220
+ schema.create_table("Memos", :type => :hash) do |table|
221
+ table.short_text("tag")
222
+ table.int64("priority")
223
+ end
224
+ end
225
+ end
226
+
227
+ setup
228
+ def setup_data
229
+ setup_memos
230
+ end
231
+
232
+ def setup_memos
233
+ @memos = Groonga["Memos"]
234
+ @memos.add("Groonga1",
235
+ :tag => "Groonga",
236
+ :priority => 10)
237
+ @memos.add("Groonga2",
238
+ :tag => "Groonga",
239
+ :priority => 20)
240
+ @memos.add("Mroonga1",
241
+ :tag => "Mroonga",
242
+ :priority => 10)
243
+ @memos.add("Mroonga2",
244
+ :tag => "Mroonga",
245
+ :priority => 10)
246
+ end
247
+
248
+ def test_two_keys
249
+ keys = ["tag", "priority"]
250
+ grouped_records = @memos.group(keys).collect do |record|
251
+ sub_record = record.sub_records.first
252
+ [
253
+ record.n_sub_records,
254
+ sub_record.tag,
255
+ sub_record.priority,
256
+ ]
257
+ end
258
+
259
+ assert_equal([
260
+ [1, "Groonga", 10],
261
+ [1, "Groonga", 20],
262
+ [2, "Mroonga", 10],
263
+ ],
264
+ grouped_records)
265
+ end
266
+ end
267
+
268
+ class CalculationTest < self
269
+ setup
270
+ def setup_schema
271
+ Groonga::Schema.define do |schema|
272
+ schema.create_table("Tags", :type => :hash)
273
+
274
+ schema.create_table("Memos", :type => :hash) do |table|
275
+ table.reference("tag")
276
+ table.int64("priority")
277
+ end
278
+ end
279
+ end
280
+
281
+ setup
282
+ def setup_data
283
+ setup_tags
284
+ setup_memos
285
+ end
286
+
287
+ def setup_tags
288
+ @tags = Groonga["Tags"]
289
+ @groonga = @tags.add("Groonga")
290
+ @mroonga = @tags.add("Mroonga")
291
+ @rroonga = @tags.add("Rroonga")
292
+ end
293
+
294
+ def setup_memos
295
+ @memos = Groonga["Memos"]
296
+ @memos.add("Groonga1",
297
+ :tag => @groonga,
298
+ :priority => 10)
299
+ @memos.add("Groonga2",
300
+ :tag => @groonga,
301
+ :priority => 20)
302
+ @memos.add("Groonga3",
303
+ :tag => @groonga,
304
+ :priority => 40)
305
+ @memos.add("Mroonga1",
306
+ :tag => @mroonga,
307
+ :priority => 50)
308
+ @memos.add("Mroonga2",
309
+ :tag => @mroonga,
310
+ :priority => 25)
311
+ @memos.add("Mroonga3",
312
+ :tag => @mroonga,
313
+ :priority => 10)
314
+ @memos.add("Rroonga1",
315
+ :tag => @rroonga,
316
+ :priority => 25)
317
+ @memos.add("Rroonga2",
318
+ :tag => @rroonga,
319
+ :priority => -25)
320
+ @memos.add("Rroonga3",
321
+ :tag => @rroonga,
322
+ :priority => 0)
323
+ end
324
+
325
+ def test_max
326
+ grouped_records = @memos.group("tag",
327
+ :calc_target => "priority",
328
+ :calc_types => [:max]).collect do |group|
329
+ tag = group.key
330
+ [
331
+ tag.key,
332
+ group.max,
333
+ ]
334
+ end
335
+
336
+ assert_equal([
337
+ ["Groonga", 40],
338
+ ["Mroonga", 50],
339
+ ["Rroonga", 25],
340
+ ],
341
+ grouped_records)
342
+ end
343
+
344
+ def test_all_types
345
+ grouped_records = @memos.group("tag",
346
+ :calc_target => "priority",
347
+ :calc_types => [:max, :min, :sum, :average]).collect do |group|
348
+ tag = group.key
349
+ [
350
+ tag.key,
351
+ group.max,
352
+ group.min,
353
+ group.sum,
354
+ group.average.round(3),
355
+ ]
356
+ end
357
+
358
+ assert_equal([
359
+ ["Groonga", 40, 10, 70, 23.333],
360
+ ["Mroonga", 50, 10, 85, 28.333],
361
+ ["Rroonga", 25, -25, 0, 0.0],
362
+ ],
363
+ grouped_records)
364
+ end
365
+ end
366
+ end