rroonga 4.0.6-x86-mingw32 → 4.0.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (598) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +14 -2
  4. data/ext/groonga/extconf.rb +0 -3
  5. data/ext/groonga/rb-grn-expression.c +1 -6
  6. data/ext/groonga/rb-grn-index-column.c +96 -0
  7. data/ext/groonga/rb-grn-index-cursor.c +32 -8
  8. data/ext/groonga/rb-grn-posting.c +26 -6
  9. data/ext/groonga/rb-grn-utils.c +27 -0
  10. data/ext/groonga/rb-grn.h +4 -1
  11. data/lib/1.9/groonga.so +0 -0
  12. data/lib/2.0/groonga.so +0 -0
  13. data/lib/2.1/groonga.so +0 -0
  14. data/rroonga-build.rb +3 -3
  15. data/test/test-column.rb +50 -12
  16. data/test/test-expression-builder.rb +1 -1
  17. data/test/test-expression.rb +80 -25
  18. data/test/test-index-column.rb +41 -0
  19. data/test/test-index-cursor.rb +21 -1
  20. data/test/test-table-key-support.rb +59 -1
  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_sjlj-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/libwinpthread-1.dll +0 -0
  31. data/vendor/local/bin/lz4 +0 -0
  32. data/vendor/local/bin/lz4c +0 -0
  33. data/vendor/local/bin/lz4cat +0 -0
  34. data/vendor/local/bin/mecab-config +2 -2
  35. data/vendor/local/bin/mecab.exe +0 -0
  36. data/vendor/local/bin/onig-config +1 -1
  37. data/vendor/local/bin/zlib1.dll +0 -0
  38. data/vendor/local/etc/groonga/groonga.conf +1 -1
  39. data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
  40. data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
  41. data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
  42. data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
  43. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  44. data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
  45. data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
  46. data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
  47. data/vendor/local/etc/groonga/httpd/koi-win +103 -0
  48. data/vendor/local/etc/groonga/httpd/mime.types +89 -0
  49. data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
  50. data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
  51. data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
  52. data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
  53. data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
  54. data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
  55. data/vendor/local/etc/groonga/httpd/win-utf +126 -0
  56. data/vendor/local/include/groonga/groonga/expr.h +108 -0
  57. data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
  58. data/vendor/local/include/groonga/groonga/ii.h +46 -0
  59. data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
  60. data/vendor/local/include/groonga/groonga/plugin.h +5 -3
  61. data/vendor/local/include/groonga/groonga/token.h +136 -0
  62. data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
  63. data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
  64. data/vendor/local/include/groonga/groonga/util.h +40 -0
  65. data/vendor/local/include/groonga/groonga.h +5 -2095
  66. data/vendor/local/include/lz4.h +323 -0
  67. data/vendor/local/include/lz4hc.h +223 -0
  68. data/vendor/local/include/zconf.h +511 -0
  69. data/vendor/local/include/zlib.h +1768 -0
  70. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  74. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  78. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  79. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  80. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  81. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  82. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  83. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  84. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  85. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  86. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  87. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  88. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  89. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  90. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  91. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  92. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  93. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  94. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  95. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  96. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  97. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  98. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +22 -0
  99. data/vendor/local/lib/libgroonga.a +0 -0
  100. data/vendor/local/lib/libgroonga.dll.a +0 -0
  101. data/vendor/local/lib/libgroonga.la +3 -3
  102. data/vendor/local/lib/liblz4.a +0 -0
  103. data/vendor/local/lib/liblz4.dll +0 -0
  104. data/vendor/local/lib/liblz4.dll.1 +0 -0
  105. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  106. data/vendor/local/lib/libmecab.a +0 -0
  107. data/vendor/local/lib/libmecab.dll.a +0 -0
  108. data/vendor/local/lib/libmecab.la +3 -3
  109. data/vendor/local/lib/libmsgpack.a +0 -0
  110. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  111. data/vendor/local/lib/libmsgpack.la +3 -3
  112. data/vendor/local/lib/libmsgpackc.a +0 -0
  113. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  114. data/vendor/local/lib/libmsgpackc.la +3 -3
  115. data/vendor/local/lib/libonig.a +0 -0
  116. data/vendor/local/lib/libonig.dll.a +0 -0
  117. data/vendor/local/lib/libonig.la +2 -2
  118. data/vendor/local/lib/libz.a +0 -0
  119. data/vendor/local/lib/libz.dll.a +0 -0
  120. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  121. data/vendor/local/lib/pkgconfig/liblz4.pc +14 -0
  122. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  124. data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
  125. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  126. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  127. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  128. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  129. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  130. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  131. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  132. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  133. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +3 -24
  134. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
  135. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  137. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  138. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  139. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  140. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -19
  141. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  142. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
  143. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  144. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  145. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
  147. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
  148. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
  151. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
  152. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
  153. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
  154. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
  155. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  156. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
  157. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
  158. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
  159. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
  160. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
  161. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  162. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  163. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  164. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  165. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
  166. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  167. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  168. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  169. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
  170. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  171. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  172. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  173. data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
  174. data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
  175. data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
  176. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
  177. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
  178. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
  179. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
  180. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
  181. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
  182. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
  183. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
  184. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
  185. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
  186. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
  187. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
  188. data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
  189. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
  190. data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
  191. data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
  192. data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
  193. data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
  194. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
  195. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
  196. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
  197. data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
  198. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  199. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
  200. data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
  201. data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
  202. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
  204. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  205. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
  206. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
  207. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
  208. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
  209. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
  210. data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
  211. data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
  212. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  213. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
  214. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
  216. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
  217. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
  218. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
  219. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
  220. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
  221. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
  222. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
  223. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
  224. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
  225. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
  226. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
  227. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
  228. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
  229. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
  230. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
  231. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
  232. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
  233. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
  234. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
  235. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
  236. data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
  237. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
  238. data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
  239. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
  240. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
  241. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
  242. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
  243. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
  244. data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
  274. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
  275. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
  276. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
  277. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
  279. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
  280. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
  281. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
  282. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  283. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
  284. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
  285. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
  286. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
  287. data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
  299. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
  300. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
  301. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
  302. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
  303. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
  304. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
  305. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
  306. data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
  307. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
  308. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
  309. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
  310. data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
  311. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
  312. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
  315. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
  316. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
  317. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
  318. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
  319. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
  320. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
  321. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
  322. data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
  323. data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
  324. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  325. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  326. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
  327. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
  328. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
  329. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
  330. data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
  331. data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
  332. data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
  333. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
  334. data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
  335. data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
  336. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  337. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  338. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
  339. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
  350. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  351. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -19
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
  378. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
  379. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  382. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  384. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
  385. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  386. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  387. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  388. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
  389. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  390. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  391. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  392. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
  393. data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
  394. data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
  402. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
  403. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
  404. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
  405. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
  406. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
  407. data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
  408. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
  409. data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
  410. data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
  411. data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
  412. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
  413. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
  414. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
  415. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
  416. data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
  417. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  418. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
  419. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
  420. data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
  421. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
  423. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  424. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
  425. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
  426. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
  427. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
  428. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
  429. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
  430. data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
  431. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
  452. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
  453. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
  454. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
  455. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
  456. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
  457. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
  458. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
  459. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
  460. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
  461. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
  463. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
  497. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
  498. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
  499. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
  500. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
  501. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  502. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
  503. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
  506. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
  507. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
  508. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  509. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
  510. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
  511. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
  512. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
  513. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
  514. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
  521. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
  522. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
  523. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
  524. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
  525. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
  526. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
  527. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
  528. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
  529. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
  530. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
  531. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
  532. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
  533. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
  534. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
  535. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
  536. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
  537. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
  538. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
  539. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
  540. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
  541. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
  542. data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
  543. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  544. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  545. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
  546. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
  547. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
  548. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
  549. data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
  550. data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
  551. data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
  552. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
  553. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
  554. data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
  555. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  556. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  557. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
  558. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
  559. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
  560. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
  561. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
  562. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
  563. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
  564. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
  565. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
  566. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  567. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
  568. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
  569. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  570. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  571. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  572. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  573. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  574. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  575. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  576. data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
  577. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
  578. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
  579. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  580. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  581. data/vendor/local/share/groonga/html/admin/index.html +2 -2
  582. data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
  583. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
  584. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
  585. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
  586. data/vendor/local/share/license/lz4/LICENSE +24 -0
  587. data/vendor/local/share/license/zlib/README +115 -0
  588. data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
  589. data/vendor/local/share/man/man1/groonga.1 +188 -227
  590. data/vendor/local/share/man/man1/lz4.1 +88 -0
  591. data/vendor/local/share/man/man1/lz4c.1 +33 -0
  592. data/vendor/local/share/man/man1/lz4cat.1 +32 -0
  593. metadata +117 -50
  594. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
  595. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
  596. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
  597. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
  598. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 655aad0f4394498613e4b2f6bdc11c63aeec5d50
