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
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.5. Request timeout &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.5. Request timeout &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.6. Return code" href="return_code.html" />
31
33
  <link rel="prev" title="7.3.4. Request ID" href="request_id.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="request_id.html" title="7.3.4. Request ID"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -196,13 +198,13 @@ the request is canceled after 1 second.</p>
196
198
  <li class="right" >
197
199
  <a href="request_id.html" title="7.3.4. Request ID"
198
200
  >previous</a> |</li>
199
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
200
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
201
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
201
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
202
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
203
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
202
204
  </ul>
203
205
  </div>
204
206
  <div class="footer" role="contentinfo">
205
- &copy; Copyright 2009-2016, Brazil, Inc.
207
+ &#169; Copyright 2009-2016, Brazil, Inc.
206
208
  </div>
207
209
  </body>
208
210
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.6. Return code &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.6. Return code &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.7. cache_limit" href="../commands/cache_limit.html" />
31
33
  <link rel="prev" title="7.3.5. Request timeout" href="request_timeout.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="request_timeout.html" title="7.3.5. Request timeout"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -240,13 +242,13 @@ handling it as 2byte signed integer.</li>
240
242
  <li class="right" >
241
243
  <a href="request_timeout.html" title="7.3.5. Request timeout"
242
244
  >previous</a> |</li>
243
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
244
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
245
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
245
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
246
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
247
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
246
248
  </ul>
247
249
  </div>
248
250
  <div class="footer" role="contentinfo">
249
- &copy; Copyright 2009-2016, Brazil, Inc.
251
+ &#169; Copyright 2009-2016, Brazil, Inc.
250
252
  </div>
251
253
  </body>
252
254
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.7. cache_limit &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.7. cache_limit &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.8. check" href="check.html" />
31
33
  <link rel="prev" title="7.3.6. Return code" href="../command/return_code.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="../command/return_code.html" title="7.3.6. Return code"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -205,13 +207,13 @@ is a number.</div></blockquote>
205
207
  <li class="right" >
206
208
  <a href="../command/return_code.html" title="7.3.6. Return code"
207
209
  >previous</a> |</li>
208
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
209
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
210
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
210
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
211
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
212
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
211
213
  </ul>
212
214
  </div>
213
215
  <div class="footer" role="contentinfo">
214
- &copy; Copyright 2009-2016, Brazil, Inc.
216
+ &#169; Copyright 2009-2016, Brazil, Inc.
215
217
  </div>
216
218
  </body>
217
219
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.8. check &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.8. check &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.9. clearlock" href="clearlock.html" />
31
33
  <link rel="prev" title="7.3.7. cache_limit" href="cache_limit.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="cache_limit.html" title="7.3.7. cache_limit"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -265,13 +267,13 @@
265
267
  <li class="right" >
266
268
  <a href="cache_limit.html" title="7.3.7. cache_limit"
267
269
  >previous</a> |</li>
268
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
269
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
270
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
270
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
271
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
272
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
271
273
  </ul>
272
274
  </div>
273
275
  <div class="footer" role="contentinfo">
274
- &copy; Copyright 2009-2016, Brazil, Inc.
276
+ &#169; Copyright 2009-2016, Brazil, Inc.
275
277
  </div>
276
278
  </body>
277
279
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.9. clearlock &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.9. clearlock &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.10. column_copy" href="column_copy.html" />
31
33
  <link rel="prev" title="7.3.8. check" href="check.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="check.html" title="7.3.8. check"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -180,13 +182,13 @@
180
182
  <li class="right" >
181
183
  <a href="check.html" title="7.3.8. check"
182
184
  >previous</a> |</li>
183
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
184
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
185
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
185
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
186
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
187
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
186
188
  </ul>
187
189
  </div>
188
190
  <div class="footer" role="contentinfo">
189
- &copy; Copyright 2009-2016, Brazil, Inc.
191
+ &#169; Copyright 2009-2016, Brazil, Inc.
190
192
  </div>
191
193
  </body>
192
194
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.10. column_copy &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.10. column_copy &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.11. column_create" href="column_create.html" />
31
33
  <link rel="prev" title="7.3.9. clearlock" href="clearlock.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="clearlock.html" title="7.3.9. clearlock"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -781,13 +783,13 @@ select ToTable --output_columns _key,to_column
781
783
  <li class="right" >
782
784
  <a href="clearlock.html" title="7.3.9. clearlock"
783
785
  >previous</a> |</li>
784
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
785
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
786
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
786
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
787
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
788
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
787
789
  </ul>
788
790
  </div>
789
791
  <div class="footer" role="contentinfo">
790
- &copy; Copyright 2009-2016, Brazil, Inc.
792
+ &#169; Copyright 2009-2016, Brazil, Inc.
791
793
  </div>
792
794
  </body>
793
795
  </html>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.11. column_create &mdash; Groonga v6.0.9 documentation</title>
10
+ <title>7.3.11. column_create &#8212; Groonga v6.1.0 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.0.9',
18
+ VERSION: '6.1.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v6.0.9 documentation" href="../../index.html" />
28
+ <link rel="index" title="Index" href="../../genindex.html" />
29
+ <link rel="search" title="Search" href="../../search.html" />
30
+ <link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
29
31
  <link rel="up" title="7.3. Command" href="../command.html" />
30
32
  <link rel="next" title="7.3.12. column_list" href="column_list.html" />
31
33
  <link rel="prev" title="7.3.10. column_copy" href="column_copy.html" />
@@ -60,9 +62,9 @@
60
62
  <li class="right" >
61
63
  <a href="column_copy.html" title="7.3.10. column_copy"
62
64
  accesskey="P">previous</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
64
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
66
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
+ <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
66
68
  </ul>
67
69
  </div>
68
70
 
@@ -75,86 +77,976 @@
75
77
  <h1>7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code><a class="headerlink" href="#column-create" title="Permalink to this headline">¶</a></h1>
76
78
  <div class="section" id="summary">
77
79
  <h2>7.3.11.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p>column_create - カラムの追加</p>
79
- <p>Groonga組込コマンドの一つであるcolumn_createについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
80
- <p>column_createは、使用しているデータベースのテーブルに対してカラムを追加します。</p>
80
+ <p><code class="docutils literal"><span class="pre">column_create</span></code> creates a new column in a table.</p>
81
+ <p>You need to create one or more columns to store multiple data in one
82
+ record.</p>
83
+ <p>Groonga provides an index as a column. It's different from other
84
+ systems. An index is just an index in other systems. Implementing an
85
+ index as a column provides flexibility. For example, you can add
86
+ metadata to each token.</p>
87
+ <p>See <a class="reference internal" href="../column.html"><span class="doc">Column</span></a> for column details.</p>
81
88
  </div>
82
89
  <div class="section" id="syntax">
83
90
  <h2>7.3.11.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
84
- <div class="highlight-none"><div class="highlight"><pre><span></span>column_create table name flags type [source]
91
+ <p>This command takes many parameters.</p>
92
+ <p>Most parameters are required:</p>
93
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create table
94
+ name
95
+ flags
96
+ type
97
+ [source=null]
85
98
  </pre></div>
86
99
  </div>
87
100
  </div>
88
101
  <div class="section" id="usage">
89
102
  <h2>7.3.11.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
