rroonga 6.0.9-x86-mingw32 → 6.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +8 -0
  3. data/ext/groonga/rb-grn-index-column.c +54 -0
  4. data/ext/groonga/rb-grn-object.c +4 -0
  5. data/ext/groonga/rb-grn-table.c +18 -0
  6. data/ext/groonga/rb-grn.h +2 -2
  7. data/lib/2.1/groonga.so +0 -0
  8. data/lib/2.2/groonga.so +0 -0
  9. data/lib/2.3/groonga.so +0 -0
  10. data/lib/groonga/dumper.rb +8 -1
  11. data/lib/groonga/schema.rb +2 -1
  12. data/rroonga-build.rb +2 -2
  13. data/test/test-index-column.rb +124 -1
  14. data/test/test-schema-dumper.rb +82 -4
  15. data/vendor/local/bin/grndb.exe +0 -0
  16. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  17. data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
  18. data/vendor/local/bin/groonga.exe +0 -0
  19. data/vendor/local/bin/libgroonga-0.dll +0 -0
  20. data/vendor/local/bin/libmecab-2.dll +0 -0
  21. data/vendor/local/bin/libmsgpackc.dll +0 -0
  22. data/vendor/local/bin/libonig-5.dll +0 -0
  23. data/vendor/local/bin/libpcre-1.dll +0 -0
  24. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  25. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  26. data/vendor/local/bin/lz4.exe +0 -0
  27. data/vendor/local/bin/lz4c.exe +0 -0
  28. data/vendor/local/bin/lz4cat +0 -0
  29. data/vendor/local/bin/mecab.exe +0 -0
  30. data/vendor/local/bin/pcregrep.exe +0 -0
  31. data/vendor/local/bin/pcretest.exe +0 -0
  32. data/vendor/local/bin/zlib1.dll +0 -0
  33. data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
  37. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  39. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
  41. data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
  43. data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
  45. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
  49. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  51. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
  53. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +9 -4
  54. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  55. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  56. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
  58. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  60. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/table/table.la +1 -1
  62. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
  66. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
  70. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +1 -0
  71. data/vendor/local/lib/libgroonga.a +0 -0
  72. data/vendor/local/lib/libgroonga.dll.a +0 -0
  73. data/vendor/local/lib/libgroonga.la +1 -1
  74. data/vendor/local/lib/liblz4.a +0 -0
  75. data/vendor/local/lib/liblz4.dll +0 -0
  76. data/vendor/local/lib/liblz4.dll.1 +0 -0
  77. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  78. data/vendor/local/lib/libmecab.a +0 -0
  79. data/vendor/local/lib/libmecab.dll.a +0 -0
  80. data/vendor/local/lib/libmsgpackc.a +0 -0
  81. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  82. data/vendor/local/lib/libonig.a +0 -0
  83. data/vendor/local/lib/libonig.dll.a +0 -0
  84. data/vendor/local/lib/libonig.la +1 -1
  85. data/vendor/local/lib/libpcre.a +0 -0
  86. data/vendor/local/lib/libpcre.dll.a +0 -0
  87. data/vendor/local/lib/libpcrecpp.a +0 -0
  88. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  89. data/vendor/local/lib/libpcreposix.a +0 -0
  90. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  91. data/vendor/local/lib/libz.a +0 -0
  92. data/vendor/local/lib/libz.dll.a +0 -0
  93. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  94. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  95. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  96. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  97. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  98. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  99. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  100. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  101. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  102. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  103. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  104. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  105. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  106. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  107. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  108. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +61 -2
  109. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +741 -42
  110. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +47 -22
  111. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +2 -2
  112. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  113. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +7 -0
  114. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
  115. data/vendor/local/share/doc/groonga/en/html/characteristic.html +8 -6
  116. data/vendor/local/share/doc/groonga/en/html/client.html +8 -6
  117. data/vendor/local/share/doc/groonga/en/html/community.html +8 -6
  118. data/vendor/local/share/doc/groonga/en/html/contribution.html +8 -6
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +10 -8
  120. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +12 -10
  121. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +14 -12
  122. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +14 -12
  123. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +14 -12
  124. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +12 -10
  125. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +12 -10
  126. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +12 -10
  127. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +12 -10
  128. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -10
  129. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +12 -10
  130. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +10 -8
  131. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +12 -10
  132. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +12 -10
  133. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -10
  134. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +10 -8
  135. data/vendor/local/share/doc/groonga/en/html/development.html +8 -6
  136. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +10 -8
  137. data/vendor/local/share/doc/groonga/en/html/genindex.html +8 -8
  138. data/vendor/local/share/doc/groonga/en/html/index.html +8 -6
  139. data/vendor/local/share/doc/groonga/en/html/install.html +8 -6
  140. data/vendor/local/share/doc/groonga/en/html/install/centos.html +13 -11
  141. data/vendor/local/share/doc/groonga/en/html/install/debian.html +13 -11
  142. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +13 -11
  143. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -11
  144. data/vendor/local/share/doc/groonga/en/html/install/others.html +13 -11
  145. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -11
  146. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +13 -11
  147. data/vendor/local/share/doc/groonga/en/html/install/windows.html +19 -17
  148. data/vendor/local/share/doc/groonga/en/html/limitations.html +8 -6
  149. data/vendor/local/share/doc/groonga/en/html/news.html +128 -72
  150. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -6
  151. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +8 -6
  152. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -6
  153. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +8 -6
  154. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -6
  155. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -6
  156. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +8 -6
  157. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -6
  158. data/vendor/local/share/doc/groonga/en/html/news/5.x.html +8 -6
  159. data/vendor/local/share/doc/groonga/en/html/news/senna.html +8 -6
  160. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  161. data/vendor/local/share/doc/groonga/en/html/reference.html +8 -6
  162. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +10 -8
  163. data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -8
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +12 -10
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +12 -10
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +12 -10
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +12 -10
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +12 -10
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +12 -10
  170. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +12 -10
  171. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +12 -10
  172. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -10
  173. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +12 -10
  174. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +12 -10
  175. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +12 -10
  176. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +12 -10
  177. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +12 -10
  178. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +12 -10
  179. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +12 -10
  180. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +12 -10
  181. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +12 -10
  182. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +12 -10
  183. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +12 -10
  184. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +12 -10
  185. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +12 -10
  186. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +12 -10
  187. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +12 -10
  188. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +12 -10
  189. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +8 -6
  190. data/vendor/local/share/doc/groonga/en/html/reference/column.html +10 -8
  191. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +12 -10
  192. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +12 -10
  193. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +12 -10
  194. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +12 -10
  195. data/vendor/local/share/doc/groonga/en/html/reference/command.html +10 -8
  196. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +12 -10
  197. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +12 -10
  198. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +12 -10
  199. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +12 -10
  200. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +12 -10
  201. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +12 -10
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +12 -10
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +12 -10
  204. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +12 -10
  205. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +12 -10
  206. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +983 -66
  207. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +12 -10
  208. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +12 -10
  209. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +12 -10
  210. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +12 -10
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +12 -10
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +12 -10
  213. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +12 -10
  214. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +12 -10
  215. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +12 -10
  216. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +12 -10
  217. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +12 -10
  218. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +12 -10
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +12 -10
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +12 -10
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +12 -10
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +12 -10
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +12 -10
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +12 -10
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +12 -10
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +12 -10
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +12 -10
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +12 -10
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +12 -10
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +12 -10
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +12 -10
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +12 -10
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +12 -10
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +12 -10
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -10
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +12 -10
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +12 -10
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +12 -10
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +12 -10
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +12 -10
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +12 -10
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +12 -10
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +12 -10
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +12 -10
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +12 -10
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +12 -10
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +12 -10
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +12 -10
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +12 -10
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +12 -10
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -10
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +12 -10
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +12 -10
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +66 -43
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +12 -10
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +12 -10
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +12 -10
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +12 -10
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +12 -10
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +12 -10
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +12 -10
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +12 -10
  263. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +10 -8
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +10 -8
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +12 -10
  266. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -10
  267. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +12 -10
  268. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +12 -10
  269. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +12 -10
  270. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
  271. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +12 -10
  272. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +12 -10
  273. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +12 -10
  274. data/vendor/local/share/doc/groonga/en/html/reference/function.html +10 -8
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +12 -10
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +12 -10
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +12 -10
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -10
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +12 -10
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +12 -10
  281. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +12 -10
  282. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +12 -10
  283. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +12 -10
  284. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +12 -10
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +12 -10
  286. data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +12 -10
  287. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +12 -10
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -10
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +12 -10
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +12 -10
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -10
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +12 -10
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +12 -10
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +12 -10
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +12 -10
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +12 -10
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +12 -10
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +12 -10
  299. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +12 -10
  300. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +12 -10
  301. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +12 -10
  302. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +12 -10
  303. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +10 -8
  304. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +12 -10
  305. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +12 -10
  306. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -8
  307. data/vendor/local/share/doc/groonga/en/html/reference/log.html +10 -8
  308. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -8
  309. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +10 -8
  310. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -10
  311. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -10
  312. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -8
  313. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +10 -8
  314. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +12 -10
  315. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +10 -8
  316. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +10 -8
  317. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +12 -10
  318. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -10
  319. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +10 -8
  320. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -8
  321. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -10
  322. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +12 -10
  323. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +12 -10
  324. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +12 -10
  325. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +12 -10
  326. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +10 -8
  327. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +10 -8
  328. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +10 -8
  329. data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -8
  330. data/vendor/local/share/doc/groonga/en/html/search.html +8 -6
  331. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  332. data/vendor/local/share/doc/groonga/en/html/server.html +8 -6
  333. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +10 -8
  334. data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -8
  335. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +12 -10
  336. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +12 -10
  337. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +12 -10
  338. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +10 -8
  339. data/vendor/local/share/doc/groonga/en/html/server/package.html +10 -8
  340. data/vendor/local/share/doc/groonga/en/html/spec.html +8 -6
  341. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -8
  342. data/vendor/local/share/doc/groonga/en/html/spec/search.html +10 -8
  343. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +8 -6
  344. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
  345. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
  346. data/vendor/local/share/doc/groonga/en/html/tutorial.html +8 -6
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -8
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -8
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -8
  350. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +10 -8
  351. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -8
  352. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -8
  353. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -8
  354. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +10 -8
  355. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -8
  356. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -8
  357. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -8
  358. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +61 -2
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +741 -42
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +47 -22
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +2 -2
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +7 -0
  373. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
  374. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +8 -6
  375. data/vendor/local/share/doc/groonga/ja/html/client.html +8 -6
  376. data/vendor/local/share/doc/groonga/ja/html/community.html +8 -6
  377. data/vendor/local/share/doc/groonga/ja/html/contribution.html +8 -6
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +10 -8
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +12 -10
  380. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +14 -12
  381. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +14 -12
  382. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +14 -12
  383. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +12 -10
  384. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +12 -10
  385. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +12 -10
  386. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +12 -10
  387. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -10
  388. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +12 -10
  389. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -8
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +12 -10
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +12 -10
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -10
  393. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +10 -8
  394. data/vendor/local/share/doc/groonga/ja/html/development.html +8 -6
  395. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +10 -8
  396. data/vendor/local/share/doc/groonga/ja/html/genindex.html +8 -6
  397. data/vendor/local/share/doc/groonga/ja/html/index.html +8 -6
  398. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -6
  399. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +13 -11
  400. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +13 -11
  401. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +13 -11
  402. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -11
  403. data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -11
  404. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -11
  405. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +13 -11
  406. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +19 -17
  407. data/vendor/local/share/doc/groonga/ja/html/limitations.html +8 -6
  408. data/vendor/local/share/doc/groonga/ja/html/news.html +130 -72
  409. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -6
  410. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +8 -6
  411. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -6
  412. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +8 -6
  413. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -6
  414. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -6
  415. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +8 -6
  416. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +8 -6
  417. data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +8 -6
  418. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +8 -6
  419. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  420. data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -6
  421. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +10 -8
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -8
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +12 -10
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +12 -10
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +12 -10
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +12 -10
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +12 -10
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +12 -10
  429. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -10
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +12 -10
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +12 -10
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +12 -10
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +12 -10
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +12 -10
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +12 -10
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +12 -10
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +12 -10
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +12 -10
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +12 -10
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +12 -10
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +12 -10
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +12 -10
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +12 -10
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +12 -10
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +12 -10
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +12 -10
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +12 -10
  448. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +8 -6
  449. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +10 -8
  450. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +12 -10
  451. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +12 -10
  452. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +12 -10
  453. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +12 -10
  454. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +10 -8
  455. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +12 -10
  456. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -10
  457. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +12 -10
  458. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +12 -10
  459. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +12 -10
  460. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +12 -10
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +12 -10
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +12 -10
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +12 -10
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +12 -10
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +823 -69
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +12 -10
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +12 -10
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +12 -10
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +12 -10
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +12 -10
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +12 -10
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +12 -10
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +12 -10
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +12 -10
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +12 -10
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +12 -10
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +12 -10
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +12 -10
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +12 -10
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +12 -10
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +12 -10
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +12 -10
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +12 -10
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +12 -10
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +12 -10
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +12 -10
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +12 -10
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +12 -10
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +12 -10
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +13 -11
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +12 -10
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +12 -10
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +12 -10
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -10
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +12 -10
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +12 -10
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +12 -10
  498. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +12 -10
  499. data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +12 -10
  500. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +12 -10
  501. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +12 -10
  502. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +12 -10
  503. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +12 -10
  504. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +12 -10
  505. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +12 -10
  506. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +12 -10
  507. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +12 -10
  508. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -10
  509. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +12 -10
  510. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +12 -10
  511. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +12 -10
  512. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +12 -10
  513. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -36
  514. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +12 -10
  515. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +12 -10
  516. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +12 -10
  517. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +12 -10
  518. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +12 -10
  519. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +12 -10
  520. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +12 -10
  521. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +12 -10
  522. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +10 -8
  523. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +10 -8
  524. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +12 -10
  525. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +12 -10
  526. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +12 -10
  527. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +12 -10
  528. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +12 -10
  529. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
  530. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +12 -10
  531. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +12 -10
  532. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +12 -10
  533. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +10 -8
  534. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +12 -10
  535. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +12 -10
  536. data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +12 -10
  537. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -10
  538. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +12 -10
  539. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +12 -10
  540. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +12 -10
  541. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +12 -10
  542. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +12 -10
  543. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +12 -10
  544. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +12 -10
  545. data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +12 -10
  546. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +12 -10
  547. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -10
  548. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +12 -10
  549. data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +12 -10
  550. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -10
  551. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +12 -10
  552. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +12 -10
  553. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +12 -10
  554. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +12 -10
  555. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +12 -10
  556. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +12 -10
  557. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +12 -10
  558. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +12 -10
  559. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +12 -10
  560. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +12 -10
  561. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +12 -10
  562. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +10 -8
  563. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -10
  564. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +12 -10
  565. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -8
  566. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +10 -8
  567. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -8
  568. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +10 -8
  569. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +12 -10
  570. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -10
  571. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +10 -8
  572. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +10 -8
  573. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +12 -10
  574. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +10 -8
  575. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +10 -8
  576. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +12 -10
  577. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +12 -10
  578. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +10 -8
  579. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -8
  580. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +12 -10
  581. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +12 -10
  582. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +12 -10
  583. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +12 -10
  584. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +11 -9
  585. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +10 -8
  586. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -8
  587. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +10 -8
  588. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -8
  589. data/vendor/local/share/doc/groonga/ja/html/search.html +8 -6
  590. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  591. data/vendor/local/share/doc/groonga/ja/html/server.html +8 -6
  592. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +10 -8
  593. data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -8
  594. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +12 -10
  595. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +12 -10
  596. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +12 -10
  597. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +10 -8
  598. data/vendor/local/share/doc/groonga/ja/html/server/package.html +10 -8
  599. data/vendor/local/share/doc/groonga/ja/html/spec.html +8 -6
  600. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -8
  601. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +10 -8
  602. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +8 -6
  603. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
  604. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
  605. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +8 -6
  606. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -8
  607. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +10 -8
  608. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +10 -8
  609. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +10 -8
  610. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +10 -8
  611. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +10 -8
  612. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +10 -8
  613. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +10 -8
  614. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +10 -8
  615. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -8
  616. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -8
  617. data/vendor/local/share/groonga/html/admin/index.html +3 -3
  618. data/vendor/local/share/groonga/html/admin/scripts/{scripts.a1c295fa.js → scripts.d3e19381.js} +207 -148
  619. data/vendor/local/share/groonga/html/admin/scripts/{vendor.2c228d46.js → vendor.6c1a277a.js} +3854 -2816
  620. data/vendor/local/share/groonga/html/admin/styles/{main.d9de008c.css → main.db676f1c.css} +156 -137
  621. metadata +62 -129
  622. data/vendor/local/etc/groonga/httpd/fastcgi.conf +0 -26
  623. data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +0 -26
  624. data/vendor/local/etc/groonga/httpd/fastcgi_params +0 -25
  625. data/vendor/local/etc/groonga/httpd/fastcgi_params.default +0 -25
  626. data/vendor/local/etc/groonga/httpd/html/50x.html +0 -21
  627. data/vendor/local/etc/groonga/httpd/html/index.html +0 -25
  628. data/vendor/local/etc/groonga/httpd/koi-utf +0 -109
  629. data/vendor/local/etc/groonga/httpd/koi-win +0 -103
  630. data/vendor/local/etc/groonga/httpd/mime.types +0 -89
  631. data/vendor/local/etc/groonga/httpd/mime.types.default +0 -89
  632. data/vendor/local/etc/groonga/httpd/nginx.conf.default +0 -117
  633. data/vendor/local/etc/groonga/httpd/scgi_params +0 -17
  634. data/vendor/local/etc/groonga/httpd/scgi_params.default +0 -17
  635. data/vendor/local/etc/groonga/httpd/uwsgi_params +0 -17
  636. data/vendor/local/etc/groonga/httpd/uwsgi_params.default +0 -17
  637. data/vendor/local/etc/groonga/httpd/win-utf +0 -126
  638. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  639. data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.png +0 -0
  640. data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.svg +0 -118
  641. data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.png +0 -0
  642. data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.svg +0 -97
  643. data/vendor/local/share/groonga/images/logo/groonga-icon.png +0 -0
  644. data/vendor/local/share/groonga/images/logo/groonga-icon.svg +0 -93
  645. data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.png +0 -0
  646. data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.svg +0 -108
  647. data/vendor/local/share/groonga/images/logo/groonga-logo.png +0 -0
  648. data/vendor/local/share/groonga/images/logo/groonga-logo.svg +0 -118
  649. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.png +0 -0
  650. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.svg +0 -170
  651. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.png +0 -0
  652. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.svg +0 -186
  653. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.png +0 -0
  654. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.svg +0 -183
  655. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.png +0 -0
  656. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.svg +0 -179
  657. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.png +0 -0
  658. data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.svg +0 -201
  659. data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.png +0 -0
  660. data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.svg +0 -106
  661. data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.png +0 -0
  662. data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.svg +0 -97
  663. data/vendor/local/share/groonga/images/logo/mroonga-icon.png +0 -0
  664. data/vendor/local/share/groonga/images/logo/mroonga-icon.svg +0 -93
  665. data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.png +0 -0
  666. data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.svg +0 -122
  667. data/vendor/local/share/groonga/images/logo/mroonga-logo.png +0 -0
  668. data/vendor/local/share/groonga/images/logo/mroonga-logo.svg +0 -106
  669. data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.png +0 -0
  670. data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.svg +0 -106
  671. data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.png +0 -0
  672. data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.svg +0 -107
  673. data/vendor/local/share/groonga/images/logo/nroonga-icon.png +0 -0
  674. data/vendor/local/share/groonga/images/logo/nroonga-icon.svg +0 -93
  675. data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.png +0 -0
  676. data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.svg +0 -122
  677. data/vendor/local/share/groonga/images/logo/nroonga-logo.png +0 -0
  678. data/vendor/local/share/groonga/images/logo/nroonga-logo.svg +0 -117
  679. data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.png +0 -0
  680. data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.svg +0 -106
  681. data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.png +0 -0
  682. data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.svg +0 -107
  683. data/vendor/local/share/groonga/images/logo/rroonga-icon.png +0 -0
  684. data/vendor/local/share/groonga/images/logo/rroonga-icon.svg +0 -93
  685. data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.png +0 -0
  686. data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.svg +0 -122
  687. data/vendor/local/share/groonga/images/logo/rroonga-logo.png +0 -0
  688. data/vendor/local/share/groonga/images/logo/rroonga-logo.svg +0 -117
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4efbcbc567fa11c35ac52bc6687f10509b1f262a
4
- data.tar.gz: 40eacb99daf7d0dbafcba026289daa7523dbad1e
3
+ metadata.gz: 1c79e8b3704720e6b6ff49c62561b1c7a97904c6
4
+ data.tar.gz: daa6a0730e425159454c54a776946630c8ceeb1c
5
5
  SHA512:
6
- metadata.gz: 6d6798ee794374e8412f346b0fafaba04579a29788c0cf6a37615de32eb01208437ad23829d422b584fb6769b200416507e961ca88471aaf54631a0b694eb5e0
7
- data.tar.gz: 20890e28a30436b33e5bf486235e7767a693750d5bd4c07afe46a0753da8a6db19ccd5f222e9005ec0639ff131f4f74694ffd4383932e312a976fa0177a3fa6d
6
+ metadata.gz: 62c4c9d8a061fc4b4c9af37bb679b18121931ca6ad562aef2df1014ca321a06b6107fe87f676368b0512fc064d7b2e08eafa08fd1708b20c934d3ae617f131fb
7
+ data.tar.gz: 1447fbfce9c8b9e19bb854928148c696f6b7f81d31d558b2dda532c5297201aab87540315509eb30cf7eea8ad18dae761adda552d1f1be0c9646d620e914f715
data/doc/text/news.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # NEWS
2
2
 
3
+ ## 6.1.0: 2016-11-07 {#version-6-1-0}
4
+
5
+ ### Improvements
6
+
7
+ * {Groonga::Table#define_index_column}: Added `:size` option to
8
+ support small or medium size of index column. Specify `:small` or
9
+ `:medium` to customize it.
10
+
3
11
  ## 6.0.9: 2016-10-07 {#version-6-0-9}
4
12
 
5
13
  ### Improvements
@@ -883,6 +883,56 @@ rb_grn_index_column_with_position_p (VALUE self)
883
883
  return CBOOL2RVAL(flags & GRN_OBJ_WITH_POSITION);
884
884
  }