4
- data.tar.gz: e0b29627fa3ec06d4fb2335f3ceed8751135a434
3
+ metadata.gz: 01c215baffc5953265a2b3d3daab2218af67c230
4
+ data.tar.gz: 60a05928d72aac5091ec651971eb6e26a382d5eb
5
5
  SHA512:
6
- metadata.gz: 117779194b08baa5d9104b6b344a3057db9e436605436386f403b16ef57e328a1cc2ac86342807f4cb137f18067f7638088dad62ea2ce6d35e70a59b9a1f64a2
7
- data.tar.gz: 82edc782346a55cec90c48ffa7911927081e78203c14cf795e1758cd715f124ee31b2cac3fd2bfb32e86ee847df2c707fc0134b010d5f662ccadd0efb2807a37
6
+ metadata.gz: 6f7e48ce5a680f5c22ea41d903a77851ea769731ee0c66bbcc32b282305db208b12524731b942c1ee44ae8c28a81f38465bd2a32b782dbc8e0a9725985863964
7
+ data.tar.gz: 7a944d31f0ebd28c4b048be1f2280e01fa8270b84be4f961c920663b6b878af66a2fac746caf5cb201b1fd594c339f55e3013d6216bf2900c51dc30c72b69651
data/README.md CHANGED
@@ -40,7 +40,7 @@ contributed patches.)
40
40
  ## Dependencies