90
- <p>テーブルEntryに、ShortText型の値を格納するカラム、bodyを作成します。:</p>
91
- <div class="highlight-none"><div class="highlight"><pre><span></span>column_create Entry body --type ShortText
92
- [true]
103
+ <p>This section describes about the followings:</p>
104
+ <blockquote>
105
+ <div><ul class="simple">
106
+ <li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
107
+ <li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
108
+ <li><a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a></li>
109
+ <li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table's record</span></a></li>
110
+ <li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
111
+ <li><a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a></li>
112
+ <li><a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a></li>
113
+ <li><a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a></li>
114
+ <li><a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a></li>
115
+ </ul>
116
+ </div></blockquote>
117
+ <p>Here is the <code class="docutils literal"><span class="pre">People</span></code> table definition. The <code class="docutils literal"><span class="pre">People</span></code> table is used
118
+ in examples:</p>
119
+ <p>Execution example:</p>
120
+ <div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
121
+ --name People \
122
+ --flags TABLE_HASH_KEY \
123
+ --key_type ShortText
124
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
93
125
  </pre></div>
94
126
  </div>
95
- <p>テーブルTermに、Entryテーブルのbodyカラムの値を対象とする完全転置インデックス型カラム、entry_bodyを作成します。:</p>
96
- <div class="highlight-none"><div class="highlight"><pre><span></span>column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body
97
- [true]
127
+ <div class="section" id="create-a-scalar-column">
128
+ <span id="column-create-scalar"></span><h3>7.3.11.3.1. Create a scalar column<a class="headerlink" href="#create-a-scalar-column" title="Permalink to this headline">¶</a></h3>
129
+ <p>Groonga provides scalar column to store one value. For example, scalar
130
+ column should be used for storing age into a person record. Because a
131
+ person record must have only one age.</p>
132
+ <p>If you want to store multiple values into a record, scalar column
133
+ isn't suitable. Use <a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a> instead.</p>
134
+ <p>You must specify <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter to
135
+ create a scalar column.</p>
136
+ <p>Here is an example to create the <code class="docutils literal"><span class="pre">age</span></code> column to the <code class="docutils literal"><span class="pre">People</span></code>
137
+ table. <code class="docutils literal"><span class="pre">age</span></code> column is a scalar column. It can store one <code class="docutils literal"><span class="pre">UInt8</span></code>
138
+ (<code class="docutils literal"><span class="pre">0-255</span></code>) value as its value:</p>
139
+ <p>Execution example:</p>
140
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
141
+ --table People \
142
+ --name age \
143
+ --flags COLUMN_SCALAR \
144
+ --type UInt8
145
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
98
146
  </pre></div>
99
147
  </div>