885
885
 
886
+ /*
887
+ * Checks whether the index column is small or not.
888
+ *
889
+ * @overload small?
890
+ * @return [Boolean] `true` if the index column is small,
891
+ * `false` otherwise.
892
+ *
893
+ * @since 6.1.0
894
+ */
895
+ static VALUE
896
+ rb_grn_index_column_small_p (VALUE self)
897
+ {
898
+ grn_obj *column;
899
+ grn_ctx *context;
900
+ grn_column_flags flags;
901
+
902
+ rb_grn_index_column_deconstruct(SELF(self), &column, &context,
903
+ NULL, NULL,
904
+ NULL, NULL, NULL, NULL, NULL,
905
+ NULL, NULL);
906
+
907
+ flags = grn_column_get_flags(context, column);
908
+ return CBOOL2RVAL(flags & GRN_OBJ_INDEX_SMALL);
909
+ }
910
+
911
+ /*
912
+ * Checks whether the index column is medium or not.
913
+ *
914
+ * @overload medium?
915
+ * @return [Boolean] `true` if the index column is medium,
916
+ * `false` otherwise.
917
+ *
918
+ * @since 6.1.0
919
+ */
920
+ static VALUE
921
+ rb_grn_index_column_medium_p (VALUE self)
922
+ {
923
+ grn_obj *column;
924
+ grn_ctx *context;
925
+ grn_column_flags flags;
926
+
927
+ rb_grn_index_column_deconstruct(SELF(self), &column, &context,
928
+ NULL, NULL,
929
+ NULL, NULL, NULL, NULL, NULL,
930
+ NULL, NULL);
931
+
932
+ flags = grn_column_get_flags(context, column);
933
+ return CBOOL2RVAL(flags & GRN_OBJ_INDEX_MEDIUM);
934
+ }
935
+
886
936
  /*
887
937
  * Opens cursor to iterate posting in the index column.
888
938
  *
@@ -1310,6 +1360,10 @@ rb_grn_init_index_column (VALUE mGrn)
1310
1360
  rb_grn_index_column_with_weight_p, 0);
1311
1361
  rb_define_method(rb_cGrnIndexColumn, "with_position?",
1312
1362
  rb_grn_index_column_with_position_p, 0);
1363
+ rb_define_method(rb_cGrnIndexColumn, "small?",
1364
+ rb_grn_index_column_small_p, 0);
1365
+ rb_define_method(rb_cGrnIndexColumn, "medium?",
1366
+ rb_grn_index_column_medium_p, 0);
1313
1367
 
1314
1368
  rb_define_method(rb_cGrnIndexColumn, "open_cursor",
1315
1369
  rb_grn_index_column_open_cursor, -1);
@@ -927,6 +927,10 @@ rb_grn_object_inspect_content_flags_with_label (VALUE inspected,
927
927
  rb_ary_push(inspected_flags, rb_str_new_cstr("WITH_WEIGHT"));
928
928
  if (column_flags & GRN_OBJ_WITH_POSITION)
929
929
  rb_ary_push(inspected_flags, rb_str_new_cstr("WITH_POSITION"));
930
+ if (column_flags & GRN_OBJ_INDEX_SMALL)
931
+ rb_ary_push(inspected_flags, rb_str_new_cstr("SMALL"));
932
+ if (column_flags & GRN_OBJ_INDEX_MEDIUM)
933
+ rb_ary_push(inspected_flags, rb_str_new_cstr("MEDIUM"));
930
934
  break;
931
935
  default:
932
936
  break;
@@ -357,6 +357,10 @@ rb_grn_table_define_column (int argc, VALUE *argv, VALUE self)
357
357
  * 転置索引にweight情報を合わせて格納する。
358
358
  * @option options :with_position
359
359
  * 転置索引に出現位置情報を合わせて格納する。
360
+ * @option options :size (nil)
361
+ * The size of index column. It must be `nil`, `:small` or
362
+ * `:medium`. `nil` means full size. `:small` means small
363
+ * size. `:medium` means medium size.
360
364
  * @option options :source
361
365
  * インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
362
366
  * @option options :sources
@@ -376,6 +380,7 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
376
380
  VALUE rb_name, rb_value_type;
377
381
  VALUE options, rb_path, rb_persistent;
378
382
  VALUE rb_with_section, rb_with_weight, rb_with_position;
383
+ VALUE rb_size;
379
384
  VALUE rb_column, rb_source, rb_sources;
380
385
  VALUE columns;
381
386
 
@@ -395,6 +400,7 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
395
400
  "with_section", &rb_with_section,
396
401
  "with_weight", &rb_with_weight,
397
402
  "with_position", &rb_with_position,
403
+ "size", &rb_size,
398
404
  "source", &rb_source,
399
405
  "sources", &rb_sources,
400
406
  NULL);
@@ -443,6 +449,18 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
443
449
  if (RVAL2CBOOL(rb_with_position))
444
450
  flags |= GRN_OBJ_WITH_POSITION;
445
451
 
452
+ if (NIL_P(rb_size)) {
453
+ /* do nothing */
454
+ } else if (rb_grn_equal_option(rb_size, "small")) {
455
+ flags |= GRN_OBJ_INDEX_SMALL;
456
+ } else if (rb_grn_equal_option(rb_size, "medium")) {
457
+ flags |= GRN_OBJ_INDEX_MEDIUM;
458
+ } else {
459
+ rb_raise(rb_eArgError,
460
+ ":size must be nil, :small or :medium: <%" PRIsVALUE ">",
461
+ rb_size);
462
+ }
463
+
446
464
  if (!NIL_P(rb_source) && !NIL_P(rb_sources))