41
41
 
42
42
  * Ruby >= 1.9.3
43
- * Groonga >= 4.0.4
43
+ * Groonga >= 4.0.7
44
44
 
45
45
  ## Install
46
46
 
@@ -1,5 +1,17 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#4-0-7). 4.0.7: 2014-12-12
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 4.0.8. Groonga 4.0.7 or older aren't supported.
8
+ * Added @:reuse_posting_object@ option to
9
+ {Groonga::IndexCursor#each}. The option improves performance by
10
+ reducing memory allocation. The option is disabled by default because
11
+ reusing the same object isn't Rubyish.
12
+ * Added {Groonga::IndexCursor#estimate_size}. [GitHub#38]
13
+ * Accepted string for integer, unsigned integer and float type key.
14
+
3
15
  h2(#4-0-6). 4.0.6: 2014-11-06
4
16
 
5
17
  h3. Improvements
@@ -11,8 +23,8 @@ h3. Improvements
11
23
  ** Supported @:lz4@ in {Groonga::VariableSizeColumn#compressed?} options.
12
24
  ** Added {Groonga::LZ4Error}.
13
25
  ** [grndump] Supported @COMPRESS_ZLIB@ and @COMPRESS_LZ4@ flags.
14
- ** Added {Groonga::TableKeySupport#token_filters}.
15
- ** Added {Groonga::TableKeySupport#token_filters=}.
26
+ ** Added {Groonga::Table::KeySupport#token_filters}.
27
+ ** Added {Groonga::Table::KeySupport#token_filters=}.
16
28
  ** Supported @:token_filters@ in {Groonga::Hash.create} options.
17
29
  ** Supported @:token_filters@ in {Groonga::PatriciaTrie.create} options.
18
30
  ** Supported @:token_filters@ in {Groonga::DoubleArrayTrie.create} options.
@@ -283,9 +283,6 @@ have_func("rb_sym2str", "ruby.h")
283
283
  have_func("rb_to_symbol", "ruby.h")
284
284
  have_type("enum ruby_value_type", "ruby.h")
285
285
 
286
- # TODO: Remove me after Groogna 4.0.8 is released.
287
- have_func("grn_expr_dump_plan", "groonga.h")
288
-
289
286
  checking_for(checking_message("--enable-debug-log option")) do
290
287
  enable_debug_log = enable_config("debug-log", false)
291
288
  if enable_debug_log
@@ -498,13 +498,11 @@ rb_grn_expression_compile (VALUE self)
498
498
  * Dump execution plan of the `expression` in string.
499
499
  *
500
500
  * @overload dump_plan
501
- * @since 4.0.8
501
+ * @since 4.0.7
502
502
  */
503
503
  static VALUE
504
504
  rb_grn_expression_dump_plan (VALUE self)
505
505
  {
506
- /* TODO: Remove me after Groogna 4.0.8 is released. */
507
- #ifdef HAVE_GRN_EXPR_DUMP_PLAN
508
506
  grn_ctx *context = NULL;
509
507
  grn_obj *expression;
510
508
  grn_obj dumped_plan;
@@ -520,9 +518,6 @@ rb_grn_expression_dump_plan (VALUE self)
520
518
  grn_obj_unlink(context, &dumped_plan);
521
519
 
522
520
  return rb_dumped_plan;
523
- #else
524
- return rb_str_new2("");
525
- #endif
526
521
  }
527
522
 
528
523
  /*
@@ -955,6 +955,99 @@ rb_grn_index_column_open_cursor (int argc, VALUE *argv, VALUE self)
955
955
  return rb_cursor;
956
956
  }
957
957
 
958
+ /*
959
+ * Estimates the number of documents found by the given token ID.
960
+ *
961
+ * @example Token ID style
962
+ * # Define schema
963
+ * Groonga::Schema.define do |schema|
964
+ * schema.create_table("Articles") do |table|
965
+ * table.text("content")
966
+ * end
967
+ *
968
+ * schema.create_table("Terms",
969
+ * :type => :hash,
970
+ * :key_type => "ShortText",
971
+ * :default_tokenizer => "TokenBigram",
972
+ * :normalizer => "NormalizerAuto") do |table|
973
+ * table.index("Articles.content",
974
+ * :name => "articles_content",
975
+ * :with_position => true,
976
+ * :with_section => true)
977
+ * end
978
+ * end
979
+ * articles = Groonga["Articles"]
980
+ * terms = Groonga["Terms"]
981
+ * index = Groonga["Terms.articles_content"]
982
+ *
983
+ * # Add data
984
+ * articles.add(:content => "Groonga is fast")
985
+ * articles.add(:content => "Rroonga is fast")
986
+ * articles.add(:content => "Mroonga is fast")
987
+ *
988
+ * # Estimate the number of documents found by token ID
989
+ * p @index.estimate_size(@terms["fast"].id) # => 7
990
+ * p @index.estimate_size(@terms["Groonga"].id) # => 1
991
+ *
992
+ * @example Token record style
993
+ * # Define schema
994
+ * Groonga::Schema.define do |schema|
995
+ * schema.create_table("Articles") do |table|
996
+ * table.text("content")
997
+ * end
998
+ *
999
+ * schema.create_table("Terms",
1000
+ * :type => :hash,
1001
+ * :key_type => "ShortText",
1002
+ * :default_tokenizer => "TokenBigram",
1003
+ * :normalizer => "NormalizerAuto") do |table|
1004
+ * table.index("Articles.content",
1005
+ * :name => "articles_content",
1006
+ * :with_position => true,
1007
+ * :with_section => true)
1008
+ * end
1009
+ * end
1010
+ * articles = Groonga["Articles"]
1011
+ * terms = Groonga["Terms"]
1012
+ * index = Groonga["Terms.articles_content"]
1013
+ *
1014
+ * # Add data
1015
+ * articles.add(:content => "Groonga is fast")
1016
+ * articles.add(:content => "Rroonga is fast")
1017
+ * articles.add(:content => "Mroonga is fast")
1018
+ *
1019
+ * # Estimate the number of documents found by token record
1020
+ * p @index.estimate_size(@terms["fast"]) # => 7
1021
+ * p @index.estimate_size(@terms["Groonga"]) # => 1
1022
+ *
1023
+ * @overload estimate_size(token_id)
1024
+ * @param [Integer, Record] token_id The token ID to be estimated.
1025
+ * @return [Integer] The estimated number of documents found by the
1026
+ * given token ID.
1027
+ *
1028
+ * @since 4.0.7
1029
+ */
1030
+ static VALUE
1031
+ rb_grn_index_column_estimate_size (VALUE self, VALUE rb_token_id)
1032
+ {
1033
+ grn_ctx *context;
1034
+ grn_obj *column;
1035
+ grn_obj *domain_object;
1036
+ grn_id token_id;
1037
+ unsigned int size;
1038
+
1039
+ rb_grn_index_column_deconstruct(SELF(self), &column, &context,
1040
+ NULL, &domain_object,
1041
+ NULL, NULL, NULL,
1042
+ NULL, NULL,
1043
+ NULL, NULL);
1044
+
1045
+ token_id = RVAL2GRNID(rb_token_id, context, domain_object, self);
1046
+ size = grn_ii_estimate_size(context, (grn_ii *)column, token_id);
1047
+
1048
+ return UINT2NUM(size);
1049
+ }
1050
+
958
1051
  void
959
1052
  rb_grn_init_index_column (VALUE mGrn)
960
1053
  {
@@ -990,4 +1083,7 @@ rb_grn_init_index_column (VALUE mGrn)
990
1083
 
991
1084
  rb_define_method(rb_cGrnIndexColumn, "open_cursor",
992
1085
  rb_grn_index_column_open_cursor, -1);
1086
+
1087
+ rb_define_method(rb_cGrnIndexColumn, "estimate_size",
1088
+ rb_grn_index_column_estimate_size, 1);
993
1089
  }
@@ -57,7 +57,8 @@ rb_grn_index_cursor_deconstruct (RbGrnIndexCursor *rb_grn_index_cursor,
57
57
  }
58
58
 
59
59
  static VALUE
60
- next_value (grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon)
60
+ next_value (VALUE rb_posting,
61
+ grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon)
61
62
  {
62
63
  grn_posting *posting;
63
64
  grn_id term_id;
@@ -67,7 +68,12 @@ next_value (grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon)
67
68
  return Qnil;
68
69
  }
69
70
 
70
- return rb_grn_posting_new(posting, term_id, rb_table, rb_lexicon);
71
+ if (NIL_P(rb_posting)) {
72
+ return rb_grn_posting_new(posting, term_id, rb_table, rb_lexicon);
73
+ } else {
74
+ rb_grn_posting_update(rb_posting, posting, term_id);
75
+ return rb_posting;
76
+ }
71
77
  }
72
78
 
73
79
  static VALUE
@@ -84,7 +90,7 @@ rb_grn_index_cursor_next (VALUE self)
84
90
  VALUE rb_lexicon;
85
91
  rb_table = rb_iv_get(self, "@table");
86
92
  rb_lexicon = rb_iv_get(self, "@lexicon");
87
- rb_posting = next_value(context, cursor, rb_table, rb_lexicon);
93
+ rb_posting = next_value(Qnil, context, cursor, rb_table, rb_lexicon);
88
94
  }
89
95
 
90
96
  return rb_posting;
@@ -92,14 +98,24 @@ rb_grn_index_cursor_next (VALUE self)
92
98
  }
93
99
 
94
100
  static VALUE
95
- rb_grn_index_cursor_each (VALUE self)
101
+ rb_grn_index_cursor_each (int argc, VALUE *argv, VALUE self)
96
102
  {
97
103
  grn_obj *cursor;
98
104
  grn_ctx *context;
105
+ grn_bool reuse_posting_object;
106
+ VALUE rb_options;
107
+ VALUE rb_reuse_posting_object;
99
108
  VALUE rb_table;
100
109
  VALUE rb_lexicon;
110
+ VALUE rb_posting = Qnil;
111
+
112
+ RETURN_ENUMERATOR(self, argc, argv);
113
+
114
+ rb_scan_args(argc, argv, "01", &rb_options);
101
115
 
102
- RETURN_ENUMERATOR(self, 0, NULL);
116
+ rb_grn_scan_options(rb_options,
117
+ "reuse_posting_object", &rb_reuse_posting_object,
118
+ NULL);
103
119
 
104
120
  rb_grn_index_cursor_deconstruct(SELF(self), &cursor, &context,
105
121
  NULL, NULL, NULL, NULL);
@@ -114,9 +130,17 @@ rb_grn_index_cursor_each (VALUE self)
114
130
 
115
131
  rb_table = rb_iv_get(self, "@table");
116
132
  rb_lexicon = rb_iv_get(self, "@lexicon");
133
+ reuse_posting_object = RVAL2CBOOL(rb_reuse_posting_object);
134
+
135
+ if (reuse_posting_object) {
136
+ rb_posting = rb_grn_posting_new(NULL, GRN_ID_NIL, rb_table, rb_lexicon);
137
+ }
117
138
  while (GRN_TRUE) {
118
- VALUE rb_posting;
119
- rb_posting = next_value(context, cursor, rb_table, rb_lexicon);
139
+ if (!reuse_posting_object) {
140
+ rb_posting = Qnil;
141
+ }
142
+ rb_posting = next_value(rb_posting,
143
+ context, cursor, rb_table, rb_lexicon);
120
144
  if (NIL_P(rb_posting)) {
121
145
  break;
122
146
  }
@@ -135,5 +159,5 @@ rb_grn_init_index_cursor (VALUE mGrn)
135
159
  rb_include_module(rb_cGrnIndexCursor, rb_mEnumerable);
136
160
 
137
161
  rb_define_method(rb_cGrnIndexCursor, "next", rb_grn_index_cursor_next, 0);
138
- rb_define_method(rb_cGrnIndexCursor, "each", rb_grn_index_cursor_each, 0);
162
+ rb_define_method(rb_cGrnIndexCursor, "each", rb_grn_index_cursor_each, -1);
139
163
  }
@@ -32,13 +32,15 @@ rb_grn_posting_new (grn_posting *posting, grn_id term_id,
32
32
  #define SET_PARAMETER(key, value) \
33
33
  rb_hash_aset(parameters, RB_GRN_INTERN(key), INT2NUM((value)))
34
34
 
35
- SET_PARAMETER("record_id", posting->rid);
36
- SET_PARAMETER("section_id", posting->sid);
35
+ if (posting) {
36
+ SET_PARAMETER("record_id", posting->rid);
37
+ SET_PARAMETER("section_id", posting->sid);
38
+ SET_PARAMETER("position", posting->pos);
39
+ SET_PARAMETER("term_frequency", posting->tf);
40
+ SET_PARAMETER("weight", posting->weight);
41
+ SET_PARAMETER("n_rest_postings", posting->rest);
42
+ }
37
43
  SET_PARAMETER("term_id", term_id);
38
- SET_PARAMETER("position", posting->pos);
39
- SET_PARAMETER("term_frequency", posting->tf);
40
- SET_PARAMETER("weight", posting->weight);
41
- SET_PARAMETER("n_rest_postings", posting->rest);
42
44
 
43
45
  #undef SET_PARAMETER
44
46
 
@@ -49,6 +51,24 @@ rb_grn_posting_new (grn_posting *posting, grn_id term_id,
49
51
  parameters);
50
52
  }
51
53
 
54
+ void
55
+ rb_grn_posting_update (VALUE self, grn_posting *posting, grn_id term_id)
56
+ {
57
+ #define SET_PARAMETER(key, value) \
58
+ rb_funcall(self, rb_intern(key "="), 1, INT2NUM(value));
59
+
60
+ SET_PARAMETER("record_id", posting->rid);
61
+ SET_PARAMETER("section_id", posting->sid);
62
+ SET_PARAMETER("position", posting->pos);
63
+ SET_PARAMETER("term_frequency", posting->tf);
64
+ SET_PARAMETER("weight", posting->weight);
65
+ SET_PARAMETER("n_rest_postings", posting->rest);
66
+
67
+ SET_PARAMETER("term_id", term_id);
68
+
69
+ #undef SET_PARAMETER
70
+ }
71
+
52
72
  void
53
73
  rb_grn_init_posting (VALUE mGrn)
54
74
  {
@@ -481,46 +481,73 @@ rb_grn_bulk_from_ruby_object_with_type (VALUE object, grn_ctx *context,
481
481
 
482
482
  switch (type_id) {
483
483
  case GRN_DB_INT8:
484
+ if (string_p) {
485
+ object = rb_Integer(object);
486
+ }
484
487
  value.int8_value = NUM2SHORT(object);
485
488
  string = (const char *)&(value.int8_value);
486
489
  size = sizeof(value.int8_value);
487
490
  break;
488
491
  case GRN_DB_UINT8:
492
+ if (string_p) {
493
+ object = rb_Integer(object);
494
+ }
489
495
  value.uint8_value = NUM2USHORT(object);
490
496
  string = (const char *)&(value.uint8_value);
491
497
  size = sizeof(value.uint8_value);
492
498
  break;
493
499
  case GRN_DB_INT16:
500
+ if (string_p) {
501
+ object = rb_Integer(object);
502
+ }
494
503
  value.int16_value = NUM2SHORT(object);
495
504
  string = (const char *)&(value.int16_value);
496
505
  size = sizeof(value.int16_value);
497
506
  break;
498
507
  case GRN_DB_UINT16:
508
+ if (string_p) {
509
+ object = rb_Integer(object);
510
+ }
499
511
  value.uint16_value = NUM2USHORT(object);
500
512
  string = (const char *)&(value.uint16_value);
501
513
  size = sizeof(value.uint16_value);
502
514
  break;
503
515
  case GRN_DB_INT32:
516
+ if (string_p) {
517
+ object = rb_Integer(object);
518
+ }
504
519
  value.int32_value = NUM2INT(object);
505
520
  string = (const char *)&(value.int32_value);
506
521
  size = sizeof(value.int32_value);
507
522
  break;
508
523
  case GRN_DB_UINT32:
524
+ if (string_p) {
525
+ object = rb_Integer(object);
526
+ }
509
527
  value.uint32_value = NUM2UINT(object);
510
528
  string = (const char *)&(value.uint32_value);
511
529
  size = sizeof(value.uint32_value);
512
530
  break;
513
531
  case GRN_DB_INT64:
532
+ if (string_p) {
533
+ object = rb_Integer(object);
534
+ }
514
535
  value.int64_value = NUM2LL(object);
515
536
  string = (const char *)&(value.int64_value);
516
537
  size = sizeof(value.int64_value);
517
538
  break;
518
539
  case GRN_DB_UINT64:
540
+ if (string_p) {
541
+ object = rb_Integer(object);
542
+ }
519
543
  value.uint64_value = NUM2ULL(object);
520
544
  string = (const char *)&(value.uint64_value);
521
545
  size = sizeof(value.uint64_value);
522
546
  break;
523
547
  case GRN_DB_FLOAT:
548
+ if (string_p) {
549
+ object = rb_Float(object);
550
+ }
524
551
  value.double_value = NUM2DBL(object);
525
552
  string = (const char *)&(value.double_value);
526
553
  size = sizeof(value.double_value);
data/ext/groonga/rb-grn.h CHANGED
@@ -92,7 +92,7 @@ RB_GRN_BEGIN_DECLS
92
92
 
93
93
  #define RB_GRN_MAJOR_VERSION 4
94
94
  #define RB_GRN_MINOR_VERSION 0
95
- #define RB_GRN_MICRO_VERSION 6
95
+ #define RB_GRN_MICRO_VERSION 7
96
96
 
97
97
  #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
98
98
 
@@ -568,6 +568,9 @@ VALUE rb_grn_posting_new (grn_posting *posting,
568
568
  grn_id term_id,
569
569
  VALUE rb_table,
570
570
  VALUE rb_lexicon);
571
+ void rb_grn_posting_update (VALUE rb_posting,
572
+ grn_posting *posting,
573
+ grn_id term_id);
571
574
 
572
575
  VALUE rb_grn_tokyo_geo_point_new (int latitude,
573
576
  int longitude);
data/lib/1.9/groonga.so CHANGED
Binary file
data/lib/2.0/groonga.so CHANGED
Binary file
data/lib/2.1/groonga.so CHANGED
Binary file
data/rroonga-build.rb CHANGED
@@ -19,15 +19,15 @@ module RroongaBuild
19
19
  module RequiredGroongaVersion
20
20
  MAJOR = 4
21
21
  MINOR = 0
22
- MICRO = 7
22
+ MICRO = 8
23
23
  VERSION = [MAJOR, MINOR, MICRO]
24
- RELEASED_DATE = Time.utc(2014, 10, 29)
24
+ RELEASED_DATE = Time.utc(2014, 11, 29)
25
25
  end
26
26
 
27
27
  module LatestGroongaVersion
28
28
  MAJOR = 4
29
29
  MINOR = 0
30
- MICRO = 7
30
+ MICRO = 8
31
31
  VERSION = [MAJOR, MINOR, MICRO]
32
32
  end
33
33
 
data/test/test-column.rb CHANGED
@@ -169,9 +169,18 @@ class ColumnTest < Test::Unit::TestCase
169
169
  result.records.collect do |record|
170
170
  record["body"]
171
171
  end)
172
- assert_equal("#<Groonga::Expression noname($1:null)" +
173
- "{2body GET_VALUE,0\"drive\",0MATCH}>",
174
- result.expression.inspect)
172
+ assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
173
+ #<Groonga::Expression #<expr
174
+ vars:{
175
+ $1:#<record:hash:Posts id:0(nonexistent)>
176
+ },
177
+ codes:{
178
+ 0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
179
+ 1:<push(), modify:0, value:"drive">,
180
+ 2:<match(), modify:0, value:(NULL)>
181
+ }
182
+ >>
183
+ INSPECTED
175
184
  end
176
185
 
177
186
  def test_select_query_from_ctx
@@ -200,9 +209,18 @@ class ColumnTest < Test::Unit::TestCase
200
209
  result.records.collect do |record|
201
210
  record["body"]
202
211
  end)
203
- assert_equal("#<Groonga::Expression noname($1:null)" +
204
- "{2body GET_VALUE,0\"drive\",0MATCH}>",
205
- result.expression.inspect)
212
+ assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
213
+ #<Groonga::Expression #<expr
214
+ vars:{
215
+ $1:#<record:hash:Posts id:0(nonexistent)>
216
+ },
217
+ codes:{
218
+ 0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
219
+ 1:<push(), modify:0, value:"drive">,
220
+ 2:<match(), modify:0, value:(NULL)>
221
+ }
222
+ >>
223
+ INSPECTED
206
224
  end
207
225
 
208
226
  def test_select_expression
@@ -218,9 +236,19 @@ class ColumnTest < Test::Unit::TestCase
218
236
  result.records.collect do |record|
219
237
  record["body"]
220
238
  end)
221
- assert_equal("#<Groonga::Expression noname($1:null)" +
222
- "{0null,2body GET_VALUE,0\"drive\",0MATCH}>",
223
- result.expression.inspect)
239
+ assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
240
+ #<Groonga::Expression #<expr
241
+ vars:{
242
+ $1:#<record:hash:Posts id:0(nonexistent)>
243
+ },
244
+ codes:{
245
+ 0:<push(), modify:0, value:#<record:hash:Posts id:0(nonexistent)>>,
246
+ 1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
247
+ 2:<push(), modify:0, value:"drive">,
248
+ 3:<match(), modify:0, value:(NULL)>
249
+ }
250
+ >>
251
+ INSPECTED
224
252
  end
225
253
 
226
254
  def test_select_with_block
@@ -233,9 +261,19 @@ class ColumnTest < Test::Unit::TestCase
233
261
  result.records.collect do |record|
234
262
  record["body"]
235
263
  end)
236
- assert_equal("#<Groonga::Expression noname($1:null)" +
237
- "{1null,2body GET_VALUE,0\"drive\",0MATCH}>",
238
- result.expression.inspect)
264
+ assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
265
+ #<Groonga::Expression #<expr
266
+ vars:{
267
+ $1:#<record:hash:Posts id:0(nonexistent)>
268
+ },
269
+ codes:{
270
+ 0:<push(), modify:1, value:#<record:hash:Posts id:0(nonexistent)>>,
271
+ 1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
272
+ 2:<push(), modify:0, value:"drive">,
273
+ 3:<match(), modify:0, value:(NULL)>
274
+ }
275
+ >>
276
+ INSPECTED
239
277
  end
240
278
 
241
279
  def test_set_time
@@ -569,7 +569,7 @@ EOC
569
569
  result = @bookmarks.select do |record|
570
570
  record.user.pet.name == "morita Bob"
571
571
  end
572
- assert_equal(["http://groonga.org/", "http://ruby-lang.org/"],
572
+ assert_equal(["http://groonga.org/", "http://ruby-lang.org/", "http://dic.nicovideo.jp/"],
573
573
  result.collect {|record| record["uri"]})
574
574
  end
575
575
  end