148
+ <p>You can store one value (<code class="docutils literal"><span class="pre">7</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
149
+ <p>Execution example:</p>
150
+ <div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
151
+ [
152
+ {&quot;_key&quot;: &quot;alice&quot;, &quot;roles&quot;: [&quot;adventurer&quot;, &quot;younger-sister&quot;]}
153
+ ]
154
+ # [[0, 1337566253.89858, 0.000355720520019531], 1]
155
+ </pre></div>
100
156
  </div>
101
- <div class="section" id="parameters">
102
- <h2>7.3.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
103
- <p><code class="docutils literal"><span class="pre">table</span></code></p>
157
+ <p>You can confirm the stored one value (<code class="docutils literal"><span class="pre">7</span></code>) by the following
158
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a> command:</p>
159
+ <p>Execution example:</p>
160
+ <div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
161
+ # [
162
+ # [
163
+ # 0,
164
+ # 1337566253.89858,
165
+ # 0.000355720520019531
166
+ # ],
167
+ # [
168
+ # [
169
+ # [
170
+ # 1
171
+ # ],
172
+ # [
173
+ # [
174
+ # &quot;_id&quot;,
175
+ # &quot;UInt32&quot;
176
+ # ],
177
+ # [
178
+ # &quot;_key&quot;,
179
+ # &quot;ShortText&quot;
180
+ # ],
181
+ # [
182
+ # &quot;age&quot;,
183
+ # &quot;UInt8&quot;
184
+ # ]
185
+ # ],
186
+ # [
187
+ # 1,
188
+ # &quot;alice&quot;,
189
+ # 7
190
+ # ]
191
+ # ]
192
+ # ]
193
+ # ]
194
+ </pre></div>
195
+ </div>
196
+ </div>
197
+ <div class="section" id="create-a-vector-column">
198
+ <span id="column-create-vector"></span><h3>7.3.11.3.2. Create a vector column<a class="headerlink" href="#create-a-vector-column" title="Permalink to this headline">¶</a></h3>
199
+ <p>Groonga provides vector column to store multiple values. For example,
200
+ vector column may be used for storing roles into a person
201
+ record. Because a person record may have multiple roles.</p>
202
+ <p>If you want to store only one value into a record, vector column isn't
203
+ suitable. Use <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a> instead.</p>
204
+ <p>You must specify <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter to
205
+ create a vector column.</p>
206
+ <p>Here is an example to create the <code class="docutils literal"><span class="pre">roles</span></code> column to the <code class="docutils literal"><span class="pre">People</span></code>
207
+ table. <code class="docutils literal"><span class="pre">roles</span></code> column is a vector column. It can store zero or more
208
+ <code class="docutils literal"><span class="pre">ShortText</span></code> values as its value:</p>
209
+ <p>Execution example:</p>
210
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
211
+ --table People \
212
+ --name roles \
213
+ --flags COLUMN_VECTOR \
214
+ --type ShortText
215
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
216
+ </pre></div>
217
+ </div>
218
+ <p>You can store multiple values (<code class="docutils literal"><span class="pre">[&quot;adventurer&quot;,</span> <span class="pre">&quot;younger-sister&quot;]</span></code>)
219
+ by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
220
+ <p>Execution example:</p>
221
+ <div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
222
+ [
223
+ {&quot;_key&quot;: &quot;alice&quot;, &quot;roles&quot;: [&quot;adventurer&quot;, &quot;younger-sister&quot;]}
224
+ ]
225
+ # [[0, 1337566253.89858, 0.000355720520019531], 1]
226
+ </pre></div>
227
+ </div>
228
+ <p>You can confirm the stored multiple values (<code class="docutils literal"><span class="pre">[&quot;adventurer&quot;,</span>
229
+ <span class="pre">&quot;younger-sister&quot;]</span></code>) by the following <a class="reference internal" href="select.html"><span class="doc">select</span></a> command:</p>
230
+ <p>Execution example:</p>
231
+ <div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
232
+ # [
233
+ # [
234
+ # 0,
235
+ # 1337566253.89858,
236
+ # 0.000355720520019531
237
+ # ],
238
+ # [
239
+ # [
240
+ # [
241
+ # 1
242
+ # ],
243
+ # [
244
+ # [
245
+ # &quot;_id&quot;,
246
+ # &quot;UInt32&quot;
247
+ # ],
248
+ # [
249
+ # &quot;_key&quot;,
250
+ # &quot;ShortText&quot;
251
+ # ],
252
+ # [
253
+ # &quot;age&quot;,
254
+ # &quot;UInt8&quot;
255
+ # ],
256
+ # [
257
+ # &quot;roles&quot;,
258
+ # &quot;ShortText&quot;
259
+ # ]
260
+ # ],
261
+ # [
262
+ # 1,
263
+ # &quot;alice&quot;,
264
+ # 7,
265
+ # [
266
+ # &quot;adventurer&quot;,
267
+ # &quot;younger-sister&quot;
268
+ # ]
269
+ # ]
270
+ # ]
271
+ # ]
272
+ # ]
273
+ </pre></div>
274
+ </div>
275
+ </div>
276
+ <div class="section" id="create-a-weight-vector-column">
277
+ <span id="column-create-vector-weight"></span><h3>7.3.11.3.3. Create a weight vector column<a class="headerlink" href="#create-a-weight-vector-column" title="Permalink to this headline">¶</a></h3>
278
+ <p>TODO: See also <a class="reference internal" href="../columns/vector.html#weight-vector-column"><span class="std std-ref">Weight vector column</span></a> and <a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a>.</p>
279
+ </div>
280
+ <div class="section" id="create-a-column-that-refers-a-table-s-record">
281
+ <span id="column-create-reference"></span><h3>7.3.11.3.4. Create a column that refers a table's record<a class="headerlink" href="#create-a-column-that-refers-a-table-s-record" title="Permalink to this headline">¶</a></h3>
282
+ <p>Both scalar column and vector column can store reference to record of
283
+ an existing table as column value. It's useful to store relationship
284
+ between records.</p>
285
+ <p>For example, using a column that refers a person record is better for
286
+ storing a character into a book record. Because one person may be
287
+ appeared in some books.</p>
288
+ <p>You must specify table name to be referenced to the <code class="docutils literal"><span class="pre">type</span></code> parameter
289
+ to create a column that refers a table's record.</p>
290
+ <p>Here is an example to create the <code class="docutils literal"><span class="pre">character</span></code> column to the <code class="docutils literal"><span class="pre">Books</span></code>
291
+ table. The <code class="docutils literal"><span class="pre">character</span></code> column refers the <code class="docutils literal"><span class="pre">People</span></code> table. It can
292
+ store one <code class="docutils literal"><span class="pre">People</span></code> table's record.</p>
293
+ <p>Here is the <code class="docutils literal"><span class="pre">Books</span></code> table definition:</p>
294
+ <p>Execution example:</p>
295
+ <div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
296
+ --name Books \
297
+ --flags TABLE_HASH_KEY \
298
+ --key_type ShortText
299
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
300
+ </pre></div>
301
+ </div>
302
+ <p>Here is the <code class="docutils literal"><span class="pre">character</span></code> column definition in the <code class="docutils literal"><span class="pre">Books</span></code>
303
+ table. <code class="docutils literal"><span class="pre">--type</span> <span class="pre">People</span></code> is important:</p>
304
+ <p>Execution example:</p>
305
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
306
+ --table Books \
307
+ --name character \
308
+ --flags COLUMN_SCALAR \
309
+ --type People
310
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
311
+ </pre></div>
312
+ </div>
313
+ <p>You can store one reference (<code class="docutils literal"><span class="pre">&quot;alice&quot;</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a>
314
+ command. You can use key value (<code class="docutils literal"><span class="pre">People._key</span></code> value) for referring a
315
+ record:</p>
316
+ <p>Execution example:</p>
317
+ <div class="highlight-none"><div class="highlight"><pre><span></span>load --table Books
318
+ [
319
+ {&quot;_key&quot;: &quot;Alice&#39;s Adventure in Wonderland&quot;, &quot;character&quot;: &quot;alice&quot;}
320
+ ]
321
+ # [[0, 1337566253.89858, 0.000355720520019531], 1]
322
+ </pre></div>
323
+ </div>
324
+ <p>You can confirm the stored reference (<code class="docutils literal"><span class="pre">&quot;alice&quot;</span></code> record) by the
325
+ following <a class="reference internal" href="select.html"><span class="doc">select</span></a> command. It retrieves the <code class="docutils literal"><span class="pre">age</span></code> column and
326
+ the <code class="docutils literal"><span class="pre">roles</span></code> column values:</p>
327
+ <p>Execution example:</p>
328
+ <div class="highlight-none"><div class="highlight"><pre><span></span>select \
329
+ --table Books \
330
+ --output_columns _key,character._key,character.age,character.roles
331
+ # [
332
+ # [
333
+ # 0,
334
+ # 1337566253.89858,
335
+ # 0.000355720520019531
336
+ # ],
337
+ # [
338
+ # [
339
+ # [
340
+ # 1
341
+ # ],
342
+ # [
343
+ # [
344
+ # &quot;_key&quot;,
345
+ # &quot;ShortText&quot;
346
+ # ],
347
+ # [
348
+ # &quot;character._key&quot;,
349
+ # &quot;ShortText&quot;
350
+ # ],
351
+ # [
352
+ # &quot;character.age&quot;,
353
+ # &quot;UInt8&quot;
354
+ # ],
355
+ # [
356
+ # &quot;character.roles&quot;,
357
+ # &quot;ShortText&quot;
358
+ # ]
359
+ # ],
360
+ # [
361
+ # &quot;Alice&#39;s Adventure in Wonderland&quot;,
362
+ # &quot;alice&quot;,
363
+ # 7,
364
+ # [
365
+ # &quot;adventurer&quot;,
366
+ # &quot;younger-sister&quot;
367
+ # ]
368
+ # ]
369
+ # ]
370
+ # ]
371
+ # ]
372
+ </pre></div>
373
+ </div>
374
+ </div>
375
+ <div class="section" id="create-an-index-column">
376
+ <span id="column-create-index"></span><h3>7.3.11.3.5. Create an index column<a class="headerlink" href="#create-an-index-column" title="Permalink to this headline">¶</a></h3>
377
+ <p>Groonga provides index column for fast search. It doesn't store your
378
+ data. It stores data for fast search.</p>
379
+ <p>You don't need to update index column by yourself. Index column is
380
+ updated automatically when you store data into a data column (scalar
381
+ column or vector column) that is marked as index target column. You
382
+ can set multiple columns as index target columns to one index column.</p>
383
+ <p>If Groonga has an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
384
+ <code class="docutils literal"><span class="pre">People</span></code> table, Groonga can do fast equal search, fast comparison
385
+ search and fast range search against <code class="docutils literal"><span class="pre">age</span></code> column values.</p>
386
+ <p>You must specify the following parameters to create an index column:</p>
104
387
  <blockquote>
105
- <div>カラムを追加するテーブルの名前を指定します。</div></blockquote>
106
- <p><code class="docutils literal"><span class="pre">name</span></code></p>
388
+ <div><ul class="simple">
389
+ <li>The <code class="docutils literal"><span class="pre">flags</span></code> parameter: <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></li>
390
+ <li>The <code class="docutils literal"><span class="pre">type</span></code> parameter: The table name of index target column such
391
+ as <code class="docutils literal"><span class="pre">People</span></code></li>
392
+ <li>The <code class="docutils literal"><span class="pre">source</span></code> parameter: The index target column name such as
393
+ <code class="docutils literal"><span class="pre">age</span></code></li>
394
+ </ul>
395
+ </div></blockquote>
396
+ <p>You don't need additional flags to the <code class="docutils literal"><span class="pre">flags</span></code> parameter for equal
397
+ search, comparison search and range search index column. You need
398
+ additional flags to the <code class="docutils literal"><span class="pre">flags</span></code> parameter for full text search index
399
+ column or multiple column index column. See
400
+ <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> and
401
+ <a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a> for details.</p>
402
+ <p>Here is an example to create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of
403
+ the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
404
+ <p>First, you need to create a table for range index column. See
405
+ <a class="reference internal" href="table_create.html#table-create-range-index-table"><span class="std std-ref">Create range index table</span></a> for details. This example
406
+ creates the <code class="docutils literal"><span class="pre">Ages</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>:</p>
407
+ <p>Execution example:</p>
408
+ <div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
409
+ --name Ages \
410
+ --flags TABLE_PAT_KEY \
411
+ --key_type UInt8
412
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
413
+ </pre></div>
414
+ </div>
415
+ <p>Now, you can create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
416
+ <code class="docutils literal"><span class="pre">People</span></code> table. <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> in the <code class="docutils literal"><span class="pre">flags</span></code> parameter,
417
+ <code class="docutils literal"><span class="pre">People</span></code> in the <code class="docutils literal"><span class="pre">type</span></code> parameter and <code class="docutils literal"><span class="pre">age</span></code> in the <code class="docutils literal"><span class="pre">source</span></code>
418
+ parameter are important:</p>
419
+ <p>Execution example:</p>
420
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
421
+ --table Ages \
422
+ --name people_age_index \
423
+ --flags COLUMN_INDEX \
424
+ --type People \
425
+ --source age
426
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
427
+ </pre></div>
428
+ </div>
429
+ <p>You can confirm that <code class="docutils literal"><span class="pre">age</span> <span class="pre">&gt;</span> <span class="pre">5</span></code> is evaluated by the
430
+ <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> newly created index column from log. Groonga
431
+ reports used index columns in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log
432
+ level dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
433
+ <p>Execution example:</p>
434
+ <div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
435
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
436
+ select \
437
+ --table People \
438
+ --filter &#39;age &gt; 5&#39;
439
+ # [
440
+ # [
441
+ # 0,
442
+ # 1337566253.89858,
443
+ # 0.000355720520019531
444
+ # ],
445
+ # [
446
+ # [
447
+ # [
448
+ # 1
449
+ # ],
450
+ # [
451
+ # [
452
+ # &quot;_id&quot;,
453
+ # &quot;UInt32&quot;
454
+ # ],
455
+ # [
456
+ # &quot;_key&quot;,
457
+ # &quot;ShortText&quot;
458
+ # ],
459
+ # [
460
+ # &quot;age&quot;,
461
+ # &quot;UInt8&quot;
462
+ # ],
463
+ # [
464
+ # &quot;roles&quot;,
465
+ # &quot;ShortText&quot;
466
+ # ]
467
+ # ],
468
+ # [
469
+ # 1,
470
+ # &quot;alice&quot;,
471
+ # 7,
472
+ # [
473
+ # &quot;adventurer&quot;,
474
+ # &quot;younger-sister&quot;
475
+ # ]
476
+ # ]
477
+ # ]
478
+ # ]
479
+ # ]
480
+ # log: 2016-10-13 19:10:02.292711|i| [table][select][index][range] &lt;Ages.people_age_index&gt;
481
+ log_level --level notice
482
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
483
+ </pre></div>
484
+ </div>
485
+ <p>You can confirm that the <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> is used from the
486
+ following log:</p>
487
+ <div class="highlight-none"><div class="highlight"><pre><span></span>[table][select][index][range] &lt;Ages.people_age_index&gt;
488
+ </pre></div>
489
+ </div>
490
+ <p>The log says <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> index column is used for range
491
+ search.</p>
492
+ </div>
493
+ <div class="section" id="create-an-index-column-for-full-text-search">
494
+ <span id="column-create-index-full-text-search"></span><h3>7.3.11.3.6. Create an index column for full text search<a class="headerlink" href="#create-an-index-column-for-full-text-search" title="Permalink to this headline">¶</a></h3>
495
+ <p>There is a difference between for non full text search (equal search,
496
+ comparison search or range search) index column and for full text
497
+ search index column. You need to add <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> to the
498
+ <code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
499
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter. It's the
500
+ difference.</p>
501
+ <p>Here is an example to create a full text search index column for the
502
+ <code class="docutils literal"><span class="pre">roles</span></code> column of the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
503
+ <p>First, you need to create a table for full text search index
504
+ column. See <a class="reference internal" href="table_create.html#table-create-lexicon"><span class="std std-ref">Create lexicon</span></a> for details. This example
505
+ creates the <code class="docutils literal"><span class="pre">Terms</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> with
506
+ <a class="reference internal" href="../tokenizers.html#token-bigram"><span class="std std-ref">TokenBigram</span></a> tokenizer and <a class="reference internal" href="../normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer:</p>
507
+ <p>Execution example:</p>
508
+ <div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
509
+ --name Terms \
510
+ --flags TABLE_PAT_KEY \
511
+ --key_type ShortText \
512
+ --default_tokenizer TokenBigram \
513
+ --normalizer NormalizerAuto
514
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
515
+ </pre></div>
516
+ </div>
517
+ <p>Now, you can create a full text search index column for the <code class="docutils literal"><span class="pre">roles</span></code>
518
+ column of the <code class="docutils literal"><span class="pre">People</span></code> table. <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> in the
519
+ <code class="docutils literal"><span class="pre">flags</span></code> parameter, <code class="docutils literal"><span class="pre">People</span></code> in the <code class="docutils literal"><span class="pre">type</span></code> parameter and
520
+ <code class="docutils literal"><span class="pre">roles</span></code> in the <code class="docutils literal"><span class="pre">source</span></code> parameter are important:</p>
521
+ <p>Execution example:</p>
522
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
523
+ --table Terms \
524
+ --name people_roles_index \
525
+ --flags COLUMN_INDEX|WITH_POSITION \
526
+ --type People \
527
+ --source roles
528
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
529
+ </pre></div>
530
+ </div>
531
+ <p>You can confirm that <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">roles</span></code> and <code class="docutils literal"><span class="pre">--query</span> <span class="pre">Sister</span></code>
532
+ are evaluated by the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> newly created full
533
+ text search index column from log. Groonga reports used index columns
534
+ in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log level dynamically by
535
+ <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
536
+ <p>Execution example:</p>
537
+ <div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
538
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
539
+ select \
540
+ --table People \
541
+ --match_columns roles \
542
+ --query Sister
543
+ # [
544
+ # [
545
+ # 0,
546
+ # 1337566253.89858,
547
+ # 0.000355720520019531
548
+ # ],
549
+ # [
550
+ # [
551
+ # [
552
+ # 1
553
+ # ],
554
+ # [
555
+ # [
556
+ # &quot;_id&quot;,
557
+ # &quot;UInt32&quot;
558
+ # ],
559
+ # [
560
+ # &quot;_key&quot;,
561
+ # &quot;ShortText&quot;
562
+ # ],
563
+ # [
564
+ # &quot;age&quot;,
565
+ # &quot;UInt8&quot;
566
+ # ],
567
+ # [
568
+ # &quot;roles&quot;,
569
+ # &quot;ShortText&quot;
570
+ # ]
571
+ # ],
572
+ # [
573
+ # 1,
574
+ # &quot;alice&quot;,
575
+ # 7,
576
+ # [
577
+ # &quot;adventurer&quot;,
578
+ # &quot;younger-sister&quot;
579
+ # ]
580
+ # ]
581
+ # ]
582
+ # ]
583
+ # ]
584
+ # log: 2016-10-13 19:10:02.953279|i| [object][search][index][key][exact] &lt;Terms.people_roles_index&gt;
585
+ # log: 2016-10-13 19:10:02.953301|i| grn_ii_sel &gt; (Sister)
586
+ # log: 2016-10-13 19:10:02.953331|i| n=1 (Sister)
587
+ # log: 2016-10-13 19:10:02.953358|i| exact: 1
588
+ # log: 2016-10-13 19:10:02.953362|i| hits=1
589
+ log_level --level notice
590
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
591
+ </pre></div>
592
+ </div>
593
+ <p>You can confirm that the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> is used from the
594
+ following log:</p>
595
+ <div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] &lt;Terms.people_roles_index&gt;
596
+ </pre></div>
597
+ </div>
598
+ <p>The log says <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> index column is used for
599
+ full text search. (To be precise, the index column is used for exact
600
+ term search by inverted index.)</p>
601
+ </div>
602
+ <div class="section" id="create-a-multiple-columns-index-column">
603
+ <span id="column-create-index-multiple-columns"></span><h3>7.3.11.3.7. Create a multiple columns index column<a class="headerlink" href="#create-a-multiple-columns-index-column" title="Permalink to this headline">¶</a></h3>
604
+ <p>You can create an index column for multiple columns. It means that you
605
+ can do fast search for multiple columns with one index
606
+ column. Multiple columns index column has better space efficiency than
607
+ single column index column only when multiple columns have many same
608
+ tokens. Multiple columns index column may be slower than single column
609
+ index column. Because multiple columns index column will be a bigger
610
+ index column.</p>
611
+ <p>You can't use multiples columns in different tables as index target
612
+ columns in the same multiple columns index column. You must specify
613
+ columns in the same tables as index target columns to one multiple
614
+ columns index column. For example, you can't create a multiple columns
615
+ index for <code class="docutils literal"><span class="pre">People._key</span></code> and <code class="docutils literal"><span class="pre">Books._key</span></code> because they are columns
616
+ of different tables. You can create a multiple columns index column
617
+ for <code class="docutils literal"><span class="pre">People._key</span></code> and <code class="docutils literal"><span class="pre">People.roles</span></code> because they are columns of
618
+ the same table.</p>
619
+ <p>There is a difference between for single column index column and for
620
+ multiple columns index column. You need to add <code class="docutils literal"><span class="pre">WITH_SECTION</span></code> to the
621
+ <code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
622
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter. It's the
623
+ difference.</p>
624
+ <p>If you want to create a multiple columns index column for full text
625
+ search, you need to specify
626
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code>
627
+ parameter. See <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> for full
628
+ text search index column details.</p>
629
+ <p>Here is an example to create a multiple columns full text search index
630
+ column for the key of the <code class="docutils literal"><span class="pre">People</span></code> table and the <code class="docutils literal"><span class="pre">roles</span></code> column of
631
+ the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
632
+ <p>There is no difference between index table for single column index
633
+ column and multiple columns index column. In this example, the
634
+ <code class="docutils literal"><span class="pre">Terms</span></code> table created at <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a>
635
+ is used.</p>
636
+ <p>You can create a multiple columns full text search index column for
637
+ the key of the <code class="docutils literal"><span class="pre">People</span></code> table and <code class="docutils literal"><span class="pre">roles</span></code> column of the <code class="docutils literal"><span class="pre">People</span></code>
638
+ table. <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> in the <code class="docutils literal"><span class="pre">flags</span></code>
639
+ parameter, <code class="docutils literal"><span class="pre">People</span></code> in the <code class="docutils literal"><span class="pre">type</span></code> parameter and <code class="docutils literal"><span class="pre">_key,roles</span></code> in
640
+ the <code class="docutils literal"><span class="pre">source</span></code> parameter are important:</p>
641
+ <p>Execution example:</p>
642
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
643
+ --table Terms \
644
+ --name people_key_roles_index \
645
+ --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
646
+ --type People \
647
+ --source _key,roles
648
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
649
+ </pre></div>
650
+ </div>
651
+ <p>You can confirm that <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">_key</span></code> and <code class="docutils literal"><span class="pre">--query</span>
652
+ <span class="pre">Alice</span></code> are evaluated by the <code class="docutils literal"><span class="pre">Terms.people_key_roles_index</span></code> newly
653
+ created multiple columns full text search index column from log. Groonga
654
+ reports used index columns in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log level
655
+ dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
656
+ <p>Execution example:</p>
657
+ <div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
658
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
659
+ select \
660
+ --table People \
661
+ --match_columns _key,roles \
662
+ --query Alice
663
+ # [
664
+ # [
665
+ # 0,
666
+ # 1337566253.89858,
667
+ # 0.000355720520019531
668
+ # ],
669
+ # [
670
+ # [
671
+ # [
672
+ # 1
673
+ # ],
674
+ # [
675
+ # [
676
+ # &quot;_id&quot;,
677
+ # &quot;UInt32&quot;
678
+ # ],
679
+ # [
680
+ # &quot;_key&quot;,
681
+ # &quot;ShortText&quot;
682
+ # ],
683
+ # [
684
+ # &quot;age&quot;,
685
+ # &quot;UInt8&quot;
686
+ # ],
687
+ # [
688
+ # &quot;roles&quot;,
689
+ # &quot;ShortText&quot;
690
+ # ]
691
+ # ],
692
+ # [
693
+ # 1,
694
+ # &quot;alice&quot;,
695
+ # 7,
696
+ # [
697
+ # &quot;adventurer&quot;,
698
+ # &quot;younger-sister&quot;
699
+ # ]
700
+ # ]
701
+ # ]
702
+ # ]
703
+ # ]
704
+ # log: 2016-10-13 19:10:03.513171|i| [object][search][index][key][exact] &lt;Terms.people_key_roles_index&gt;
705
+ # log: 2016-10-13 19:10:03.513194|i| grn_ii_sel &gt; (Alice)
706
+ # log: 2016-10-13 19:10:03.513219|i| n=1 (Alice)
707
+ # log: 2016-10-13 19:10:03.513247|i| exact: 1
708
+ # log: 2016-10-13 19:10:03.513251|i| hits=1
709
+ log_level --level notice
710
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
711
+ </pre></div>
712
+ </div>
713
+ <p>You can confirm that the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> is used from the
714
+ following log:</p>
715
+ <div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] &lt;Terms.people_key_roles_index&gt;
716
+ </pre></div>
717
+ </div>
718
+ <p>The log says <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> index column is used for
719
+ full text search. (To be precise, the index column is used for exact
720
+ term search by inverted index.)</p>
721
+ </div>
722
+ <div class="section" id="create-a-small-index-column">
723
+ <span id="column-create-index-small"></span><h3>7.3.11.3.8. Create a small index column<a class="headerlink" href="#create-a-small-index-column" title="Permalink to this headline">¶</a></h3>
724
+ <p>If you know index target data are small, you can reduce memory usage
725
+ for the index column. Memory usage is <code class="docutils literal"><span class="pre">1/256</span></code> of the default index
726
+ column.</p>
727
+ <p>How many data are small? It depends on data. Small index column can't
728
+ handle 1 billion records at least. If index target is only one
729
+ scalar column with no text family type (<code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">Text</span></code> or
730
+ <code class="docutils literal"><span class="pre">LongText</span></code>), the maximum handleable records are depends of the
731
+ number of kinds of index target data. If index target column has
732
+ <code class="docutils literal"><span class="pre">1</span></code>, <code class="docutils literal"><span class="pre">1</span></code>, <code class="docutils literal"><span class="pre">2</span></code> and <code class="docutils literal"><span class="pre">3</span></code>, the number of kinds of them are <code class="docutils literal"><span class="pre">3</span></code>
733
+ (<code class="docutils literal"><span class="pre">1</span></code> and <code class="docutils literal"><span class="pre">2</span></code> and <code class="docutils literal"><span class="pre">3</span></code>). The following table shows the
734
+ relationship between the number of kinds of index target data and the
735
+ number of handleable records:</p>
736
+ <table border="1" class="docutils" id="id1">
737
+ <caption><span class="caption-text">The number of kinds of index target data and the number of handleable records in a small index column</span><a class="headerlink" href="#id1" title="Permalink to this table">¶</a></caption>
738
+ <colgroup>
739
+ <col width="50%" />
740
+ <col width="50%" />
741
+ </colgroup>
742
+ <thead valign="bottom">
743
+ <tr class="row-odd"><th class="head">The number of kinds of index target data</th>
744
+ <th class="head">The number of hanleable records</th>
745
+ </tr>
746
+ </thead>
747
+ <tbody valign="top">
748
+ <tr class="row-even"><td>1</td>
749
+ <td>16779234</td>
750
+ </tr>
751
+ <tr class="row-odd"><td>2</td>
752
+ <td>4648070</td>
753
+ </tr>
754
+ <tr class="row-even"><td>4</td>
755
+ <td>7238996</td>
756
+ </tr>
757
+ <tr class="row-odd"><td>8</td>
758
+ <td>8308622</td>
759
+ </tr>
760
+ <tr class="row-even"><td>16</td>
761
+ <td>11068624</td>
762
+ </tr>
763
+ <tr class="row-odd"><td>32</td>
764
+ <td>12670817</td>
765
+ </tr>
766
+ <tr class="row-even"><td>64</td>
767
+ <td>18524211</td>
768
+ </tr>
769
+ <tr class="row-odd"><td>128</td>
770
+ <td>38095511</td>
771
+ </tr>
772
+ <tr class="row-even"><td>256</td>
773
+ <td>51265384</td>
774
+ </tr>
775
+ </tbody>
776
+ </table>
777
+ <p>You need to add <code class="docutils literal"><span class="pre">INDEX_SMALL</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter such as
778
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_SMALL</span></code> to create a small index column.</p>
779
+ <p>If the <code class="docutils literal"><span class="pre">People</span></code> table has only 1 million records, you can use a
780
+ small index column for the <code class="docutils literal"><span class="pre">age</span></code> column:</p>
781
+ <p>Execution example:</p>
782
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
783
+ --table Ages \
784
+ --name people_age_small_index \
785
+ --flags COLUMN_INDEX|INDEX_SMALL \
786
+ --type People \
787
+ --source age
788
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
789
+ </pre></div>
790
+ </div>
791
+ </div>
792
+ <div class="section" id="create-a-medium-index-column">
793
+ <span id="column-create-index-medium"></span><h3>7.3.11.3.9. Create a medium index column<a class="headerlink" href="#create-a-medium-index-column" title="Permalink to this headline">¶</a></h3>
794
+ <p>If you know index target data are medium, you can reduce memory usage
795
+ for the index column. Memory usage is <code class="docutils literal"><span class="pre">5/24</span></code> of the default index
796
+ column.</p>
797
+ <p>How many data are medium? It depends on data.</p>
798
+ <p>If index target is only one scalar column, a medium index column
799
+ can handle all records.</p>
800
+ <p>A medium index column may not handle all records at the following
801
+ cases:</p>
107
802
  <blockquote>
108
- <div><p>作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければなりません。</p>
109
- <p>ピリオド('.'), コロン(':')を含む名前のカラムは作成できません。また、アンダースコア('_')で始まる名前は予約済みであり、使用できません。</p>
803
+ <div><ul class="simple">
804
+ <li>Index target is one text family (<code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">Text</span></code> or
805
+ <code class="docutils literal"><span class="pre">LongText</span></code>) scalar column</li>
806
+ <li>Index target is one vector column</li>
807
+ <li>Index targets are multiple columns</li>
808
+ <li>Index table has tokenizer</li>
809
+ </ul>
110
810
  </div></blockquote>
111
- <p><code class="docutils literal"><span class="pre">flags</span></code></p>
811
+ <p>You need to add <code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter such as
812
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_MEDIUM</span></code> to create a medium index column.</p>
813
+ <p>You can use a medium index column for an index column of the <code class="docutils literal"><span class="pre">age</span></code>
814
+ column of the <code class="docutils literal"><span class="pre">People</span></code> table safely. Because it's one scalar column
815
+ with <code class="docutils literal"><span class="pre">UInt8</span></code> type.</p>
816
+ <p>Here is an example to create a medium index column:</p>
817
+ <p>Execution example:</p>
818
+ <div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
819
+ --table Ages \
820
+ --name people_age_medium_index \
821
+ --flags COLUMN_INDEX|INDEX_MEDIUM \
822
+ --type People \
823
+ --source age
824
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
825
+ </pre></div>
826
+ </div>
827
+ </div>
828
+ </div>
829
+ <div class="section" id="parameters">
830
+ <h2>7.3.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
831
+ <p>This section describes all parameters.</p>
832
+ <div class="section" id="required-parameters">
833
+ <h3>7.3.11.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
834
+ <p>There are some required parameters.</p>
835
+ <div class="section" id="table">
836
+ <span id="column-create-table"></span><h4>7.3.11.4.1.1. <code class="docutils literal"><span class="pre">table</span></code><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
837
+ <p>Specifies an existing table name for the new column.</p>
838
+ </div>
839
+ <div class="section" id="name">
840
+ <span id="column-create-name"></span><h4>7.3.11.4.1.2. <code class="docutils literal"><span class="pre">name</span></code><a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h4>
841
+ <p>Specifies the column name to be created.</p>
842
+ <p>The column name must be unique in the same table.</p>
843
+ <p>Here are available characters:</p>
844
+ <ul class="simple">
845
+ <li><code class="docutils literal"><span class="pre">0</span></code> .. <code class="docutils literal"><span class="pre">9</span></code> (digit)</li>
846
+ <li><code class="docutils literal"><span class="pre">a</span></code> .. <code class="docutils literal"><span class="pre">z</span></code> (alphabet, lower case)</li>
847
+ <li><code class="docutils literal"><span class="pre">A</span></code> .. <code class="docutils literal"><span class="pre">Z</span></code> (alphabet, upper case)</li>
848
+ <li><code class="docutils literal"><span class="pre">#</span></code> (hash)</li>
849
+ <li><code class="docutils literal"><span class="pre">&#64;</span></code> (at mark)</li>
850
+ <li><code class="docutils literal"><span class="pre">-</span></code> (hyphen)</li>
851
+ <li><code class="docutils literal"><span class="pre">_</span></code> (underscore) (NOTE: Underscore can't be used as the first
852
+ character.)</li>
853
+ </ul>
854
+ <p>You need to create a name with one or more the above characters. Note
855
+ that you can't use <code class="docutils literal"><span class="pre">_</span></code> as the first character such as <code class="docutils literal"><span class="pre">_name</span></code>.</p>
856
+ </div>
857
+ <div class="section" id="flags">
858
+ <span id="column-create-flags"></span><h4>7.3.11.4.1.3. <code class="docutils literal"><span class="pre">flags</span></code><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
859
+ <p>Specifies the column type and column customize options.</p>
860
+ <p>Here are available flags:</p>
861
+ <table border="1" class="docutils">
862
+ <colgroup>
863
+ <col width="50%" />
864
+ <col width="50%" />
865
+ </colgroup>
866
+ <thead valign="bottom">
867
+ <tr class="row-odd"><th class="head">Flag</th>
868
+ <th class="head">Description</th>
869
+ </tr>
870
+ </thead>
871
+ <tbody valign="top">
872
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code></td>
873
+ <td>Scalar column. It can store one value. See also
874
+ <a class="reference internal" href="../columns/scalar.html"><span class="doc">Scalar column</span></a> or
875
+ <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a>.</td>
876
+ </tr>
877
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></td>
878
+ <td>Vector column. It can store multiple values. See also
879
+ <a class="reference internal" href="../columns/vector.html"><span class="doc">Vector column</span></a> or
880
+ <a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a>.</td>
881
+ </tr>
882
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></td>
883
+ <td>Index column. It stores data for fast search. See also
884
+ <a class="reference internal" href="../columns/index.html"><span class="doc">Index column</span></a> or
885
+ <a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a>.</td>
886
+ </tr>
887
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></td>
888
+ <td><p class="first">It enables column value compression by zlib. You need Groonga
889
+ that enables zlib support.</p>
890
+ <p>Compression by zlib is higher space efficiency than compression
891
+ by LZ4. But compression by zlib is slower than compression by
892
+ LZ4.</p>
893
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> and
894
+ <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
895
+ </td>
896
+ </tr>
897
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">COMPRESS_LZ4</span></code></td>
898
+ <td><p class="first">It enables column value compression by LZ4. You need Groonga
899
+ that enables LZ4 support.</p>
900
+ <p>Compression by LZ4 is faster than compression by zlib. But
901
+ compression by LZ4 is lower space efficiency than compression
902
+ by zlib.</p>
903
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> and
904
+ <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
905
+ </td>
906
+ </tr>
907
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_SECTION</span></code></td>
908
+ <td><p class="first">It enables section support to index column.</p>
909
+ <p>If section support is enabled, you can support multiple
910
+ documents in the same index column.</p>
911
+ <p>You must specify this flag to create a multiple columns index
912
+ column. See also <a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a> for
913
+ details.</p>
914
+ <p>Section support requires additional spaces. If you don't need
915
+ section support, you should not enable section support.</p>
916
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
917
+ </td>
918
+ </tr>
919
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></td>
920
+ <td><p class="first">It enables weight support to vector column or index column.</p>
921
+ <p>If weight support is enabled for vector column, you can add
922
+ weight for each element. If weight support is enabled for index
923
+ column, you can add weight for each posting. They are useful to
924
+ compute suitable search score.</p>
925
+ <p>You must specify this flag to use <a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a>. See
926
+ also <a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a> for details.</p>
927
+ <p>Weight support requires additional spaces. If you don't need
928
+ weight support, you should not enable weight support.</p>
929
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> or
930
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
931
+ </td>
932
+ </tr>
933
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_POSITION</span></code></td>
934
+ <td><p class="first">It enables position support to index column. It means that the
935
+ index column is full inverted index. (Index column is
936
+ implemented as inverted index.)</p>
937
+ <p>If position support is enabled, you can add position in the
938
+ document for each posting. It's required for phrase search. It
939
+ means that index column for full text search must enable
940
+ position support because most full text search uses phrase
941
+ search.</p>
942
+ <p>You must specify this flag to create a full text search index
943
+ column. See also <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> for
944
+ details.</p>
945
+ <p>Position support requires additional spaces. If you don't need
946
+ position support, you should not enable position support.</p>
947
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
948
+ </td>
949
+ </tr>
950
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">INDEX_SMALL</span></code></td>
951
+ <td><div class="first versionadded">
952
+ <p><span class="versionmodified">New in version 6.0.8.</span></p>
953
+ </div>
954
+ <p>It requires to create a small index column.</p>
955
+ <p>If index target data are small, small index column is enough.
956
+ Small index column uses fewer memory than a normal index column
957
+ or a medium index column. See also
958
+ <a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a> for knowing what are &quot;small
959
+ data&quot; and how to use this flag.</p>
960
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
961
+ </td>
962
+ </tr>
963
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code></td>
964
+ <td><div class="first versionadded">
965
+ <p><span class="versionmodified">New in version 6.0.8.</span></p>
966
+ </div>
967
+ <p>It requires to create a medium index column.</p>
968
+ <p>If index target data are medium, medium index column is enough.
969
+ Medium index column uses fewer memory than a normal index
970
+ column. See also <a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a> for knowing
971
+ what are &quot;medium data&quot; and how to use this flag.</p>
972
+ <p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
973
+ </td>
974
+ </tr>
975
+ </tbody>
976
+ </table>
977
+ <p>You must specify one of <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. You can't specify
978
+ two or more <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. For example,
979
+ <code class="docutils literal"><span class="pre">COLUMN_SCALAR|COLUMN_VECTOR</span></code> is invalid.</p>
980
+ <p>You can combine flags with <code class="docutils literal"><span class="pre">|</span></code> (vertical bar) such as
981
+ <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION|WITH_POSITION</span></code>.</p>
982
+ </div>
983
+ <div class="section" id="type">
984
+ <span id="column-create-type"></span><h4>7.3.11.4.1.4. <code class="docutils literal"><span class="pre">type</span></code><a class="headerlink" href="#type" title="Permalink to this headline">¶</a></h4>
985
+ <p>Specifies type of the column value.</p>
986
+ <p>If the column is scalar column or vector column, here are available
987
+ types:</p>
112
988
  <blockquote>
113
- <div><p>カラムの属性を表す以下の数値か、パイプ('|')で組み合わせたシンボル名を指定します。</p>
114
- <dl class="docutils">
115
- <dt>0, <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code></dt>
116
- <dd>単一の値が格納できるカラムを作成します。</dd>
117
- <dt>1, <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></dt>
118
- <dd>複数の値の配列を格納できるカラムを作成します。</dd>
119
- <dt>2, <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></dt>
120
- <dd>インデックス型のカラムを作成します。</dd>
121
- </dl>
122
- <p>There are two flags to compress the value of column, but you can't specify these flags for now because there are memory leaks issue <a class="reference external" href="https://github.com/groonga/groonga/issues/6">GitHub#6</a> when refers the value of column. This issue occurs both of them (zlib and lzo).</p>
123
- <dl class="docutils">
124
- <dt>16, <code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></dt>
125
- <dd>Compress the value of column by using zlib. This flag is enabled when you build Groonga with <code class="docutils literal"><span class="pre">--with-zlib</span></code>.</dd>
126
- <dt>32, <code class="docutils literal"><span class="pre">COMPRESS_LZO</span></code></dt>
127
- <dd>Compress the value of column by using lzo. This flag is enabled when you build Groonga with <code class="docutils literal"><span class="pre">--with-lzo</span></code>.</dd>
128
- </dl>
129
- <p>インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追加の属
130
- 性を指定することができます。</p>
131
- <dl class="docutils">
132
- <dt>128, <code class="docutils literal"><span class="pre">WITH_SECTION</span></code></dt>
133
- <dd>段落情報を格納するインデックスを作成します。</dd>
134
- <dt>256, <code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></dt>
135
- <dd>ウェイト情報を格納するインデックスを作成します。</dd>
136
- <dt>512, <code class="docutils literal"><span class="pre">WITH_POSITION</span></code></dt>
137
- <dd>位置情報を格納するインデックス(完全転置インデックス)を作成します。</dd>
138
- </dl>
989
+ <div><ul class="simple">
990
+ <li>Builtin types described in <a class="reference internal" href="../types.html"><span class="doc">Data types</span></a></li>
991
+ <li>Tables defined by users</li>
992
+ </ul>
139
993
  </div></blockquote>
140
- <p><code class="docutils literal"><span class="pre">type</span></code></p>
994
+ <p>If the column is index column, here are available types:</p>
141
995
  <blockquote>
142
- <div>値の型を指定します。Groongaの組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指定することができます。</div></blockquote>
143
- <p><code class="docutils literal"><span class="pre">source</span></code></p>
996
+ <div><ul class="simple">
997
+ <li>Tables defined by users</li>
998
+ </ul>
999
+ </div></blockquote>
1000
+ <p>See also the followings:</p>
144
1001
  <blockquote>
145
- <div>インデックス型のカラムを作成した場合は、インデックス対象となるカラムをsource引数に指定します。</div></blockquote>
1002
+ <div><ul class="simple">
1003
+ <li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
1004
+ <li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
1005
+ <li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table's record</span></a></li>
1006
+ <li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
1007
+ </ul>
1008
+ </div></blockquote>
1009
+ </div>
1010
+ </div>
1011
+ <div class="section" id="optional-parameters">
1012
+ <h3>7.3.11.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
1013
+ <p>There is an optional parameter.</p>
1014
+ <div class="section" id="source">
1015
+ <span id="column-create-source"></span><h4>7.3.11.4.2.1. <code class="docutils literal"><span class="pre">source</span></code><a class="headerlink" href="#source" title="Permalink to this headline">¶</a></h4>
1016
+ <p>Specifies index target columns. You can specify one or more columns to
1017
+ the <code class="docutils literal"><span class="pre">source</span></code> parameter.</p>
1018
+ <p>This parameter is only available for index column.</p>
1019
+ <p>You can only specify columns of the table specified as
1020
+ <a class="reference internal" href="#column-create-type"><span class="std std-ref">type</span></a>. You can also use the <code class="docutils literal"><span class="pre">_key</span></code> pseudo column
1021
+ for specifying the table key as index target.</p>
1022
+ <p>If you specify multiple columns to the <code class="docutils literal"><span class="pre">source</span></code> parameter, separate
1023
+ columns with <code class="docutils literal"><span class="pre">,</span></code> (comma) such as <code class="docutils literal"><span class="pre">_key,roles</span></code>.</p>
1024
+ </div>
1025
+ </div>
146
1026
  </div>
147
1027
  <div class="section" id="return-value">
148
1028
  <h2>7.3.11.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
149
- <div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, SUCCEEDED]
1029
+ <p><code class="docutils literal"><span class="pre">column_create</span></code> returns <code class="docutils literal"><span class="pre">true</span></code> as body on success such as:</p>
1030
+ <div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, true]
150
1031
  </pre></div>
