rroonga 4.0.0-x64-mingw32 → 4.0.1-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +6 -0
  3. data/doc/text/news.textile +26 -0
  4. data/ext/groonga/rb-grn-column.c +42 -2
  5. data/ext/groonga/rb-grn-index-column.c +57 -159
  6. data/ext/groonga/rb-grn-object.c +7 -0
  7. data/ext/groonga/rb-grn-table.c +19 -3
  8. data/ext/groonga/rb-grn-utils.c +4 -1
  9. data/ext/groonga/rb-grn-variable-size-column.c +405 -5
  10. data/ext/groonga/rb-grn.h +18 -1
  11. data/lib/1.9/groonga.so +0 -0
  12. data/lib/2.0/groonga.so +0 -0
  13. data/lib/2.1/groonga.so +0 -0
  14. data/lib/groonga/dumper.rb +46 -22
  15. data/lib/groonga/expression-builder.rb +2 -4
  16. data/lib/groonga/schema.rb +16 -234
  17. data/rroonga-build.rb +3 -3
  18. data/rroonga.gemspec +1 -1
  19. data/test/test-array.rb +6 -5
  20. data/test/test-column.rb +0 -14
  21. data/test/test-database.rb +6 -5
  22. data/test/test-double-array-trie.rb +6 -5
  23. data/test/test-expression.rb +2 -2
  24. data/test/test-hash.rb +6 -5
  25. data/test/test-index-column.rb +163 -33
  26. data/test/test-patricia-trie.rb +6 -5
  27. data/test/test-schema-dumper.rb +39 -7
  28. data/test/test-table-dumper.rb +46 -1
  29. data/test/test-table-select-weight.rb +12 -0
  30. data/test/test-variable-size-column.rb +87 -3
  31. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  32. data/vendor/local/bin/groonga.exe +0 -0
  33. data/vendor/local/bin/libgroonga-0.dll +0 -0
  34. data/vendor/local/bin/libmecab-1.dll +0 -0
  35. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  36. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  37. data/vendor/local/bin/mecab.exe +0 -0
  38. data/vendor/local/include/groonga/groonga.h +6 -1
  39. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  41. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  44. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  45. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  50. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  51. data/vendor/local/lib/libgroonga.a +0 -0
  52. data/vendor/local/lib/libgroonga.dll.a +0 -0
  53. data/vendor/local/lib/libmecab.a +0 -0
  54. data/vendor/local/lib/libmecab.dll.a +0 -0
  55. data/vendor/local/lib/libmsgpack.a +0 -0
  56. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  57. data/vendor/local/lib/libmsgpackc.a +0 -0
  58. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  59. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  60. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  61. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  62. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  63. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  65. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  68. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  70. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  71. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  72. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  73. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  74. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -2
  76. data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +25 -0
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +333 -0
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +1 -2
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +37 -17
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -5
  82. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -2
  83. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +99 -0
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -2
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
  88. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
  89. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
  90. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
  91. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  92. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  101. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/genindex.html +11 -11
  110. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/index.html +68 -67
  112. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  114. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  115. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  116. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  117. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  118. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  119. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  120. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  121. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
  123. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  129. data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
  130. data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
  131. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
  132. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
  133. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
  134. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +26 -26
  135. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +26 -26
  136. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
  137. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
  138. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
  139. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
  140. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
  141. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
  142. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
  143. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
  144. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
  145. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
  146. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
  147. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
  148. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -22
  152. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/column.html +153 -0
  154. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +857 -0
  155. data/vendor/local/share/doc/groonga/en/html/reference/command.html +8 -8
  156. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
  157. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
  158. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
  159. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
  160. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
  161. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
  162. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
  163. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
  164. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -26
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +8 -9
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -7
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +7 -7
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +7 -7
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +7 -7
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +193 -7
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +7 -7
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -12
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +7 -7
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +8 -8
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +7 -7
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +7 -7
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +7 -7
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +8 -9
  188. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +12 -12
  189. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
  190. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
  191. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +10 -10
  192. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
  193. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
  194. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +165 -13
  195. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +25 -8
  196. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
  197. data/vendor/local/share/doc/groonga/en/html/reference/function.html +28 -28
  198. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
  199. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
  200. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
  201. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
  202. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
  203. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
  204. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
  205. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
  206. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
  207. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
  208. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +36 -36
  209. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +22 -22
  210. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
  211. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
  212. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +24 -24
  213. data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
  214. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +31 -31
  215. data/vendor/local/share/doc/groonga/en/html/reference/output.html +8 -8
  216. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +22 -22
  217. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +18 -18
  218. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
  219. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +13 -13
  220. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -17
  221. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
  222. data/vendor/local/share/doc/groonga/en/html/reference/types.html +8 -8
  223. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  225. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -9
  230. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  233. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
  249. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
  253. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  257. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -2
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +25 -0
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +333 -0
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +1 -2
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +37 -17
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -5
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -2
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +99 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -2
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
  279. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
  280. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
  281. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
  282. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  283. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  284. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  287. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  290. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  296. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  297. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  298. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  299. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/genindex.html +11 -11
  301. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/index.html +67 -66
  303. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  305. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  306. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  307. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  308. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  309. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  310. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  311. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  312. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
  314. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  318. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  320. data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
  321. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
  322. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
  323. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
  324. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
  325. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
  326. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
  327. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
  328. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
  330. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
  331. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
  332. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
  333. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
  334. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
  335. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
  336. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
  337. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
  338. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
  339. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
  340. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
  341. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
  342. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
  343. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +150 -0
  345. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +824 -0
  346. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +45 -24
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +8 -7
  366. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +174 -5
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
  373. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
  375. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
  379. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +8 -8
  383. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +167 -11
  386. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -6
  387. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
  389. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
  390. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
  391. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
  392. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
  393. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
  394. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
  395. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
  396. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
  397. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
  398. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
  399. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
  400. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
  401. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
  402. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
  403. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
  404. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
  405. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +28 -28
  406. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
  408. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
  409. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
  410. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +10 -10
  411. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +14 -14
  412. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
  413. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  416. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
  424. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +8 -8
  440. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
  444. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  447. data/vendor/local/share/man/ja/man1/groonga.1 +526 -73
  448. data/vendor/local/share/man/man1/groonga.1 +552 -80
  449. metadata +148 -139
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.15.21. grn_user_data &mdash; Groonga v3.1.2-13-gc6e6a93ドキュメント</title>
10
+ <title>8.16.21. grn_user_data &mdash; Groonga v4.0.1ドキュメント</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: '3.1.2-13-gc6e6a93',
18
+ VERSION: '4.0.1',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,10 +26,10 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v3.1.2-13-gc6e6a93ドキュメント" href="../../index.html" />
30
- <link rel="up" title="8.15. API" href="../api.html" />
29
+ <link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
30
+ <link rel="up" title="8.16. API" href="../api.html" />
31
31
  <link rel="next" title="9. 仕様" href="../../spec.html" />
32
- <link rel="prev" title="8.15.20. grn_type" href="grn_type.html" />
32
+ <link rel="prev" title="8.16.20. grn_type" href="grn_type.html" />
33
33
  </head>
