rroonga 6.1.3-x86-mingw32 → 7.0.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -0
  3. data/doc/text/news.md +28 -0
  4. data/ext/groonga/rb-grn-column.c +53 -32
  5. data/ext/groonga/rb-grn-context.c +1 -1
  6. data/ext/groonga/rb-grn-data-column.c +103 -0
  7. data/ext/groonga/rb-grn-default-cache.c +104 -0
  8. data/ext/groonga/rb-grn-index-column.c +93 -15
  9. data/ext/groonga/rb-grn-inverted-index-cursor.c +269 -0
  10. data/ext/groonga/rb-grn-object.c +1 -1
  11. data/ext/groonga/rb-grn-plugin.c +1 -1
  12. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  13. data/ext/groonga/rb-grn-table-key-support.c +6 -0
  14. data/ext/groonga/rb-grn-table.c +0 -3
  15. data/ext/groonga/rb-grn-utils.c +35 -7
  16. data/ext/groonga/rb-grn.h +13 -4
  17. data/ext/groonga/rb-groonga.c +2 -0
  18. data/lib/2.1/groonga.so +0 -0
  19. data/lib/2.2/groonga.so +0 -0
  20. data/lib/2.3/groonga.so +0 -0
  21. data/rroonga-build.rb +7 -7
  22. data/rroonga.gemspec +2 -1
  23. data/test/test-data-column.rb +71 -2
  24. data/test/test-default-cache.rb +43 -0
  25. data/test/test-double-array-trie.rb +7 -0
  26. data/test/test-fix-size-column.rb +12 -0
  27. data/test/test-hash.rb +7 -0
  28. data/test/test-index-column.rb +12 -0
  29. data/test/test-index-cursor.rb +93 -28
  30. data/test/test-patricia-trie.rb +7 -0
  31. data/test/test-variable-size-column.rb +19 -0
  32. data/vendor/local/bin/grndb.exe +0 -0
  33. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  34. data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
  35. data/vendor/local/bin/groonga.exe +0 -0
  36. data/vendor/local/bin/libgroonga-0.dll +0 -0
  37. data/vendor/local/bin/libmecab-2.dll +0 -0
  38. data/vendor/local/bin/libmsgpackc.dll +0 -0
  39. data/vendor/local/bin/libonigmo-6.dll +0 -0
  40. data/vendor/local/bin/libpcre-1.dll +0 -0
  41. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  42. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  43. data/vendor/local/bin/lz4.exe +0 -0
  44. data/vendor/local/bin/lz4c.exe +0 -0
  45. data/vendor/local/bin/lz4cat +0 -0
  46. data/vendor/local/bin/mecab-config +2 -2
  47. data/vendor/local/bin/mecab.exe +0 -0
  48. data/vendor/local/bin/onigmo-config +2 -2
  49. data/vendor/local/bin/pcre-config +1 -1
  50. data/vendor/local/bin/pcregrep.exe +0 -0
  51. data/vendor/local/bin/pcretest.exe +0 -0
  52. data/vendor/local/bin/zlib1.dll +0 -0
  53. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +16 -3
  54. data/vendor/local/include/groonga/groonga.h +2 -1
  55. data/vendor/local/include/groonga/groonga/cache.h +49 -0
  56. data/vendor/local/include/groonga/groonga/column.h +1 -1
  57. data/vendor/local/include/groonga/groonga/groonga.h +26 -16
  58. data/vendor/local/include/groonga/groonga/ii.h +7 -1
  59. data/vendor/local/include/groonga/groonga/obj.h +8 -1
  60. data/vendor/local/include/groonga/groonga/plugin.h +6 -1
  61. data/vendor/local/include/groonga/groonga/table.h +5 -0
  62. data/vendor/local/include/groonga/groonga/util.h +4 -1
  63. data/vendor/local/include/groonga/groonga/window_function.h +5 -1
  64. data/vendor/local/include/onigmo.h +6 -5
  65. data/vendor/local/include/zconf.h +32 -9
  66. data/vendor/local/include/zlib.h +298 -154
  67. data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
  69. data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/functions/number.la +2 -2
  71. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/functions/string.la +2 -2
  75. data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
  76. data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
  77. data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
  78. data/vendor/local/lib/groonga/plugins/functions/time.la +2 -2
  79. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  80. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  81. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  82. data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
  83. data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
  84. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
  85. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
  86. data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
  87. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  88. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  89. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  90. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  91. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +2 -2
  92. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +2 -2
  93. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +2 -2
  94. data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +392 -53
  95. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +1 -2
  96. data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +37 -14
  97. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  98. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  99. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  100. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  101. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  102. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  103. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  104. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
  105. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  106. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  107. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  108. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  109. data/vendor/local/lib/groonga/scripts/ruby/command.rb +0 -1
  110. data/vendor/local/lib/groonga/scripts/ruby/command_input.rb +15 -0
  111. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
  112. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -136
  113. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +12 -1
  114. data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -1
  115. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
  116. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +7 -8
  117. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +234 -80
  118. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +185 -0
  119. data/vendor/local/lib/groonga/scripts/ruby/table.rb +27 -2
  120. data/vendor/local/lib/libgroonga.a +0 -0
  121. data/vendor/local/lib/libgroonga.dll.a +0 -0
  122. data/vendor/local/lib/libgroonga.la +2 -2
  123. data/vendor/local/lib/liblz4.a +0 -0
  124. data/vendor/local/lib/liblz4.dll +0 -0
  125. data/vendor/local/lib/liblz4.dll.1 +0 -0
  126. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  127. data/vendor/local/lib/libmecab.a +0 -0
  128. data/vendor/local/lib/libmecab.dll.a +0 -0
  129. data/vendor/local/lib/libmecab.la +2 -2
  130. data/vendor/local/lib/libmsgpackc.a +0 -0
  131. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  132. data/vendor/local/lib/libonigmo.a +0 -0
  133. data/vendor/local/lib/libonigmo.dll.a +0 -0
  134. data/vendor/local/lib/libonigmo.la +3 -3
  135. data/vendor/local/lib/libpcre.a +0 -0
  136. data/vendor/local/lib/libpcre.dll.a +0 -0
  137. data/vendor/local/lib/libpcre.la +2 -2
  138. data/vendor/local/lib/libpcrecpp.a +0 -0
  139. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  140. data/vendor/local/lib/libpcrecpp.la +2 -2
  141. data/vendor/local/lib/libpcreposix.a +0 -0
  142. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  143. data/vendor/local/lib/libpcreposix.la +2 -2
  144. data/vendor/local/lib/libz.a +0 -0
  145. data/vendor/local/lib/libz.dll.a +0 -0
  146. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  147. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  148. data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
  149. data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
  150. data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
  151. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  152. data/vendor/local/lib/pkgconfig/onigmo.pc +7 -7
  153. data/vendor/local/lib/pkgconfig/zlib.pc +4 -4
  154. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  155. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  156. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  157. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  158. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  159. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  160. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +11 -2
  161. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +13 -47
  162. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -5
  163. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
  164. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  165. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  166. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  167. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
  168. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  169. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +181 -891
  170. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +2 -1
  171. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +11 -9
  172. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +4 -4
  173. data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +2 -2
  174. data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +1086 -0
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +1 -1
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +45 -19
  178. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +632 -91
  179. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +514 -0
  180. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +902 -55
  181. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +5 -3
  182. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
  183. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +71 -23
  184. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
  185. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
  186. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +51 -25
  187. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +195 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +100 -15
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +33 -0
  190. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +38 -0
  191. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
  192. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
  193. data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +6 -6
  194. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +22 -0
  195. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +28 -0
  196. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +25 -0
  197. data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions/record_number.txt → en/html/_sources/reference/window_functions/window_sum.txt} +5 -3
  198. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +3 -3
  199. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -93
  212. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/genindex.html +326 -251
  222. data/vendor/local/share/doc/groonga/en/html/index.html +111 -104
  223. data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
  224. data/vendor/local/share/doc/groonga/en/html/install/centos.html +24 -65
  225. data/vendor/local/share/doc/groonga/en/html/install/debian.html +12 -11
  226. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +9 -9
  227. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  228. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  229. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  230. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -9
  231. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  232. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/news.html +213 -898
  234. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -6
  238. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +16 -14
  240. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +9 -9
  241. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/news/5.x.html +7 -7
  243. data/vendor/local/share/doc/groonga/en/html/news/6.x.html +1148 -0
  244. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  246. data/vendor/local/share/doc/groonga/en/html/reference.html +90 -82
  247. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +23 -23
  248. data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -39
  249. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
  250. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  251. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
  252. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  253. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +22 -22
  254. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  255. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  256. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  257. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  258. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  259. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  260. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  261. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  262. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  263. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  264. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
  265. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  266. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  267. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  268. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  269. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +24 -24
  270. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  271. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
  272. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +24 -24
  273. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +22 -22
  274. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  281. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  282. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  283. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
  284. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
  285. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +6 -6
  286. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  287. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  288. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  289. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  290. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
  291. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  292. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  293. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  294. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  295. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +5 -5
  296. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +5 -5
  298. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  300. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  303. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
  304. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  305. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +61 -17
  309. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +1727 -408
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +526 -33
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +5 -5
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +5 -5
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +5 -5
  326. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  329. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +5 -5
  330. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  332. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  333. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1685 -492
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +5 -5
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  348. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +19 -19
  349. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  350. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  351. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +14 -14
  352. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +32 -32
  353. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -34
  354. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  355. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  356. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +24 -24
  357. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +23 -23
  358. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +107 -82
  359. data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -23
  360. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  361. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  362. data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +5 -5
  363. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  364. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  365. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  366. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  367. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
  368. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -10
  369. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +355 -0
  370. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +30 -30
  371. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
  372. data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +23 -23
  373. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +31 -31
  374. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +155 -55
  375. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
  376. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +15 -15
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/{record_number.html → string_length.html} +36 -31
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +24 -24
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +23 -23
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +23 -23
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +23 -23
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +23 -23
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +23 -23
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +23 -23
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +24 -24
  387. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +170 -0
  388. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +28 -28
  389. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +24 -24
  390. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  391. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +36 -26
  392. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +27 -15
  393. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
  394. data/vendor/local/share/doc/groonga/en/html/reference/log.html +29 -29
  395. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  396. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -17
  397. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -20
  398. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +26 -26
  399. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  400. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  401. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  402. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
  403. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
  404. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
  405. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
  406. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +23 -23
  407. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +33 -33
  408. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +32 -32
  409. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +28 -28
  410. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +26 -26
  411. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +28 -28
  412. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  413. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  414. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  415. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
  416. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  417. data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +147 -0
  418. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +164 -0
  419. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +163 -0
  420. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +163 -0
  421. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  422. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  423. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  424. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  425. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  426. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  427. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  428. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  429. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  430. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  431. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  432. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  433. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  434. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  435. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  436. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  437. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  438. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  439. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  440. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  441. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  442. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  443. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  444. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  445. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  446. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  447. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +8 -8
  448. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +11 -2
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +13 -47
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -5
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +181 -891
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +2 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +11 -9
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +4 -4
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +2 -2
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +1086 -0
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +1 -1
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +45 -19
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +632 -91
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +514 -0
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +902 -55
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +5 -3
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +71 -23
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +51 -25
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +195 -0
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +100 -15
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +33 -0
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +38 -0
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +6 -6
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +22 -0
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +28 -0
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +25 -0
  487. data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions/record_number.txt → ja/html/_sources/reference/window_functions/window_sum.txt} +5 -3
  488. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +3 -3
  489. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  490. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  491. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  492. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  493. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  494. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  495. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  496. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  497. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  498. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  500. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  501. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -93
  502. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  503. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  504. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  505. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  506. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  508. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  509. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  510. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  511. data/vendor/local/share/doc/groonga/ja/html/genindex.html +186 -118
  512. data/vendor/local/share/doc/groonga/ja/html/index.html +111 -104
  513. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
  514. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +24 -61
  515. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +12 -11
  516. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
  517. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  518. data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
  519. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  520. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -9
  521. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  522. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  523. data/vendor/local/share/doc/groonga/ja/html/news.html +132 -761
  524. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  528. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +10 -10
  530. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +9 -9
  531. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
  532. data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +6 -6
  533. data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +1064 -0
  534. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  535. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  536. data/vendor/local/share/doc/groonga/ja/html/reference.html +90 -82
  537. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +23 -23
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -39
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +22 -22
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
  546. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
  547. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
  548. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
  549. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
  550. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
  551. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
  552. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
  553. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
  554. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
  555. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
  556. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
  557. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
  558. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
  559. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +24 -24
  560. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
  561. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
  562. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +24 -24
  563. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +22 -22
  564. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  567. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  573. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
  574. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
  575. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +6 -6
  576. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +5 -5
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  590. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  591. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  592. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  593. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
  594. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  595. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +5 -5
  596. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
  597. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +5 -5
  598. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +67 -17
  599. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  600. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  601. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
  602. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
  603. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
  604. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +1629 -383
  605. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
  606. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +6 -6
  607. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  608. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  609. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
  610. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +508 -33
  611. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +5 -5
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +5 -5
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +5 -5
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  617. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
  618. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  619. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +5 -5
  620. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
  621. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  622. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  623. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
  624. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1606 -478
  625. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  626. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  627. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  628. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +5 -5
  629. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  630. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  631. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  632. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
  633. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
  634. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
  635. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  636. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  637. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  638. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +19 -19
  639. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  640. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  641. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +14 -14
  642. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +32 -32
  643. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +76 -48
  644. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  645. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  646. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +24 -24
  647. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -23
  648. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +103 -82
  649. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -23
  650. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  651. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  652. data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +5 -5
  653. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  654. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  655. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  656. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  657. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
  658. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
  659. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +370 -0
  660. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +30 -30
  661. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
  662. data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +23 -23
  663. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +31 -31
  664. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +150 -52
  665. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
  666. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +15 -15
  667. data/vendor/local/share/doc/groonga/ja/html/reference/functions/{record_number.html → string_length.html} +36 -31
  668. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +24 -24
  669. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
  670. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +23 -23
  671. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +23 -23
  672. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +23 -23
  673. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +23 -23
  674. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +23 -23
  675. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +23 -23
  676. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +24 -24
  677. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +171 -0
  678. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +28 -28
  679. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +24 -24
  680. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  681. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +36 -26
  682. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +19 -7
  683. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
  684. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +25 -25
  685. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  686. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -17
  687. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -20
  688. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +26 -26
  689. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  690. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  691. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  692. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
  693. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
  694. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
  695. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
  696. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +23 -23
  697. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +33 -33
  698. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +32 -32
  699. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +28 -28
  700. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +26 -26
  701. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +28 -28
  702. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  703. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  704. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  705. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
  706. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  707. data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +146 -0
  708. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +165 -0
  709. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +164 -0
  710. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +164 -0
  711. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  712. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  713. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  714. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  715. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  716. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  717. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  718. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  719. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  720. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  721. data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
  722. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  723. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  724. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  725. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  726. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  727. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  728. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  729. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  730. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  731. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  732. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  733. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  734. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  735. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  736. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  737. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -8
  738. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  739. data/vendor/local/share/groonga/mruby/LEGAL +4 -0
  740. data/vendor/local/share/license/mruby/AUTHORS +1 -0
  741. data/vendor/local/share/license/mruby/MITL +1 -1
  742. data/vendor/local/share/license/zlib/README +3 -3
  743. metadata +100 -67
  744. data/lib/2.4/groonga.so +0 -0
  745. data/vendor/local/sbin/groonga-httpd-restart +0 -105