151
1032
  </div>
152
- <p><code class="docutils literal"><span class="pre">HEADER</span></code></p>
153
- <blockquote>
154
- <div>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> about <code class="docutils literal"><span class="pre">HEADER</span></code>.</div></blockquote>
155
- <p><code class="docutils literal"><span class="pre">SUCCEEDED</span></code></p>
1033
+ <p>If <code class="docutils literal"><span class="pre">column_create</span></code> fails, <code class="docutils literal"><span class="pre">column_create</span></code> returns <code class="docutils literal"><span class="pre">false</span></code> as
1034
+ body:</p>
1035
+ <div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, false]
1036
+ </pre></div>
1037
+ </div>
1038
+ <p>Error details are in <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
1039
+ <p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
1040
+ </div>
1041
+ <div class="section" id="see-also">
1042
+ <h2>7.3.11.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
156
1043
  <blockquote>
157
- <div>If command is succeeded, it returns true on success, false otherwise.</div></blockquote>
1044
+ <div><ul class="simple">
1045
+ <li><a class="reference internal" href="../column.html"><span class="doc">Column</span></a></li>
1046
+ <li><a class="reference internal" href="table_create.html"><span class="doc">table_create</span></a></li>
1047
+ <li><a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a></li>
1048
+ </ul>
1049
+ </div></blockquote>
158
1050
  </div>