34
34
  <body role="document">
35
35
  <div class="header">
@@ -59,11 +59,11 @@
59
59
  <a href="../../spec.html" title="9. 仕様"
60
60
  accesskey="N">次へ</a> |</li>
61
61
  <li class="right" >
62
- <a href="grn_type.html" title="8.15.20. grn_type"
62
+ <a href="grn_type.html" title="8.16.20. grn_type"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v3.1.2-13-gc6e6a93ドキュメント</a> &raquo;</li>
64
+ <li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
66
- <li><a href="../api.html" accesskey="U">8.15. API</a> &raquo;</li>
66
+ <li><a href="../api.html" accesskey="U">8.16. API</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -73,17 +73,17 @@
73
73
  <div class="body" role="main">
74
74
 
75
75
  <div class="section" id="grn-user-data">
76
- <h1>8.15.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt><a class="headerlink" href="#grn-user-data" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <h1>8.16.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt><a class="headerlink" href="#grn-user-data" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
- <h2>8.15.21.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
78
+ <h2>8.16.21.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
79
  <p>TODO...</p>
80
80
  </div>
81
81
  <div class="section" id="example">
82
- <h2>8.15.21.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
82
+ <h2>8.16.21.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
83
  <p>TODO...</p>
84
84
  </div>
85
85
  <div class="section" id="reference">
86
- <h2>8.15.21.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
+ <h2>8.16.21.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
87
87
  <dl class="type">
88
88
  <dt id="c.grn_user_data">
89
89
  <tt class="descname">grn_user_data</tt><a class="headerlink" href="#c.grn_user_data" title="この定義へのパーマリンク">¶</a></dt>
@@ -118,17 +118,17 @@
118
118
  <div class="sphinxsidebarwrapper">
119
119
  <h3><a href="../../index.html">目次</a></h3>
120
120
  <ul>
121
- <li><a class="reference internal" href="#">8.15.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt></a><ul>
122
- <li><a class="reference internal" href="#summary">8.15.21.1. 概要</a></li>
123
- <li><a class="reference internal" href="#example">8.15.21.2. 実行例:</a></li>
124
- <li><a class="reference internal" href="#reference">8.15.21.3. リファレンス</a></li>
121
+ <li><a class="reference internal" href="#">8.16.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt></a><ul>
122
+ <li><a class="reference internal" href="#summary">8.16.21.1. 概要</a></li>
123
+ <li><a class="reference internal" href="#example">8.16.21.2. 実行例:</a></li>
124
+ <li><a class="reference internal" href="#reference">8.16.21.3. リファレンス</a></li>
125
125
  </ul>
126
126
  </li>
127
127
  </ul>
128
128
 
129
129
  <h4>前のトピックへ</h4>
130
130
  <p class="topless"><a href="grn_type.html"
131
- title="前の章へ">8.15.20. <tt class="docutils literal"><span class="pre">grn_type</span></tt></a></p>
131
+ title="前の章へ">8.16.20. <tt class="docutils literal"><span class="pre">grn_type</span></tt></a></p>
132
132
  <h4>次のトピックへ</h4>
133
133
  <p class="topless"><a href="../../spec.html"
134
134
  title="次の章へ">9. 仕様</a></p>
@@ -166,11 +166,11 @@
166
166
  <a href="../../spec.html" title="9. 仕様"
167
167
  >次へ</a> |</li>
168
168
  <li class="right" >
169
- <a href="grn_type.html" title="8.15.20. grn_type"
169
+ <a href="grn_type.html" title="8.16.20. grn_type"
170
170
  >前へ</a> |</li>
171
- <li><a href="../../index.html">Groonga v3.1.2-13-gc6e6a93ドキュメント</a> &raquo;</li>
171
+ <li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
172
172
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
173
- <li><a href="../api.html" >8.15. API</a> &raquo;</li>
173
+ <li><a href="../api.html" >8.16. API</a> &raquo;</li>
174
174
  </ul>
175
175
  </div>
176
176
  <div class="footer" role="contentinfo">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>Cast &mdash; Groonga v3.1.2-13-gc6e6a93ドキュメント</title>
10
+ <title>Cast &mdash; Groonga v4.0.1ドキュメント</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: '3.1.2-13-gc6e6a93',
18
+ VERSION: '4.0.1',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v3.1.2-13-gc6e6a93ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
30
30
  </head>
31
31
  <body role="document">
32
32
  <div class="header">
@@ -52,7 +52,7 @@
52
52
  <li class="right" style="margin-right: 10px">
53
53
  <a href="../genindex.html" title="総合索引"
54
54
  accesskey="I">索引</a></li>
55
- <li><a href="../index.html">Groonga v3.1.2-13-gc6e6a93ドキュメント</a> &raquo;</li>
55
+ <li><a href="../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
56
56
  </ul>
57
57
  </div>
58
58
 
@@ -102,7 +102,7 @@
102
102
  <li class="right" style="margin-right: 10px">
103
103
  <a href="../genindex.html" title="総合索引"
104
104
  >索引</a></li>
105
- <li><a href="../index.html">Groonga v3.1.2-13-gc6e6a93ドキュメント</a> &raquo;</li>
105
+ <li><a href="../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
106
106
  </ul>
107
107
  </div>
108
108
  <div class="footer" role="contentinfo">