@@ -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.31. logical_count &#8212; Groonga v6.1.3ドキュメント</title>
10
+ <title>7.3.31. logical_count &#8212; Groonga v7.0.1-160-gda23e59ドキュメント</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.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
29
  <link rel="index" title="索引" href="../../genindex.html" />
30
30
  <link rel="search" title="検索" href="../../search.html" />
31
- <link rel="top" title="Groonga v6.1.3ドキュメント" href="../../index.html" />
31
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
32
32
  <link rel="up" title="7.3. コマンド" href="../command.html" />
33
33
  <link rel="next" title="7.3.32. logical_parameters" href="logical_parameters.html" />
34
34
  <link rel="prev" title="7.3.30. log_reopen" href="log_reopen.html" />
@@ -63,7 +63,7 @@
63
63
  <li class="right" >
64
64
  <a href="log_reopen.html" title="7.3.30. log_reopen"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
66
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
67
67
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
68
68
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> &#187;</li>
69
69
  </ul>
@@ -300,7 +300,7 @@ load --table Logs_20150205
300
300
  <li class="right" >
301
301
  <a href="log_reopen.html" title="7.3.30. log_reopen"
302
302
  >前へ</a> |</li>
303
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
303
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
304
304
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
305
305
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> &#187;</li>
306
306
  </ul>
@@ -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.32. logical_parameters &#8212; Groonga v6.1.3ドキュメント</title>
10
+ <title>7.3.32. logical_parameters &#8212; Groonga v7.0.1-160-gda23e59ドキュメント</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.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
29
  <link rel="index" title="索引" href="../../genindex.html" />
30
30
  <link rel="search" title="検索" href="../../search.html" />
31
- <link rel="top" title="Groonga v6.1.3ドキュメント" href="../../index.html" />
31
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
32
32
  <link rel="up" title="7.3. コマンド" href="../command.html" />
33
33
  <link rel="next" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
34
34
  <link rel="prev" title="7.3.31. logical_count" href="logical_count.html" />
@@ -63,7 +63,7 @@
63
63
  <li class="right" >
64
64
  <a href="logical_count.html" title="7.3.31. logical_count"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
66
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
67
67
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
68
68
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> &#187;</li>
69
69
  </ul>
@@ -259,7 +259,7 @@
259
259
  <li class="right" >
260
260
  <a href="logical_count.html" title="7.3.31. logical_count"
261
261
  >前へ</a> |</li>
262
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
262
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
263
263
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
264
264
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> &#187;</li>
265
265
  </ul>
@@ -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.33. logical_range_filter &#8212; Groonga v6.1.3ドキュメント</title>
10
+ <title>7.3.33. logical_range_filter &#8212; Groonga v7.0.1-160-gda23e59ドキュメント</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.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
29
  <link rel="index" title="索引" href="../../genindex.html" />
30
30
  <link rel="search" title="検索" href="../../search.html" />
31
- <link rel="top" title="Groonga v6.1.3ドキュメント" href="../../index.html" />
31
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
32
32
  <link rel="up" title="7.3. コマンド" href="../command.html" />
33
33
  <link rel="next" title="7.3.34. logical_select" href="logical_select.html" />
34
34
  <link rel="prev" title="7.3.32. logical_parameters" href="logical_parameters.html" />
@@ -63,7 +63,7 @@
63
63
  <li class="right" >
64
64
  <a href="logical_parameters.html" title="7.3.32. logical_parameters"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
66
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
67
67
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
68
68
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> &#187;</li>
69
69
  </ul>
@@ -306,7 +306,7 @@
306
306
  <li class="right" >
307
307
  <a href="logical_parameters.html" title="7.3.32. logical_parameters"
308
308
  >前へ</a> |</li>
309
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
309
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
310
310
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
311
311
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> &#187;</li>
312
312
  </ul>
@@ -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.34. logical_select &#8212; Groonga v6.1.3ドキュメント</title>
10
+ <title>7.3.34. logical_select &#8212; Groonga v7.0.1-160-gda23e59ドキュメント</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.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
29
  <link rel="index" title="索引" href="../../genindex.html" />
30
30
  <link rel="search" title="検索" href="../../search.html" />
31
- <link rel="top" title="Groonga v6.1.3ドキュメント" href="../../index.html" />
31
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
32
32
  <link rel="up" title="7.3. コマンド" href="../command.html" />
33
33
  <link rel="next" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
34
34
  <link rel="prev" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
@@ -63,7 +63,7 @@
63
63
  <li class="right" >
64
64
  <a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
66
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
67
67
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
68
68
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> &#187;</li>
69
69
  </ul>
@@ -106,36 +106,86 @@
106
106
  [drilldown_limit=10]
107
107
  [drilldown_calc_types=NONE]
108
108
  [drilldown_calc_target=null]
109
+ [sort_keys=null]
110
+ [drilldown_sort_keys=null]
111
+ [match_columns=null]
112
+ [query=null]
113
+ [drilldown_filter=null]
109
114
  </pre></div>
110
115
  </div>
111
- <p><code class="docutils literal"><span class="pre">logical_select</span></code> には高度なドリルダウン機能のために以下の名前付き引数があります。</p>
116
+ <p>以下の名前付き引数で動的カラム機能を使うことができます。</p>
112
117
  <blockquote>
113
118
  <div><ul class="simple">
114
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
115
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
116
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
117
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
118
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
119
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
120
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
119
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
120
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
121
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
122
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
123
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
124
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
121
125
  </ul>
122
126
  </div></blockquote>
127
+ <p><code class="docutils literal"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">column1</span></code> は有効な <code class="docutils literal"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
128
+ <p>同じ <code class="docutils literal"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
129
+ <p>たとえば、以下の引数は1つの動的カラムを指定しています。</p>
130
+ <blockquote>
131
+ <div><ul class="simple">
132
+ <li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
133
+ <li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
134
+ <li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
135
+ </ul>
136
+ </div></blockquote>
137
+ <p>以下の引数は2つの動的カラムを指定しています。</p>
138
+ <blockquote>
139
+ <div><ul class="simple">
140
+ <li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
141
+ <li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
142
+ <li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
143
+ <li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
144
+ <li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
145
+ <li><code class="docutils literal"><span class="pre">--columns[name2].value</span> <span class="pre">'_score</span> <span class="pre">*</span> <span class="pre">0.1'</span></code></li>
146
+ </ul>
147
+ </div></blockquote>
148
+ <p>このコマンドには高度なドリルダウン機能のために以下の名前付き引数があります。</p>
149
+ <blockquote>
150
+ <div><ul class="simple">
151
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></li>
152
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></li>
153
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
154
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></li>
155
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></li>
156
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></li>
157
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></li>
158
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></li>
159
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></li>
160
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
161
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></li>
162
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></li>
163
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></li>
164
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></li>
165
+ </ul>
166
+ </div></blockquote>
167
+ <div class="deprecated">
168
+ <p><span class="versionmodified">バージョン 6.1.4 で撤廃: </span><code class="docutils literal"><span class="pre">drilldown[...]</span></code> 構文は非推奨になりました。代わりに <code class="docutils literal"><span class="pre">drilldowns[...]</span></code> を使用してください。</p>
169
+ </div>
170
+ <div class="deprecated">
171
+ <p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> は非推奨になりました。代わりに <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を使ってください。</p>
172
+ </div>
123
173
  <p><code class="docutils literal"><span class="pre">${LABEL}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> 、 <code class="docutils literal"><span class="pre">.</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">parent.sub1</span></code> は有効な <code class="docutils literal"><span class="pre">${LABEL}</span></code> です。</p>
124
174
  <p>同じ <code class="docutils literal"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
125
175
  <p>たとえば、以下の引数は1つのドリルダウンを指定しています。</p>
126
176
  <blockquote>
127
177
  <div><ul class="simple">
128
- <li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
129
- <li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
178
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></li>
179
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
130
180
  </ul>
131
181
  </div></blockquote>
132
182
  <p>以下の引数は2つのドリルダウンを指定しています。</p>
133
183
  <blockquote>
134
184
  <div><ul class="simple">
135
- <li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
136
- <li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
137
- <li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
138
- <li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
185
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></li>
186
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
187
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></li>
188
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></li>
139
189
  </ul>
140
190
  </div></blockquote>
141
191
  </div>
@@ -147,11 +197,9 @@
147
197
  <div><ul class="simple">
148
198
  <li><p class="first"><code class="docutils literal"><span class="pre">table</span></code> 引数ではなく、 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数が必須です。</p>
149
199
  </li>
150
- <li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sortby</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。)</p>
200
+ <li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sort_keys</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。)</p>
151
201
  </li>
152
- <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
153
- </li>
154
- <li><p class="first"><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。</p>
202
+ <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
155
203
  </li>
156
204
  <li><p class="first"><code class="docutils literal"><span class="pre">cache</span></code> はまだサポートしていません。</p>
157
205
  </li>
@@ -366,9 +414,9 @@ load --table Entries_20150709
366
414
  # &quot;[logical_select] no shard exists: logical_table: &lt;Nonexistent&gt;: shard_key: &lt;created_at&gt;&quot;,
367
415
  # [
368
416
  # [
369
- # &quot;Groonga::Context.set_groonga_error&quot;,
370
- # &quot;lib/mrb/scripts/context.rb&quot;,
371
- # 27
417
+ # &quot;Groonga::Sharding::LogicalSelectCommand::Executor.execute_search&quot;,
418
+ # &quot;/home/kou/work/c/groonga.clean/plugins/sharding/logical_select.rb&quot;,
419
+ # 728
372
420
  # ]
373
421
  # ]
374
422
  # ]
@@ -718,14 +766,149 @@ load --table Entries_20150709
718
766
  <div class="section" id="search-related-parameters">
719
767
  <span id="logical-select-search-related-parameters"></span><h3>7.3.34.5.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
720
768
  <p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><span class="doc">select</span></a> 互換の検索関連パラメーターをサポートしています。</p>
721
- <p><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。今のところ、 <code class="docutils literal"><span class="pre">filter</span></code> だけサポートしています。</p>
722
769
  <div class="section" id="match-columns">
723
770
  <span id="logical-select-match-columns"></span><h4>7.3.34.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
724
- <p>未実装です。</p>
771
+ <div class="versionadded">
772
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
773
+ </div>
774
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> を見てください。</p>
775
+ <p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">&quot;fast&quot;</span></code> というテキストを含むレコードを検索する例です。</p>
776
+ <p>実行例:</p>
777
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
778
+ --logical_table Entries \
779
+ --shard_key created_at \
780
+ --match_columns content \
781
+ --query &quot;fast&quot;
782
+ # [
783
+ # [
784
+ # 0,
785
+ # 1337566253.89858,
786
+ # 0.000355720520019531
787
+ # ],
788
+ # [
789
+ # [
790
+ # [
791
+ # 2
792
+ # ],
793
+ # [
794
+ # [
795
+ # &quot;_id&quot;,
796
+ # &quot;UInt32&quot;
797
+ # ],
798
+ # [
799
+ # &quot;_key&quot;,
800
+ # &quot;ShortText&quot;
801
+ # ],
802
+ # [
803
+ # &quot;content&quot;,
804
+ # &quot;Text&quot;
805
+ # ],
806
+ # [
807
+ # &quot;created_at&quot;,
808
+ # &quot;Time&quot;
809
+ # ],
810
+ # [
811
+ # &quot;n_likes&quot;,
812
+ # &quot;UInt32&quot;
813
+ # ],
814
+ # [
815
+ # &quot;tag&quot;,
816
+ # &quot;ShortText&quot;
817
+ # ]
818
+ # ],
819
+ # [
820
+ # 2,
821
+ # &quot;Groonga&quot;,
822
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
823
+ # 1436284800.0,
824
+ # 10,
825
+ # &quot;Groonga&quot;
826
+ # ],
827
+ # [
828
+ # 3,
829
+ # &quot;Mroonga&quot;,
830
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
831
+ # 1436288400.0,
832
+ # 15,
833
+ # &quot;Groonga&quot;
834
+ # ]
835
+ # ]
836
+ # ]
837
+ # ]
838
+ </pre></div>
839
+ </div>
725
840
  </div>
726
841
  <div class="section" id="query">
727
842
  <span id="logical-select-query"></span><h4>7.3.34.5.3.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