447
465
  rb_raise(rb_eArgError, "should not pass both of :source and :sources.");
448
466
 
data/ext/groonga/rb-grn.h CHANGED
@@ -98,8 +98,8 @@ RB_GRN_BEGIN_DECLS
98
98
  #endif
99
99
 
100
100
  #define RB_GRN_MAJOR_VERSION 6
101
- #define RB_GRN_MINOR_VERSION 0
102
- #define RB_GRN_MICRO_VERSION 9
101
+ #define RB_GRN_MINOR_VERSION 1
102
+ #define RB_GRN_MICRO_VERSION 0
103
103
 
104
104
  #define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
105
105
  #define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
data/lib/2.1/groonga.so CHANGED
Binary file
data/lib/2.2/groonga.so CHANGED
Binary file
data/lib/2.3/groonga.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2011-2014 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2011-2016 Kouhei Sutou <kou@clear-code.com>
4
4
  # Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
5
5
  #
6
6
  # This library is free software; you can redistribute it and/or
@@ -487,6 +487,11 @@ module Groonga
487
487
  options[:with_section] = true if column.with_section?
488
488
  options[:with_weight] = true if column.with_weight?
489
489
  options[:with_position] = true if column.with_position?
490
+ if column.small?
491
+ options[:size] = :small
492
+ elsif column.medium?
493
+ options[:size] = :medium
494
+ end
490
495
  arguments = [
491
496
  dump_object(target_table_name),
492
497
  sources.size == 1 ? source_names : "[#{source_names}]",
@@ -643,6 +648,8 @@ module Groonga
643
648
  flags << "WITH_SECTION" if column.with_section?
644
649
  flags << "WITH_WEIGHT" if column.with_weight?
645
650
  flags << "WITH_POSITION" if column.with_position?
651
+ flags << "INDEX_SMALL" if column.small?
652
+ flags << "INDEX_MEDIUM" if column.medium?
646
653
  parameters << "#{flags.join('|')}"
647
654
  parameters << "#{column.range.name}"
648
655
  source_names = column.sources.collect do |source|
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
4
4
  # Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
5
5
  #
6
6
  # This library is free software; you can redistribute it and/or
@@ -1697,6 +1697,7 @@ module Groonga
1697
1697
  :with_section => @options[:with_section],
1698
1698
  :with_weight => @options[:with_weight],
1699
1699
  :with_position => @options[:with_position],
1700
+ :size => @options[:size],
1700
1701
  }