@@ -0,0 +1,150 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml">
7
+ <head>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
+
10
+ <title>8.6. カラム &mdash; Groonga v4.0.1ドキュメント</title>
11
+
12
+ <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ var DOCUMENTATION_OPTIONS = {
17
+ URL_ROOT: '../',
18
+ VERSION: '4.0.1',
19
+ COLLAPSE_INDEX: false,
20
+ FILE_SUFFIX: '.html',
21
+ HAS_SOURCE: true
22
+ };
23
+ </script>
24
+ <script type="text/javascript" src="../_static/jquery.js"></script>
25
+ <script type="text/javascript" src="../_static/underscore.js"></script>
26
+ <script type="text/javascript" src="../_static/doctools.js"></script>
27
+ <script type="text/javascript" src="../_static/translations.js"></script>
28
+ <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
+ <link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
30
+ <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
31
+ <link rel="next" title="8.7. ノーマライザー" href="normalizers.html" />
32
+ <link rel="prev" title="8.5. テーブル" href="tables.html" />
33
+ </head>
34
+ <body role="document">
35
+ <div class="header">
36
+ <h1 class="title">
37
+ <a id="top-link" href="../index.html">
38
+ <span class="project">groonga</span>
39
+ <span class="separator">-</span>
40
+ <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
41
+ </a>
42
+ </h1>
43
+
44
+ <div class="other-language-links">
45
+ <ul>
46
+ <li><a href="../../../en/html/reference/column.html"><img src="../_static/us.png" alt="English">English page</a></li>
47
+ </ul>
48
+ </div>
49
+ </div>
50
+
51
+
52
+ <div class="related" role="navigation" aria-label="related navigation">
53
+ <h3>ナビゲーション</h3>
54
+ <ul>
55
+ <li class="right" style="margin-right: 10px">
56
+ <a href="../genindex.html" title="総合索引"
57
+ accesskey="I">索引</a></li>
58
+ <li class="right" >
59
+ <a href="normalizers.html" title="8.7. ノーマライザー"
60
+ accesskey="N">次へ</a> |</li>
61
+ <li class="right" >
62
+ <a href="tables.html" title="8.5. テーブル"
63
+ accesskey="P">前へ</a> |</li>
64
+ <li><a href="../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
65
+ <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> &raquo;</li>
66
+ </ul>
67
+ </div>
68
+
69
+ <div class="document">
70
+ <div class="documentwrapper">
71
+ <div class="bodywrapper">
72
+ <div class="body" role="main">
73
+
74
+ <div class="section" id="column">
75
+ <h1>8.6. カラム<a class="headerlink" href="#column" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <p>カラムはデータストアオブジェクトまたは高速な検索のための転置索引オブジェクトです。</p>
77
+ <p>カラムは必ず1つのテーブルに属します。テーブルは0個以上のカラムを持ちます。</p>
78
+ <p>データストアカラムもインデックスカラムもどちらも型を持ちます。データストアカラムの型は値域を指定します。言い換えると、データストアカラムの型は「値の型」です。インデックスカラムの型はインデックス対象のドキュメント集合を指定します。Groongaではテーブルがドキュメント集合になります。よって、インデックスカラムの型はテーブルにしなければいけません。</p>
79
+ <p>以下がデータストアカラムです。</p>
80
+ <blockquote>
81
+ <div><ul class="simple">
82
+ <li><tt class="xref doc docutils literal"><span class="pre">columns/scalar</span></tt></li>
83
+ <li><a class="reference internal" href="columns/vector.html"><em>ベクターカラム</em></a></li>
84
+ </ul>
85
+ </div></blockquote>
86
+ <p>以下がインデックスカラムです。</p>
87
+ <blockquote>
88
+ <div><ul class="simple">
89
+ <li><tt class="xref doc docutils literal"><span class="pre">columns/index</span></tt></li>
90
+ </ul>
91
+ </div></blockquote>
92
+ </div>
93
+
94
+
95
+ </div>
96
+ </div>
97
+ </div>
98
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
99
+ <div class="sphinxsidebarwrapper">
100
+ <h4>前のトピックへ</h4>
101
+ <p class="topless"><a href="tables.html"
102
+ title="前の章へ">8.5. テーブル</a></p>
103
+ <h4>次のトピックへ</h4>
104
+ <p class="topless"><a href="normalizers.html"
105
+ title="次の章へ">8.7. ノーマライザー</a></p>
106
+ <div role="note" aria-label="source link">
107
+ <h3>このページ</h3>
108
+ <ul class="this-page-menu">
109
+ <li><a href="../_sources/reference/column.txt"
110
+ rel="nofollow">ソースコードを表示</a></li>
111
+ </ul>
112
+ </div>
113
+ <div id="searchbox" style="display: none" role="search">
114
+ <h3>クイック検索</h3>
115
+ <form class="search" action="../search.html" method="get">
116
+ <input type="text" name="q" />
117
+ <input type="submit" value="検索" />
118
+ <input type="hidden" name="check_keywords" value="yes" />
119
+ <input type="hidden" name="area" value="default" />
120
+ </form>
121
+ <p class="searchtip" style="font-size: 90%">
122
+ モジュール、クラス、または関数名を入力してください
123
+ </p>
124
+ </div>
125
+ <script type="text/javascript">$('#searchbox').show(0);</script>
126
+ </div>
127
+ </div>
128
+ <div class="clearer"></div>
129
+ </div>
130
+ <div class="related" role="navigation" aria-label="related navigation">
131
+ <h3>ナビゲーション</h3>
132
+ <ul>
133
+ <li class="right" style="margin-right: 10px">
134
+ <a href="../genindex.html" title="総合索引"
135
+ >索引</a></li>
136
+ <li class="right" >
137
+ <a href="normalizers.html" title="8.7. ノーマライザー"
138
+ >次へ</a> |</li>
139
+ <li class="right" >
140
+ <a href="tables.html" title="8.5. テーブル"
141
+ >前へ</a> |</li>
142
+ <li><a href="../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
143
+ <li><a href="../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
144
+ </ul>
145
+ </div>
146
+ <div class="footer" role="contentinfo">
147
+ &copy; Copyright 2009-2014, Brazil, Inc.
148
+ </div>
149
+ </body>
150
+ </html>
@@ -0,0 +1,824 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml">
7
+ <head>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
+
10
+ <title>ベクターカラム &mdash; Groonga v4.0.1ドキュメント</title>
11
+
12
+ <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
+ <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ var DOCUMENTATION_OPTIONS = {
17
+ URL_ROOT: '../../',
18
+ VERSION: '4.0.1',
19
+ COLLAPSE_INDEX: false,
20
+ FILE_SUFFIX: '.html',
21
+ HAS_SOURCE: true
22
+ };
23
+ </script>
24
+ <script type="text/javascript" src="../../_static/jquery.js"></script>
25
+ <script type="text/javascript" src="../../_static/underscore.js"></script>
26
+ <script type="text/javascript" src="../../_static/doctools.js"></script>
27
+ <script type="text/javascript" src="../../_static/translations.js"></script>
28
+ <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
+ <link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
30
+ </head>
31
+ <body role="document">
32
+ <div class="header">
33
+ <h1 class="title">
34
+ <a id="top-link" href="../../index.html">
35
+ <span class="project">groonga</span>
36
+ <span class="separator">-</span>
37
+ <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
38
+ </a>
39
+ </h1>
40
+
41
+ <div class="other-language-links">
42
+ <ul>
43
+ <li><a href="../../../../en/html/reference/columns/vector.html"><img src="../../_static/us.png" alt="English">English page</a></li>
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ <div class="related" role="navigation" aria-label="related navigation">
50
+ <h3>ナビゲーション</h3>
51
+ <ul>
52
+ <li class="right" style="margin-right: 10px">
53
+ <a href="../../genindex.html" title="総合索引"
54
+ accesskey="I">索引</a></li>
55
+ <li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
56
+ </ul>
57
+ </div>
58
+
59
+ <div class="document">
60
+ <div class="documentwrapper">
61
+ <div class="bodywrapper">
62
+ <div class="body" role="main">
63
+
64
+ <div class="section" id="vector-column">
65
+ <h1>ベクターカラム<a class="headerlink" href="#vector-column" title="このヘッドラインへのパーマリンク">¶</a></h1>
66
+ <div class="section" id="summary">
67
+ <h2>概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
68
+ <p>ベクターカラムはデータストアオブジェクトです。ベクターカラムは0個以上のスカラー値を保存できます。ざっくり言うと、スカラー値とは数値や文字列といった1つの値のことです。スカラー値の詳細は <tt class="xref doc docutils literal"><span class="pre">scalar</span></tt> を参照してください。</p>
69
+ <p>ベクターカラムのユースケースの1つはタグの保存です。ベクターカラムを使うとタグの値を複数保存できます。</p>
70
+ <p>スカラーカラムと同じように、ベクターカラムもインデックスを使って検索できます。各要素に重みをつけることもできます。1以上の重みがついた要素がマッチすると、重みがついていない場合よりも大きなスコアがつきます。これはベクターカラム特有の機能です。重みも保存できるベクターカラムのことは重み付きベクターカラムと呼びます。</p>
71
+ <p>各要素がテキストなら、各要素に対して全文検索することもできます。しかし、重みを使った場合は検索スコアが高くなりすぎることに注意してください。重み付きベクターカラムに対して全文検索をするときは注意してください。</p>
72
+ </div>
73
+ <div class="section" id="usage">
74
+ <h2>使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
75
+ <p>ベクターカラムには3種類あります。</p>
76
+ <blockquote>
77
+ <div><ul class="simple">
78
+ <li><p class="first">ノーマルベクターカラム</p>
79
+ </li>
80
+ <li><p class="first">参照型ベクターカラム</p>
81
+ </li>
82
+ <li><p class="first">重み付きベクターカラム</p>
83
+ </li>
84
+ </ul>
85
+ </div></blockquote>
86
+ <p>このセクションではこれらの種類の使い方について説明します。</p>
87
+ <div class="section" id="normal-vector-column">
88
+ <span id="id1"></span><h3>ノーマルベクターカラム<a class="headerlink" href="#normal-vector-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
89
+ <p>ノーマルベクターカラムは0個以上のスカラーデータを保存します。スカラーデータとは、例えば、数値や文字列です。</p>
90
+ <p>ノーマルベクターカラムは同じ型の要素だけを保存できます。型を混ぜることはできません。例えば、同じノーマルベクターカラムに数値と文字列を保存できません。</p>
91
+ <p>ノーマルベクターカラムは、1つのレコードが、1つのキーに対して複数の値を持っているときに便利です。タグは一番よくあるユースケースです。</p>
92
+ <div class="section" id="how-to-create">
93
+ <h4>作り方<a class="headerlink" href="#how-to-create" title="このヘッドラインへのパーマリンク">¶</a></h4>
94
+ <p>ノーマルベクターカラムを作るためには <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> コマンドを使います。ポイントは <tt class="docutils literal"><span class="pre">COLUMN_VECTOR</span></tt> フラグです。</p>
95
+ <p>実行例:</p>
96
+ <div class="highlight-none"><div class="highlight"><pre>table_create Bookmarks TABLE_HASH_KEY ShortText
97
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
98
+ column_create Bookmarks tags COLUMN_VECTOR ShortText
99
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
100
+ </pre></div>
101
+ </div>
102
+ <p>1つのブックマークに0個以上のタグを設定できます。</p>
103
+ </div>
104
+ <div class="section" id="how-to-load">
105
+ <h4>ロード方法<a class="headerlink" href="#how-to-load" title="このヘッドラインへのパーマリンク">¶</a></h4>
106
+ <p>JSONの配列構文で指定してベクターデータをロードします:</p>
107
+ <div class="highlight-none"><div class="highlight"><pre>[ELEMENT1, ELEMENT2, ELEMENT3, ...]
108
+ </pre></div>
109
+ </div>
110
+ <p>以下のデータをロードしましょう。</p>
111
+ <table border="1" class="docutils">
112
+ <colgroup>
113
+ <col width="50%" />
114
+ <col width="50%" />
115
+ </colgroup>
116
+ <thead valign="bottom">
117
+ <tr class="row-odd"><th class="head"><tt class="docutils literal"><span class="pre">_key</span></tt></th>
118
+ <th class="head"><tt class="docutils literal"><span class="pre">tags</span></tt></th>
119
+ </tr>
120
+ </thead>
121
+ <tbody valign="top">
122
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://groonga.org/</span></tt></td>
123
+ <td><tt class="docutils literal"><span class="pre">[&quot;groonga&quot;]</span></tt></td>
124
+ </tr>
125
+ <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">http://mroonga.org/</span></tt></td>
126
+ <td><tt class="docutils literal"><span class="pre">[&quot;mroonga&quot;,</span> <span class="pre">&quot;mysql&quot;,</span> <span class="pre">&quot;groonga&quot;]</span></tt></td>
127
+ </tr>
128
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://ranguba.org/</span></tt></td>
129
+ <td><tt class="docutils literal"><span class="pre">[&quot;ruby&quot;,</span> <span class="pre">&quot;groonga&quot;]</span></tt></td>
130
+ </tr>
131
+ </tbody>
132
+ </table>
133
+ <p>以下がデータをロードするコマンドです。</p>
134
+ <p>実行例:</p>
135
+ <div class="highlight-none"><div class="highlight"><pre>load --table Bookmarks
136
+ [
137
+ {&quot;_key&quot;: &quot;http://groonga.org/&quot;, &quot;tags&quot;: [&quot;groonga&quot;]},
138
+ {&quot;_key&quot;: &quot;http://mroonga.org/&quot;, &quot;tags&quot;: [&quot;mroonga&quot;, &quot;mysql&quot;, &quot;groonga&quot;]},
139
+ {&quot;_key&quot;: &quot;http://ranguba.org/&quot;, &quot;tags&quot;: [&quot;ruby&quot;, &quot;groonga&quot;]}
140
+ ]
141
+ # [[0, 1337566253.89858, 0.000355720520019531], 3]
142
+ </pre></div>
143
+ </div>
144
+ <p>ロードしたデータはJSONの配列構文で出力されます。</p>
145
+ <p>実行例:</p>
146
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks
147
+ # [
148
+ # [
149
+ # 0,
150
+ # 1337566253.89858,
151
+ # 0.000355720520019531
152
+ # ],
153
+ # [
154
+ # [
155
+ # [
156
+ # 3
157
+ # ],
158
+ # [
159
+ # [
160
+ # &quot;_id&quot;,
161
+ # &quot;UInt32&quot;
162
+ # ],
163
+ # [
164
+ # &quot;_key&quot;,
165
+ # &quot;ShortText&quot;
166
+ # ],
167
+ # [
168
+ # &quot;tags&quot;,
169
+ # &quot;ShortText&quot;
170
+ # ]
171
+ # ],
172
+ # [
173
+ # 1,
174
+ # &quot;http://groonga.org/&quot;,
175
+ # [
176
+ # &quot;groonga&quot;
177
+ # ]
178
+ # ],
179
+ # [
180
+ # 2,
181
+ # &quot;http://mroonga.org/&quot;,
182
+ # [
183
+ # &quot;mroonga&quot;,
184
+ # &quot;mysql&quot;,
185
+ # &quot;groonga&quot;
186
+ # ]
187
+ # ],
188
+ # [
189
+ # 3,
190
+ # &quot;http://ranguba.org/&quot;,
191
+ # [
192
+ # &quot;ruby&quot;,
193
+ # &quot;groonga&quot;
194
+ # ]
195
+ # ]
196
+ # ]
197
+ # ]
198
+ # ]
199
+ </pre></div>
200
+ </div>
201
+ </div>
202
+ <div class="section" id="how-to-search">
203
+ <h4>検索方法<a class="headerlink" href="#how-to-search" title="このヘッドラインへのパーマリンク">¶</a></h4>
204
+ <p>ノーマルベクターカラムを検索するにはインデックスを作る必要があります。</p>
205
+ <p>実行例:</p>
206
+ <div class="highlight-none"><div class="highlight"><pre>table_create Tags TABLE_PAT_KEY ShortText
207
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
208
+ column_create Tags bookmark_index COLUMN_INDEX Bookmarks tags
209
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
210
+ </pre></div>
211
+ </div>
212
+ <p>ベクターカラム固有の方法はありません。スカラーカラムにインデックスを作る方法と同じです。</p>
213
+ <p>全文検索と同じ構文で <tt class="docutils literal"><span class="pre">tags</span></tt> 内の要素を検索できます。</p>
214
+ <p><a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> と <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a> を使った場合:</p>
215
+ <p>実行例:</p>
216
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns tags --query mysql --output_columns _key,tags,_score
217
+ # [
218
+ # [
219
+ # 0,
220
+ # 1337566253.89858,
221
+ # 0.000355720520019531
222
+ # ],
223
+ # [
224
+ # [
225
+ # [
226
+ # 1
227
+ # ],
228
+ # [
229
+ # [
230
+ # &quot;_key&quot;,
231
+ # &quot;ShortText&quot;
232
+ # ],
233
+ # [
234
+ # &quot;tags&quot;,
235
+ # &quot;ShortText&quot;
236
+ # ],
237
+ # [
238
+ # &quot;_score&quot;,
239
+ # &quot;Int32&quot;
240
+ # ]
241
+ # ],
242
+ # [
243
+ # &quot;http://mroonga.org/&quot;,
244
+ # [
245
+ # &quot;mroonga&quot;,
246
+ # &quot;mysql&quot;,
247
+ # &quot;groonga&quot;
248
+ # ],
249
+ # 1
250
+ # ]
251
+ # ]
252
+ # ]
253
+ # ]
254
+ </pre></div>
255
+ </div>
256
+ <p><a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> の中で重みを使うこともできます。</p>
257
+ <p>実行例:</p>
258
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns &#39;tags * 3&#39; --query mysql --output_columns _key,tags,_score
259
+ # [
260
+ # [
261
+ # 0,
262
+ # 1337566253.89858,
263
+ # 0.000355720520019531
264
+ # ],
265
+ # [
266
+ # [
267
+ # [
268
+ # 1
269
+ # ],
270
+ # [
271
+ # [
272
+ # &quot;_key&quot;,
273
+ # &quot;ShortText&quot;
274
+ # ],
275
+ # [
276
+ # &quot;tags&quot;,
277
+ # &quot;ShortText&quot;
278
+ # ],
279
+ # [
280
+ # &quot;_score&quot;,
281
+ # &quot;Int32&quot;
282
+ # ]
283
+ # ],
284
+ # [
285
+ # &quot;http://mroonga.org/&quot;,
286
+ # [
287
+ # &quot;mroonga&quot;,
288
+ # &quot;mysql&quot;,
289
+ # &quot;groonga&quot;
290
+ # ],
291
+ # 3
292
+ # ]
293
+ # ]
294
+ # ]
295
+ # ]
296
+ </pre></div>
297
+ </div>
298
+ <p><a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> を使った場合:</p>
299
+ <p>実行例:</p>
300
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --filter &#39;tags @ &quot;msyql&quot;&#39; --output_columns _key,tags,_score
301
+ # [
302
+ # [
303
+ # 0,
304
+ # 1337566253.89858,
305
+ # 0.000355720520019531
306
+ # ],
307
+ # [
308
+ # [
309
+ # [
310
+ # 0
311
+ # ],
312
+ # [
313
+ # [
314
+ # &quot;_key&quot;,
315
+ # &quot;ShortText&quot;
316
+ # ],
317
+ # [
318
+ # &quot;tags&quot;,
319
+ # &quot;ShortText&quot;
320
+ # ],
321
+ # [
322
+ # &quot;_score&quot;,
323
+ # &quot;Int32&quot;
324
+ # ]
325
+ # ]
326
+ # ]
327
+ # ]
328
+ # ]
329
+ </pre></div>
330
+ </div>
331
+ </div>
332
+ </div>
333
+ <div class="section" id="reference-vector-column">
334
+ <span id="id2"></span><h3>参照型ベクターカラム<a class="headerlink" href="#reference-vector-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
335
+ <p>TODO</p>
336
+ <p>Reference vector column is space-efficient if there are many same
337
+ value elements. Reference vector column keeps reference record IDs not
338
+ value itself. Record ID is smaller than value itself.</p>
339
+ <div class="section" id="id3">
340
+ <h4>作り方<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h4>
341
+ <p>TODO</p>
342
+ </div>
343
+ <div class="section" id="id4">
344
+ <h4>ロード方法<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h4>
345
+ <p>TODO</p>
346
+ </div>
347
+ <div class="section" id="id5">
348
+ <h4>検索方法<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h4>
349
+ <p>TODO</p>
350
+ </div>
351
+ </div>
352
+ <div class="section" id="weight-vector-column">
353
+ <span id="id6"></span><h3>重み付きベクターカラム<a class="headerlink" href="#weight-vector-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
354
+ <p>重み付きベクターカラムはノーマルベクターカラムに似ています。複数の要素を保存できます。さらに、要素の重みも保存できます。重みとはその要素の重要度です。</p>
355
+ <p>重みは正の整数です。デフォルトの重みは <tt class="docutils literal"><span class="pre">0</span></tt> です。これは重みがないという意味になります。</p>
356
+ <p>重みが1以上なら、検索スコアーに重みが加算されます。重みが <tt class="docutils literal"><span class="pre">0</span></tt> なら検索スコアーは <tt class="docutils literal"><span class="pre">1</span></tt> です。重みが <tt class="docutils literal"><span class="pre">10</span></tt> なら検索スコアーは <tt class="docutils literal"><span class="pre">11</span></tt> ( <tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">10</span></tt> )です。</p>
357
+ <p>重み付きベクターカラムは検索スコアーのチューニングに便利です。 <a class="reference internal" href="../commands/select.html#select-adjuster"><em>adjuster</em></a> も参照してください。特定のレコードの検索スコアーを増やすことができます。</p>
358
+ <div class="section" id="limitations">
359
+ <h4>制限<a class="headerlink" href="#limitations" title="このヘッドラインへのパーマリンク">¶</a></h4>
360
+ <p>今のところいくつか制限があります。将来的には解消される予定です。</p>
361
+ <p>以下が制限です。</p>
362
+ <blockquote>
363
+ <div><ul class="simple">
364
+ <li><p class="first">ロード時に要素の値を文字列での表現で指定しなければいけません。例えば、数値の29を指定するために、 <tt class="docutils literal"><span class="pre">29</span></tt> を使うことはできません。 <tt class="docutils literal"><span class="pre">&quot;29&quot;</span></tt> と文字列で表記する必要があります。</p>
365
+ </li>
366
+ <li><p class="first">参照型を使うことができません。</p>
367
+ </li>
368
+ </ul>
369
+ </div></blockquote>
370
+ </div>
371
+ <div class="section" id="id7">
372
+ <h4>作り方<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h4>
373
+ <p>重み付きベクターカラムを作るには <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> を使います。ポイントは <tt class="docutils literal"><span class="pre">COLUMN_VECTOR|WITH_WEIGHT</span></tt> フラグです。</p>
374
+ <p>実行例:</p>
375
+ <div class="highlight-none"><div class="highlight"><pre>table_create Bookmarks TABLE_HASH_KEY ShortText
376
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
377
+ column_create Bookmarks tags COLUMN_VECTOR|WITH_WEIGHT ShortText
378
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
379
+ </pre></div>
380
+ </div>
381
+ <p><tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt> フラグを指定しないと、ただのノーマルベクターカラムになります。</p>
382
+ <p>1つのブックマークに重み付きで0個以上のタグを設定できます。</p>
383
+ </div>
384
+ <div class="section" id="id8">
385
+ <h4>ロード方法<a class="headerlink" href="#id8" title="このヘッドラインへのパーマリンク">¶</a></h4>
386
+ <p>JSONのオブジェクト構文でベクターデータをロードします:</p>
387
+ <div class="highlight-none"><div class="highlight"><pre>{&quot;ELEMENT1&quot;: WEIGHT1, &quot;ELEMENT2&quot;: WEIGHT2, &quot;ELEMENT3&quot;: WEIGHT3, ...}
388
+ </pre></div>
389
+ </div>
390
+ <p>以下のデータをロードしましょう。</p>
391
+ <table border="1" class="docutils">
392
+ <colgroup>
393
+ <col width="50%" />
394
+ <col width="50%" />
395
+ </colgroup>
396
+ <thead valign="bottom">
397
+ <tr class="row-odd"><th class="head"><tt class="docutils literal"><span class="pre">_key</span></tt></th>
398
+ <th class="head"><tt class="docutils literal"><span class="pre">tags</span></tt></th>
399
+ </tr>
400
+ </thead>
401
+ <tbody valign="top">
402
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://groonga.org/</span></tt></td>
403
+ <td><tt class="docutils literal"><span class="pre">{&quot;groonga&quot;:</span> <span class="pre">100}</span></tt></td>
404
+ </tr>
405
+ <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">http://mroonga.org/</span></tt></td>
406
+ <td><tt class="docutils literal"><span class="pre">{&quot;mroonga&quot;:</span> <span class="pre">100,</span> <span class="pre">&quot;mysql&quot;:</span> <span class="pre">50,</span> <span class="pre">&quot;groonga&quot;:</span> <span class="pre">10}</span></tt></td>
407
+ </tr>
408
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://ranguba.org/</span></tt></td>
409
+ <td><tt class="docutils literal"><span class="pre">{&quot;ruby&quot;:</span> <span class="pre">100,</span> <span class="pre">&quot;groonga&quot;:</span> <span class="pre">50}</span></tt></td>
410
+ </tr>
411
+ </tbody>
412
+ </table>
413
+ <p>以下がデータをロードするコマンドです。</p>
414
+ <p>実行例:</p>
415
+ <div class="highlight-none"><div class="highlight"><pre>load --table Bookmarks
416
+ [
417
+ {&quot;_key&quot;: &quot;http://groonga.org/&quot;,
418
+ &quot;tags&quot;: {&quot;groonga&quot;: 100}},
419
+ {&quot;_key&quot;: &quot;http://mroonga.org/&quot;,
420
+ &quot;tags&quot;: {&quot;mroonga&quot;: 100,
421
+ &quot;mysql&quot;: 50,
422
+ &quot;groonga&quot;: 10}},
423
+ {&quot;_key&quot;: &quot;http://ranguba.org/&quot;,
424
+ &quot;tags&quot;: {&quot;ruby&quot;: 100,
425
+ &quot;groonga&quot;: 50}}
426
+ ]
427
+ # [[0, 1337566253.89858, 0.000355720520019531], 3]
428
+ </pre></div>
429
+ </div>
430
+ <p>ロードしたデータはJSONのオブジェクト構文で出力されます。</p>
431
+ <p>実行例:</p>
432
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks
433
+ # [
434
+ # [
435
+ # 0,
436
+ # 1337566253.89858,
437
+ # 0.000355720520019531
438
+ # ],
439
+ # [
440
+ # [
441
+ # [
442
+ # 3
443
+ # ],
444
+ # [
445
+ # [
446
+ # &quot;_id&quot;,
447
+ # &quot;UInt32&quot;
448
+ # ],
449
+ # [
450
+ # &quot;_key&quot;,
451
+ # &quot;ShortText&quot;
452
+ # ],
453
+ # [
454
+ # &quot;tags&quot;,
455
+ # &quot;ShortText&quot;
456
+ # ]
457
+ # ],
458
+ # [
459
+ # 1,
460
+ # &quot;http://groonga.org/&quot;,
461
+ # {
462
+ # &quot;groonga&quot;: 100
463
+ # }
464
+ # ],
465
+ # [
466
+ # 2,
467
+ # &quot;http://mroonga.org/&quot;,
468
+ # {
469
+ # &quot;mroonga&quot;: 100,
470
+ # &quot;groonga&quot;: 10,
471
+ # &quot;mysql&quot;: 50
472
+ # }
473
+ # ],
474
+ # [
475
+ # 3,
476
+ # &quot;http://ranguba.org/&quot;,
477
+ # {
478
+ # &quot;ruby&quot;: 100,
479
+ # &quot;groonga&quot;: 50
480
+ # }
481
+ # ]
482
+ # ]
483
+ # ]
484
+ # ]
485
+ </pre></div>
486
+ </div>
487
+ </div>
488
+ <div class="section" id="id9">
489
+ <h4>検索方法<a class="headerlink" href="#id9" title="このヘッドラインへのパーマリンク">¶</a></h4>
490
+ <p>重み付きベクターを検索するためにはインデックスを作る必要があります。 <tt class="docutils literal"><span class="pre">column_create</span></tt> に <tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt> フラグを指定することを忘れないでください。</p>
491
+ <p>実行例:</p>
492
+ <div class="highlight-none"><div class="highlight"><pre>table_create Tags TABLE_PAT_KEY ShortText
493
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
494
+ column_create Tags bookmark_index COLUMN_INDEX|WITH_WEIGHT Bookmarks tags
495
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
496
+ </pre></div>
497
+ </div>
498
+ <p><tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt> 以外は重み付きベクターカラムに特有の方法はありません。スカラーカラムにインデックスを作る方法と同じです。</p>
499
+ <p>全文検索と同じ構文で <tt class="docutils literal"><span class="pre">tags</span></tt> 内の要素を検索できます。</p>
500
+ <p><a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> と <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a> を使った場合:</p>
501
+ <p>実行例:</p>
502
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns tags --query groonga --output_columns _key,tags,_score
503
+ # [
504
+ # [
505
+ # 0,
506
+ # 1337566253.89858,
507
+ # 0.000355720520019531
508
+ # ],
509
+ # [
510
+ # [
511
+ # [
512
+ # 3
513
+ # ],
514
+ # [
515
+ # [
516
+ # &quot;_key&quot;,
517
+ # &quot;ShortText&quot;
518
+ # ],
519
+ # [
520
+ # &quot;tags&quot;,
521
+ # &quot;ShortText&quot;
522
+ # ],
523
+ # [
524
+ # &quot;_score&quot;,
525
+ # &quot;Int32&quot;
526
+ # ]
527
+ # ],
528
+ # [
529
+ # &quot;http://groonga.org/&quot;,
530
+ # {
531
+ # &quot;groonga&quot;: 100
532
+ # },
533
+ # 101
534
+ # ],
535
+ # [
536
+ # &quot;http://mroonga.org/&quot;,
537
+ # {
538
+ # &quot;mroonga&quot;: 100,
539
+ # &quot;groonga&quot;: 10,
540
+ # &quot;mysql&quot;: 50
541
+ # },
542
+ # 11
543
+ # ],
544
+ # [
545
+ # &quot;http://ranguba.org/&quot;,
546
+ # {
547
+ # &quot;ruby&quot;: 100,
548
+ # &quot;groonga&quot;: 50
549
+ # },
550
+ # 51
551
+ # ]
552
+ # ]
553
+ # ]
554
+ # ]
555
+ </pre></div>
556
+ </div>
557
+ <p><a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> の重みと一緒に使うこともできます。スコアーは <tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">重み付きベクターの重み)</span> <span class="pre">*</span> <span class="pre">match_columnsの重み</span></tt> 。</p>
558
+ <p>実行例:</p>
559
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns &#39;tags * 3&#39; --query groonga --output_columns _key,tags,_score
560
+ # [
561
+ # [
562
+ # 0,
563
+ # 1337566253.89858,
564
+ # 0.000355720520019531
565
+ # ],
566
+ # [
567
+ # [
568
+ # [
569
+ # 3
570
+ # ],
571
+ # [
572
+ # [
573
+ # &quot;_key&quot;,
574
+ # &quot;ShortText&quot;
575
+ # ],
576
+ # [
577
+ # &quot;tags&quot;,
578
+ # &quot;ShortText&quot;
579
+ # ],
580
+ # [
581
+ # &quot;_score&quot;,
582
+ # &quot;Int32&quot;
583
+ # ]
584
+ # ],
585
+ # [
586
+ # &quot;http://groonga.org/&quot;,
587
+ # {
588
+ # &quot;groonga&quot;: 100
589
+ # },
590
+ # 303
591
+ # ],
592
+ # [
593
+ # &quot;http://mroonga.org/&quot;,
594
+ # {
595
+ # &quot;mroonga&quot;: 100,
596
+ # &quot;groonga&quot;: 10,
597
+ # &quot;mysql&quot;: 50
598
+ # },
599
+ # 33
600
+ # ],
601
+ # [
602
+ # &quot;http://ranguba.org/&quot;,
603
+ # {
604
+ # &quot;ruby&quot;: 100,
605
+ # &quot;groonga&quot;: 50
606
+ # },
607
+ # 153
608
+ # ]
609
+ # ]
610
+ # ]
611
+ # ]
612
+ </pre></div>
613
+ </div>
614
+ <p><a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> を使った場合:</p>
615
+ <p>実行例:</p>
616
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks --filter &#39;tags @ &quot;groonga&quot;&#39; --output_columns _key,tags,_score
617
+ # [
618
+ # [
619
+ # 0,
620
+ # 1337566253.89858,
621
+ # 0.000355720520019531
622
+ # ],
623
+ # [
624
+ # [
625
+ # [
626
+ # 3
627
+ # ],
628
+ # [
629
+ # [
630
+ # &quot;_key&quot;,
631
+ # &quot;ShortText&quot;
632
+ # ],
633
+ # [
634
+ # &quot;tags&quot;,
635
+ # &quot;ShortText&quot;
636
+ # ],
637
+ # [
638
+ # &quot;_score&quot;,
639
+ # &quot;Int32&quot;
640
+ # ]
641
+ # ],
642
+ # [
643
+ # &quot;http://groonga.org/&quot;,
644
+ # {
645
+ # &quot;groonga&quot;: 100
646
+ # },
647
+ # 101
648
+ # ],
649
+ # [
650
+ # &quot;http://mroonga.org/&quot;,
651
+ # {
652
+ # &quot;mroonga&quot;: 100,
653
+ # &quot;groonga&quot;: 10,
654
+ # &quot;mysql&quot;: 50
655
+ # },
656
+ # 11
657
+ # ],
658
+ # [
659
+ # &quot;http://ranguba.org/&quot;,
660
+ # {
661
+ # &quot;ruby&quot;: 100,
662
+ # &quot;groonga&quot;: 50
663
+ # },
664
+ # 51
665
+ # ]
666
+ # ]
667
+ # ]
668
+ # ]
669
+ </pre></div>
670
+ </div>
671
+ </div>
672
+ <div class="section" id="how-to-apply-just-weight">
673
+ <h4>重みだけを適用する方法<a class="headerlink" href="#how-to-apply-just-weight" title="このヘッドラインへのパーマリンク">¶</a></h4>
674
+ <p>マッチしたレコード集合を変更せずに、重み付きベクターカラムの重みの分だけ検索スコアーを増やすことができます。</p>
675
+ <p>この用途には <a class="reference internal" href="../commands/select.html#select-adjuster"><em>adjuster</em></a> を使います。</p>
676
+ <p>実行例:</p>
677
+ <div class="highlight-none"><div class="highlight"><pre>select Bookmarks \
678
+ --filter true \
679
+ --adjuster &#39;tags @ &quot;mysql&quot; * 10 + tags @ &quot;groonga&quot; * 5&#39; \
680
+ --output_columns _key,tags,_score
681
+ # [
682
+ # [
683
+ # 0,
684
+ # 1337566253.89858,
685
+ # 0.000355720520019531
686
+ # ],
687
+ # [
688
+ # [
689
+ # [
690
+ # 3
691
+ # ],
692
+ # [
693
+ # [
694
+ # &quot;_key&quot;,
695
+ # &quot;ShortText&quot;
696
+ # ],
697
+ # [
698
+ # &quot;tags&quot;,
699
+ # &quot;ShortText&quot;
700
+ # ],
701
+ # [
702
+ # &quot;_score&quot;,
703
+ # &quot;Int32&quot;
704
+ # ]
705
+ # ],
706
+ # [
707
+ # &quot;http://groonga.org/&quot;,
708
+ # {
709
+ # &quot;groonga&quot;: 100
710
+ # },
711
+ # 506
712
+ # ],
713
+ # [
714
+ # &quot;http://mroonga.org/&quot;,
715
+ # {
716
+ # &quot;mroonga&quot;: 100,
717
+ # &quot;groonga&quot;: 10,
718
+ # &quot;mysql&quot;: 50
719
+ # },
720
+ # 566
721
+ # ],
722
+ # [
723
+ # &quot;http://ranguba.org/&quot;,
724
+ # {
725
+ # &quot;ruby&quot;: 100,
726
+ # &quot;groonga&quot;: 50
727
+ # },
728
+ # 256
729
+ # ]
730
+ # ]
731
+ # ]
732
+ # ]
733
+ </pre></div>
734
+ </div>
735
+ <p>この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドは <tt class="docutils literal"><span class="pre">--filter</span> <span class="pre">true</span></tt> を使っています。そのため、すべてのレコードがマッチし、スコアーは1になります。それから、 <tt class="docutils literal"><span class="pre">--adjuster</span></tt> を適用します。アジャスターは以下のことをします。</p>
736
+ <blockquote>
737
+ <div><ul class="simple">
738
+ <li><p class="first"><tt class="docutils literal"><span class="pre">tags</span> <span class="pre">&#64;</span> <span class="pre">&quot;mysql&quot;</span> <span class="pre">*</span> <span class="pre">10</span></tt> は <tt class="docutils literal"><span class="pre">&quot;mysql&quot;</span></tt> タグを含むレコードのスコアーを <tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">重み)</span> <span class="pre">*</span> <span class="pre">10</span></tt> 増やします。</p>
739
+ </li>
740
+ <li><p class="first"><tt class="docutils literal"><span class="pre">tags</span> <span class="pre">&#64;</span> <span class="pre">&quot;groonga&quot;</span> <span class="pre">*</span> <span class="pre">5</span></tt> は <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt> タグを含むレコードのスコアーを <tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">重み)</span> <span class="pre">*</span> <span class="pre">5</span></tt> 増やします。</p>
741
+ </li>
742
+ </ul>
743
+ </div></blockquote>
744
+ <p>例えば、 <tt class="docutils literal"><span class="pre">&quot;http://mroonga.org/&quot;</span></tt> レコードは <tt class="docutils literal"><span class="pre">&quot;mysql&quot;</span></tt> タグと <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt> タグを両方持っています。そのため、スコアーは <tt class="docutils literal"><span class="pre">565</span></tt> ( <tt class="docutils literal"><span class="pre">=</span> <span class="pre">((1</span> <span class="pre">+</span> <span class="pre">50)</span> <span class="pre">*</span> <span class="pre">10)</span> <span class="pre">+</span> <span class="pre">((1</span> <span class="pre">+</span> <span class="pre">10)</span> <span class="pre">*</span> <span class="pre">5)</span> <span class="pre">=</span> <span class="pre">(51</span> <span class="pre">*</span> <span class="pre">10)</span> <span class="pre">+</span> <span class="pre">(11</span> <span class="pre">*</span> <span class="pre">5)</span> <span class="pre">=</span> <span class="pre">510</span> <span class="pre">+</span> <span class="pre">55</span></tt> )増えます。 <tt class="docutils literal"><span class="pre">--adjuster</span></tt> を適用する前は、<tt class="docutils literal"><span class="pre">--filter</span> <span class="pre">true</span></tt> によって検索スコアーは1になっています。そのため、 <tt class="docutils literal"><span class="pre">&quot;http://mroonga.org/&quot;</span></tt> レコードの最終的な検索スコアーは <tt class="docutils literal"><span class="pre">566</span></tt> ( <tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">565</span></tt> )になります。</p>
745
+ </div>
746
+ </div>
747
+ </div>
748
+ </div>
749
+
750
+
751
+ </div>
752
+ </div>
753
+ </div>
754
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
755
+ <div class="sphinxsidebarwrapper">
756
+ <h3><a href="../../index.html">目次</a></h3>
757
+ <ul>
758
+ <li><a class="reference internal" href="#">ベクターカラム</a><ul>
759
+ <li><a class="reference internal" href="#summary">概要</a></li>
760
+ <li><a class="reference internal" href="#usage">使い方</a><ul>
761
+ <li><a class="reference internal" href="#normal-vector-column">ノーマルベクターカラム</a><ul>
762
+ <li><a class="reference internal" href="#how-to-create">作り方</a></li>
763
+ <li><a class="reference internal" href="#how-to-load">ロード方法</a></li>
764
+ <li><a class="reference internal" href="#how-to-search">検索方法</a></li>
765
+ </ul>
766
+ </li>
767
+ <li><a class="reference internal" href="#reference-vector-column">参照型ベクターカラム</a><ul>
768
+ <li><a class="reference internal" href="#id3">作り方</a></li>
769
+ <li><a class="reference internal" href="#id4">ロード方法</a></li>
770
+ <li><a class="reference internal" href="#id5">検索方法</a></li>
771
+ </ul>
772
+ </li>
773
+ <li><a class="reference internal" href="#weight-vector-column">重み付きベクターカラム</a><ul>
774
+ <li><a class="reference internal" href="#limitations">制限</a></li>
775
+ <li><a class="reference internal" href="#id7">作り方</a></li>
776
+ <li><a class="reference internal" href="#id8">ロード方法</a></li>
777
+ <li><a class="reference internal" href="#id9">検索方法</a></li>
778
+ <li><a class="reference internal" href="#how-to-apply-just-weight">重みだけを適用する方法</a></li>
779
+ </ul>
780
+ </li>
781
+ </ul>
782
+ </li>
783
+ </ul>
784
+ </li>
785
+ </ul>
786
+
787
+ <div role="note" aria-label="source link">
788
+ <h3>このページ</h3>
789
+ <ul class="this-page-menu">
790
+ <li><a href="../../_sources/reference/columns/vector.txt"
791
+ rel="nofollow">ソースコードを表示</a></li>
792
+ </ul>
793
+ </div>
794
+ <div id="searchbox" style="display: none" role="search">
795
+ <h3>クイック検索</h3>
796
+ <form class="search" action="../../search.html" method="get">
797
+ <input type="text" name="q" />
798
+ <input type="submit" value="検索" />
799
+ <input type="hidden" name="check_keywords" value="yes" />
800
+ <input type="hidden" name="area" value="default" />
801
+ </form>
802
+ <p class="searchtip" style="font-size: 90%">
803
+ モジュール、クラス、または関数名を入力してください
804
+ </p>
805
+ </div>
806
+ <script type="text/javascript">$('#searchbox').show(0);</script>
807
+ </div>
808
+ </div>
809
+ <div class="clearer"></div>
810
+ </div>
811
+ <div class="related" role="navigation" aria-label="related navigation">
812
+ <h3>ナビゲーション</h3>
813
+ <ul>
814
+ <li class="right" style="margin-right: 10px">
815
+ <a href="../../genindex.html" title="総合索引"
816
+ >索引</a></li>
817
+ <li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> &raquo;</li>
818
+ </ul>
819
+ </div>
820
+ <div class="footer" role="contentinfo">
821
+ &copy; Copyright 2009-2014, Brazil, Inc.
822
+ </div>
823
+ </body>
824
+ </html>