728
- <p>未実装です。</p>
843
+ <div class="versionadded">
844
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
845
+ </div>
846
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> を見てください。</p>
847
+ <p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">&quot;fast&quot;</span></code> というテキストを含むレコードを検索する例です。</p>
848
+ <p>実行例:</p>
849
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
850
+ --logical_table Entries \
851
+ --shard_key created_at \
852
+ --query &quot;content:@fast&quot;
853
+ # [
854
+ # [
855
+ # 0,
856
+ # 1337566253.89858,
857
+ # 0.000355720520019531
858
+ # ],
859
+ # [
860
+ # [
861
+ # [
862
+ # 2
863
+ # ],
864
+ # [
865
+ # [
866
+ # &quot;_id&quot;,
867
+ # &quot;UInt32&quot;
868
+ # ],
869
+ # [
870
+ # &quot;_key&quot;,
871
+ # &quot;ShortText&quot;
872
+ # ],
873
+ # [
874
+ # &quot;content&quot;,
875
+ # &quot;Text&quot;
876
+ # ],
877
+ # [
878
+ # &quot;created_at&quot;,
879
+ # &quot;Time&quot;
880
+ # ],
881
+ # [
882
+ # &quot;n_likes&quot;,
883
+ # &quot;UInt32&quot;
884
+ # ],
885
+ # [
886
+ # &quot;tag&quot;,
887
+ # &quot;ShortText&quot;
888
+ # ]
889
+ # ],
890
+ # [
891
+ # 2,
892
+ # &quot;Groonga&quot;,
893
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
894
+ # 1436284800.0,
895
+ # 10,
896
+ # &quot;Groonga&quot;
897
+ # ],
898
+ # [
899
+ # 3,
900
+ # &quot;Mroonga&quot;,
901
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
902
+ # 1436288400.0,
903
+ # 15,
904
+ # &quot;Groonga&quot;
905
+ # ]
906
+ # ]
907
+ # ]
908
+ # ]
909
+ </pre></div>
910
+ </div>
911
+ <p><a class="reference internal" href="#logical-select-match-columns"><span class="std std-ref">match_columns</span></a> も参照してください。</p>
729
912
  </div>
730
913
  <div class="section" id="filter">
731
914
  <span id="logical-select-filter"></span><h4>7.3.34.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
@@ -907,8 +1090,14 @@ load --table Entries_20150709
907
1090
  </div>
908
1091
  <div class="section" id="sortby">
909
1092
  <span id="logical-select-sortby"></span><h4>7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
910
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-sortby"><span class="std std-ref">sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sortby"><span class="std std-ref">sortby</span></a> を見てください。</p>
911
- <p><code class="docutils literal"><span class="pre">sortby</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sortby</span></code> は正常な動作をしません。</p>
1093
+ <div class="deprecated">
1094
+ <p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span>代わりに <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> を使ってください。</p>
1095
+ </div>
1096
+ </div>
1097
+ <div class="section" id="sort-keys">
1098
+ <span id="logical-select-sort-keys"></span><h4>7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code><a class="headerlink" href="#sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
1099
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> を見てください。</p>
1100
+ <p><code class="docutils literal"><span class="pre">sort_keys</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sort_keys</span></code> は正常な動作をしません。</p>
912
1101
  <p>以下は1つのシャードのみを使っている例です。</p>
913
1102
  <p>実行例:</p>
914
1103
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
@@ -918,7 +1107,7 @@ load --table Entries_20150709
918
1107
  --min_border &quot;include&quot; \
919
1108
  --max &quot;2015/07/09 00:00:00&quot; \
920
1109
  --max_border &quot;exclude&quot; \
921
- --sortby _key
1110
+ --sort_keys _key
922
1111
  # [
923
1112
  # [
924
1113
  # 0,
@@ -987,7 +1176,7 @@ load --table Entries_20150709
987
1176
  </div>
988
1177
  </div>
989
1178
  <div class="section" id="offset">
990
- <span id="logical-select-offset"></span><h4>7.3.34.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
1179
+ <span id="logical-select-offset"></span><h4>7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
991
1180
  <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> を見てください。</p>
992
1181
  <p>以下は例です。</p>
993
1182
  <p>実行例:</p>
@@ -1063,7 +1252,7 @@ load --table Entries_20150709
1063
1252
  </div>
1064
1253
  </div>
1065
1254
  <div class="section" id="limit">
1066
- <span id="logical-select-limit"></span><h4>7.3.34.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
1255
+ <span id="logical-select-limit"></span><h4>7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
1067
1256
  <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> を見てください。</p>
1068
1257
  <p>以下は例です。</p>
1069
1258
  <p>実行例:</p>
@@ -1131,23 +1320,33 @@ load --table Entries_20150709
1131
1320
  </div>
1132
1321
  </div>
1133
1322
  <div class="section" id="scorer">
1134
- <span id="logical-select-scorer"></span><h4>7.3.34.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
1323
+ <span id="logical-select-scorer"></span><h4>7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
1135
1324
  <p>未実装です。</p>
1136
1325
  </div>
1137
1326
  </div>
1138
- <div class="section" id="drilldown-related-parameters">
1139
- <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.6. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1140
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">ドリルダウン関連の引数</span></a> を見てください。</p>
1141
- <div class="section" id="drilldown">
1142
- <span id="logical-select-drilldown"></span><h4>7.3.34.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
1143
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> を見てください。</p>
1144
- <p>以下は例です。</p>
1327
+ <div class="section" id="dynamic-column-related-parameters">
1328
+ <span id="logical-select-dynamic-column-related-parameters"></span><h3>7.3.34.5.6. 動的カラム関連の引数<a class="headerlink" href="#dynamic-column-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1329
+ <div class="versionadded">
1330
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1331
+ </div>
1332
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての動的カラム関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> を見てください。</p>
1333
+ <div class="section" id="columns-name-stage">
1334
+ <span id="logical-select-columns-name-stage"></span><h4>7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
1335
+ <div class="versionadded">
1336
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1337
+ </div>
1338
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> を見てください。</p>
1339
+ <p>必須の引数です。</p>
1340
+ <p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで <code class="docutils literal"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal"><span class="pre">filter</span></code> や <code class="docutils literal"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
1145
1341
  <p>実行例:</p>
1146
1342
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1147
1343
  --logical_table Entries \
1148
1344
  --shard_key created_at \
1149
- --output_columns _key,tag \
1150
- --drilldown tag
1345
+ --columns[is_popular].stage initial \
1346
+ --columns[is_popular].type Bool \
1347
+ --columns[is_popular].value &#39;n_likes &gt;= 10&#39; \
1348
+ --filter is_popular \
1349
+ --output_columns _id,is_popular,n_likes
1151
1350
  # [
1152
1351
  # [
1153
1352
  # 0,
@@ -1157,64 +1356,31 @@ load --table Entries_20150709
1157
1356
  # [
1158
1357
  # [
1159
1358
  # [
1160
- # 5
1359
+ # 2
1161
1360
  # ],
1162
1361
  # [
1163
1362
  # [
1164
- # &quot;_key&quot;,
1165
- # &quot;ShortText&quot;
1363
+ # &quot;_id&quot;,
1364
+ # &quot;UInt32&quot;
1166
1365
  # ],
1167
1366
  # [
1168
- # &quot;tag&quot;,
1169
- # &quot;ShortText&quot;
1170
- # ]
1171
- # ],
1172
- # [
1173
- # &quot;The first post!&quot;,
1174
- # &quot;Hello&quot;
1175
- # ],
1176
- # [
1177
- # &quot;Groonga&quot;,
1178
- # &quot;Groonga&quot;
1179
- # ],
1180
- # [
1181
- # &quot;Mroonga&quot;,
1182
- # &quot;Groonga&quot;
1183
- # ],
1184
- # [
1185
- # &quot;Good-bye Senna&quot;,
1186
- # &quot;Senna&quot;
1187
- # ],
1188
- # [
1189
- # &quot;Good-bye Tritonn&quot;,
1190
- # &quot;Senna&quot;
1191
- # ]
1192
- # ],
1193
- # [
1194
- # [
1195
- # 3
1196
- # ],
1197
- # [
1198
- # [
1199
- # &quot;_key&quot;,
1200
- # &quot;ShortText&quot;
1367
+ # &quot;is_popular&quot;,
1368
+ # &quot;Bool&quot;
1201
1369
  # ],
1202
1370
  # [
1203
- # &quot;_nsubrecs&quot;,
1204
- # &quot;Int32&quot;
1371
+ # &quot;n_likes&quot;,
1372
+ # &quot;UInt32&quot;
1205
1373
  # ]
1206
1374
  # ],
1207
1375
  # [
1208
- # &quot;Hello&quot;,
1209
- # 1
1210
- # ],
1211
- # [
1212
- # &quot;Groonga&quot;,
1213
- # 2
1376
+ # 2,
1377
+ # true,
1378
+ # 10
1214
1379
  # ],
1215
1380
  # [
1216
- # &quot;Senna&quot;,
1217
- # 2
1381
+ # 3,
1382
+ # true,
1383
+ # 15
1218
1384
  # ]
1219
1385
  # ]
1220
1386
  # ]
@@ -1222,18 +1388,25 @@ load --table Entries_20150709
1222
1388
  </pre></div>
1223
1389
  </div>
1224
1390
  </div>
1225
- <div class="section" id="drilldown-sortby">
1226
- <span id="logical-select-drilldown-sortby"></span><h4>7.3.34.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
1227
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> を見てください。</p>
1228
- <p>以下は例です。</p>
1391
+ <div class="section" id="columns-name-flags">
1392
+ <span id="logical-select-columns-name-flags"></span><h4>7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
1393
+ <div class="versionadded">
1394
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1395
+ </div>
1396
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> を見てください。</p>
1397
+ <p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
1398
+ <p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
1229
1399
  <p>実行例:</p>
1230
- <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1400
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
1401
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
1402
+ logical_select \
1231
1403
  --logical_table Entries \
1232
1404
  --shard_key created_at \
1233
- --limit 0 \
1234
- --output_columns _id \
1235
- --drilldown tag \
1236
- --drilldown_sortby -_nsubrecs,_key
1405
+ --columns[vector].stage initial \
1406
+ --columns[vector].flags COLUMN_VECTOR \
1407
+ --columns[vector].type UInt32 \
1408
+ --columns[vector].value &#39;vector_new(1, 2, 3)&#39; \
1409
+ --output_columns _id,vector
1237
1410
  # [
1238
1411
  # [
1239
1412
  # 0,
@@ -1249,34 +1422,51 @@ load --table Entries_20150709
1249
1422
  # [
1250
1423
  # &quot;_id&quot;,
1251
1424
  # &quot;UInt32&quot;
1425
+ # ],
1426
+ # [
1427
+ # &quot;vector&quot;,
1428
+ # &quot;UInt32&quot;
1252
1429
  # ]
1253
- # ]
1254
- # ],
1255
- # [
1256
- # [
1257
- # 3
1258
1430
  # ],
1259
1431
  # [
1432
+ # 1,
1260
1433
  # [
1261
- # &quot;_key&quot;,
1262
- # &quot;ShortText&quot;
1263
- # ],
1264
- # [
1265
- # &quot;_nsubrecs&quot;,
1266
- # &quot;Int32&quot;
1434
+ # 1,
1435
+ # 2,
1436
+ # 3
1267
1437
  # ]
1268
1438
  # ],
1269
1439
  # [
1270
- # &quot;Groonga&quot;,
1271
- # 2
1440
+ # 2,
1441
+ # [
1442
+ # 1,
1443
+ # 2,
1444
+ # 3
1445
+ # ]
1272
1446
  # ],
1273
1447
  # [
1274
- # &quot;Senna&quot;,
1275
- # 2
1448
+ # 3,
1449
+ # [
1450
+ # 1,
1451
+ # 2,
1452
+ # 3
1453
+ # ]
1276
1454
  # ],
1277
1455
  # [
1278
- # &quot;Hello&quot;,
1279
- # 1
1456
+ # 1,
1457
+ # [
1458
+ # 1,
1459
+ # 2,
1460
+ # 3
1461
+ # ]
1462
+ # ],
1463
+ # [
1464
+ # 2,
1465
+ # [
1466
+ # 1,
1467
+ # 2,
1468
+ # 3
1469
+ # ]
1280
1470
  # ]
1281
1471
  # ]
1282
1472
  # ]
@@ -1284,18 +1474,22 @@ load --table Entries_20150709
1284
1474
  </pre></div>
1285
1475
  </div>
1286
1476
  </div>
1287
- <div class="section" id="drilldown-output-columns">
1288
- <span id="logical-select-drilldown-output-columns"></span><h4>7.3.34.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
1289
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> を見てください。</p>
1290
- <p>以下は例です。</p>
1477
+ <div class="section" id="columns-name-type">
1478
+ <span id="logical-select-columns-name-type"></span><h4>7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
1479
+ <div class="versionadded">
1480
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1481
+ </div>
1482
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> を見てください。</p>
1483
+ <p>必須の引数です。</p>
1484
+ <p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
1291
1485
  <p>実行例:</p>
1292
1486
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1293
1487
  --logical_table Entries \
1294
1488
  --shard_key created_at \
1295
- --limit 0 \
1296
- --output_columns _id \
1297
- --drilldown tag \
1298
- --drilldown_output_columns _key
1489
+ --columns[n_likes_string].stage initial \
1490
+ --columns[n_likes_string].type ShortText \
1491
+ --columns[n_likes_string].value n_likes \
1492
+ --output_columns _id,n_likes,n_likes_string
1299
1493
  # [
1300
1494
  # [
1301
1495
  # 0,
@@ -1311,27 +1505,40 @@ load --table Entries_20150709
1311
1505
  # [
1312
1506
  # &quot;_id&quot;,
1313
1507
  # &quot;UInt32&quot;
1508
+ # ],
1509
+ # [
1510
+ # &quot;n_likes&quot;,
1511
+ # &quot;UInt32&quot;
1512
+ # ],
1513
+ # [
1514
+ # &quot;n_likes_string&quot;,
1515
+ # &quot;ShortText&quot;
1314
1516
  # ]
1315
- # ]
1316
- # ],
1317
- # [
1517
+ # ],
1318
1518
  # [