1701
1702
  end
1702
1703
 
data/rroonga-build.rb CHANGED
@@ -25,8 +25,8 @@ module RroongaBuild
25
25
 
26
26
  module LatestGroongaVersion
27
27
  MAJOR = 6
28
- MINOR = 0
29
- MICRO = 9
28
+ MINOR = 1
29
+ MICRO = 0
30
30
  VERSION = [MAJOR, MINOR, MICRO]
31
31
  end
32
32
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
4
4
  # Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
5
5
  #
6
6
  # This library is free software; you can redistribute it and/or
@@ -378,6 +378,67 @@ class IndexColumnTest < Test::Unit::TestCase
378
378
  context["Tags.default"].with_position?,
379
379
  ])
380
380
  end
381
+
382
+ class SizeTest < self
383
+ def test_small
384
+ Groonga::Schema.define do |schema|
385
+ schema.create_table("Tags",
386
+ :type => :patricia_trie,
387
+ :key_type => "ShortText") do |table|
388
+ table.index("Articles.tags",
389
+ :name => "small",
390
+ :size => :small)
391
+ table.index("Articles.tags",
392
+ :name => "default")
393
+ end
394
+ end
395
+
396
+ assert_equal([
397
+ true,
398
+ false,
399
+ ],
400
+ [
401
+ context["Tags.small"].small?,
402
+ context["Tags.default"].small?,
403
+ ])
404
+ end
405
+
406
+ def test_medium
407
+ Groonga::Schema.define do |schema|
408
+ schema.create_table("Tags",
409
+ :type => :patricia_trie,
410
+ :key_type => "ShortText") do |table|
411
+ table.index("Articles.tags",
412
+ :name => "medium",
413
+ :size => :medium)
414
+ table.index("Articles.tags",
415
+ :name => "default")
416
+ end
417
+ end
418
+
419
+ assert_equal([
420
+ true,
421
+ false,
422
+ ],
423
+ [
424
+ context["Tags.medium"].medium?,
425
+ context["Tags.default"].medium?,
426
+ ])
427
+ end
428
+
429
+ def test_invalid
430
+ Groonga::Schema.create_table("Tags",
431
+ :type => :patricia_trie,
432
+ :key_type => "ShortText")
433
+ message = ":size must be nil, :small or :medium: <invalid>"
434
+ assert_raise(ArgumentError.new(message)) do
435
+ tags = context["Tags"]
436
+ tags.define_index_column("small",
437
+ context["Articles"],
438
+ :size => "invalid")
439
+ end
440
+ end
441
+ end
381
442
  end