159
1051
  </div>
160
1052
 
@@ -169,9 +1061,34 @@
169
1061
  <li><a class="reference internal" href="#">7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code></a><ul>
170
1062
  <li><a class="reference internal" href="#summary">7.3.11.1. Summary</a></li>
171
1063
  <li><a class="reference internal" href="#syntax">7.3.11.2. Syntax</a></li>
172
- <li><a class="reference internal" href="#usage">7.3.11.3. Usage</a></li>
173
- <li><a class="reference internal" href="#parameters">7.3.11.4. Parameters</a></li>
1064
+ <li><a class="reference internal" href="#usage">7.3.11.3. Usage</a><ul>
1065
+ <li><a class="reference internal" href="#create-a-scalar-column">7.3.11.3.1. Create a scalar column</a></li>
1066
+ <li><a class="reference internal" href="#create-a-vector-column">7.3.11.3.2. Create a vector column</a></li>
1067
+ <li><a class="reference internal" href="#create-a-weight-vector-column">7.3.11.3.3. Create a weight vector column</a></li>
1068
+ <li><a class="reference internal" href="#create-a-column-that-refers-a-table-s-record">7.3.11.3.4. Create a column that refers a table's record</a></li>
1069
+ <li><a class="reference internal" href="#create-an-index-column">7.3.11.3.5. Create an index column</a></li>
1070
+ <li><a class="reference internal" href="#create-an-index-column-for-full-text-search">7.3.11.3.6. Create an index column for full text search</a></li>
1071
+ <li><a class="reference internal" href="#create-a-multiple-columns-index-column">7.3.11.3.7. Create a multiple columns index column</a></li>
1072
+ <li><a class="reference internal" href="#create-a-small-index-column">7.3.11.3.8. Create a small index column</a></li>
1073
+ <li><a class="reference internal" href="#create-a-medium-index-column">7.3.11.3.9. Create a medium index column</a></li>
1074
+ </ul>
1075
+ </li>
1076
+ <li><a class="reference internal" href="#parameters">7.3.11.4. Parameters</a><ul>
1077
+ <li><a class="reference internal" href="#required-parameters">7.3.11.4.1. Required parameters</a><ul>
1078
+ <li><a class="reference internal" href="#table">7.3.11.4.1.1. <code class="docutils literal"><span class="pre">table</span></code></a></li>
1079
+ <li><a class="reference internal" href="#name">7.3.11.4.1.2. <code class="docutils literal"><span class="pre">name</span></code></a></li>
1080
+ <li><a class="reference internal" href="#flags">7.3.11.4.1.3. <code class="docutils literal"><span class="pre">flags</span></code></a></li>
1081
+ <li><a class="reference internal" href="#type">7.3.11.4.1.4. <code class="docutils literal"><span class="pre">type</span></code></a></li>
1082
+ </ul>
1083
+ </li>
1084
+ <li><a class="reference internal" href="#optional-parameters">7.3.11.4.2. Optional parameters</a><ul>
1085
+ <li><a class="reference internal" href="#source">7.3.11.4.2.1. <code class="docutils literal"><span class="pre">source</span></code></a></li>
1086
+ </ul>
1087
+ </li>
1088
+ </ul>
1089
+ </li>
174
1090
  <li><a class="reference internal" href="#return-value">7.3.11.5. Return value</a></li>
1091
+ <li><a class="reference internal" href="#see-also">7.3.11.6. See also</a></li>
175
1092
  </ul>
176
1093
  </li>
177
1094
  </ul>
@@ -215,13 +1132,13 @@
215
1132
  <li class="right" >
216
1133
  <a href="column_copy.html" title="7.3.10. column_copy"
217
1134
  >previous</a> |</li>
218
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.9 documentation</a> &raquo;</li>
219
- <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
220
- <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &raquo;</li>
1135
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> &#187;</li>
1136
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
1137
+ <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
221
1138
  </ul>
222
1139
  </div>
223
1140
  <div class="footer" role="contentinfo">
224
- &copy; Copyright 2009-2016, Brazil, Inc.
1141
+ &#169; Copyright 2009-2016, Brazil, Inc.
225
1142
  </div>
226
1143
  </body>
227
1144
  </html>