1319
- # 3
1519
+ # 1,
1520
+ # 5,
1521
+ # &quot;5&quot;
1320
1522
  # ],
1321
1523
  # [
1322
- # [
1323
- # &quot;_key&quot;,
1324
- # &quot;ShortText&quot;
1325
- # ]
1524
+ # 2,
1525
+ # 10,
1526
+ # &quot;10&quot;
1326
1527
  # ],
1327
1528
  # [
1328
- # &quot;Hello&quot;
1529
+ # 3,
1530
+ # 15,
1531
+ # &quot;15&quot;
1329
1532
  # ],
1330
1533
  # [
1331
- # &quot;Groonga&quot;
1534
+ # 1,
1535
+ # 3,
1536
+ # &quot;3&quot;
1332
1537
  # ],
1333
1538
  # [
1334
- # &quot;Senna&quot;
1539
+ # 2,
1540
+ # 3,
1541
+ # &quot;3&quot;
1335
1542
  # ]
1336
1543
  # ]
1337
1544
  # ]
@@ -1339,18 +1546,25 @@ load --table Entries_20150709
1339
1546
  </pre></div>
1340
1547
  </div>
1341
1548
  </div>
1342
- <div class="section" id="drilldown-offset">
1343
- <span id="logical-select-drilldown-offset"></span><h4>7.3.34.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
1344
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> を見てください。</p>
1345
- <p>以下は例です。</p>
1549
+ <div class="section" id="columns-name-value">
1550
+ <span id="logical-select-columns-name-value"></span><h4>7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
1551
+ <div class="versionadded">
1552
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1553
+ </div>
1554
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> を見てください。</p>
1555
+ <p>ウィンドウ関数を使う場合は、 <code class="docutils literal"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
1556
+ <p>必須の引数です。</p>
1557
+ <p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
1346
1558
  <p>実行例:</p>
1347
- <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1559
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
1560
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
1561
+ logical_select \
1348
1562
  --logical_table Entries \
1349
1563
  --shard_key created_at \
1350
- --limit 0 \
1351
- --output_columns _id \
1352
- --drilldown tag \
1353
- --drilldown_offset 1
1564
+ --columns[content_length].stage initial \
1565
+ --columns[content_length].type UInt32 \
1566
+ --columns[content_length].value &#39;string_length(content)&#39; \
1567
+ --output_columns _id,content,content_length
1354
1568
  # [
1355
1569
  # [
1356
1570
  # 0,
@@ -1366,30 +1580,131 @@ load --table Entries_20150709
1366
1580
  # [
1367
1581
  # &quot;_id&quot;,
1368
1582
  # &quot;UInt32&quot;
1583
+ # ],
1584
+ # [
1585
+ # &quot;content&quot;,
1586
+ # &quot;Text&quot;
1587
+ # ],
1588
+ # [
1589
+ # &quot;content_length&quot;,
1590
+ # &quot;UInt32&quot;
1369
1591
  # ]
1592
+ # ],
1593
+ # [
1594
+ # 1,
1595
+ # &quot;Welcome! This is my first post!&quot;,
1596
+ # 31
1597
+ # ],
1598
+ # [
1599
+ # 2,
1600
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1601
+ # 41
1602
+ # ],
1603
+ # [
1604
+ # 3,
1605
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1606
+ # 64
1607
+ # ],
1608
+ # [
1609
+ # 1,
1610
+ # &quot;I migrated all Senna system!&quot;,
1611
+ # 28
1612
+ # ],
1613
+ # [
1614
+ # 2,
1615
+ # &quot;I also migrated all Tritonn system!&quot;,
1616
+ # 35
1370
1617
  # ]
1371
- # ],
1618
+ # ]
1619
+ # ]
1620
+ # ]
1621
+ </pre></div>
1622
+ </div>
1623
+ </div>
1624
+ </div>
1625
+ <div class="section" id="window-function-related-parameters">
1626
+ <span id="logical-select-window-function-related-parameters"></span><h3>7.3.34.5.7. ウィンドウ関数関連の引数<a class="headerlink" href="#window-function-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1627
+ <div class="versionadded">
1628
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1629
+ </div>
1630
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのウィンドウ関数関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
1631
+ <div class="section" id="columns-name-window-sort-keys">
1632
+ <span id="logical-select-columns-name-window-sort-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
1633
+ <div class="versionadded">
1634
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1635
+ </div>
1636
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> を見てください。</p>
1637
+ <p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
1638
+ <p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal"><span class="pre">Entries._key</span></code> でソートします。</p>
1639
+ <p>実行例:</p>
1640
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1641
+ --logical_table Entries \
1642
+ --shard_key created_at \
1643
+ --columns[n_likes_cumulative_sum_per_tag].stage initial \
1644
+ --columns[n_likes_cumulative_sum_per_tag].type UInt32 \
1645
+ --columns[n_likes_cumulative_sum_per_tag].value &#39;window_sum(n_likes)&#39; \
1646
+ --columns[n_likes_cumulative_sum_per_tag].window.sort_keys _key \
1647
+ --columns[n_likes_cumulative_sum_per_tag].window.group_keys tag \
1648
+ --sort_keys _key \
1649
+ --output_columns tag,_key,n_likes,n_likes_cumulative_sum_per_tag
1650
+ # [
1651
+ # [
1652
+ # 0,
1653
+ # 1337566253.89858,
1654
+ # 0.000355720520019531
1655
+ # ],
1656
+ # [
1372
1657
  # [
1373
1658
  # [
1374
- # 3
1659
+ # 5
1375
1660
  # ],
1376
1661
  # [
1377
1662
  # [
1663
+ # &quot;tag&quot;,
1664
+ # &quot;ShortText&quot;
1665
+ # ],
1666
+ # [
1378
1667
  # &quot;_key&quot;,
1379
1668
  # &quot;ShortText&quot;
1380
1669
  # ],
1381
1670
  # [
1382
- # &quot;_nsubrecs&quot;,
1383
- # &quot;Int32&quot;
1671
+ # &quot;n_likes&quot;,
1672
+ # &quot;UInt32&quot;
1673
+ # ],
1674
+ # [
1675
+ # &quot;n_likes_cumulative_sum_per_tag&quot;,
1676
+ # &quot;UInt32&quot;
1384
1677
  # ]
1385
1678
  # ],
1386
1679
  # [
1387
1680
  # &quot;Groonga&quot;,
1388
- # 2
1681
+ # &quot;Groonga&quot;,
1682
+ # 10,
1683
+ # 10
1684
+ # ],
1685
+ # [
1686
+ # &quot;Groonga&quot;,
1687
+ # &quot;Mroonga&quot;,
1688
+ # 15,
1689
+ # 25
1690
+ # ],
1691
+ # [
1692
+ # &quot;Hello&quot;,
1693
+ # &quot;The first post!&quot;,
1694
+ # 5,
1695
+ # 5
1389
1696
  # ],
1390
1697
  # [
1391
1698
  # &quot;Senna&quot;,
1392
- # 2
1699
+ # &quot;Good-bye Senna&quot;,
1700
+ # 3,
1701
+ # 3
1702
+ # ],
1703
+ # [
1704
+ # &quot;Senna&quot;,
1705
+ # &quot;Good-bye Tritonn&quot;,
1706
+ # 3,
1707
+ # 6
1393
1708
  # ]
1394
1709
  # ]
1395
1710
  # ]
@@ -1397,18 +1712,24 @@ load --table Entries_20150709
1397
1712
  </pre></div>
1398
1713
  </div>
1399
1714
  </div>
1400
- <div class="section" id="drilldown-limit">
1401
- <span id="logical-select-drilldown-limit"></span><h4>7.3.34.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
1402
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> を見てください。</p>
1403
- <p>以下は例です。</p>
1715
+ <div class="section" id="columns-name-window-group-keys">
1716
+ <span id="logical-select-columns-name-window-group-keys"></span><h4>7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
1717
+ <div class="versionadded">
1718
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1719
+ </div>
1720
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を見てください。</p>
1721
+ <p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
1722
+ <p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
1404
1723
  <p>実行例:</p>
1405
1724
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1406
1725
  --logical_table Entries \
1407
1726
  --shard_key created_at \
1408
- --limit 0 \
1409
- --output_columns _id \
1410
- --drilldown tag \
1411
- --drilldown_limit 2
1727
+ --columns[n_likes_sum_per_tag].stage initial \
1728
+ --columns[n_likes_sum_per_tag].type UInt32 \
1729
+ --columns[n_likes_sum_per_tag].value &#39;window_sum(n_likes)&#39; \
1730
+ --columns[n_likes_sum_per_tag].window.group_keys tag \
1731
+ --sort_keys _key \
1732
+ --output_columns tag,_key,n_likes,n_likes_sum_per_tag
1412
1733
  # [
1413
1734
  # [
1414
1735
  # 0,
@@ -1422,32 +1743,51 @@ load --table Entries_20150709
1422
1743
  # ],
1423
1744
  # [
1424
1745
  # [
1425
- # &quot;_id&quot;,
1426
- # &quot;UInt32&quot;
1427
- # ]
1428
- # ]
1429
- # ],
1430
- # [
1431
- # [
1432
- # 3
1433
- # ],
1434
- # [
1746
+ # &quot;tag&quot;,
1747
+ # &quot;ShortText&quot;
1748
+ # ],
1435
1749
  # [
1436
1750
  # &quot;_key&quot;,
1437
1751
  # &quot;ShortText&quot;
1438
1752
  # ],
1439
1753
  # [
1440
- # &quot;_nsubrecs&quot;,
1441
- # &quot;Int32&quot;
1754
+ # &quot;n_likes&quot;,
1755
+ # &quot;UInt32&quot;
1756
+ # ],
1757
+ # [
1758
+ # &quot;n_likes_sum_per_tag&quot;,
1759
+ # &quot;UInt32&quot;
1442
1760
  # ]
1443
1761
  # ],
1444
1762
  # [
1445
- # &quot;Hello&quot;,
1446
- # 1
1763
+ # &quot;Groonga&quot;,
1764
+ # &quot;Groonga&quot;,
1765
+ # 10,
1766
+ # 25
1447
1767
  # ],
1448
1768
  # [
1449
1769
  # &quot;Groonga&quot;,
1450
- # 2
1770
+ # &quot;Mroonga&quot;,
1771
+ # 15,
1772
+ # 25
1773
+ # ],
1774
+ # [
1775
+ # &quot;Hello&quot;,
1776
+ # &quot;The first post!&quot;,
1777
+ # 5,
1778
+ # 5
1779
+ # ],
1780
+ # [
1781
+ # &quot;Senna&quot;,
1782
+ # &quot;Good-bye Senna&quot;,
1783
+ # 3,
1784
+ # 6
1785
+ # ],
1786
+ # [
1787
+ # &quot;Senna&quot;,
1788
+ # &quot;Good-bye Tritonn&quot;,
1789
+ # 3,
1790
+ # 6
1451
1791
  # ]
1452
1792
  # ]
1453
1793
  # ]
@@ -1455,20 +1795,20 @@ load --table Entries_20150709
1455
1795
  </pre></div>
1456
1796
  </div>
1457
1797
  </div>
1458
- <div class="section" id="drilldown-calc-types">
1459
- <span id="logical-select-drilldown-calc-types"></span><h4>7.3.34.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
1460
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
1798
+ </div>
1799
+ <div class="section" id="drilldown-related-parameters">
1800
+ <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.8. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1801
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">ドリルダウン関連の引数</span></a> を見てください。</p>
1802
+ <div class="section" id="drilldown">
1803
+ <span id="logical-select-drilldown"></span><h4>7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
1804
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> を見てください。</p>
1461
1805
  <p>以下は例です。</p>
1462
1806
  <p>実行例:</p>
1463
1807
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1464
1808
  --logical_table Entries \
1465
1809
  --shard_key created_at \
1466
- --limit -1 \
1467
- --output_columns tag,n_likes \
1468
- --drilldown tag \
1469
- --drilldown_calc_types MAX,MIN,SUM,AVG \
1470
- --drilldown_calc_target n_likes \
1471
- --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1810
+ --output_columns _key,tag \
1811
+ --drilldown tag
1472
1812
  # [
1473
1813
  # [
1474
1814
  # 0,
@@ -1482,33 +1822,33 @@ load --table Entries_20150709
1482
1822
  # ],
1483
1823
  # [
1484
1824
  # [
1485
- # &quot;tag&quot;,
1825
+ # &quot;_key&quot;,
1486
1826
  # &quot;ShortText&quot;
1487
1827
  # ],
1488
1828
  # [
1489
- # &quot;n_likes&quot;,
1490
- # &quot;UInt32&quot;
1829
+ # &quot;tag&quot;,
1830
+ # &quot;ShortText&quot;
1491
1831
  # ]
1492
1832
  # ],
1493
1833
  # [
1494
- # &quot;Hello&quot;,
1495
- # 5
1834
+ # &quot;The first post!&quot;,
1835
+ # &quot;Hello&quot;
1496
1836
  # ],
1497
1837
  # [
1498
1838
  # &quot;Groonga&quot;,
1499
- # 10
1839
+ # &quot;Groonga&quot;
1500
1840
  # ],
1501
1841
  # [
1502
- # &quot;Groonga&quot;,
1503
- # 15
1842
+ # &quot;Mroonga&quot;,
1843
+ # &quot;Groonga&quot;
1504
1844
  # ],
1505
1845
  # [
1506
- # &quot;Senna&quot;,
1507
- # 3
1846
+ # &quot;Good-bye Senna&quot;,
1847
+ # &quot;Senna&quot;
1508
1848
  # ],
1509
1849
  # [
1510
- # &quot;Senna&quot;,
1511
- # 3
1850
+ # &quot;Good-bye Tritonn&quot;,
1851
+ # &quot;Senna&quot;
1512
1852
  # ]
1513
1853
  # ],
1514
1854
  # [
@@ -1521,84 +1861,920 @@ load --table Entries_20150709
1521
1861
  # &quot;ShortText&quot;
1522
1862
  # ],
1523
1863
  # [