382
443
 
383
444
  class SourceTest < self
@@ -684,4 +745,66 @@ class IndexColumnTest < Test::Unit::TestCase
684
745
  end
685
746
  end
686
747
  end
748
+
749
+ class InspectTest < self
750
+ def setup
751
+ super
752
+ setup_source
753
+ end
754
+
755
+ def setup_source
756
+ Groonga::Schema.define do |schema|
757
+ schema.create_table("Articles") do |article|
758
+ article.text(:content)
759
+ article.short_text(:tag)
760
+ end
761
+ end
762
+ end
763
+
764
+ def test_small_size
765
+ Groonga::Schema.define do |schema|
766
+ schema.create_table("Tags",
767
+ :type => :hash,
768
+ :key_type => "ShortText") do |tags|
769
+ tags.index("Articles.tag", :size => :small)
770
+ end
771
+ end
772
+
773
+ index = context["Tags.Articles_tag"]
774
+ source_column_names = index.sources.collect(&:local_name).join(",")
775
+ assert_equal("\#<Groonga::IndexColumn " +
776
+ "id: <#{index.id}>, " +
777
+ "name: <#{index.name}>, " +
778
+ "path: <#{index.path}>, " +
779
+ "domain: <#{index.domain.name}>, " +
780
+ "range: <#{index.range.name}>, " +
781
+ "flags: <SMALL>, " +
782
+ "sources: <#{source_column_names}>" +
783
+ ">",
784
+ index.inspect)
785
+ end
786
+
787
+ def test_medium_size
788
+ Groonga::Schema.define do |schema|
789
+ schema.create_table("Tags",
790
+ :type => :hash,
791
+ :key_type => "ShortText") do |tags|
792
+ tags.index("Articles.tag", :size => :medium)
793
+ end
794
+ end
795
+
796
+ index = context["Tags.Articles_tag"]
797
+ source_column_names = index.sources.collect(&:local_name).join(",")
798
+ assert_equal("\#<Groonga::IndexColumn " +
799
+ "id: <#{index.id}>, " +
800
+ "name: <#{index.name}>, " +
801
+ "path: <#{index.path}>, " +
802
+ "domain: <#{index.domain.name}>, " +
803
+ "range: <#{index.range.name}>, " +
804
+ "flags: <MEDIUM>, " +
805
+ "sources: <#{source_column_names}>" +
806
+ ">",
807
+ index.inspect)
808
+ end
809
+ end
687
810
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
2
2
  # Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