1524
- # &quot;_nsubrecs&quot;,
1525
- # &quot;Int32&quot;
1864
+ # &quot;_nsubrecs&quot;,
1865
+ # &quot;Int32&quot;
1866
+ # ]
1867
+ # ],
1868
+ # [
1869
+ # &quot;Hello&quot;,
1870
+ # 1
1871
+ # ],
1872
+ # [
1873
+ # &quot;Groonga&quot;,
1874
+ # 2
1875
+ # ],
1876
+ # [
1877
+ # &quot;Senna&quot;,
1878
+ # 2
1879
+ # ]
1880
+ # ]
1881
+ # ]
1882
+ # ]
1883
+ </pre></div>
1884
+ </div>
1885
+ </div>
1886
+ <div class="section" id="drilldown-sortby">
1887
+ <span id="logical-select-drilldown-sortby"></span><h4>7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
1888
+ <div class="deprecated">
1889
+ <p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を代わりに使ってください</p>
1890
+ </div>
1891
+ </div>
1892
+ <div class="section" id="drilldown-sort-keys">
1893
+ <span id="logical-select-drilldown-sort-keys"></span><h4>7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code><a class="headerlink" href="#drilldown-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
1894
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を見てください。</p>
1895
+ <p>以下は例です。</p>
1896
+ <p>実行例:</p>
1897
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1898
+ --logical_table Entries \
1899
+ --shard_key created_at \
1900
+ --limit 0 \
1901
+ --output_columns _id \
1902
+ --drilldown tag \
1903
+ --drilldown_sort_keys -_nsubrecs,_key
1904
+ # [
1905
+ # [
1906
+ # 0,
1907
+ # 1337566253.89858,
1908
+ # 0.000355720520019531
1909
+ # ],
1910
+ # [
1911
+ # [
1912
+ # [
1913
+ # 5
1914
+ # ],
1915
+ # [
1916
+ # [
1917
+ # &quot;_id&quot;,
1918
+ # &quot;UInt32&quot;
1919
+ # ]
1920
+ # ]
1921
+ # ],
1922
+ # [
1923
+ # [
1924
+ # 3
1925
+ # ],
1926
+ # [
1927
+ # [
1928
+ # &quot;_key&quot;,
1929
+ # &quot;ShortText&quot;
1930
+ # ],
1931
+ # [
1932
+ # &quot;_nsubrecs&quot;,
1933
+ # &quot;Int32&quot;
1934
+ # ]
1935
+ # ],
1936
+ # [
1937
+ # &quot;Groonga&quot;,
1938
+ # 2
1939
+ # ],
1940
+ # [
1941
+ # &quot;Senna&quot;,
1942
+ # 2
1943
+ # ],
1944
+ # [
1945
+ # &quot;Hello&quot;,
1946
+ # 1
1947
+ # ]
1948
+ # ]
1949
+ # ]
1950
+ # ]
1951
+ </pre></div>
1952
+ </div>
1953
+ </div>
1954
+ <div class="section" id="drilldown-output-columns">
1955
+ <span id="logical-select-drilldown-output-columns"></span><h4>7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
1956
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> を見てください。</p>
1957
+ <p>以下は例です。</p>
1958
+ <p>実行例:</p>
1959
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1960
+ --logical_table Entries \
1961
+ --shard_key created_at \
1962
+ --limit 0 \
1963
+ --output_columns _id \
1964
+ --drilldown tag \
1965
+ --drilldown_output_columns _key
1966
+ # [
1967
+ # [
1968
+ # 0,
1969
+ # 1337566253.89858,
1970
+ # 0.000355720520019531
1971
+ # ],
1972
+ # [
1973
+ # [
1974
+ # [
1975
+ # 5
1976
+ # ],
1977
+ # [
1978
+ # [
1979
+ # &quot;_id&quot;,
1980
+ # &quot;UInt32&quot;
1981
+ # ]
1982
+ # ]
1983
+ # ],
1984
+ # [
1985
+ # [
1986
+ # 3
1987
+ # ],
1988
+ # [
1989
+ # [
1990
+ # &quot;_key&quot;,
1991
+ # &quot;ShortText&quot;
1992
+ # ]
1993
+ # ],
1994
+ # [
1995
+ # &quot;Hello&quot;
1996
+ # ],
1997
+ # [
1998
+ # &quot;Groonga&quot;
1999
+ # ],
2000
+ # [
2001
+ # &quot;Senna&quot;
2002
+ # ]
2003
+ # ]
2004
+ # ]
2005
+ # ]
2006
+ </pre></div>
2007
+ </div>
2008
+ </div>
2009
+ <div class="section" id="drilldown-offset">
2010
+ <span id="logical-select-drilldown-offset"></span><h4>7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
2011
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> を見てください。</p>
2012
+ <p>以下は例です。</p>
2013
+ <p>実行例:</p>
2014
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2015
+ --logical_table Entries \
2016
+ --shard_key created_at \
2017
+ --limit 0 \
2018
+ --output_columns _id \
2019
+ --drilldown tag \
2020
+ --drilldown_offset 1
2021
+ # [
2022
+ # [
2023
+ # 0,
2024
+ # 1337566253.89858,
2025
+ # 0.000355720520019531
2026
+ # ],
2027
+ # [
2028
+ # [
2029
+ # [
2030
+ # 5
2031
+ # ],
2032
+ # [
2033
+ # [
2034
+ # &quot;_id&quot;,
2035
+ # &quot;UInt32&quot;
2036
+ # ]
2037
+ # ]
2038
+ # ],
2039
+ # [
2040
+ # [
2041
+ # 3
2042
+ # ],
2043
+ # [
2044
+ # [
2045
+ # &quot;_key&quot;,
2046
+ # &quot;ShortText&quot;
2047
+ # ],
2048
+ # [
2049
+ # &quot;_nsubrecs&quot;,
2050
+ # &quot;Int32&quot;
2051
+ # ]
2052
+ # ],
2053
+ # [
2054
+ # &quot;Groonga&quot;,
2055
+ # 2
2056
+ # ],
2057
+ # [
2058
+ # &quot;Senna&quot;,
2059
+ # 2
2060
+ # ]
2061
+ # ]
2062
+ # ]
2063
+ # ]
2064
+ </pre></div>
2065
+ </div>
2066
+ </div>
2067
+ <div class="section" id="drilldown-limit">
2068
+ <span id="logical-select-drilldown-limit"></span><h4>7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
2069
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> を見てください。</p>
2070
+ <p>以下は例です。</p>
2071
+ <p>実行例:</p>
2072
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2073
+ --logical_table Entries \
2074
+ --shard_key created_at \
2075
+ --limit 0 \
2076
+ --output_columns _id \
2077
+ --drilldown tag \
2078
+ --drilldown_limit 2
2079
+ # [
2080
+ # [
2081
+ # 0,
2082
+ # 1337566253.89858,
2083
+ # 0.000355720520019531
2084
+ # ],
2085
+ # [
2086
+ # [
2087
+ # [
2088
+ # 5
2089
+ # ],
2090
+ # [
2091
+ # [
2092
+ # &quot;_id&quot;,
2093
+ # &quot;UInt32&quot;
2094
+ # ]
2095
+ # ]
2096
+ # ],
2097
+ # [
2098
+ # [
2099
+ # 3
2100
+ # ],
2101
+ # [
2102
+ # [
2103
+ # &quot;_key&quot;,
2104
+ # &quot;ShortText&quot;
2105
+ # ],
2106
+ # [
2107
+ # &quot;_nsubrecs&quot;,
2108
+ # &quot;Int32&quot;
2109
+ # ]
2110
+ # ],
2111
+ # [
2112
+ # &quot;Hello&quot;,
2113
+ # 1
2114
+ # ],
2115
+ # [
2116
+ # &quot;Groonga&quot;,
2117
+ # 2
2118
+ # ]
2119
+ # ]
2120
+ # ]
2121
+ # ]
2122
+ </pre></div>
2123
+ </div>
2124
+ </div>
2125
+ <div class="section" id="drilldown-calc-types">
2126
+ <span id="logical-select-drilldown-calc-types"></span><h4>7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
2127
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
2128
+ <p>以下は例です。</p>
2129
+ <p>実行例:</p>
2130
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2131
+ --logical_table Entries \
2132
+ --shard_key created_at \
2133
+ --limit -1 \
2134
+ --output_columns tag,n_likes \
2135
+ --drilldown tag \
2136
+ --drilldown_calc_types MAX,MIN,SUM,AVG \
2137
+ --drilldown_calc_target n_likes \
2138
+ --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
2139
+ # [
2140
+ # [
2141
+ # 0,
2142
+ # 1337566253.89858,
2143
+ # 0.000355720520019531
2144
+ # ],
2145
+ # [
2146
+ # [
2147
+ # [
2148
+ # 5
2149
+ # ],
2150
+ # [
2151
+ # [
2152
+ # &quot;tag&quot;,
2153
+ # &quot;ShortText&quot;
2154
+ # ],
2155
+ # [
2156
+ # &quot;n_likes&quot;,
2157
+ # &quot;UInt32&quot;
2158
+ # ]
2159
+ # ],
2160
+ # [
2161
+ # &quot;Hello&quot;,
2162
+ # 5
2163
+ # ],
2164
+ # [
2165
+ # &quot;Groonga&quot;,
2166
+ # 10
2167
+ # ],
2168
+ # [
2169
+ # &quot;Groonga&quot;,
2170
+ # 15
2171
+ # ],
2172
+ # [
2173
+ # &quot;Senna&quot;,
2174
+ # 3
2175
+ # ],
2176
+ # [
2177
+ # &quot;Senna&quot;,
2178
+ # 3
2179
+ # ]
2180
+ # ],
2181
+ # [
2182
+ # [
2183
+ # 3
2184
+ # ],
2185
+ # [
2186
+ # [
2187
+ # &quot;_key&quot;,
2188
+ # &quot;ShortText&quot;
2189
+ # ],
2190
+ # [
2191
+ # &quot;_nsubrecs&quot;,
2192
+ # &quot;Int32&quot;
2193
+ # ],
2194
+ # [
2195
+ # &quot;_max&quot;,
2196
+ # &quot;Int64&quot;
2197
+ # ],
2198
+ # [
2199
+ # &quot;_min&quot;,
2200
+ # &quot;Int64&quot;
2201
+ # ],
2202
+ # [
2203
+ # &quot;_sum&quot;,
2204
+ # &quot;Int64&quot;
2205
+ # ],
2206
+ # [
2207
+ # &quot;_avg&quot;,
2208
+ # &quot;Float&quot;
2209
+ # ]
2210
+ # ],
2211
+ # [
2212
+ # &quot;Hello&quot;,
2213
+ # 1,
2214
+ # 5,
2215
+ # 5,
2216
+ # 5,
2217
+ # 5.0
2218
+ # ],
2219
+ # [
2220
+ # &quot;Groonga&quot;,
2221
+ # 2,
2222
+ # 15,
2223
+ # 10,
2224
+ # 25,
2225
+ # 12.5
2226
+ # ],
2227
+ # [
2228
+ # &quot;Senna&quot;,
2229
+ # 2,
2230
+ # 3,
2231
+ # 3,
2232
+ # 6,
2233
+ # 3.0
2234
+ # ]
2235
+ # ]
2236
+ # ]
2237
+ # ]
2238
+ </pre></div>
2239
+ </div>
2240
+ </div>
2241
+ <div class="section" id="drilldown-calc-target">
2242
+ <span id="logical-select-drilldown-calc-target"></span><h4>7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
2243
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> を見てください。</p>
2244
+ <p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
2245
+ </div>
2246
+ <div class="section" id="drilldown-filter">
2247
+ <span id="logical-select-drilldown-filter"></span><h4>7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code><a class="headerlink" href="#drilldown-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
2248
+ <div class="versionadded">
2249
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
2250
+ </div>
2251
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> を見てください。</p>
2252
+ <p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
2253
+ <p>実行例:</p>
2254
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2255
+ --logical_table Entries \
2256
+ --shard_key created_at \
2257
+ --limit 0 \
2258
+ --output_columns _id \
2259
+ --drilldown tag \
2260
+ --drilldown_filter &quot;_nsubrecs &gt; 1&quot; \
2261
+ --drilldown_output_columns _key,_nsubrecs
2262
+ # [
2263
+ # [
2264
+ # 0,
2265
+ # 1337566253.89858,
2266
+ # 0.000355720520019531
2267
+ # ],
2268
+ # [
2269
+ # [
2270
+ # [
2271
+ # 5
2272
+ # ],
2273
+ # [
2274
+ # [
2275
+ # &quot;_id&quot;,
2276
+ # &quot;UInt32&quot;
2277
+ # ]
2278
+ # ]
2279
+ # ],
2280
+ # [
2281
+ # [
2282
+ # 2
2283
+ # ],
2284
+ # [
2285
+ # [
2286
+ # &quot;_key&quot;,
2287
+ # &quot;ShortText&quot;
2288
+ # ],
2289
+ # [
2290
+ # &quot;_nsubrecs&quot;,
2291
+ # &quot;Int32&quot;
2292
+ # ]
2293
+ # ],
2294
+ # [
2295
+ # &quot;Groonga&quot;,
2296
+ # 2
2297
+ # ],
2298
+ # [
2299
+ # &quot;Senna&quot;,
2300
+ # 2
2301
+ # ]
2302
+ # ]
2303
+ # ]
2304
+ # ]
2305
+ </pre></div>
2306
+ </div>
2307
+ </div>
2308
+ </div>
2309
+ <div class="section" id="advanced-drilldown-related-parameters">
2310
+ <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.34.5.9. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
2311
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
2312
+ <p>いくつか制限があります。</p>
2313
+ <blockquote>
2314
+ <div><ul class="simple">
2315
+ <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
2316
+ </li>
2317
+ </ul>
2318
+ </div></blockquote>
2319
+ <div class="section" id="drilldowns-label-keys">
2320
+ <span id="logical-select-drilldowns-label-keys"></span><h4>7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code><a class="headerlink" href="#drilldowns-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
2321
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> を見てください。</p>
2322
+ <p>以下は例です。</p>
2323
+ <p>実行例:</p>
2324
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2325
+ --logical_table Entries \
2326
+ --shard_key created_at \
2327
+ --limit 0 \
2328
+ --output_columns _id \
2329
+ --drilldowns[tag.n_likes].keys tag,n_likes \
2330
+ --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
2331
+ # [
2332
+ # [
2333
+ # 0,
2334
+ # 1337566253.89858,
2335
+ # 0.000355720520019531
2336
+ # ],
2337
+ # [
2338
+ # [
2339
+ # [
2340
+ # 5
2341
+ # ],
2342
+ # [
2343
+ # [
2344
+ # &quot;_id&quot;,
2345
+ # &quot;UInt32&quot;
2346
+ # ]
2347
+ # ]
2348
+ # ],
2349
+ # {
2350
+ # &quot;tag.n_likes&quot;: [
2351
+ # [
2352
+ # 4
2353
+ # ],
2354
+ # [
2355
+ # [
2356
+ # &quot;tag&quot;,
2357
+ # &quot;ShortText&quot;
2358
+ # ],
2359
+ # [
2360
+ # &quot;n_likes&quot;,
2361
+ # &quot;UInt32&quot;
2362
+ # ],
2363
+ # [
2364
+ # &quot;_nsubrecs&quot;,
2365
+ # &quot;Int32&quot;
2366
+ # ]
2367
+ # ],
2368
+ # [
2369
+ # &quot;Hello&quot;,
2370
+ # 5,
2371
+ # 1
2372
+ # ],
2373
+ # [
2374
+ # &quot;Groonga&quot;,
2375
+ # 10,
2376
+ # 1
2377
+ # ],
2378
+ # [
2379
+ # &quot;Groonga&quot;,
2380
+ # 15,
2381
+ # 1
2382
+ # ],
2383
+ # [
2384
+ # &quot;Senna&quot;,
2385
+ # 3,
2386
+ # 2
2387
+ # ]
2388
+ # ]
2389
+ # }
2390
+ # ]
2391
+ # ]
2392
+ </pre></div>
2393
+ </div>
2394
+ </div>
2395
+ <div class="section" id="drilldowns-label-output-columns">
2396
+ <span id="logical-select-drilldowns-label-output-columns"></span><h4>7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldowns-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
2397
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> を見てください。</p>
2398
+ <p>以下は例です。</p>
2399
+ <p>実行例:</p>
2400
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2401
+ --logical_table Entries \
2402
+ --shard_key created_at \
2403
+ --limit 0 \
2404
+ --output_columns _id \
2405
+ --drilldowns[tag].keys tag \
2406
+ --drilldowns[tag].output_columns _key,_nsubrecs
2407
+ # [
2408
+ # [
2409
+ # 0,
2410
+ # 1337566253.89858,
2411
+ # 0.000355720520019531
2412
+ # ],
2413
+ # [
2414
+ # [
2415
+ # [
2416
+ # 5
2417
+ # ],
2418
+ # [
2419
+ # [
2420
+ # &quot;_id&quot;,
2421
+ # &quot;UInt32&quot;
2422
+ # ]
2423
+ # ]
2424
+ # ],
2425
+ # {
2426
+ # &quot;tag&quot;: [
2427
+ # [
2428
+ # 3
2429
+ # ],
2430
+ # [
2431
+ # [
2432
+ # &quot;_key&quot;,
2433
+ # &quot;ShortText&quot;
2434
+ # ],
2435
+ # [
2436
+ # &quot;_nsubrecs&quot;,
2437
+ # &quot;Int32&quot;
2438
+ # ]
2439
+ # ],
2440
+ # [
2441
+ # &quot;Hello&quot;,
2442
+ # 1
2443
+ # ],
2444
+ # [
2445
+ # &quot;Groonga&quot;,
2446
+ # 2
2447
+ # ],
2448
+ # [
2449
+ # &quot;Senna&quot;,
2450
+ # 2
2451
+ # ]
2452
+ # ]
2453
+ # }
2454
+ # ]
2455
+ # ]
2456
+ </pre></div>
2457
+ </div>
2458
+ </div>
2459
+ <div class="section" id="drilldowns-label-sortby">
2460
+ <span id="logical-select-drilldowns-label-sortby"></span><h4>7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldowns-label-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
2461
+ <div class="deprecated">
2462
+ <p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を代わりに使ってください</p>
2463
+ </div>
2464
+ </div>
2465
+ <div class="section" id="drilldowns-label-sort-keys">
2466
+ <span id="logical-select-drilldowns-label-sort-keys"></span><h4>7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code><a class="headerlink" href="#drilldowns-label-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
2467
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。</p>
2468
+ <p><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> には制限があります。</p>
2469
+ <p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
2470
+ <p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
2471
+ <p>実行例:</p>
2472
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2473
+ --logical_table Entries \
2474
+ --shard_key created_at \
2475
+ --min &quot;2015/07/08 00:00:00&quot; \
2476
+ --min_border &quot;include&quot; \
2477
+ --max &quot;2015/07/09 00:00:00&quot; \
2478
+ --max_border &quot;exclude&quot; \
2479
+ --limit 0 \
2480
+ --output_columns _id \
2481
+ --drilldowns[tag.n_likes].keys tag,n_likes \
2482
+ --drilldowns[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
2483
+ --drilldowns[tag.n_likes].sort_keys -_nsubrecs,_value.n_likes,_value.tag
2484
+ # [
2485
+ # [
2486
+ # 0,
2487
+ # 1337566253.89858,
2488
+ # 0.000355720520019531
2489
+ # ],
2490
+ # [
2491
+ # [
2492
+ # [
2493
+ # 3
2494
+ # ],
2495
+ # [
2496
+ # [
2497
+ # &quot;_id&quot;,
2498
+ # &quot;UInt32&quot;
2499
+ # ]
2500
+ # ]
2501
+ # ],
2502
+ # {
2503
+ # &quot;tag.n_likes&quot;: [
2504
+ # [
2505
+ # 3
2506
+ # ],
2507
+ # [
2508
+ # [
2509
+ # &quot;_nsubrecs&quot;,
2510
+ # &quot;Int32&quot;
2511
+ # ],
2512
+ # [
2513
+ # &quot;n_likes&quot;,
2514
+ # &quot;UInt32&quot;
2515
+ # ],
2516
+ # [
2517
+ # &quot;tag&quot;,
2518
+ # &quot;ShortText&quot;
2519
+ # ]
2520
+ # ],
2521
+ # [
2522
+ # 1,
2523
+ # 5,
2524
+ # &quot;Hello&quot;
2525
+ # ],
2526
+ # [
2527
+ # 1,
2528
+ # 10,
2529
+ # &quot;Groonga&quot;
2530
+ # ],
2531
+ # [
2532
+ # 1,
2533
+ # 15,
2534
+ # &quot;Groonga&quot;
2535
+ # ]
2536
+ # ]
2537
+ # }
2538
+ # ]
2539
+ # ]
2540
+ </pre></div>
2541
+ </div>
2542
+ </div>
2543
+ <div class="section" id="drilldowns-label-offset">
2544
+ <span id="logical-select-drilldowns-label-offset"></span><h4>7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code><a class="headerlink" href="#drilldowns-label-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
2545
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。</p>
2546
+ <p>以下は例です。</p>
2547
+ <p>実行例:</p>
2548
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2549
+ --logical_table Entries \
2550
+ --shard_key created_at \
2551
+ --limit 0 \
2552
+ --output_columns _id \
2553
+ --drilldowns[tag.n_likes].keys tag \
2554
+ --drilldowns[tag.n_likes].offset 1
2555
+ # [
2556
+ # [
2557
+ # 0,
2558
+ # 1337566253.89858,
2559
+ # 0.000355720520019531
2560
+ # ],
2561
+ # [
2562
+ # [
2563
+ # [
2564
+ # 5
2565
+ # ],
2566
+ # [
2567
+ # [
2568
+ # &quot;_id&quot;,
2569
+ # &quot;UInt32&quot;
2570
+ # ]
2571
+ # ]
2572
+ # ],
2573
+ # {
2574
+ # &quot;tag.n_likes&quot;: [
2575
+ # [
2576
+ # 3
2577
+ # ],
2578
+ # [
2579
+ # [
2580
+ # &quot;_key&quot;,
2581
+ # &quot;ShortText&quot;
2582
+ # ],
2583
+ # [
2584
+ # &quot;_nsubrecs&quot;,
2585
+ # &quot;Int32&quot;
2586
+ # ]
2587
+ # ],
2588
+ # [
2589
+ # &quot;Groonga&quot;,
2590
+ # 2
2591
+ # ],
2592
+ # [
2593
+ # &quot;Senna&quot;,
2594
+ # 2
2595
+ # ]
2596
+ # ]
2597
+ # }
2598
+ # ]
2599
+ # ]
2600
+ </pre></div>
2601
+ </div>
2602
+ </div>
2603
+ <div class="section" id="drilldowns-label-limit">
2604
+ <span id="logical-select-drilldowns-label-limit"></span><h4>7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code><a class="headerlink" href="#drilldowns-label-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
2605
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。</p>
2606
+ <p>以下は例です。</p>
2607
+ <p>実行例:</p>
2608
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2609
+ --logical_table Entries \
2610
+ --shard_key created_at \
2611
+ --limit 0 \
2612
+ --output_columns _id \
2613
+ --drilldowns[tag.n_likes].keys tag \
2614
+ --drilldowns[tag.n_likes].limit 2
2615
+ # [
2616
+ # [
2617
+ # 0,
2618
+ # 1337566253.89858,
2619
+ # 0.000355720520019531
2620
+ # ],
2621
+ # [
2622
+ # [
2623
+ # [
2624
+ # 5
2625
+ # ],
2626
+ # [
2627
+ # [
2628
+ # &quot;_id&quot;,
2629
+ # &quot;UInt32&quot;
2630
+ # ]
2631
+ # ]
2632
+ # ],
2633
+ # {
2634
+ # &quot;tag.n_likes&quot;: [
2635
+ # [
2636
+ # 3
2637
+ # ],
2638
+ # [
2639
+ # [
2640
+ # &quot;_key&quot;,
2641
+ # &quot;ShortText&quot;
2642
+ # ],
2643
+ # [
2644
+ # &quot;_nsubrecs&quot;,
2645
+ # &quot;Int32&quot;
2646
+ # ]
2647
+ # ],
2648
+ # [
2649
+ # &quot;Hello&quot;,
2650
+ # 1
2651
+ # ],
2652
+ # [
2653
+ # &quot;Groonga&quot;,
2654
+ # 2
2655
+ # ]
2656
+ # ]
2657
+ # }
2658
+ # ]
2659
+ # ]
2660
+ </pre></div>
2661
+ </div>
2662
+ </div>
2663
+ <div class="section" id="drilldowns-label-calc-types">
2664
+ <span id="logical-select-drilldowns-label-calc-types"></span><h4>7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldowns-label-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
2665
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。</p>
2666
+ <p>以下は例です。</p>
2667
+ <p>実行例:</p>
2668
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2669
+ --logical_table Entries \
2670
+ --shard_key created_at \
2671
+ --limit 0 \
2672
+ --output_columns _id \
2673
+ --drilldowns[tag].keys tag \
2674
+ --drilldowns[tag].calc_types MAX,MIN,SUM,AVG \
2675
+ --drilldowns[tag].calc_target n_likes \
2676
+ --drilldowns[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
2677
+ # [
2678
+ # [
2679
+ # 0,
2680
+ # 1337566253.89858,
2681
+ # 0.000355720520019531
2682
+ # ],
2683
+ # [
2684
+ # [
2685
+ # [
2686
+ # 5
2687
+ # ],
2688
+ # [
2689
+ # [
2690
+ # &quot;_id&quot;,
2691
+ # &quot;UInt32&quot;
2692
+ # ]
2693
+ # ]
2694
+ # ],
2695
+ # {
2696
+ # &quot;tag&quot;: [
2697
+ # [
2698
+ # 3
1526
2699
  # ],
1527
2700
  # [
1528
- # &quot;_max&quot;,
1529
- # &quot;Int64&quot;
2701
+ # [
2702
+ # &quot;_key&quot;,
2703
+ # &quot;ShortText&quot;
2704
+ # ],
2705
+ # [
2706
+ # &quot;_nsubrecs&quot;,
2707
+ # &quot;Int32&quot;
2708
+ # ],
2709
+ # [
2710
+ # &quot;_max&quot;,
2711
+ # &quot;Int64&quot;
2712
+ # ],
2713
+ # [
2714
+ # &quot;_min&quot;,
2715
+ # &quot;Int64&quot;
2716
+ # ],
2717
+ # [
2718
+ # &quot;_sum&quot;,
2719
+ # &quot;Int64&quot;
2720
+ # ],
2721
+ # [
2722
+ # &quot;_avg&quot;,
2723
+ # &quot;Float&quot;
2724
+ # ]
1530
2725
  # ],
1531
2726
  # [
1532
- # &quot;_min&quot;,
1533
- # &quot;Int64&quot;
2727
+ # &quot;Hello&quot;,
2728
+ # 1,
2729
+ # 5,
2730
+ # 5,
2731
+ # 5,
2732
+ # 5.0
1534
2733
  # ],
1535
2734
  # [
1536
- # &quot;_sum&quot;,
1537
- # &quot;Int64&quot;
2735
+ # &quot;Groonga&quot;,
2736
+ # 2,
2737
+ # 15,
2738
+ # 10,
2739
+ # 25,
2740
+ # 12.5
1538
2741
  # ],
1539
2742
  # [
1540
- # &quot;_avg&quot;,
1541
- # &quot;Float&quot;
2743
+ # &quot;Senna&quot;,
2744
+ # 2,
2745
+ # 3,
2746
+ # 3,
2747
+ # 6,
2748
+ # 3.0
1542
2749
  # ]
1543
- # ],
1544
- # [
1545
- # &quot;Hello&quot;,
1546
- # 1,
1547
- # 5,
1548
- # 5,
1549
- # 5,
1550
- # 5.0
1551
- # ],
1552
- # [
1553
- # &quot;Groonga&quot;,
1554
- # 2,
1555
- # 15,
1556
- # 10,
1557
- # 25,
1558
- # 12.5
1559
- # ],
1560
- # [
1561
- # &quot;Senna&quot;,
1562
- # 2,
1563
- # 3,
1564
- # 3,
1565
- # 6,
1566
- # 3.0
1567
2750
  # ]
1568
- # ]
2751
+ # }
1569
2752
  # ]
1570
2753
  # ]
1571
2754
  </pre></div>
1572
2755
  </div>
1573
2756
  </div>
1574
- <div class="section" id="drilldown-calc-target">
1575
- <span id="logical-select-drilldown-calc-target"></span><h4>7.3.34.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
1576
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> を見てください。</p>
1577
- <p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
2757
+ <div class="section" id="drilldowns-label-calc-target">
2758
+ <span id="logical-select-drilldowns-label-calc-target"></span><h4>7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldowns-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
2759
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。</p>
2760
+ <p>例は <a class="reference internal" href="#logical-select-drilldowns-label-calc-types"><span class="std std-ref">drilldowns[${LABEL}].calc_types</span></a> を参照してください。</p>
1578
2761
  </div>
2762
+ <div class="section" id="drilldowns-label-filter">
2763
+ <span id="logical-select-drilldowns-label-filter"></span><h4>7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code><a class="headerlink" href="#drilldowns-label-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
2764
+ <div class="versionadded">
2765
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
1579
2766
  </div>
1580
- <div class="section" id="advanced-drilldown-related-parameters">
1581
- <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.34.5.7. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1582
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
1583
- <p>いくつか制限があります。</p>
1584
- <blockquote>
1585
- <div><ul class="simple">
1586
- <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
1587
- </li>
1588
- </ul>
1589
- </div></blockquote>
1590
- <div class="section" id="drilldown-label-keys">
1591
- <span id="logical-select-drilldown-label-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code><a class="headerlink" href="#drilldown-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
1592
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> を見てください。</p>
1593
- <p>以下は例です。</p>
2767
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。</p>
2768
+ <p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
1594
2769
  <p>実行例:</p>
1595
2770
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1596
2771
  --logical_table Entries \
1597
2772
  --shard_key created_at \
1598
2773
  --limit 0 \
1599
2774
  --output_columns _id \
1600
- --drilldown[tag.n_likes].keys tag,n_likes \
1601
- --drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
2775
+ --drilldowns[tag].keys tag \
2776
+ --drilldowns[tag].filter &quot;_nsubrecs &gt; 1&quot; \
2777
+ --drilldowns[tag].output_columns _key,_nsubrecs
1602
2778
  # [
1603
2779
  # [
1604
2780
  # 0,
@@ -1618,42 +2794,26 @@ load --table Entries_20150709
1618
2794
  # ]
1619
2795
  # ],
1620
2796
  # {
1621
- # &quot;tag.n_likes&quot;: [
2797
+ # &quot;tag&quot;: [
1622
2798
  # [
1623
- # 4
2799
+ # 2
1624
2800
  # ],
1625
2801
  # [
1626
2802
  # [
1627
- # &quot;tag&quot;,
2803
+ # &quot;_key&quot;,
1628
2804
  # &quot;ShortText&quot;
1629
2805
  # ],
1630
2806
  # [
1631
- # &quot;n_likes&quot;,
1632
- # &quot;UInt32&quot;
1633
- # ],
1634
- # [
1635
2807
  # &quot;_nsubrecs&quot;,
1636
2808
  # &quot;Int32&quot;
1637
2809
  # ]
1638
2810
  # ],
1639
2811
  # [
1640
- # &quot;Hello&quot;,
1641
- # 5,
1642
- # 1
1643
- # ],
1644
- # [
1645
- # &quot;Groonga&quot;,
1646
- # 10,
1647
- # 1
1648
- # ],
1649
- # [
1650
2812
  # &quot;Groonga&quot;,
1651
- # 15,
1652
- # 1
2813
+ # 2
1653
2814
  # ],
1654
2815
  # [
1655
2816
  # &quot;Senna&quot;,
1656
- # 3,
1657
2817
  # 2
1658
2818
  # ]
1659
2819
  # ]
@@ -1663,18 +2823,24 @@ load --table Entries_20150709
1663
2823
  </pre></div>
1664
2824
  </div>
1665
2825
  </div>
1666
- <div class="section" id="drilldown-label-output-columns">
1667
- <span id="logical-select-drilldown-label-output-columns"></span><h4>7.3.34.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldown-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
1668
- <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> を見てください。</p>
1669
- <p>以下は例です。</p>
2826
+ <div class="section" id="drilldowns-label-columns-name-stage">
2827
+ <span id="logical-select-drilldowns-label-columns-name-stage"></span><h4>7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code><a class="headerlink" href="#drilldowns-label-columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
2828
+ <div class="versionadded">
2829
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
2830
+ </div>
2831
+ <p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> を見てください。</p>
2832
+ <p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで動的カラムを作る例です。この例ではドリルダウンした各タグが1回だけ出現したかどうかを保存する動的カラムを1つ作っています。</p>
1670
2833
  <p>実行例:</p>
1671
2834
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1672
2835
  --logical_table Entries \
1673
2836
  --shard_key created_at \
1674
2837
  --limit 0 \
1675
2838
  --output_columns _id \
1676
- --drilldown[tag].keys tag \
1677
- --drilldown[tag].output_columns _key,_nsubrecs
2839
+ --drilldowns[tag].keys tag \
2840
+ --drilldowns[tag].columns[is_popular].stage initial \
2841
+ --drilldowns[tag].columns[is_popular].type Bool \
2842
+ --drilldowns[tag].columns[is_popular].value &#39;_nsubrecs &gt; 1&#39; \
2843
+ --drilldowns[tag].output_columns _key,_nsubrecs,is_popular
1678
2844
  # [
1679
2845
  # [
1680
2846
  # 0,
@@ -1706,19 +2872,26 @@ load --table Entries_20150709
1706
2872
  # [
1707
2873
  # &quot;_nsubrecs&quot;,
1708
2874
  # &quot;Int32&quot;
2875
+ # ],
2876
+ # [
2877
+ # &quot;is_popular&quot;,
2878
+ # &quot;Bool&quot;
1709
2879
  # ]
1710
2880
  # ],
1711
2881
  # [
1712
2882
  # &quot;Hello&quot;,
1713
- # 1
2883
+ # 1,
2884
+ # false
1714
2885
  # ],
1715
2886
  # [
1716
2887
  # &quot;Groonga&quot;,
1717
- # 2
2888
+ # 2,
2889
+ # true
1718
2890
  # ],
1719
2891
  # [
1720
2892
  # &quot;Senna&quot;,
1721
- # 2
2893
+ # 2,
2894
+ # true
1722
2895
  # ]
1723
2896
  # ]
1724
2897
  # }
@@ -1727,25 +2900,26 @@ load --table Entries_20150709
1727
2900
  </pre></div>
1728
2901
  </div>
1729
2902
  </div>
1730
- <div class="section" id="drilldown-label-sortby">
1731
- <span id="logical-select-drilldown-label-sortby"></span><h4>7.3.34.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldown-label-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
1732
- <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> に対応しています。</p>
1733
- <p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> には制限があります。</p>
1734
- <p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
1735
- <p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
2903
+ <div class="section" id="drilldowns-label-columns-name-flags">
2904
+ <span id="logical-select-drilldowns-label-columns-name-flags"></span><h4>7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code><a class="headerlink" href="#drilldowns-label-columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
2905
+ <div class="versionadded">
2906
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
2907
+ </div>
2908
+ <p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。</p>
2909
+ <p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
2910
+ <p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
1736
2911
  <p>実行例:</p>
1737
2912
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1738
2913
  --logical_table Entries \
1739
2914
  --shard_key created_at \
1740
- --min &quot;2015/07/08 00:00:00&quot; \
1741
- --min_border &quot;include&quot; \
1742
- --max &quot;2015/07/09 00:00:00&quot; \
1743
- --max_border &quot;exclude&quot; \
1744
2915
  --limit 0 \
1745
2916
  --output_columns _id \
1746
- --drilldown[tag.n_likes].keys tag,n_likes \
1747
- --drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
1748
- --drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
2917
+ --drilldowns[tag].keys tag \
2918
+ --drilldowns[tag].columns[vector].stage initial \
2919
+ --drilldowns[tag].columns[vector].flags COLUMN_VECTOR \
2920
+ --drilldowns[tag].columns[vector].type ShortText \
2921
+ --drilldowns[tag].columns[vector].value &#39;vector_new(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;)&#39; \
2922
+ --drilldowns[tag].output_columns _key,vector
1749
2923
  # [
1750
2924
  # [
1751
2925
  # 0,
@@ -1755,7 +2929,7 @@ load --table Entries_20150709
1755
2929
  # [
1756
2930
  # [
1757
2931
  # [
1758
- # 3
2932
+ # 5
1759
2933
  # ],
1760
2934
  # [
1761
2935
  # [
@@ -1765,38 +2939,43 @@ load --table Entries_20150709
1765
2939
  # ]
1766
2940
  # ],
1767
2941
  # {
1768
- # &quot;tag.n_likes&quot;: [
2942
+ # &quot;tag&quot;: [
1769
2943
  # [
1770
2944
  # 3
1771
2945
  # ],
1772
2946
  # [
1773
2947
  # [
1774
- # &quot;_nsubrecs&quot;,
1775
- # &quot;Int32&quot;
1776
- # ],
1777
- # [
1778
- # &quot;n_likes&quot;,
1779
- # &quot;UInt32&quot;
2948
+ # &quot;_key&quot;,
2949
+ # &quot;ShortText&quot;
1780
2950
  # ],
1781
2951
  # [
1782
- # &quot;tag&quot;,
2952
+ # &quot;vector&quot;,
1783
2953
  # &quot;ShortText&quot;
1784
2954
  # ]
1785
2955
  # ],
1786
2956
  # [
1787
- # 1,
1788
- # 5,
1789
- # &quot;Hello&quot;
2957
+ # &quot;Hello&quot;,
2958
+ # [
2959
+ # &quot;a&quot;,
2960
+ # &quot;b&quot;,
2961
+ # &quot;c&quot;
2962
+ # ]
1790
2963
  # ],
1791
2964
  # [
1792
- # 1,
1793
- # 10,
1794
- # &quot;Groonga&quot;
2965
+ # &quot;Groonga&quot;,
2966
+ # [
2967
+ # &quot;a&quot;,
2968
+ # &quot;b&quot;,
2969
+ # &quot;c&quot;
2970
+ # ]
1795
2971
  # ],
1796
2972
  # [
1797
- # 1,
1798
- # 15,
1799
- # &quot;Groonga&quot;
2973
+ # &quot;Senna&quot;,
2974
+ # [
2975
+ # &quot;a&quot;,
2976
+ # &quot;b&quot;,
2977
+ # &quot;c&quot;
2978
+ # ]
1800
2979
  # ]
1801
2980
  # ]
1802
2981
  # }
@@ -1805,18 +2984,25 @@ load --table Entries_20150709
1805
2984
  </pre></div>
1806
2985
  </div>
1807
2986
  </div>
1808
- <div class="section" id="drilldown-label-offset">
1809
- <span id="logical-select-drilldown-label-offset"></span><h4>7.3.34.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code><a class="headerlink" href="#drilldown-label-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
1810
- <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。</p>
1811
- <p>以下は例です。</p>
2987
+ <div class="section" id="drilldowns-label-columns-name-type">
2988
+ <span id="logical-select-drilldowns-label-columns-name-type"></span><h4>7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code><a class="headerlink" href="#drilldowns-label-columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
2989
+ <div class="versionadded">
2990
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
2991
+ </div>
2992
+ <p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。</p>
2993
+ <p>必須の引数です。</p>
2994
+ <p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
1812
2995
  <p>実行例:</p>
1813
2996
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1814
2997
  --logical_table Entries \
1815
2998
  --shard_key created_at \
1816
2999
  --limit 0 \
1817
3000
  --output_columns _id \
1818
- --drilldown[tag.n_likes].keys tag \
1819
- --drilldown[tag.n_likes].offset 1
3001
+ --drilldowns[tag].keys tag \
3002
+ --drilldowns[tag].columns[nsubrecs_string].stage initial \
3003
+ --drilldowns[tag].columns[nsubrecs_string].type ShortText \
3004
+ --drilldowns[tag].columns[nsubrecs_string].value _nsubrecs \
3005
+ --drilldowns[tag].output_columns _key,_nsubrecs,nsubrecs_string
1820
3006
  # [
1821
3007
  # [
1822
3008
  # 0,
@@ -1836,7 +3022,7 @@ load --table Entries_20150709
1836
3022
  # ]
1837
3023
  # ],
1838
3024
  # {
1839
- # &quot;tag.n_likes&quot;: [
3025
+ # &quot;tag&quot;: [
1840
3026
  # [
1841
3027
  # 3
1842
3028
  # ],
@@ -1848,15 +3034,26 @@ load --table Entries_20150709
1848
3034
  # [
1849
3035
  # &quot;_nsubrecs&quot;,
1850
3036
  # &quot;Int32&quot;
3037
+ # ],
3038
+ # [
3039
+ # &quot;nsubrecs_string&quot;,
3040
+ # &quot;ShortText&quot;
1851
3041
  # ]
1852
3042
  # ],
1853
3043
  # [
3044
+ # &quot;Hello&quot;,
3045
+ # 1,
3046
+ # &quot;1&quot;
3047
+ # ],
3048
+ # [
1854
3049
  # &quot;Groonga&quot;,
1855
- # 2
3050
+ # 2,
3051
+ # &quot;2&quot;
1856
3052
  # ],
1857
3053
  # [
1858
3054
  # &quot;Senna&quot;,
1859
- # 2
3055
+ # 2,
3056
+ # &quot;2&quot;
1860
3057
  # ]
1861
3058
  # ]
1862
3059
  # }
@@ -1865,18 +3062,51 @@ load --table Entries_20150709
1865
3062
  </pre></div>
1866
3063
  </div>
1867
3064
  </div>
1868
- <div class="section" id="drilldown-label-limit">
1869
- <span id="logical-select-drilldown-label-limit"></span><h4>7.3.34.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code><a class="headerlink" href="#drilldown-label-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
1870
- <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。</p>
1871
- <p>以下は例です。</p>
3065
+ <div class="section" id="drilldowns-label-columns-name-value">
3066
+ <span id="logical-select-drilldowns-label-columns-name-value"></span><h4>7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code><a class="headerlink" href="#drilldowns-label-columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
3067
+ <div class="versionadded">
3068
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
3069
+ </div>
3070
+ <p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。</p>
3071
+ <p>必須の引数です。</p>
3072
+ <p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
3073
+ <p>実行例:</p>
3074
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string \
3075
+ logical_select \
3076
+ --logical_table Entries \
3077
+ --shard_key created_at \
3078
+ --limit 0 \
3079
+ --output_columns _id \
3080
+ --drilldowns[tag].keys tag \
3081
+ --drilldowns[tag].columns[tag_length].stage initial \
3082
+ --drilldowns[tag].columns[tag_length].type UInt32 \
3083
+ --drilldowns[tag].columns[tag_length].value &#39;string_length(_key)&#39; \
3084
+ --drilldowns[tag].output_columns _key,tag_length
3085
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
3086
+ </pre></div>
3087
+ </div>
3088
+ </div>
3089
+ <div class="section" id="drilldowns-label-columns-name-window-sort-keys">
3090
+ <span id="logical-select-drilldowns-label-columns-name-window-sort-keys"></span><h4>7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
3091
+ <div class="versionadded">
3092
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
3093
+ </div>
3094
+ <p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。</p>
3095
+ <p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
3096
+ <p>以下はサブレコード数順で何番目のレコードかを計算する例です。</p>
1872
3097
  <p>実行例:</p>
1873
3098
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1874
3099
  --logical_table Entries \
1875
3100
  --shard_key created_at \
1876
3101
  --limit 0 \
1877
3102
  --output_columns _id \
1878
- --drilldown[tag.n_likes].keys tag \
1879
- --drilldown[tag.n_likes].limit 2
3103
+ --drilldowns[tag].keys tag \
3104
+ --drilldowns[tag].columns[record_number].stage initial \
3105
+ --drilldowns[tag].columns[record_number].type UInt32 \
3106
+ --drilldowns[tag].columns[record_number].value &#39;window_record_number()&#39; \
3107
+ --drilldowns[tag].columns[record_number].window.sort_keys _nsubrecs,_key \
3108
+ --drilldowns[tag].sort_keys record_number \
3109
+ --drilldowns[tag].output_columns _key,_nsubrecs,record_number
1880
3110
  # [
1881
3111
  # [
1882
3112
  # 0,
@@ -1896,7 +3126,7 @@ load --table Entries_20150709
1896
3126
  # ]
1897
3127
  # ],
1898
3128
  # {
1899
- # &quot;tag.n_likes&quot;: [
3129
+ # &quot;tag&quot;: [
1900
3130
  # [
1901
3131
  # 3
1902
3132
  # ],
@@ -1908,15 +3138,26 @@ load --table Entries_20150709
1908
3138
  # [
1909
3139
  # &quot;_nsubrecs&quot;,
1910
3140
  # &quot;Int32&quot;
3141
+ # ],
3142
+ # [
3143
+ # &quot;record_number&quot;,
3144
+ # &quot;UInt32&quot;
1911
3145
  # ]
1912
3146
  # ],
1913
3147
  # [
1914
3148
  # &quot;Hello&quot;,
3149
+ # 1,
1915
3150
  # 1
1916
3151
  # ],
1917
3152
  # [
1918
3153
  # &quot;Groonga&quot;,
3154
+ # 2,
1919
3155
  # 2
3156
+ # ],
3157
+ # [
3158
+ # &quot;Senna&quot;,
3159
+ # 2,
3160
+ # 3
1920
3161
  # ]
1921
3162
  # ]
1922
3163
  # }
@@ -1925,20 +3166,28 @@ load --table Entries_20150709
1925
3166
  </pre></div>
1926
3167
  </div>
1927
3168
  </div>
1928
- <div class="section" id="drilldown-label-calc-types">
1929
- <span id="logical-select-drilldown-label-calc-types"></span><h4>7.3.34.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldown-label-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
1930
- <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。</p>
1931
- <p>以下は例です。</p>
3169
+ <div class="section" id="drilldowns-label-columns-name-window-group-keys">
3170
+ <span id="logical-select-drilldowns-label-columns-name-window-group-keys"></span><h4>7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
3171
+ <div class="versionadded">
3172
+ <p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
3173
+ </div>
3174
+ <p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。</p>
3175
+ <p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
3176
+ <p>以下はサブレコード数が同じグループ毎にタグ名順で何番目のレコードかを計算する例です。</p>
1932
3177
  <p>実行例:</p>
1933
3178
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1934
3179
  --logical_table Entries \
1935
3180
  --shard_key created_at \
1936
3181
  --limit 0 \
1937
3182
  --output_columns _id \
1938
- --drilldown[tag].keys tag \
1939
- --drilldown[tag].calc_types MAX,MIN,SUM,AVG \
1940
- --drilldown[tag].calc_target n_likes \
1941
- --drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
3183
+ --drilldowns[tag].keys tag \
3184
+ --drilldowns[tag].columns[record_number].stage initial \
3185
+ --drilldowns[tag].columns[record_number].type UInt32 \
3186
+ --drilldowns[tag].columns[record_number].value &#39;window_record_number()&#39; \
3187
+ --drilldowns[tag].columns[record_number].window.sort_keys _key \
3188
+ --drilldowns[tag].columns[record_number].window.group_keys _nsubrecs \
3189
+ --drilldowns[tag].sort_keys _nsubrecs,record_number \
3190
+ --drilldowns[tag].output_columns _key,_nsubrecs,record_number
1942
3191
  # [
1943
3192
  # [
1944
3193
  # 0,
@@ -1972,45 +3221,24 @@ load --table Entries_20150709
1972
3221
  # &quot;Int32&quot;
1973
3222
  # ],
1974
3223
  # [
1975
- # &quot;_max&quot;,
1976
- # &quot;Int64&quot;
1977
- # ],
1978
- # [
1979
- # &quot;_min&quot;,
1980
- # &quot;Int64&quot;
1981
- # ],
1982
- # [
1983
- # &quot;_sum&quot;,
1984
- # &quot;Int64&quot;
1985
- # ],
1986
- # [
1987
- # &quot;_avg&quot;,
1988
- # &quot;Float&quot;
3224
+ # &quot;record_number&quot;,
3225
+ # &quot;UInt32&quot;
1989
3226
  # ]
1990
3227
  # ],
1991
3228
  # [
1992
3229
  # &quot;Hello&quot;,
1993
3230
  # 1,
1994
- # 5,
1995
- # 5,
1996
- # 5,
1997
- # 5.0
3231
+ # 1
1998
3232
  # ],
1999
3233
  # [
2000
3234
  # &quot;Groonga&quot;,
2001
3235
  # 2,
2002
- # 15,
2003
- # 10,
2004
- # 25,
2005
- # 12.5
3236
+ # 1
2006
3237
  # ],
2007
3238
  # [
2008
3239
  # &quot;Senna&quot;,
2009
3240
  # 2,
2010
- # 3,
2011
- # 3,
2012
- # 6,
2013
- # 3.0
3241
+ # 2
2014
3242
  # ]
2015
3243
  # ]
2016
3244
  # }
@@ -2019,11 +3247,6 @@ load --table Entries_20150709
2019
3247
  </pre></div>
2020
3248
  </div>
2021
3249
  </div>
2022
- <div class="section" id="drilldown-label-calc-target">
2023
- <span id="logical-select-drilldown-label-calc-target"></span><h4>7.3.34.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldown-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
2024
- <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。</p>
2025
- <p>例は <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span class="std std-ref">drilldown[${LABEL}].calc_types</span></a> を参照してください。</p>
2026
- </div>
2027
3250
  </div>
2028
3251
  </div>
2029
3252
  <div class="section" id="return-value">
@@ -2076,29 +3299,52 @@ load --table Entries_20150709
2076
3299
  <li><a class="reference internal" href="#output-related-parameters">7.3.34.5.5. 出力関連の引数</a><ul>
2077
3300
  <li><a class="reference internal" href="#output-columns">7.3.34.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
2078
3301
  <li><a class="reference internal" href="#sortby">7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
2079
- <li><a class="reference internal" href="#offset">7.3.34.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
2080
- <li><a class="reference internal" href="#limit">7.3.34.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
2081
- <li><a class="reference internal" href="#scorer">7.3.34.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
3302
+ <li><a class="reference internal" href="#sort-keys">7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code></a></li>
3303
+ <li><a class="reference internal" href="#offset">7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
3304
+ <li><a class="reference internal" href="#limit">7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
3305
+ <li><a class="reference internal" href="#scorer">7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
3306
+ </ul>
3307
+ </li>
3308
+ <li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.34.5.6. 動的カラム関連の引数</a><ul>
3309
+ <li><a class="reference internal" href="#columns-name-stage">7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code></a></li>
3310
+ <li><a class="reference internal" href="#columns-name-flags">7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code></a></li>
3311
+ <li><a class="reference internal" href="#columns-name-type">7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code></a></li>
3312
+ <li><a class="reference internal" href="#columns-name-value">7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code></a></li>
3313
+ </ul>
3314
+ </li>
3315
+ <li><a class="reference internal" href="#window-function-related-parameters">7.3.34.5.7. ウィンドウ関数関連の引数</a><ul>
3316
+ <li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
3317
+ <li><a class="reference internal" href="#columns-name-window-group-keys">7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
2082
3318
  </ul>
2083
3319
  </li>
2084
- <li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.6. ドリルダウン関連の引数</a><ul>
2085
- <li><a class="reference internal" href="#drilldown">7.3.34.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
2086
- <li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
2087
- <li><a class="reference internal" href="#drilldown-output-columns">7.3.34.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
2088
- <li><a class="reference internal" href="#drilldown-offset">7.3.34.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
2089
- <li><a class="reference internal" href="#drilldown-limit">7.3.34.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
2090
- <li><a class="reference internal" href="#drilldown-calc-types">7.3.34.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
2091
- <li><a class="reference internal" href="#drilldown-calc-target">7.3.34.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
3320
+ <li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.8. ドリルダウン関連の引数</a><ul>
3321
+ <li><a class="reference internal" href="#drilldown">7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
3322
+ <li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
3323
+ <li><a class="reference internal" href="#drilldown-sort-keys">7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code></a></li>
3324
+ <li><a class="reference internal" href="#drilldown-output-columns">7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
3325
+ <li><a class="reference internal" href="#drilldown-offset">7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
3326
+ <li><a class="reference internal" href="#drilldown-limit">7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
3327
+ <li><a class="reference internal" href="#drilldown-calc-types">7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
3328
+ <li><a class="reference internal" href="#drilldown-calc-target">7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
3329
+ <li><a class="reference internal" href="#drilldown-filter">7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code></a></li>
2092
3330
  </ul>
2093
3331
  </li>
2094
- <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.7. 高度なドリルダウン関連のパラメーター</a><ul>
2095
- <li><a class="reference internal" href="#drilldown-label-keys">7.3.34.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code></a></li>
2096
- <li><a class="reference internal" href="#drilldown-label-output-columns">7.3.34.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code></a></li>
2097
- <li><a class="reference internal" href="#drilldown-label-sortby">7.3.34.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code></a></li>
2098
- <li><a class="reference internal" href="#drilldown-label-offset">7.3.34.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code></a></li>
2099
- <li><a class="reference internal" href="#drilldown-label-limit">7.3.34.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code></a></li>
2100
- <li><a class="reference internal" href="#drilldown-label-calc-types">7.3.34.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code></a></li>
2101
- <li><a class="reference internal" href="#drilldown-label-calc-target">7.3.34.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code></a></li>
3332
+ <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.9. 高度なドリルダウン関連のパラメーター</a><ul>
3333
+ <li><a class="reference internal" href="#drilldowns-label-keys">7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code></a></li>
3334
+ <li><a class="reference internal" href="#drilldowns-label-output-columns">7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code></a></li>
3335
+ <li><a class="reference internal" href="#drilldowns-label-sortby">7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code></a></li>
3336
+ <li><a class="reference internal" href="#drilldowns-label-sort-keys">7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code></a></li>
3337
+ <li><a class="reference internal" href="#drilldowns-label-offset">7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code></a></li>
3338
+ <li><a class="reference internal" href="#drilldowns-label-limit">7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code></a></li>
3339
+ <li><a class="reference internal" href="#drilldowns-label-calc-types">7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code></a></li>
3340
+ <li><a class="reference internal" href="#drilldowns-label-calc-target">7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code></a></li>
3341
+ <li><a class="reference internal" href="#drilldowns-label-filter">7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code></a></li>
3342
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-stage">7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code></a></li>
3343
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-flags">7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code></a></li>
3344
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-type">7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code></a></li>
3345
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-value">7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code></a></li>
3346
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-window-sort-keys">7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code></a></li>
3347
+ <li><a class="reference internal" href="#drilldowns-label-columns-name-window-group-keys">7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code></a></li>
2102
3348
  </ul>
2103
3349
  </li>
2104
3350
  </ul>
@@ -2147,7 +3393,7 @@ load --table Entries_20150709
2147
3393
  <li class="right" >
2148
3394
  <a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
2149
3395
  >前へ</a> |</li>
2150
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3ドキュメント</a> &#187;</li>
3396
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> &#187;</li>
2151
3397
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &#187;</li>
2152
3398
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> &#187;</li>
2153
3399
  </ul>