@@ -86,7 +86,7 @@ class SchemaDumperTest < Test::Unit::TestCase
86
86
  end
87
87
  end
88
88
 
89
- def define_index_schema
89
+ def define_index_schema(options={})
90
90
  context.register_plugin("token_filters/stop_word")
91
91
  Groonga::Schema.define do |schema|
92
92
  schema.create_table("Items",
@@ -101,8 +101,8 @@ class SchemaDumperTest < Test::Unit::TestCase
101
101
  :default_tokenizer => "TokenBigram",
102
102
  :token_filters => ["TokenFilterStopWord"],
103
103
  :normalizer => "NormalizerAuto") do |table|
104
- table.index("Items", "_key")
105
- table.index("Items", "title")
104
+ table.index("Items", "_key", options[:key_index_options] || {})
105
+ table.index("Items", "title", options[:title_index_options] || {})
106
106
  end
107
107
  end
108
108
  end
@@ -236,6 +236,58 @@ end
236
236
  SCHEMA
237
237
  end
238
238
 
239
+ def test_small_index
240
+ define_index_schema(:title_index_options => {:size => :small})
241
+ assert_equal(<<-SCHEMA, dump)
242
+ create_table("Items",
243
+ :type => :hash,
244
+ :key_type => "ShortText",
245
+ :force => true) do |table|
246
+ table.short_text("title")
247
+ end
248
+
249
+ create_table("Terms",
250
+ :type => :patricia_trie,
251
+ :key_type => "ShortText",
252
+ :default_tokenizer => "TokenBigram",
253
+ :token_filters => ["TokenFilterStopWord"],
254
+ :normalizer => "NormalizerAuto",
255
+ :force => true) do |table|
256
+ end
257
+
258
+ change_table("Terms") do |table|
259
+ table.index("Items", "_key", :name => "Items__key", :with_position => true)
260
+ table.index("Items", "title", :name => "Items_title", :with_position => true, :size => :small)
261
+ end
262
+ SCHEMA
263
+ end
264
+
265
+ def test_medium_index
266
+ define_index_schema(:title_index_options => {:size => :medium})
267
+ assert_equal(<<-SCHEMA, dump)
268
+ create_table("Items",
269
+ :type => :hash,
270
+ :key_type => "ShortText",
271
+ :force => true) do |table|
272
+ table.short_text("title")
273
+ end
274
+
275
+ create_table("Terms",
276
+ :type => :patricia_trie,
277
+ :key_type => "ShortText",
278
+ :default_tokenizer => "TokenBigram",
279
+ :token_filters => ["TokenFilterStopWord"],
280
+ :normalizer => "NormalizerAuto",
281
+ :force => true) do |table|
282
+ end
283
+
284
+ change_table("Terms") do |table|
285
+ table.index("Items", "_key", :name => "Items__key", :with_position => true)
286
+ table.index("Items", "title", :name => "Items_title", :with_position => true, :size => :medium)
287
+ end
288
+ SCHEMA
289
+ end
290
+
239
291
  def test_weight_vector
240
292
  define_weight_vector_schema
241
293
  assert_equal(<<-SCHEMA, dump)
@@ -317,6 +369,32 @@ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
317
369
  SCHEMA
318
370
  end
319
371
 
372
+ def test_small_index
373
+ define_index_schema(:title_index_options => {:size => :small})
374
+ assert_equal(<<-SCHEMA, dump)
375
+ table_create Items TABLE_HASH_KEY ShortText
376
+ column_create Items title COLUMN_SCALAR ShortText
377
+
378
+ table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --token_filters TokenFilterStopWord --normalizer NormalizerAuto
379
+
380
+ column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
381
+ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_SMALL Items title
382
+ SCHEMA
383
+ end
384
+
385
+ def test_medium_index
386
+ define_index_schema(:title_index_options => {:size => :medium})
387
+ assert_equal(<<-SCHEMA, dump)
388
+ table_create Items TABLE_HASH_KEY ShortText
389
+ column_create Items title COLUMN_SCALAR ShortText
390
+
391
+ table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --token_filters TokenFilterStopWord --normalizer NormalizerAuto
392
+
393
+ column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
394
+ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_MEDIUM Items title
395
+ SCHEMA
396
+ end
397
+
320
398
  def test_weight_vector
321
399
  define_weight_vector_schema
322
400
  assert_equal(<<-SCHEMA, dump)