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.32. logical_parameters &#8212; Groonga v6.1.3 documentation</title>
10
+ <title>7.3.32. logical_parameters &#8212; Groonga v7.0.1-160-gda23e59 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
28
  <link rel="index" title="Index" href="../../genindex.html" />
29
29
  <link rel="search" title="Search" href="../../search.html" />
30
- <link rel="top" title="Groonga v6.1.3 documentation" href="../../index.html" />
30
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59 documentation" href="../../index.html" />
31
31
  <link rel="up" title="7.3. Command" href="../command.html" />
32
32
  <link rel="next" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
33
33
  <link rel="prev" title="7.3.31. logical_count" href="logical_count.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="logical_count.html" title="7.3.31. logical_count"
64
64
  accesskey="P">previous</a> |</li>
65
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
66
66
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
67
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
68
68
  </ul>
@@ -266,7 +266,7 @@ for testing a case that range index isn't used.</p>
266
266
  <li class="right" >
267
267
  <a href="logical_count.html" title="7.3.31. logical_count"
268
268
  >previous</a> |</li>
269
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
269
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
270
270
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
271
271
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
272
272
  </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 documentation</title>
10
+ <title>7.3.33. logical_range_filter &#8212; Groonga v7.0.1-160-gda23e59 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
28
  <link rel="index" title="Index" href="../../genindex.html" />
29
29
  <link rel="search" title="Search" href="../../search.html" />
30
- <link rel="top" title="Groonga v6.1.3 documentation" href="../../index.html" />
30
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59 documentation" href="../../index.html" />
31
31
  <link rel="up" title="7.3. Command" href="../command.html" />
32
32
  <link rel="next" title="7.3.34. logical_select" href="logical_select.html" />
33
33
  <link rel="prev" title="7.3.32. logical_parameters" href="logical_parameters.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="logical_parameters.html" title="7.3.32. logical_parameters"
64
64
  accesskey="P">previous</a> |</li>
65
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
66
66
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
67
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
68
68
  </ul>
@@ -310,7 +310,7 @@ It's the default value.</td>
310
310
  <li class="right" >
311
311
  <a href="logical_parameters.html" title="7.3.32. logical_parameters"
312
312
  >previous</a> |</li>
313
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
313
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
314
314
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
315
315
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
316
316
  </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 documentation</title>
10
+ <title>7.3.34. logical_select &#8212; Groonga v7.0.1-160-gda23e59 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '6.1.3',
18
+ VERSION: '7.0.1-160-gda23e59',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
28
  <link rel="index" title="Index" href="../../genindex.html" />
29
29
  <link rel="search" title="Search" href="../../search.html" />
30
- <link rel="top" title="Groonga v6.1.3 documentation" href="../../index.html" />
30
+ <link rel="top" title="Groonga v7.0.1-160-gda23e59 documentation" href="../../index.html" />
31
31
  <link rel="up" title="7.3. Command" href="../command.html" />
32
32
  <link rel="next" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
33
33
  <link rel="prev" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
64
64
  accesskey="P">previous</a> |</li>
65
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
65
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
66
66
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
67
67
  <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> &#187;</li>
68
68
  </ul>
@@ -109,38 +109,92 @@ parameters are optional:</p>
109
109
  [drilldown_limit=10]
110
110
  [drilldown_calc_types=NONE]
111
111
  [drilldown_calc_target=null]
112
+ [sort_keys=null]
113
+ [drilldown_sort_keys=null]
114
+ [match_columns=null]
115
+ [query=null]
116
+ [drilldown_filter=null]
112
117
  </pre></div>
113
118
  </div>
114
- <p><code class="docutils literal"><span class="pre">logical_select</span></code> has the following named parameters for advanced
119
+ <p>This command has the following named parameters for dynamic columns:</p>
120
+ <blockquote>
121
+ <div><ul class="simple">
122
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
123
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
124
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
125
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
126
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
127
+ <li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
128
+ </ul>
129
+ </div></blockquote>
130
+ <p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> for <code class="docutils literal"><span class="pre">${NAME}</span></code>. For
131
+ example, <code class="docutils literal"><span class="pre">column1</span></code> is a valid <code class="docutils literal"><span class="pre">${NAME}</span></code>. This is the same rule as
132
+ normal column. See also <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a>.</p>
133
+ <p>Parameters that have the same <code class="docutils literal"><span class="pre">${NAME}</span></code> are grouped.</p>
134
+ <p>For example, the following parameters specify one dynamic column:</p>
135
+ <blockquote>
136
+ <div><ul class="simple">
137
+ <li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
138
+ <li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
139
+ <li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
140
+ </ul>
141
+ </div></blockquote>
142
+ <p>The following parameters specify two dynamic columns:</p>
143
+ <blockquote>
144
+ <div><ul class="simple">
145
+ <li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
146
+ <li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
147
+ <li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
148
+ <li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
149
+ <li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
150
+ <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>
151
+ </ul>
152
+ </div></blockquote>
153
+ <p>This command has the following named parameters for advanced
115
154
  drilldown:</p>
116
155
  <blockquote>
117
156
  <div><ul class="simple">
118
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
119
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
120
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
121
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
122
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
123
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
124
- <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
157
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></li>
158
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></li>
159
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
160
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></li>
161
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></li>
162
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></li>
163
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></li>
164
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></li>
165
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></li>
166
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
167
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></li>
168
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></li>
169
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></li>
170
+ <li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></li>
125
171
  </ul>
126
172
  </div></blockquote>
173
+ <div class="deprecated">
174
+ <p><span class="versionmodified">Deprecated since version 6.1.4: </span><code class="docutils literal"><span class="pre">drilldown[...]</span></code> syntax is deprecated. Use <code class="docutils literal"><span class="pre">drilldowns[...]</span></code>
175
+ instead.</p>
176
+ </div>
177
+ <div class="deprecated">
178
+ <p><span class="versionmodified">Deprecated since version 6.1.5: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> is deprecated.
179
+ Use <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> instead.</p>
180
+ </div>
127
181
  <p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> and <code class="docutils literal"><span class="pre">.</span></code> for
128
182
  <code class="docutils literal"><span class="pre">${LABEL}</span></code>. For example, <code class="docutils literal"><span class="pre">parent.sub1</span></code> is a valid <code class="docutils literal"><span class="pre">${LABEL}</span></code>.</p>
129
183
  <p>Parameters that have the same <code class="docutils literal"><span class="pre">${LABEL}</span></code> are grouped.</p>
130
184
  <p>For example, the following parameters specify one drilldown:</p>
131
185
  <blockquote>
132
186
  <div><ul class="simple">
133
- <li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
134
- <li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
187
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></li>
188
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
135
189
  </ul>
136
190
  </div></blockquote>
137
191
  <p>The following parameters specify two drilldowns:</p>
138
192
  <blockquote>
139
193
  <div><ul class="simple">
140
- <li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
141
- <li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
142
- <li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
143
- <li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
194
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></li>
195
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
196
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></li>
197
+ <li><code class="docutils literal"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></li>
144
198
  </ul>
145
199
  </div></blockquote>
146
200
  </div>
@@ -154,12 +208,12 @@ format is same and so on.</p>
154
208
  <div><ul class="simple">
155
209
  <li><code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code> parameters are required
156
210
  instead of <code class="docutils literal"><span class="pre">table</span></code> parameter.</li>
157
- <li><code class="docutils literal"><span class="pre">sortby</span></code> isn't supported when multiple shards are used. (Only
211
+ <li><code class="docutils literal"><span class="pre">sort_keys</span></code> isn't supported when multiple shards are used. (Only
158
212
  one shard is used, they are supported.)</li>
159
- <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
160
- work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
161
- <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
162
- <li><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet.</li>
213
+ <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
214
+ doesn't work with multiple shards. It works with one
215
+ shard. <code class="docutils literal"><span class="pre">_key</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with
216
+ multiple shards.</li>
163
217
  <li><code class="docutils literal"><span class="pre">cache</span></code> isn't supported yet.</li>
164
218
  <li><code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> isn't supported yet.</li>
165
219
  <li><code class="docutils literal"><span class="pre">query_flags</span></code> isn't supported yet.</li>
@@ -385,9 +439,9 @@ name is <code class="docutils literal"><span class="pre">Entries</span></code>.<
385
439
  # &quot;[logical_select] no shard exists: logical_table: &lt;Nonexistent&gt;: shard_key: &lt;created_at&gt;&quot;,
386
440
  # [
387
441
  # [
388
- # &quot;Groonga::Context.set_groonga_error&quot;,
389
- # &quot;lib/mrb/scripts/context.rb&quot;,
390
- # 27
442
+ # &quot;Groonga::Sharding::LogicalSelectCommand::Executor.execute_search&quot;,
443
+ # &quot;/home/kou/work/c/groonga.clean/plugins/sharding/logical_select.rb&quot;,
444
+ # 728
391
445
  # ]
392
446
  # ]
393
447
  # ]
@@ -748,15 +802,153 @@ available values.</p>
748
802
  <span id="logical-select-search-related-parameters"></span><h3>7.3.34.5.3. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
749
803
  <p><code class="docutils literal"><span class="pre">logical_select</span></code> provides <a class="reference internal" href="select.html"><span class="doc">select</span></a> compatible search related
750
804
  parameters.</p>
751
- <p><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet. <code class="docutils literal"><span class="pre">filter</span></code> is
752
- only supported for now.</p>
753
805
  <div class="section" id="match-columns">
754
806
  <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="Permalink to this headline">¶</a></h4>
755
- <p>Not implemented yet.</p>
807
+ <div class="versionadded">
808
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
809
+ </div>
810
+ <p>Corresponds to <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
811
+ <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> for details.</p>
812
+ <p>Here is an example to find records that include <code class="docutils literal"><span class="pre">&quot;fast&quot;</span></code> text in
813
+ <code class="docutils literal"><span class="pre">content</span></code> column:</p>
814
+ <p>Execution example:</p>
815
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
816
+ --logical_table Entries \
817
+ --shard_key created_at \
818
+ --match_columns content \
819
+ --query &quot;fast&quot;
820
+ # [
821
+ # [
822
+ # 0,
823
+ # 1337566253.89858,
824
+ # 0.000355720520019531
825
+ # ],
826
+ # [
827
+ # [
828
+ # [
829
+ # 2
830
+ # ],
831
+ # [
832
+ # [
833
+ # &quot;_id&quot;,
834
+ # &quot;UInt32&quot;
835
+ # ],
836
+ # [
837
+ # &quot;_key&quot;,
838
+ # &quot;ShortText&quot;
839
+ # ],
840
+ # [
841
+ # &quot;content&quot;,
842
+ # &quot;Text&quot;
843
+ # ],
844
+ # [
845
+ # &quot;created_at&quot;,
846
+ # &quot;Time&quot;
847
+ # ],
848
+ # [
849
+ # &quot;n_likes&quot;,
850
+ # &quot;UInt32&quot;
851
+ # ],
852
+ # [
853
+ # &quot;tag&quot;,
854
+ # &quot;ShortText&quot;
855
+ # ]
856
+ # ],
857
+ # [
858
+ # 2,
859
+ # &quot;Groonga&quot;,
860
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
861
+ # 1436284800.0,
862
+ # 10,
863
+ # &quot;Groonga&quot;
864
+ # ],
865
+ # [
866
+ # 3,
867
+ # &quot;Mroonga&quot;,
868
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
869
+ # 1436288400.0,
870
+ # 15,
871
+ # &quot;Groonga&quot;
872
+ # ]
873
+ # ]
874
+ # ]
875
+ # ]
876
+ </pre></div>
877
+ </div>
756
878
  </div>
757
879
  <div class="section" id="query">
758
880
  <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="Permalink to this headline">¶</a></h4>
759
- <p>Not implemented yet.</p>
881
+ <div class="versionadded">
882
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
883
+ </div>
884
+ <p>Corresponds to <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
885
+ <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> for details.</p>
886
+ <p>Here is an example to find records that include <code class="docutils literal"><span class="pre">&quot;fast&quot;</span></code> text in
887
+ <code class="docutils literal"><span class="pre">content</span></code> column:</p>
888
+ <p>Execution example:</p>
889
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
890
+ --logical_table Entries \
891
+ --shard_key created_at \
892
+ --query &quot;content:@fast&quot;
893
+ # [
894
+ # [
895
+ # 0,
896
+ # 1337566253.89858,
897
+ # 0.000355720520019531
898
+ # ],
899
+ # [
900
+ # [
901
+ # [
902
+ # 2
903
+ # ],
904
+ # [
905
+ # [
906
+ # &quot;_id&quot;,
907
+ # &quot;UInt32&quot;
908
+ # ],
909
+ # [
910
+ # &quot;_key&quot;,
911
+ # &quot;ShortText&quot;
912
+ # ],
913
+ # [
914
+ # &quot;content&quot;,
915
+ # &quot;Text&quot;
916
+ # ],
917
+ # [
918
+ # &quot;created_at&quot;,
919
+ # &quot;Time&quot;
920
+ # ],
921
+ # [
922
+ # &quot;n_likes&quot;,
923
+ # &quot;UInt32&quot;
924
+ # ],
925
+ # [
926
+ # &quot;tag&quot;,
927
+ # &quot;ShortText&quot;
928
+ # ]
929
+ # ],
930
+ # [
931
+ # 2,
932
+ # &quot;Groonga&quot;,
933
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
934
+ # 1436284800.0,
935
+ # 10,
936
+ # &quot;Groonga&quot;
937
+ # ],
938
+ # [
939
+ # 3,
940
+ # &quot;Mroonga&quot;,
941
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
942
+ # 1436288400.0,
943
+ # 15,
944
+ # &quot;Groonga&quot;
945
+ # ]
946
+ # ]
947
+ # ]
948
+ # ]
949
+ </pre></div>
950
+ </div>
951
+ <p>See also <a class="reference internal" href="#logical-select-match-columns"><span class="std std-ref">match_columns</span></a>.</p>
760
952
  </div>
761
953
  <div class="section" id="filter">
762
954
  <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="Permalink to this headline">¶</a></h4>
@@ -940,11 +1132,17 @@ only supported for now.</p>
940
1132
  </div>
941
1133
  <div class="section" id="sortby">
942
1134
  <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="Permalink to this headline">¶</a></h4>
943
- <p>Corresponds to <a class="reference internal" href="select.html#select-sortby"><span class="std std-ref">sortby</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
944
- <a class="reference internal" href="select.html#select-sortby"><span class="std std-ref">sortby</span></a> for details.</p>
945
- <p><code class="docutils literal"><span class="pre">sortby</span></code> has a limitation. It works only when the number of search
946
- target shards is one. If the number of search target shards is larger
947
- than one, <code class="docutils literal"><span class="pre">sortby</span></code> doesn't work.</p>
1135
+ <div class="deprecated">
1136
+ <p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> instead.</p>
1137
+ </div>
1138
+ </div>
1139
+ <div class="section" id="sort-keys">
1140
+ <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="Permalink to this headline">¶</a></h4>
1141
+ <p>Corresponds to <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1142
+ <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> for details.</p>
1143
+ <p><code class="docutils literal"><span class="pre">sort_keys</span></code> has a limitation. It works only when the number of
1144
+ search target shards is one. If the number of search target shards is
1145
+ larger than one, <code class="docutils literal"><span class="pre">sort_keys</span></code> doesn't work.</p>
948
1146
  <p>Here is an example that uses only one shard:</p>
949
1147
  <p>Execution example:</p>
950
1148
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
@@ -954,7 +1152,7 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
954
1152
  --min_border &quot;include&quot; \
955
1153
  --max &quot;2015/07/09 00:00:00&quot; \
956
1154
  --max_border &quot;exclude&quot; \
957
- --sortby _key
1155
+ --sort_keys _key
958
1156
  # [
959
1157
  # [
960
1158
  # 0,
@@ -1023,7 +1221,7 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1023
1221
  </div>
1024
1222
  </div>
1025
1223
  <div class="section" id="offset">
1026
- <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="Permalink to this headline">¶</a></h4>
1224
+ <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="Permalink to this headline">¶</a></h4>
1027
1225
  <p>Corresponds to <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1028
1226
  <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> for details.</p>
1029
1227
  <p>Here is an example:</p>
@@ -1100,7 +1298,7 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1100
1298
  </div>
1101
1299
  </div>
1102
1300
  <div class="section" id="limit">
1103
- <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="Permalink to this headline">¶</a></h4>
1301
+ <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="Permalink to this headline">¶</a></h4>
1104
1302
  <p>Corresponds to <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1105
1303
  <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> for details.</p>
1106
1304
  <p>Here is an example:</p>
@@ -1169,25 +1367,38 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1169
1367
  </div>
1170
1368
  </div>
1171
1369
  <div class="section" id="scorer">
1172
- <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="Permalink to this headline">¶</a></h4>
1370
+ <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="Permalink to this headline">¶</a></h4>
1173
1371
  <p>Not implemented yet.</p>
1174
1372
  </div>
1175
1373
  </div>
1176
- <div class="section" id="drilldown-related-parameters">
1177
- <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.6. Drilldown related parameters<a class="headerlink" href="#drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
1178
- <p>All drilldown related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are supported. See
1179
- <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">Drilldown related parameters</span></a> for details.</p>
1180
- <div class="section" id="drilldown">
1181
- <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="Permalink to this headline">¶</a></h4>
1182
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1183
- <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> for details.</p>
1184
- <p>Here is an example:</p>
1374
+ <div class="section" id="dynamic-column-related-parameters">
1375
+ <span id="logical-select-dynamic-column-related-parameters"></span><h3>7.3.34.5.6. Dynamic column related parameters<a class="headerlink" href="#dynamic-column-related-parameters" title="Permalink to this headline">¶</a></h3>
1376
+ <div class="versionadded">
1377
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1378
+ </div>
1379
+ <p>All dynamic column related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
1380
+ supported. See <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">Dynamic column related parameters</span></a> for
1381
+ details.</p>
1382
+ <div class="section" id="columns-name-stage">
1383
+ <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="Permalink to this headline">¶</a></h4>
1384
+ <div class="versionadded">
1385
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1386
+ </div>
1387
+ <p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1388
+ <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> for details.</p>
1389
+ <p>This is a required parameter.</p>
1390
+ <p>Here is an example that creates <code class="docutils literal"><span class="pre">is_popular</span></code> column at <code class="docutils literal"><span class="pre">initial</span></code>
1391
+ stage. You can use <code class="docutils literal"><span class="pre">is_popular</span></code> in all parameters such as <code class="docutils literal"><span class="pre">filter</span></code>
1392
+ and <code class="docutils literal"><span class="pre">output_columns</span></code>:</p>
1185
1393
  <p>Execution example:</p>
1186
1394
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1187
1395
  --logical_table Entries \
1188
1396
  --shard_key created_at \
1189
- --output_columns _key,tag \
1190
- --drilldown tag
1397
+ --columns[is_popular].stage initial \
1398
+ --columns[is_popular].type Bool \
1399
+ --columns[is_popular].value &#39;n_likes &gt;= 10&#39; \
1400
+ --filter is_popular \
1401
+ --output_columns _id,is_popular,n_likes
1191
1402
  # [
1192
1403
  # [
1193
1404
  # 0,
@@ -1197,64 +1408,31 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1197
1408
  # [
1198
1409
  # [
1199
1410
  # [
1200
- # 5
1411
+ # 2
1201
1412
  # ],
1202
1413
  # [
1203
1414
  # [
1204
- # &quot;_key&quot;,
1205
- # &quot;ShortText&quot;
1415
+ # &quot;_id&quot;,
1416
+ # &quot;UInt32&quot;
1206
1417
  # ],
1207
1418
  # [
1208
- # &quot;tag&quot;,
1209
- # &quot;ShortText&quot;
1210
- # ]
1211
- # ],
1212
- # [
1213
- # &quot;The first post!&quot;,
1214
- # &quot;Hello&quot;
1215
- # ],
1216
- # [
1217
- # &quot;Groonga&quot;,
1218
- # &quot;Groonga&quot;
1219
- # ],
1220
- # [
1221
- # &quot;Mroonga&quot;,
1222
- # &quot;Groonga&quot;
1223
- # ],
1224
- # [
1225
- # &quot;Good-bye Senna&quot;,
1226
- # &quot;Senna&quot;
1227
- # ],
1228
- # [
1229
- # &quot;Good-bye Tritonn&quot;,
1230
- # &quot;Senna&quot;
1231
- # ]
1232
- # ],
1233
- # [
1234
- # [
1235
- # 3
1236
- # ],
1237
- # [
1238
- # [
1239
- # &quot;_key&quot;,
1240
- # &quot;ShortText&quot;
1419
+ # &quot;is_popular&quot;,
1420
+ # &quot;Bool&quot;
1241
1421
  # ],
1242
1422
  # [
1243
- # &quot;_nsubrecs&quot;,
1244
- # &quot;Int32&quot;
1423
+ # &quot;n_likes&quot;,
1424
+ # &quot;UInt32&quot;
1245
1425
  # ]
1246
1426
  # ],
1247
1427
  # [
1248
- # &quot;Hello&quot;,
1249
- # 1
1250
- # ],
1251
- # [
1252
- # &quot;Groonga&quot;,
1253
- # 2
1428
+ # 2,
1429
+ # true,
1430
+ # 10
1254
1431
  # ],
1255
1432
  # [
1256
- # &quot;Senna&quot;,
1257
- # 2
1433
+ # 3,
1434
+ # true,
1435
+ # 15
1258
1436
  # ]
1259
1437
  # ]
1260
1438
  # ]
@@ -1262,19 +1440,28 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1262
1440
  </pre></div>
1263
1441
  </div>
1264
1442
  </div>
1265
- <div class="section" id="drilldown-sortby">
1266
- <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="Permalink to this headline">¶</a></h4>
1267
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1268
- <a class="reference internal" href="select.html#select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> for details.</p>
1269
- <p>Here is an example:</p>
1443
+ <div class="section" id="columns-name-flags">
1444
+ <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="Permalink to this headline">¶</a></h4>
1445
+ <div class="versionadded">
1446
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1447
+ </div>
1448
+ <p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1449
+ <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> for details.</p>
1450
+ <p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
1451
+ <p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
1452
+ flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
1453
+ <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
1270
1454
  <p>Execution example:</p>
1271
- <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1455
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
1456
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
1457
+ logical_select \
1272
1458
  --logical_table Entries \
1273
1459
  --shard_key created_at \
1274
- --limit 0 \
1275
- --output_columns _id \
1276
- --drilldown tag \
1277
- --drilldown_sortby -_nsubrecs,_key
1460
+ --columns[vector].stage initial \
1461
+ --columns[vector].flags COLUMN_VECTOR \
1462
+ --columns[vector].type UInt32 \
1463
+ --columns[vector].value &#39;vector_new(1, 2, 3)&#39; \
1464
+ --output_columns _id,vector
1278
1465
  # [
1279
1466
  # [
1280
1467
  # 0,
@@ -1290,34 +1477,51 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1290
1477
  # [
1291
1478
  # &quot;_id&quot;,
1292
1479
  # &quot;UInt32&quot;
1480
+ # ],
1481
+ # [
1482
+ # &quot;vector&quot;,
1483
+ # &quot;UInt32&quot;
1293
1484
  # ]
1294
- # ]
1295
- # ],
1296
- # [
1297
- # [
1298
- # 3
1299
1485
  # ],
1300
1486
  # [
1487
+ # 1,
1301
1488
  # [
1302
- # &quot;_key&quot;,
1303
- # &quot;ShortText&quot;
1304
- # ],
1489
+ # 1,
1490
+ # 2,
1491
+ # 3
1492
+ # ]
1493
+ # ],
1494
+ # [
1495
+ # 2,
1305
1496
  # [
1306
- # &quot;_nsubrecs&quot;,
1307
- # &quot;Int32&quot;
1497
+ # 1,
1498
+ # 2,
1499
+ # 3
1308
1500
  # ]
1309
1501
  # ],
1310
1502
  # [
1311
- # &quot;Groonga&quot;,
1312
- # 2
1503
+ # 3,
1504
+ # [
1505
+ # 1,
1506
+ # 2,
1507
+ # 3
1508
+ # ]
1313
1509
  # ],
1314
1510
  # [
1315
- # &quot;Senna&quot;,
1316
- # 2
1511
+ # 1,
1512
+ # [
1513
+ # 1,
1514
+ # 2,
1515
+ # 3
1516
+ # ]
1317
1517
  # ],
1318
1518
  # [
1319
- # &quot;Hello&quot;,
1320
- # 1
1519
+ # 2,
1520
+ # [
1521
+ # 1,
1522
+ # 2,
1523
+ # 3
1524
+ # ]
1321
1525
  # ]
1322
1526
  # ]
1323
1527
  # ]
@@ -1325,19 +1529,25 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1325
1529
  </pre></div>
1326
1530
  </div>
1327
1531
  </div>
1328
- <div class="section" id="drilldown-output-columns">
1329
- <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="Permalink to this headline">¶</a></h4>
1330
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> in
1331
- <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> for details.</p>
1332
- <p>Here is an example:</p>
1532
+ <div class="section" id="columns-name-type">
1533
+ <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="Permalink to this headline">¶</a></h4>
1534
+ <div class="versionadded">
1535
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1536
+ </div>
1537
+ <p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1538
+ <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> for details.</p>
1539
+ <p>This is a required parameter.</p>
1540
+ <p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
1541
+ value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
1542
+ number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
1333
1543
  <p>Execution example:</p>
1334
1544
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1335
1545
  --logical_table Entries \
1336
1546
  --shard_key created_at \
1337
- --limit 0 \
1338
- --output_columns _id \
1339
- --drilldown tag \
1340
- --drilldown_output_columns _key
1547
+ --columns[n_likes_string].stage initial \
1548
+ --columns[n_likes_string].type ShortText \
1549
+ --columns[n_likes_string].value n_likes \
1550
+ --output_columns _id,n_likes,n_likes_string
1341
1551
  # [
1342
1552
  # [
1343
1553
  # 0,
@@ -1353,27 +1563,40 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1353
1563
  # [
1354
1564
  # &quot;_id&quot;,
1355
1565
  # &quot;UInt32&quot;
1566
+ # ],
1567
+ # [
1568
+ # &quot;n_likes&quot;,
1569
+ # &quot;UInt32&quot;
1570
+ # ],
1571
+ # [
1572
+ # &quot;n_likes_string&quot;,
1573
+ # &quot;ShortText&quot;
1356
1574
  # ]
1357
- # ]
1358
- # ],
1359
- # [
1575
+ # ],
1360
1576
  # [
1361
- # 3
1577
+ # 1,
1578
+ # 5,
1579
+ # &quot;5&quot;
1362
1580
  # ],
1363
1581
  # [
1364
- # [
1365
- # &quot;_key&quot;,
1366
- # &quot;ShortText&quot;
1367
- # ]
1582
+ # 2,
1583
+ # 10,
1584
+ # &quot;10&quot;
1368
1585
  # ],
1369
1586
  # [
1370
- # &quot;Hello&quot;
1587
+ # 3,
1588
+ # 15,
1589
+ # &quot;15&quot;
1371
1590
  # ],
1372
1591
  # [
1373
- # &quot;Groonga&quot;
1592
+ # 1,
1593
+ # 3,
1594
+ # &quot;3&quot;
1374
1595
  # ],
1375
1596
  # [
1376
- # &quot;Senna&quot;
1597
+ # 2,
1598
+ # 3,
1599
+ # &quot;3&quot;
1377
1600
  # ]
1378
1601
  # ]
1379
1602
  # ]
@@ -1381,19 +1604,34 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1381
1604
  </pre></div>
1382
1605
  </div>
1383
1606
  </div>
1384
- <div class="section" id="drilldown-offset">
1385
- <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="Permalink to this headline">¶</a></h4>
1386
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1387
- <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> for details.</p>
1388
- <p>Here is an example:</p>
1607
+ <div class="section" id="columns-name-value">
1608
+ <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="Permalink to this headline">¶</a></h4>
1609
+ <div class="versionadded">
1610
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1611
+ </div>
1612
+ <p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1613
+ <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> for details.</p>
1614
+ <p>You need to specify <a class="reference internal" href="../window_function.html"><span class="doc">Window function</span></a> as <code class="docutils literal"><span class="pre">value</span></code>
1615
+ value and other window function related parameters when you use window
1616
+ function. See <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a>
1617
+ for details.</p>
1618
+ <p>This is a required parameter.</p>
1619
+ <p>Here is an example that creates a new dynamic column that stores the
1620
+ number of characters of content. This example uses
1621
+ <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
1622
+ <code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
1623
+ string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
1624
+ <code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
1389
1625
  <p>Execution example:</p>
1390
- <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1626
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
1627
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
1628
+ logical_select \
1391
1629
  --logical_table Entries \
1392
1630
  --shard_key created_at \
1393
- --limit 0 \
1394
- --output_columns _id \
1395
- --drilldown tag \
1396
- --drilldown_offset 1
1631
+ --columns[content_length].stage initial \
1632
+ --columns[content_length].type UInt32 \
1633
+ --columns[content_length].value &#39;string_length(content)&#39; \
1634
+ --output_columns _id,content,content_length
1397
1635
  # [
1398
1636
  # [
1399
1637
  # 0,
@@ -1409,30 +1647,138 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1409
1647
  # [
1410
1648
  # &quot;_id&quot;,
1411
1649
  # &quot;UInt32&quot;
1650
+ # ],
1651
+ # [
1652
+ # &quot;content&quot;,
1653
+ # &quot;Text&quot;
1654
+ # ],
1655
+ # [
1656
+ # &quot;content_length&quot;,
1657
+ # &quot;UInt32&quot;
1412
1658
  # ]
1659
+ # ],
1660
+ # [
1661
+ # 1,
1662
+ # &quot;Welcome! This is my first post!&quot;,
1663
+ # 31
1664
+ # ],
1665
+ # [
1666
+ # 2,
1667
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1668
+ # 41
1669
+ # ],
1670
+ # [
1671
+ # 3,
1672
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1673
+ # 64
1674
+ # ],
1675
+ # [
1676
+ # 1,
1677
+ # &quot;I migrated all Senna system!&quot;,
1678
+ # 28
1679
+ # ],
1680
+ # [
1681
+ # 2,
1682
+ # &quot;I also migrated all Tritonn system!&quot;,
1683
+ # 35
1413
1684
  # ]
1414
- # ],
1685
+ # ]
1686
+ # ]
1687
+ # ]
1688
+ </pre></div>
1689
+ </div>
1690
+ </div>
1691
+ </div>
1692
+ <div class="section" id="window-function-related-parameters">
1693
+ <span id="logical-select-window-function-related-parameters"></span><h3>7.3.34.5.7. Window function related parameters<a class="headerlink" href="#window-function-related-parameters" title="Permalink to this headline">¶</a></h3>
1694
+ <div class="versionadded">
1695
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1696
+ </div>
1697
+ <p>All window function related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
1698
+ supported. See <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a> for
1699
+ details.</p>
1700
+ <div class="section" id="columns-name-window-sort-keys">
1701
+ <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="Permalink to this headline">¶</a></h4>
1702
+ <div class="versionadded">
1703
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1704
+ </div>
1705
+ <p>Corresponds to <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> in
1706
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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> for
1707
+ details.</p>
1708
+ <p>You must specify <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a>
1709
+ or <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
1710
+ function.</p>
1711
+ <p>Here is an example that computes cumulative sum per
1712
+ <code class="docutils literal"><span class="pre">Entries.tag</span></code>. Each group is sorted by <code class="docutils literal"><span class="pre">Entries._key</span></code>:</p>
1713
+ <p>Execution example:</p>
1714
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1715
+ --logical_table Entries \
1716
+ --shard_key created_at \
1717
+ --columns[n_likes_cumulative_sum_per_tag].stage initial \
1718
+ --columns[n_likes_cumulative_sum_per_tag].type UInt32 \
1719
+ --columns[n_likes_cumulative_sum_per_tag].value &#39;window_sum(n_likes)&#39; \
1720
+ --columns[n_likes_cumulative_sum_per_tag].window.sort_keys _key \
1721
+ --columns[n_likes_cumulative_sum_per_tag].window.group_keys tag \
1722
+ --sort_keys _key \
1723
+ --output_columns tag,_key,n_likes,n_likes_cumulative_sum_per_tag
1724
+ # [
1725
+ # [
1726
+ # 0,
1727
+ # 1337566253.89858,
1728
+ # 0.000355720520019531
1729
+ # ],
1730
+ # [
1415
1731
  # [
1416
1732
  # [
1417
- # 3
1733
+ # 5
1418
1734
  # ],
1419
1735
  # [
1420
1736
  # [
1737
+ # &quot;tag&quot;,
1738
+ # &quot;ShortText&quot;
1739
+ # ],
1740
+ # [
1421
1741
  # &quot;_key&quot;,
1422
1742
  # &quot;ShortText&quot;
1423
1743
  # ],
1424
1744
  # [
1425
- # &quot;_nsubrecs&quot;,
1426
- # &quot;Int32&quot;
1745
+ # &quot;n_likes&quot;,
1746
+ # &quot;UInt32&quot;
1747
+ # ],
1748
+ # [
1749
+ # &quot;n_likes_cumulative_sum_per_tag&quot;,
1750
+ # &quot;UInt32&quot;
1427
1751
  # ]
1428
1752
  # ],
1429
1753
  # [
1430
1754
  # &quot;Groonga&quot;,
1431
- # 2
1755
+ # &quot;Groonga&quot;,
1756
+ # 10,
1757
+ # 10
1758
+ # ],
1759
+ # [
1760
+ # &quot;Groonga&quot;,
1761
+ # &quot;Mroonga&quot;,
1762
+ # 15,
1763
+ # 25
1764
+ # ],
1765
+ # [
1766
+ # &quot;Hello&quot;,
1767
+ # &quot;The first post!&quot;,
1768
+ # 5,
1769
+ # 5
1432
1770
  # ],
1433
1771
  # [
1434
1772
  # &quot;Senna&quot;,
1435
- # 2
1773
+ # &quot;Good-bye Senna&quot;,
1774
+ # 3,
1775
+ # 3
1776
+ # ],
1777
+ # [
1778
+ # &quot;Senna&quot;,
1779
+ # &quot;Good-bye Tritonn&quot;,
1780
+ # 3,
1781
+ # 6
1436
1782
  # ]
1437
1783
  # ]
1438
1784
  # ]
@@ -1440,19 +1786,28 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1440
1786
  </pre></div>
1441
1787
  </div>
1442
1788
  </div>
1443
- <div class="section" id="drilldown-limit">
1444
- <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="Permalink to this headline">¶</a></h4>
1445
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1446
- <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> for details.</p>
1447
- <p>Here is an example:</p>
1789
+ <div class="section" id="columns-name-window-group-keys">
1790
+ <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="Permalink to this headline">¶</a></h4>
1791
+ <div class="versionadded">
1792
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1793
+ </div>
1794
+ <p>Corresponds to <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> in
1795
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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> for
1796
+ details.</p>
1797
+ <p>You must specify <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a>
1798
+ or <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
1799
+ function.</p>
1800
+ <p>Here is an example that computes sum per <code class="docutils literal"><span class="pre">Entries.tag</span></code>:</p>
1448
1801
  <p>Execution example:</p>
1449
1802
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1450
1803
  --logical_table Entries \
1451
1804
  --shard_key created_at \
1452
- --limit 0 \
1453
- --output_columns _id \
1454
- --drilldown tag \
1455
- --drilldown_limit 2
1805
+ --columns[n_likes_sum_per_tag].stage initial \
1806
+ --columns[n_likes_sum_per_tag].type UInt32 \
1807
+ --columns[n_likes_sum_per_tag].value &#39;window_sum(n_likes)&#39; \
1808
+ --columns[n_likes_sum_per_tag].window.group_keys tag \
1809
+ --sort_keys _key \
1810
+ --output_columns tag,_key,n_likes,n_likes_sum_per_tag
1456
1811
  # [
1457
1812
  # [
1458
1813
  # 0,
@@ -1466,32 +1821,51 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1466
1821
  # ],
1467
1822
  # [
1468
1823
  # [
1469
- # &quot;_id&quot;,
1470
- # &quot;UInt32&quot;
1471
- # ]
1472
- # ]
1473
- # ],
1474
- # [
1475
- # [
1476
- # 3
1477
- # ],
1478
- # [
1824
+ # &quot;tag&quot;,
1825
+ # &quot;ShortText&quot;
1826
+ # ],
1479
1827
  # [
1480
1828
  # &quot;_key&quot;,
1481
1829
  # &quot;ShortText&quot;
1482
1830
  # ],
1483
1831
  # [
1484
- # &quot;_nsubrecs&quot;,
1485
- # &quot;Int32&quot;
1832
+ # &quot;n_likes&quot;,
1833
+ # &quot;UInt32&quot;
1834
+ # ],
1835
+ # [
1836
+ # &quot;n_likes_sum_per_tag&quot;,
1837
+ # &quot;UInt32&quot;
1486
1838
  # ]
1487
1839
  # ],
1488
1840
  # [
1489
- # &quot;Hello&quot;,
1490
- # 1
1841
+ # &quot;Groonga&quot;,
1842
+ # &quot;Groonga&quot;,
1843
+ # 10,
1844
+ # 25
1491
1845
  # ],
1492
1846
  # [
1493
1847
  # &quot;Groonga&quot;,
1494
- # 2
1848
+ # &quot;Mroonga&quot;,
1849
+ # 15,
1850
+ # 25
1851
+ # ],
1852
+ # [
1853
+ # &quot;Hello&quot;,
1854
+ # &quot;The first post!&quot;,
1855
+ # 5,
1856
+ # 5
1857
+ # ],
1858
+ # [
1859
+ # &quot;Senna&quot;,
1860
+ # &quot;Good-bye Senna&quot;,
1861
+ # 3,
1862
+ # 6
1863
+ # ],
1864
+ # [
1865
+ # &quot;Senna&quot;,
1866
+ # &quot;Good-bye Tritonn&quot;,
1867
+ # 3,
1868
+ # 6
1495
1869
  # ]
1496
1870
  # ]
1497
1871
  # ]
@@ -1499,21 +1873,22 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1499
1873
  </pre></div>
1500
1874
  </div>
1501
1875
  </div>
1502
- <div class="section" id="drilldown-calc-types">
1503
- <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="Permalink to this headline">¶</a></h4>
1504
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in
1505
- <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for details.</p>
1876
+ </div>
1877
+ <div class="section" id="drilldown-related-parameters">
1878
+ <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.8. Drilldown related parameters<a class="headerlink" href="#drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
1879
+ <p>All drilldown related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are supported. See
1880
+ <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">Drilldown related parameters</span></a> for details.</p>
1881
+ <div class="section" id="drilldown">
1882
+ <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="Permalink to this headline">¶</a></h4>
1883
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1884
+ <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> for details.</p>
1506
1885
  <p>Here is an example:</p>
1507
1886
  <p>Execution example:</p>
1508
1887
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1509
1888
  --logical_table Entries \
1510
1889
  --shard_key created_at \
1511
- --limit -1 \
1512
- --output_columns tag,n_likes \
1513
- --drilldown tag \
1514
- --drilldown_calc_types MAX,MIN,SUM,AVG \
1515
- --drilldown_calc_target n_likes \
1516
- --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1890
+ --output_columns _key,tag \
1891
+ --drilldown tag
1517
1892
  # [
1518
1893
  # [
1519
1894
  # 0,
@@ -1527,33 +1902,33 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1527
1902
  # ],
1528
1903
  # [
1529
1904
  # [
1530
- # &quot;tag&quot;,
1905
+ # &quot;_key&quot;,
1531
1906
  # &quot;ShortText&quot;
1532
1907
  # ],
1533
1908
  # [
1534
- # &quot;n_likes&quot;,
1535
- # &quot;UInt32&quot;
1909
+ # &quot;tag&quot;,
1910
+ # &quot;ShortText&quot;
1536
1911
  # ]
1537
1912
  # ],
1538
1913
  # [
1539
- # &quot;Hello&quot;,
1540
- # 5
1914
+ # &quot;The first post!&quot;,
1915
+ # &quot;Hello&quot;
1541
1916
  # ],
1542
1917
  # [
1543
1918
  # &quot;Groonga&quot;,
1544
- # 10
1919
+ # &quot;Groonga&quot;
1545
1920
  # ],
1546
1921
  # [
1547
- # &quot;Groonga&quot;,
1548
- # 15
1922
+ # &quot;Mroonga&quot;,
1923
+ # &quot;Groonga&quot;
1549
1924
  # ],
1550
1925
  # [
1551
- # &quot;Senna&quot;,
1552
- # 3
1926
+ # &quot;Good-bye Senna&quot;,
1927
+ # &quot;Senna&quot;
1553
1928
  # ],
1554
1929
  # [
1555
- # &quot;Senna&quot;,
1556
- # 3
1930
+ # &quot;Good-bye Tritonn&quot;,
1931
+ # &quot;Senna&quot;
1557
1932
  # ]
1558
1933
  # ],
1559
1934
  # [
@@ -1568,87 +1943,944 @@ than one, <code class="docutils literal"><span class="pre">sortby</span></code>
1568
1943
  # [
1569
1944
  # &quot;_nsubrecs&quot;,
1570
1945
  # &quot;Int32&quot;
1946
+ # ]
1947
+ # ],
1948
+ # [
1949
+ # &quot;Hello&quot;,
1950
+ # 1
1951
+ # ],
1952
+ # [
1953
+ # &quot;Groonga&quot;,
1954
+ # 2
1955
+ # ],
1956
+ # [
1957
+ # &quot;Senna&quot;,
1958
+ # 2
1959
+ # ]
1960
+ # ]
1961
+ # ]
1962
+ # ]
1963
+ </pre></div>
1964
+ </div>
1965
+ </div>
1966
+ <div class="section" id="drilldown-sortby">
1967
+ <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="Permalink to this headline">¶</a></h4>
1968
+ <div class="deprecated">
1969
+ <p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> instead.</p>
1970
+ </div>
1971
+ </div>
1972
+ <div class="section" id="drilldown-sort-keys">
1973
+ <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="Permalink to this headline">¶</a></h4>
1974
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
1975
+ <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> for details.</p>
1976
+ <p>Here is an example:</p>
1977
+ <p>Execution example:</p>
1978
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1979
+ --logical_table Entries \
1980
+ --shard_key created_at \
1981
+ --limit 0 \
1982
+ --output_columns _id \
1983
+ --drilldown tag \
1984
+ --drilldown_sort_keys -_nsubrecs,_key
1985
+ # [
1986
+ # [
1987
+ # 0,
1988
+ # 1337566253.89858,
1989
+ # 0.000355720520019531
1990
+ # ],
1991
+ # [
1992
+ # [
1993
+ # [
1994
+ # 5
1995
+ # ],
1996
+ # [
1997
+ # [
1998
+ # &quot;_id&quot;,
1999
+ # &quot;UInt32&quot;
2000
+ # ]
2001
+ # ]
2002
+ # ],
2003
+ # [
2004
+ # [
2005
+ # 3
2006
+ # ],
2007
+ # [
2008
+ # [
2009
+ # &quot;_key&quot;,
2010
+ # &quot;ShortText&quot;
2011
+ # ],
2012
+ # [
2013
+ # &quot;_nsubrecs&quot;,
2014
+ # &quot;Int32&quot;
2015
+ # ]
2016
+ # ],
2017
+ # [
2018
+ # &quot;Groonga&quot;,
2019
+ # 2
2020
+ # ],
2021
+ # [
2022
+ # &quot;Senna&quot;,
2023
+ # 2
2024
+ # ],
2025
+ # [
2026
+ # &quot;Hello&quot;,
2027
+ # 1
2028
+ # ]
2029
+ # ]
2030
+ # ]
2031
+ # ]
2032
+ </pre></div>
2033
+ </div>
2034
+ </div>
2035
+ <div class="section" id="drilldown-output-columns">
2036
+ <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="Permalink to this headline">¶</a></h4>
2037
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> in
2038
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> for details.</p>
2039
+ <p>Here is an example:</p>
2040
+ <p>Execution example:</p>
2041
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2042
+ --logical_table Entries \
2043
+ --shard_key created_at \
2044
+ --limit 0 \
2045
+ --output_columns _id \
2046
+ --drilldown tag \
2047
+ --drilldown_output_columns _key
2048
+ # [
2049
+ # [
2050
+ # 0,
2051
+ # 1337566253.89858,
2052
+ # 0.000355720520019531
2053
+ # ],
2054
+ # [
2055
+ # [
2056
+ # [
2057
+ # 5
2058
+ # ],
2059
+ # [
2060
+ # [
2061
+ # &quot;_id&quot;,
2062
+ # &quot;UInt32&quot;
2063
+ # ]
2064
+ # ]
2065
+ # ],
2066
+ # [
2067
+ # [
2068
+ # 3
2069
+ # ],
2070
+ # [
2071
+ # [
2072
+ # &quot;_key&quot;,
2073
+ # &quot;ShortText&quot;
2074
+ # ]
2075
+ # ],
2076
+ # [
2077
+ # &quot;Hello&quot;
2078
+ # ],
2079
+ # [
2080
+ # &quot;Groonga&quot;
2081
+ # ],
2082
+ # [
2083
+ # &quot;Senna&quot;
2084
+ # ]
2085
+ # ]
2086
+ # ]
2087
+ # ]
2088
+ </pre></div>
2089
+ </div>
2090
+ </div>
2091
+ <div class="section" id="drilldown-offset">
2092
+ <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="Permalink to this headline">¶</a></h4>
2093
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
2094
+ <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> for details.</p>
2095
+ <p>Here is an example:</p>
2096
+ <p>Execution example:</p>
2097
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2098
+ --logical_table Entries \
2099
+ --shard_key created_at \
2100
+ --limit 0 \
2101
+ --output_columns _id \
2102
+ --drilldown tag \
2103
+ --drilldown_offset 1
2104
+ # [
2105
+ # [
2106
+ # 0,
2107
+ # 1337566253.89858,
2108
+ # 0.000355720520019531
2109
+ # ],
2110
+ # [
2111
+ # [
2112
+ # [
2113
+ # 5
2114
+ # ],
2115
+ # [
2116
+ # [
2117
+ # &quot;_id&quot;,
2118
+ # &quot;UInt32&quot;
2119
+ # ]
2120
+ # ]
2121
+ # ],
2122
+ # [
2123
+ # [
2124
+ # 3
2125
+ # ],
2126
+ # [
2127
+ # [
2128
+ # &quot;_key&quot;,
2129
+ # &quot;ShortText&quot;
2130
+ # ],
2131
+ # [
2132
+ # &quot;_nsubrecs&quot;,
2133
+ # &quot;Int32&quot;
2134
+ # ]
2135
+ # ],
2136
+ # [
2137
+ # &quot;Groonga&quot;,
2138
+ # 2
2139
+ # ],
2140
+ # [
2141
+ # &quot;Senna&quot;,
2142
+ # 2
2143
+ # ]
2144
+ # ]
2145
+ # ]
2146
+ # ]
2147
+ </pre></div>
2148
+ </div>
2149
+ </div>
2150
+ <div class="section" id="drilldown-limit">
2151
+ <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="Permalink to this headline">¶</a></h4>
2152
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
2153
+ <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> for details.</p>
2154
+ <p>Here is an example:</p>
2155
+ <p>Execution example:</p>
2156
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2157
+ --logical_table Entries \
2158
+ --shard_key created_at \
2159
+ --limit 0 \
2160
+ --output_columns _id \
2161
+ --drilldown tag \
2162
+ --drilldown_limit 2
2163
+ # [
2164
+ # [
2165
+ # 0,
2166
+ # 1337566253.89858,
2167
+ # 0.000355720520019531
2168
+ # ],
2169
+ # [
2170
+ # [
2171
+ # [
2172
+ # 5
2173
+ # ],
2174
+ # [
2175
+ # [
2176
+ # &quot;_id&quot;,
2177
+ # &quot;UInt32&quot;
2178
+ # ]
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
+ # [
2196
+ # &quot;Hello&quot;,
2197
+ # 1
2198
+ # ],
2199
+ # [
2200
+ # &quot;Groonga&quot;,
2201
+ # 2
2202
+ # ]
2203
+ # ]
2204
+ # ]
2205
+ # ]
2206
+ </pre></div>
2207
+ </div>
2208
+ </div>
2209
+ <div class="section" id="drilldown-calc-types">
2210
+ <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="Permalink to this headline">¶</a></h4>
2211
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in
2212
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for details.</p>
2213
+ <p>Here is an example:</p>
2214
+ <p>Execution example:</p>
2215
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2216
+ --logical_table Entries \
2217
+ --shard_key created_at \
2218
+ --limit -1 \
2219
+ --output_columns tag,n_likes \
2220
+ --drilldown tag \
2221
+ --drilldown_calc_types MAX,MIN,SUM,AVG \
2222
+ --drilldown_calc_target n_likes \
2223
+ --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
2224
+ # [
2225
+ # [
2226
+ # 0,
2227
+ # 1337566253.89858,
2228
+ # 0.000355720520019531
2229
+ # ],
2230
+ # [
2231
+ # [
2232
+ # [
2233
+ # 5
2234
+ # ],
2235
+ # [
2236
+ # [
2237
+ # &quot;tag&quot;,
2238
+ # &quot;ShortText&quot;
2239
+ # ],
2240
+ # [
2241
+ # &quot;n_likes&quot;,
2242
+ # &quot;UInt32&quot;
2243
+ # ]
2244
+ # ],
2245
+ # [
2246
+ # &quot;Hello&quot;,
2247
+ # 5
2248
+ # ],
2249
+ # [
2250
+ # &quot;Groonga&quot;,
2251
+ # 10
2252
+ # ],
2253
+ # [
2254
+ # &quot;Groonga&quot;,
2255
+ # 15
2256
+ # ],
2257
+ # [
2258
+ # &quot;Senna&quot;,
2259
+ # 3
2260
+ # ],
2261
+ # [
2262
+ # &quot;Senna&quot;,
2263
+ # 3
2264
+ # ]
2265
+ # ],
2266
+ # [
2267
+ # [
2268
+ # 3
2269
+ # ],
2270
+ # [
2271
+ # [
2272
+ # &quot;_key&quot;,
2273
+ # &quot;ShortText&quot;
2274
+ # ],
2275
+ # [
2276
+ # &quot;_nsubrecs&quot;,
2277
+ # &quot;Int32&quot;
2278
+ # ],
2279
+ # [
2280
+ # &quot;_max&quot;,
2281
+ # &quot;Int64&quot;
2282
+ # ],
2283
+ # [
2284
+ # &quot;_min&quot;,
2285
+ # &quot;Int64&quot;
2286
+ # ],
2287
+ # [
2288
+ # &quot;_sum&quot;,
2289
+ # &quot;Int64&quot;
2290
+ # ],
2291
+ # [
2292
+ # &quot;_avg&quot;,
2293
+ # &quot;Float&quot;
2294
+ # ]
2295
+ # ],
2296
+ # [
2297
+ # &quot;Hello&quot;,
2298
+ # 1,
2299
+ # 5,
2300
+ # 5,
2301
+ # 5,
2302
+ # 5.0
2303
+ # ],
2304
+ # [
2305
+ # &quot;Groonga&quot;,
2306
+ # 2,
2307
+ # 15,
2308
+ # 10,
2309
+ # 25,
2310
+ # 12.5
2311
+ # ],
2312
+ # [
2313
+ # &quot;Senna&quot;,
2314
+ # 2,
2315
+ # 3,
2316
+ # 3,
2317
+ # 6,
2318
+ # 3.0
2319
+ # ]
2320
+ # ]
2321
+ # ]
2322
+ # ]
2323
+ </pre></div>
2324
+ </div>
2325
+ </div>
2326
+ <div class="section" id="drilldown-calc-target">
2327
+ <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="Permalink to this headline">¶</a></h4>
2328
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in
2329
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> for details.</p>
2330
+ <p>See also <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for an example.</p>
2331
+ </div>
2332
+ <div class="section" id="drilldown-filter">
2333
+ <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="Permalink to this headline">¶</a></h4>
2334
+ <div class="versionadded">
2335
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
2336
+ </div>
2337
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> in
2338
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> for details.</p>
2339
+ <p>Here is an example to suppress drilled down tags that are occurred
2340
+ only once:</p>
2341
+ <p>Execution example:</p>
2342
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2343
+ --logical_table Entries \
2344
+ --shard_key created_at \
2345
+ --limit 0 \
2346
+ --output_columns _id \
2347
+ --drilldown tag \
2348
+ --drilldown_filter &quot;_nsubrecs &gt; 1&quot; \
2349
+ --drilldown_output_columns _key,_nsubrecs
2350
+ # [
2351
+ # [
2352
+ # 0,
2353
+ # 1337566253.89858,
2354
+ # 0.000355720520019531
2355
+ # ],
2356
+ # [
2357
+ # [
2358
+ # [
2359
+ # 5
2360
+ # ],
2361
+ # [
2362
+ # [
2363
+ # &quot;_id&quot;,
2364
+ # &quot;UInt32&quot;
2365
+ # ]
2366
+ # ]
2367
+ # ],
2368
+ # [
2369
+ # [
2370
+ # 2
2371
+ # ],
2372
+ # [
2373
+ # [
2374
+ # &quot;_key&quot;,
2375
+ # &quot;ShortText&quot;
2376
+ # ],
2377
+ # [
2378
+ # &quot;_nsubrecs&quot;,
2379
+ # &quot;Int32&quot;
2380
+ # ]
2381
+ # ],
2382
+ # [
2383
+ # &quot;Groonga&quot;,
2384
+ # 2
2385
+ # ],
2386
+ # [
2387
+ # &quot;Senna&quot;,
2388
+ # 2
2389
+ # ]
2390
+ # ]
2391
+ # ]
2392
+ # ]
2393
+ </pre></div>
2394
+ </div>
2395
+ </div>
2396
+ </div>
2397
+ <div class="section" id="advanced-drilldown-related-parameters">
2398
+ <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.34.5.9. Advanced drilldown related parameters<a class="headerlink" href="#advanced-drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
2399
+ <p>All advanced drilldown related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
2400
+ supported. See <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">Advanced drilldown related parameters</span></a> for
2401
+ details.</p>
2402
+ <p>There are some limitations:</p>
2403
+ <blockquote>
2404
+ <div><ul class="simple">
2405
+ <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
2406
+ doesn't work with multiple shards. It works with one
2407
+ shard. <code class="docutils literal"><span class="pre">_key</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_key</span></code> work with
2408
+ multiple shards.</li>
2409
+ </ul>
2410
+ </div></blockquote>
2411
+ <div class="section" id="drilldowns-label-keys">
2412
+ <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="Permalink to this headline">¶</a></h4>
2413
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> in
2414
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> for details.</p>
2415
+ <p>Here is an example:</p>
2416
+ <p>Execution example:</p>
2417
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2418
+ --logical_table Entries \
2419
+ --shard_key created_at \
2420
+ --limit 0 \
2421
+ --output_columns _id \
2422
+ --drilldowns[tag.n_likes].keys tag,n_likes \
2423
+ --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
2424
+ # [
2425
+ # [
2426
+ # 0,
2427
+ # 1337566253.89858,
2428
+ # 0.000355720520019531
2429
+ # ],
2430
+ # [
2431
+ # [
2432
+ # [
2433
+ # 5
2434
+ # ],
2435
+ # [
2436
+ # [
2437
+ # &quot;_id&quot;,
2438
+ # &quot;UInt32&quot;
2439
+ # ]
2440
+ # ]
2441
+ # ],
2442
+ # {
2443
+ # &quot;tag.n_likes&quot;: [
2444
+ # [
2445
+ # 4
2446
+ # ],
2447
+ # [
2448
+ # [
2449
+ # &quot;tag&quot;,
2450
+ # &quot;ShortText&quot;
2451
+ # ],
2452
+ # [
2453
+ # &quot;n_likes&quot;,
2454
+ # &quot;UInt32&quot;
2455
+ # ],
2456
+ # [
2457
+ # &quot;_nsubrecs&quot;,
2458
+ # &quot;Int32&quot;
2459
+ # ]
2460
+ # ],
2461
+ # [
2462
+ # &quot;Hello&quot;,
2463
+ # 5,
2464
+ # 1
2465
+ # ],
2466
+ # [
2467
+ # &quot;Groonga&quot;,
2468
+ # 10,
2469
+ # 1
2470
+ # ],
2471
+ # [
2472
+ # &quot;Groonga&quot;,
2473
+ # 15,
2474
+ # 1
2475
+ # ],
2476
+ # [
2477
+ # &quot;Senna&quot;,
2478
+ # 3,
2479
+ # 2
2480
+ # ]
2481
+ # ]
2482
+ # }
2483
+ # ]
2484
+ # ]
2485
+ </pre></div>
2486
+ </div>
2487
+ </div>
2488
+ <div class="section" id="drilldowns-label-output-columns">
2489
+ <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="Permalink to this headline">¶</a></h4>
2490
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> in
2491
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> for
2492
+ details.</p>
2493
+ <p>Here is an example:</p>
2494
+ <p>Execution example:</p>
2495
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2496
+ --logical_table Entries \
2497
+ --shard_key created_at \
2498
+ --limit 0 \
2499
+ --output_columns _id \
2500
+ --drilldowns[tag].keys tag \
2501
+ --drilldowns[tag].output_columns _key,_nsubrecs
2502
+ # [
2503
+ # [
2504
+ # 0,
2505
+ # 1337566253.89858,
2506
+ # 0.000355720520019531
2507
+ # ],
2508
+ # [
2509
+ # [
2510
+ # [
2511
+ # 5
2512
+ # ],
2513
+ # [
2514
+ # [
2515
+ # &quot;_id&quot;,
2516
+ # &quot;UInt32&quot;
2517
+ # ]
2518
+ # ]
2519
+ # ],
2520
+ # {
2521
+ # &quot;tag&quot;: [
2522
+ # [
2523
+ # 3
2524
+ # ],
2525
+ # [
2526
+ # [
2527
+ # &quot;_key&quot;,
2528
+ # &quot;ShortText&quot;
2529
+ # ],
2530
+ # [
2531
+ # &quot;_nsubrecs&quot;,
2532
+ # &quot;Int32&quot;
2533
+ # ]
2534
+ # ],
2535
+ # [
2536
+ # &quot;Hello&quot;,
2537
+ # 1
2538
+ # ],
2539
+ # [
2540
+ # &quot;Groonga&quot;,
2541
+ # 2
2542
+ # ],
2543
+ # [
2544
+ # &quot;Senna&quot;,
2545
+ # 2
2546
+ # ]
2547
+ # ]
2548
+ # }
2549
+ # ]
2550
+ # ]
2551
+ </pre></div>
2552
+ </div>
2553
+ </div>
2554
+ <div class="section" id="drilldowns-label-sortby">
2555
+ <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="Permalink to this headline">¶</a></h4>
2556
+ <div class="deprecated">
2557
+ <p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> instead.</p>
2558
+ </div>
2559
+ </div>
2560
+ <div class="section" id="drilldowns-label-sort-keys">
2561
+ <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="Permalink to this headline">¶</a></h4>
2562
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> in not
2563
+ labeled drilldown.</p>
2564
+ <p><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> has a limitation.</p>
2565
+ <p><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> doesn't
2566
+ work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
2567
+ <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with multiple shards.</p>
2568
+ <p>Here is an example that uses <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> with only one
2569
+ shard:</p>
2570
+ <p>Execution example:</p>
2571
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2572
+ --logical_table Entries \
2573
+ --shard_key created_at \
2574
+ --min &quot;2015/07/08 00:00:00&quot; \
2575
+ --min_border &quot;include&quot; \
2576
+ --max &quot;2015/07/09 00:00:00&quot; \
2577
+ --max_border &quot;exclude&quot; \
2578
+ --limit 0 \
2579
+ --output_columns _id \
2580
+ --drilldowns[tag.n_likes].keys tag,n_likes \
2581
+ --drilldowns[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
2582
+ --drilldowns[tag.n_likes].sort_keys -_nsubrecs,_value.n_likes,_value.tag
2583
+ # [
2584
+ # [
2585
+ # 0,
2586
+ # 1337566253.89858,
2587
+ # 0.000355720520019531
2588
+ # ],
2589
+ # [
2590
+ # [
2591
+ # [
2592
+ # 3
2593
+ # ],
2594
+ # [
2595
+ # [
2596
+ # &quot;_id&quot;,
2597
+ # &quot;UInt32&quot;
2598
+ # ]
2599
+ # ]
2600
+ # ],
2601
+ # {
2602
+ # &quot;tag.n_likes&quot;: [
2603
+ # [
2604
+ # 3
2605
+ # ],
2606
+ # [
2607
+ # [
2608
+ # &quot;_nsubrecs&quot;,
2609
+ # &quot;Int32&quot;
2610
+ # ],
2611
+ # [
2612
+ # &quot;n_likes&quot;,
2613
+ # &quot;UInt32&quot;
2614
+ # ],
2615
+ # [
2616
+ # &quot;tag&quot;,
2617
+ # &quot;ShortText&quot;
2618
+ # ]
2619
+ # ],
2620
+ # [
2621
+ # 1,
2622
+ # 5,
2623
+ # &quot;Hello&quot;
2624
+ # ],
2625
+ # [
2626
+ # 1,
2627
+ # 10,
2628
+ # &quot;Groonga&quot;
2629
+ # ],
2630
+ # [
2631
+ # 1,
2632
+ # 15,
2633
+ # &quot;Groonga&quot;
2634
+ # ]
2635
+ # ]
2636
+ # }
2637
+ # ]
2638
+ # ]
2639
+ </pre></div>
2640
+ </div>
2641
+ </div>
2642
+ <div class="section" id="drilldowns-label-offset">
2643
+ <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="Permalink to this headline">¶</a></h4>
2644
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in not labeled
2645
+ drilldown.</p>
2646
+ <p>Here is an example:</p>
2647
+ <p>Execution example:</p>
2648
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2649
+ --logical_table Entries \
2650
+ --shard_key created_at \
2651
+ --limit 0 \
2652
+ --output_columns _id \
2653
+ --drilldowns[tag.n_likes].keys tag \
2654
+ --drilldowns[tag.n_likes].offset 1
2655
+ # [
2656
+ # [
2657
+ # 0,
2658
+ # 1337566253.89858,
2659
+ # 0.000355720520019531
2660
+ # ],
2661
+ # [
2662
+ # [
2663
+ # [
2664
+ # 5
2665
+ # ],
2666
+ # [
2667
+ # [
2668
+ # &quot;_id&quot;,
2669
+ # &quot;UInt32&quot;
2670
+ # ]
2671
+ # ]
2672
+ # ],
2673
+ # {
2674
+ # &quot;tag.n_likes&quot;: [
2675
+ # [
2676
+ # 3
2677
+ # ],
2678
+ # [
2679
+ # [
2680
+ # &quot;_key&quot;,
2681
+ # &quot;ShortText&quot;
2682
+ # ],
2683
+ # [
2684
+ # &quot;_nsubrecs&quot;,
2685
+ # &quot;Int32&quot;
2686
+ # ]
2687
+ # ],
2688
+ # [
2689
+ # &quot;Groonga&quot;,
2690
+ # 2
2691
+ # ],
2692
+ # [
2693
+ # &quot;Senna&quot;,
2694
+ # 2
2695
+ # ]
2696
+ # ]
2697
+ # }
2698
+ # ]
2699
+ # ]
2700
+ </pre></div>
2701
+ </div>
2702
+ </div>
2703
+ <div class="section" id="drilldowns-label-limit">
2704
+ <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="Permalink to this headline">¶</a></h4>
2705
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in not labeled
2706
+ drilldown.</p>
2707
+ <p>Here is an example:</p>
2708
+ <p>Execution example:</p>
2709
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2710
+ --logical_table Entries \
2711
+ --shard_key created_at \
2712
+ --limit 0 \
2713
+ --output_columns _id \
2714
+ --drilldowns[tag.n_likes].keys tag \
2715
+ --drilldowns[tag.n_likes].limit 2
2716
+ # [
2717
+ # [
2718
+ # 0,
2719
+ # 1337566253.89858,
2720
+ # 0.000355720520019531
2721
+ # ],
2722
+ # [
2723
+ # [
2724
+ # [
2725
+ # 5
2726
+ # ],
2727
+ # [
2728
+ # [
2729
+ # &quot;_id&quot;,
2730
+ # &quot;UInt32&quot;
2731
+ # ]
2732
+ # ]
2733
+ # ],
2734
+ # {
2735
+ # &quot;tag.n_likes&quot;: [
2736
+ # [
2737
+ # 3
2738
+ # ],
2739
+ # [
2740
+ # [
2741
+ # &quot;_key&quot;,
2742
+ # &quot;ShortText&quot;
2743
+ # ],
2744
+ # [
2745
+ # &quot;_nsubrecs&quot;,
2746
+ # &quot;Int32&quot;
2747
+ # ]
2748
+ # ],
2749
+ # [
2750
+ # &quot;Hello&quot;,
2751
+ # 1
2752
+ # ],
2753
+ # [
2754
+ # &quot;Groonga&quot;,
2755
+ # 2
2756
+ # ]
2757
+ # ]
2758
+ # }
2759
+ # ]
2760
+ # ]
2761
+ </pre></div>
2762
+ </div>
2763
+ </div>
2764
+ <div class="section" id="drilldowns-label-calc-types">
2765
+ <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="Permalink to this headline">¶</a></h4>
2766
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in not
2767
+ labeled drilldown.</p>
2768
+ <p>Here is an example:</p>
2769
+ <p>Execution example:</p>
2770
+ <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
2771
+ --logical_table Entries \
2772
+ --shard_key created_at \
2773
+ --limit 0 \
2774
+ --output_columns _id \
2775
+ --drilldowns[tag].keys tag \
2776
+ --drilldowns[tag].calc_types MAX,MIN,SUM,AVG \
2777
+ --drilldowns[tag].calc_target n_likes \
2778
+ --drilldowns[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
2779
+ # [
2780
+ # [
2781
+ # 0,
2782
+ # 1337566253.89858,
2783
+ # 0.000355720520019531
2784
+ # ],
2785
+ # [
2786
+ # [
2787
+ # [
2788
+ # 5
2789
+ # ],
2790
+ # [
2791
+ # [
2792
+ # &quot;_id&quot;,
2793
+ # &quot;UInt32&quot;
2794
+ # ]
2795
+ # ]
2796
+ # ],
2797
+ # {
2798
+ # &quot;tag&quot;: [
2799
+ # [
2800
+ # 3
1571
2801
  # ],
1572
2802
  # [
1573
- # &quot;_max&quot;,
1574
- # &quot;Int64&quot;
2803
+ # [
2804
+ # &quot;_key&quot;,
2805
+ # &quot;ShortText&quot;
2806
+ # ],
2807
+ # [
2808
+ # &quot;_nsubrecs&quot;,
2809
+ # &quot;Int32&quot;
2810
+ # ],
2811
+ # [
2812
+ # &quot;_max&quot;,
2813
+ # &quot;Int64&quot;
2814
+ # ],
2815
+ # [
2816
+ # &quot;_min&quot;,
2817
+ # &quot;Int64&quot;
2818
+ # ],
2819
+ # [
2820
+ # &quot;_sum&quot;,
2821
+ # &quot;Int64&quot;
2822
+ # ],
2823
+ # [
2824
+ # &quot;_avg&quot;,
2825
+ # &quot;Float&quot;
2826
+ # ]
1575
2827
  # ],
1576
2828
  # [
1577
- # &quot;_min&quot;,
1578
- # &quot;Int64&quot;
2829
+ # &quot;Hello&quot;,
2830
+ # 1,
2831
+ # 5,
2832
+ # 5,
2833
+ # 5,
2834
+ # 5.0
1579
2835
  # ],
1580
2836
  # [
1581
- # &quot;_sum&quot;,
1582
- # &quot;Int64&quot;
2837
+ # &quot;Groonga&quot;,
2838
+ # 2,
2839
+ # 15,
2840
+ # 10,
2841
+ # 25,
2842
+ # 12.5
1583
2843
  # ],
1584
2844
  # [
1585
- # &quot;_avg&quot;,
1586
- # &quot;Float&quot;
2845
+ # &quot;Senna&quot;,
2846
+ # 2,
2847
+ # 3,
2848
+ # 3,
2849
+ # 6,
2850
+ # 3.0
1587
2851
  # ]
1588
- # ],
1589
- # [
1590
- # &quot;Hello&quot;,
1591
- # 1,
1592
- # 5,
1593
- # 5,
1594
- # 5,
1595
- # 5.0
1596
- # ],
1597
- # [
1598
- # &quot;Groonga&quot;,
1599
- # 2,
1600
- # 15,
1601
- # 10,
1602
- # 25,
1603
- # 12.5
1604
- # ],
1605
- # [
1606
- # &quot;Senna&quot;,
1607
- # 2,
1608
- # 3,
1609
- # 3,
1610
- # 6,
1611
- # 3.0
1612
2852
  # ]
1613
- # ]
2853
+ # }
1614
2854
  # ]
1615
2855
  # ]
1616
2856
  </pre></div>
1617
2857
  </div>
1618
2858
  </div>
1619
- <div class="section" id="drilldown-calc-target">
1620
- <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="Permalink to this headline">¶</a></h4>
1621
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in
1622
- <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> for details.</p>
1623
- <p>See also <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for an example.</p>
2859
+ <div class="section" id="drilldowns-label-calc-target">
2860
+ <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="Permalink to this headline">¶</a></h4>
2861
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in not
2862
+ labeled drilldown.</p>
2863
+ <p>See also <a class="reference internal" href="#logical-select-drilldowns-label-calc-types"><span class="std std-ref">drilldowns[${LABEL}].calc_types</span></a>
2864
+ for an example.</p>
1624
2865
  </div>
2866
+ <div class="section" id="drilldowns-label-filter">
2867
+ <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="Permalink to this headline">¶</a></h4>
2868
+ <div class="versionadded">
2869
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
1625
2870
  </div>
1626
- <div class="section" id="advanced-drilldown-related-parameters">
1627
- <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.34.5.7. Advanced drilldown related parameters<a class="headerlink" href="#advanced-drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
1628
- <p>All advanced drilldown related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
1629
- supported. See <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">Advanced drilldown related parameters</span></a> for
1630
- details.</p>
1631
- <p>There are some limitations:</p>
1632
- <blockquote>
1633
- <div><ul class="simple">
1634
- <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
1635
- work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
1636
- <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
1637
- </ul>
1638
- </div></blockquote>
1639
- <div class="section" id="drilldown-label-keys">
1640
- <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="Permalink to this headline">¶</a></h4>
1641
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> in
1642
- <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> for details.</p>
1643
- <p>Here is an example:</p>
2871
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> in not labeled
2872
+ drilldown.</p>
2873
+ <p>Here is an example to suppress drilled down tags that are occurred
2874
+ only once:</p>
1644
2875
  <p>Execution example:</p>
1645
2876
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1646
2877
  --logical_table Entries \
1647
2878
  --shard_key created_at \
1648
2879
  --limit 0 \
1649
2880
  --output_columns _id \
1650
- --drilldown[tag.n_likes].keys tag,n_likes \
1651
- --drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
2881
+ --drilldowns[tag].keys tag \
2882
+ --drilldowns[tag].filter &quot;_nsubrecs &gt; 1&quot; \
2883
+ --drilldowns[tag].output_columns _key,_nsubrecs
1652
2884
  # [
1653
2885
  # [
1654
2886
  # 0,
@@ -1668,42 +2900,26 @@ work with multiple shards. It works with one shard. <code class="docutils litera
1668
2900
  # ]
1669
2901
  # ],
1670
2902
  # {
1671
- # &quot;tag.n_likes&quot;: [
2903
+ # &quot;tag&quot;: [
1672
2904
  # [
1673
- # 4
2905
+ # 2
1674
2906
  # ],
1675
2907
  # [
1676
2908
  # [
1677
- # &quot;tag&quot;,
2909
+ # &quot;_key&quot;,
1678
2910
  # &quot;ShortText&quot;
1679
2911
  # ],
1680
2912
  # [
1681
- # &quot;n_likes&quot;,
1682
- # &quot;UInt32&quot;
1683
- # ],
1684
- # [
1685
2913
  # &quot;_nsubrecs&quot;,
1686
2914
  # &quot;Int32&quot;
1687
2915
  # ]
1688
2916
  # ],
1689
2917
  # [
1690
- # &quot;Hello&quot;,
1691
- # 5,
1692
- # 1
1693
- # ],
1694
- # [
1695
2918
  # &quot;Groonga&quot;,
1696
- # 10,
1697
- # 1
1698
- # ],
1699
- # [
1700
- # &quot;Groonga&quot;,
1701
- # 15,
1702
- # 1
2919
+ # 2
1703
2920
  # ],
1704
2921
  # [
1705
2922
  # &quot;Senna&quot;,
1706
- # 3,
1707
2923
  # 2
1708
2924
  # ]
1709
2925
  # ]
@@ -1713,20 +2929,28 @@ work with multiple shards. It works with one shard. <code class="docutils litera
1713
2929
  </pre></div>
1714
2930
  </div>
1715
2931
  </div>
1716
- <div class="section" id="drilldown-label-output-columns">
1717
- <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="Permalink to this headline">¶</a></h4>
1718
- <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> in
1719
- <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> for
1720
- details.</p>
1721
- <p>Here is an example:</p>
2932
+ <div class="section" id="drilldowns-label-columns-name-stage">
2933
+ <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="Permalink to this headline">¶</a></h4>
2934
+ <div class="versionadded">
2935
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
2936
+ </div>
2937
+ <p>Corresponds to <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> in
2938
+ <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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>
2939
+ for details.</p>
2940
+ <p>Here is an example that creates a dynamic column at <code class="docutils literal"><span class="pre">initial</span></code>
2941
+ stage. This example creates a dynamic column that stores whether each
2942
+ drilled down tag is occurred only once or not:</p>
1722
2943
  <p>Execution example:</p>
1723
2944
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1724
2945
  --logical_table Entries \
1725
2946
  --shard_key created_at \
1726
2947
  --limit 0 \
1727
2948
  --output_columns _id \
1728
- --drilldown[tag].keys tag \
1729
- --drilldown[tag].output_columns _key,_nsubrecs
2949
+ --drilldowns[tag].keys tag \
2950
+ --drilldowns[tag].columns[is_popular].stage initial \
2951
+ --drilldowns[tag].columns[is_popular].type Bool \
2952
+ --drilldowns[tag].columns[is_popular].value &#39;_nsubrecs &gt; 1&#39; \
2953
+ --drilldowns[tag].output_columns _key,_nsubrecs,is_popular
1730
2954
  # [
1731
2955
  # [
1732
2956
  # 0,
@@ -1758,19 +2982,26 @@ details.</p>
1758
2982
  # [
1759
2983
  # &quot;_nsubrecs&quot;,
1760
2984
  # &quot;Int32&quot;
2985
+ # ],
2986
+ # [
2987
+ # &quot;is_popular&quot;,
2988
+ # &quot;Bool&quot;
1761
2989
  # ]
1762
2990
  # ],
1763
2991
  # [
1764
2992
  # &quot;Hello&quot;,
1765
- # 1
2993
+ # 1,
2994
+ # false
1766
2995
  # ],
1767
2996
  # [
1768
2997
  # &quot;Groonga&quot;,
1769
- # 2
2998
+ # 2,
2999
+ # true
1770
3000
  # ],
1771
3001
  # [
1772
3002
  # &quot;Senna&quot;,
1773
- # 2
3003
+ # 2,
3004
+ # true
1774
3005
  # ]
1775
3006
  # ]
1776
3007
  # }
@@ -1779,29 +3010,29 @@ details.</p>
1779
3010
  </pre></div>
1780
3011
  </div>
1781
3012
  </div>
1782
- <div class="section" id="drilldown-label-sortby">
1783
- <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="Permalink to this headline">¶</a></h4>
1784
- <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-sortby"><span class="std std-ref">drilldown_sortby</span></a> in not labeled
1785
- drilldown.</p>
1786
- <p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> has a limitation.</p>
1787
- <p><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't work
1788
- with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
1789
- <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</p>
1790
- <p>Here is an example that uses <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> with only one
1791
- shard:</p>
3013
+ <div class="section" id="drilldowns-label-columns-name-flags">
3014
+ <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="Permalink to this headline">¶</a></h4>
3015
+ <div class="versionadded">
3016
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
3017
+ </div>
3018
+ <p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> in main
3019
+ search.</p>
3020
+ <p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
3021
+ <p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
3022
+ flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
3023
+ <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
1792
3024
  <p>Execution example:</p>
1793
3025
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1794
3026
  --logical_table Entries \
1795
3027
  --shard_key created_at \
1796
- --min &quot;2015/07/08 00:00:00&quot; \
1797
- --min_border &quot;include&quot; \
1798
- --max &quot;2015/07/09 00:00:00&quot; \
1799
- --max_border &quot;exclude&quot; \
1800
3028
  --limit 0 \
1801
3029
  --output_columns _id \
1802
- --drilldown[tag.n_likes].keys tag,n_likes \
1803
- --drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
1804
- --drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
3030
+ --drilldowns[tag].keys tag \
3031
+ --drilldowns[tag].columns[vector].stage initial \
3032
+ --drilldowns[tag].columns[vector].flags COLUMN_VECTOR \
3033
+ --drilldowns[tag].columns[vector].type ShortText \
3034
+ --drilldowns[tag].columns[vector].value &#39;vector_new(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;)&#39; \
3035
+ --drilldowns[tag].output_columns _key,vector
1805
3036
  # [
1806
3037
  # [
1807
3038
  # 0,
@@ -1811,7 +3042,7 @@ shard:</p>
1811
3042
  # [
1812
3043
  # [
1813
3044
  # [
1814
- # 3
3045
+ # 5
1815
3046
  # ],
1816
3047
  # [
1817
3048
  # [
@@ -1821,38 +3052,43 @@ shard:</p>
1821
3052
  # ]
1822
3053
  # ],
1823
3054
  # {
1824
- # &quot;tag.n_likes&quot;: [
3055
+ # &quot;tag&quot;: [
1825
3056
  # [
1826
3057
  # 3
1827
3058
  # ],
1828
3059
  # [
1829
3060
  # [
1830
- # &quot;_nsubrecs&quot;,
1831
- # &quot;Int32&quot;
1832
- # ],
1833
- # [
1834
- # &quot;n_likes&quot;,
1835
- # &quot;UInt32&quot;
3061
+ # &quot;_key&quot;,
3062
+ # &quot;ShortText&quot;
1836
3063
  # ],
1837
3064
  # [
1838
- # &quot;tag&quot;,
3065
+ # &quot;vector&quot;,
1839
3066
  # &quot;ShortText&quot;
1840
3067
  # ]
1841
3068
  # ],
1842
3069
  # [
1843
- # 1,
1844
- # 5,
1845
- # &quot;Hello&quot;
3070
+ # &quot;Hello&quot;,
3071
+ # [
3072
+ # &quot;a&quot;,
3073
+ # &quot;b&quot;,
3074
+ # &quot;c&quot;
3075
+ # ]
1846
3076
  # ],
1847
3077
  # [
1848
- # 1,
1849
- # 10,
1850
- # &quot;Groonga&quot;
3078
+ # &quot;Groonga&quot;,
3079
+ # [
3080
+ # &quot;a&quot;,
3081
+ # &quot;b&quot;,
3082
+ # &quot;c&quot;
3083
+ # ]
1851
3084
  # ],
1852
3085
  # [
1853
- # 1,
1854
- # 15,
1855
- # &quot;Groonga&quot;
3086
+ # &quot;Senna&quot;,
3087
+ # [
3088
+ # &quot;a&quot;,
3089
+ # &quot;b&quot;,
3090
+ # &quot;c&quot;
3091
+ # ]
1856
3092
  # ]
1857
3093
  # ]
1858
3094
  # }
@@ -1861,19 +3097,28 @@ shard:</p>
1861
3097
  </pre></div>
1862
3098
  </div>
1863
3099
  </div>
1864
- <div class="section" id="drilldown-label-offset">
1865
- <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="Permalink to this headline">¶</a></h4>
1866
- <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in not labeled
1867
- drilldown.</p>
1868
- <p>Here is an example:</p>
3100
+ <div class="section" id="drilldowns-label-columns-name-type">
3101
+ <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="Permalink to this headline">¶</a></h4>
3102
+ <div class="versionadded">
3103
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
3104
+ </div>
3105
+ <p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> in main
3106
+ search.</p>
3107
+ <p>This is a required parameter.</p>
3108
+ <p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
3109
+ value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
3110
+ number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
1869
3111
  <p>Execution example:</p>
1870
3112
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1871
3113
  --logical_table Entries \
1872
3114
  --shard_key created_at \
1873
3115
  --limit 0 \
1874
3116
  --output_columns _id \
1875
- --drilldown[tag.n_likes].keys tag \
1876
- --drilldown[tag.n_likes].offset 1
3117
+ --drilldowns[tag].keys tag \
3118
+ --drilldowns[tag].columns[nsubrecs_string].stage initial \
3119
+ --drilldowns[tag].columns[nsubrecs_string].type ShortText \
3120
+ --drilldowns[tag].columns[nsubrecs_string].value _nsubrecs \
3121
+ --drilldowns[tag].output_columns _key,_nsubrecs,nsubrecs_string
1877
3122
  # [
1878
3123
  # [
1879
3124
  # 0,
@@ -1893,7 +3138,7 @@ drilldown.</p>
1893
3138
  # ]
1894
3139
  # ],
1895
3140
  # {
1896
- # &quot;tag.n_likes&quot;: [
3141
+ # &quot;tag&quot;: [
1897
3142
  # [
1898
3143
  # 3
1899
3144
  # ],
@@ -1905,15 +3150,26 @@ drilldown.</p>
1905
3150
  # [
1906
3151
  # &quot;_nsubrecs&quot;,
1907
3152
  # &quot;Int32&quot;
3153
+ # ],
3154
+ # [
3155
+ # &quot;nsubrecs_string&quot;,
3156
+ # &quot;ShortText&quot;
1908
3157
  # ]
1909
3158
  # ],
1910
3159
  # [
3160
+ # &quot;Hello&quot;,
3161
+ # 1,
3162
+ # &quot;1&quot;
3163
+ # ],
3164
+ # [
1911
3165
  # &quot;Groonga&quot;,
1912
- # 2
3166
+ # 2,
3167
+ # &quot;2&quot;
1913
3168
  # ],
1914
3169
  # [
1915
3170
  # &quot;Senna&quot;,
1916
- # 2
3171
+ # 2,
3172
+ # &quot;2&quot;
1917
3173
  # ]
1918
3174
  # ]
1919
3175
  # }
@@ -1922,19 +3178,63 @@ drilldown.</p>
1922
3178
  </pre></div>
1923
3179
  </div>
1924
3180
  </div>
1925
- <div class="section" id="drilldown-label-limit">
1926
- <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="Permalink to this headline">¶</a></h4>
1927
- <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in not labeled
1928
- drilldown.</p>
1929
- <p>Here is an example:</p>
3181
+ <div class="section" id="drilldowns-label-columns-name-value">
3182
+ <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="Permalink to this headline">¶</a></h4>
3183
+ <div class="versionadded">
3184
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
3185
+ </div>
3186
+ <p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> in main
3187
+ search.</p>
3188
+ <p>This is a required parameter.</p>
3189
+ <p>Here is an example that creates a new dynamic column that stores the
3190
+ number of characters of content. This example uses
3191
+ <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
3192
+ <code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
3193
+ string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
3194
+ <code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
3195
+ <p>Execution example:</p>
3196
+ <div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string \
3197
+ logical_select \
3198
+ --logical_table Entries \
3199
+ --shard_key created_at \
3200
+ --limit 0 \
3201
+ --output_columns _id \
3202
+ --drilldowns[tag].keys tag \
3203
+ --drilldowns[tag].columns[tag_length].stage initial \
3204
+ --drilldowns[tag].columns[tag_length].type UInt32 \
3205
+ --drilldowns[tag].columns[tag_length].value &#39;string_length(_key)&#39; \
3206
+ --drilldowns[tag].output_columns _key,tag_length
3207
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
3208
+ </pre></div>
3209
+ </div>
3210
+ </div>
3211
+ <div class="section" id="drilldowns-label-columns-name-window-sort-keys">
3212
+ <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="Permalink to this headline">¶</a></h4>
3213
+ <div class="versionadded">
3214
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
3215
+ </div>
3216
+ <p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> in
3217
+ main search.</p>
3218
+ <p>You must specify
3219
+ <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>
3220
+ or
3221
+ <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>
3222
+ to use window function.</p>
3223
+ <p>Here is an example that computes the Nth record in the number of sub
3224
+ records order:</p>
1930
3225
  <p>Execution example:</p>
1931
3226
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1932
3227
  --logical_table Entries \
1933
3228
  --shard_key created_at \
1934
3229
  --limit 0 \
1935
3230
  --output_columns _id \
1936
- --drilldown[tag.n_likes].keys tag \
1937
- --drilldown[tag.n_likes].limit 2
3231
+ --drilldowns[tag].keys tag \
3232
+ --drilldowns[tag].columns[record_number].stage initial \
3233
+ --drilldowns[tag].columns[record_number].type UInt32 \
3234
+ --drilldowns[tag].columns[record_number].value &#39;window_record_number()&#39; \
3235
+ --drilldowns[tag].columns[record_number].window.sort_keys _nsubrecs,_key \
3236
+ --drilldowns[tag].sort_keys record_number \
3237
+ --drilldowns[tag].output_columns _key,_nsubrecs,record_number
1938
3238
  # [
1939
3239
  # [
1940
3240
  # 0,
@@ -1954,7 +3254,7 @@ drilldown.</p>
1954
3254
  # ]
1955
3255
  # ],
1956
3256
  # {
1957
- # &quot;tag.n_likes&quot;: [
3257
+ # &quot;tag&quot;: [
1958
3258
  # [
1959
3259
  # 3
1960
3260
  # ],
@@ -1966,15 +3266,26 @@ drilldown.</p>
1966
3266
  # [
1967
3267
  # &quot;_nsubrecs&quot;,
1968
3268
  # &quot;Int32&quot;
3269
+ # ],
3270
+ # [
3271
+ # &quot;record_number&quot;,
3272
+ # &quot;UInt32&quot;
1969
3273
  # ]
1970
3274
  # ],
1971
3275
  # [
1972
3276
  # &quot;Hello&quot;,
3277
+ # 1,
1973
3278
  # 1
1974
3279
  # ],
1975
3280
  # [
1976
3281
  # &quot;Groonga&quot;,
3282
+ # 2,
1977
3283
  # 2
3284
+ # ],
3285
+ # [
3286
+ # &quot;Senna&quot;,
3287
+ # 2,
3288
+ # 3
1978
3289
  # ]
1979
3290
  # ]
1980
3291
  # }
@@ -1983,21 +3294,34 @@ drilldown.</p>
1983
3294
  </pre></div>
1984
3295
  </div>
1985
3296
  </div>
1986
- <div class="section" id="drilldown-label-calc-types">
1987
- <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="Permalink to this headline">¶</a></h4>
1988
- <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in not
1989
- labeled drilldown.</p>
1990
- <p>Here is an example:</p>
3297
+ <div class="section" id="drilldowns-label-columns-name-window-group-keys">
3298
+ <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="Permalink to this headline">¶</a></h4>
3299
+ <div class="versionadded">
3300
+ <p><span class="versionmodified">New in version 7.0.1.</span></p>
3301
+ </div>
3302
+ <p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> in
3303
+ main search.</p>
3304
+ <p>You must specify
3305
+ <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>
3306
+ or
3307
+ <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>
3308
+ to use window function.</p>
3309
+ <p>Here is an example that computes the Nth record ordered by tag name
3310
+ for each the same number of sub records:</p>
1991
3311
  <p>Execution example:</p>
1992
3312
  <div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
1993
3313
  --logical_table Entries \
1994
3314
  --shard_key created_at \
1995
3315
  --limit 0 \
1996
3316
  --output_columns _id \
1997
- --drilldown[tag].keys tag \
1998
- --drilldown[tag].calc_types MAX,MIN,SUM,AVG \
1999
- --drilldown[tag].calc_target n_likes \
2000
- --drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
3317
+ --drilldowns[tag].keys tag \
3318
+ --drilldowns[tag].columns[record_number].stage initial \
3319
+ --drilldowns[tag].columns[record_number].type UInt32 \
3320
+ --drilldowns[tag].columns[record_number].value &#39;window_record_number()&#39; \
3321
+ --drilldowns[tag].columns[record_number].window.sort_keys _key \
3322
+ --drilldowns[tag].columns[record_number].window.group_keys _nsubrecs \
3323
+ --drilldowns[tag].sort_keys _nsubrecs,record_number \
3324
+ --drilldowns[tag].output_columns _key,_nsubrecs,record_number
2001
3325
  # [
2002
3326
  # [
2003
3327
  # 0,
@@ -2031,45 +3355,24 @@ labeled drilldown.</p>
2031
3355
  # &quot;Int32&quot;
2032
3356
  # ],
2033
3357
  # [
2034
- # &quot;_max&quot;,
2035
- # &quot;Int64&quot;
2036
- # ],
2037
- # [
2038
- # &quot;_min&quot;,
2039
- # &quot;Int64&quot;
2040
- # ],
2041
- # [
2042
- # &quot;_sum&quot;,
2043
- # &quot;Int64&quot;
2044
- # ],
2045
- # [
2046
- # &quot;_avg&quot;,
2047
- # &quot;Float&quot;
3358
+ # &quot;record_number&quot;,
3359
+ # &quot;UInt32&quot;
2048
3360
  # ]
2049
3361
  # ],
2050
3362
  # [
2051
3363
  # &quot;Hello&quot;,
2052
3364
  # 1,
2053
- # 5,
2054
- # 5,
2055
- # 5,
2056
- # 5.0
3365
+ # 1
2057
3366
  # ],
2058
3367
  # [
2059
3368
  # &quot;Groonga&quot;,
2060
3369
  # 2,
2061
- # 15,
2062
- # 10,
2063
- # 25,
2064
- # 12.5
3370
+ # 1
2065
3371
  # ],
2066
3372
  # [
2067
3373
  # &quot;Senna&quot;,
2068
3374
  # 2,
2069
- # 3,
2070
- # 3,
2071
- # 6,
2072
- # 3.0
3375
+ # 2
2073
3376
  # ]
2074
3377
  # ]
2075
3378
  # }
@@ -2078,13 +3381,6 @@ labeled drilldown.</p>
2078
3381
  </pre></div>
2079
3382
  </div>
2080
3383
  </div>
2081
- <div class="section" id="drilldown-label-calc-target">
2082
- <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="Permalink to this headline">¶</a></h4>
2083
- <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in not
2084
- labeled drilldown.</p>
2085
- <p>See also <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span class="std std-ref">drilldown[${LABEL}].calc_types</span></a>
2086
- for an example.</p>
2087
- </div>
2088
3384
  </div>
2089
3385
  </div>
2090
3386
  <div class="section" id="return-value">
@@ -2138,29 +3434,52 @@ for an example.</p>
2138
3434
  <li><a class="reference internal" href="#output-related-parameters">7.3.34.5.5. Output related parameters</a><ul>
2139
3435
  <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>
2140
3436
  <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>
2141
- <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>
2142
- <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>
2143
- <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>
3437
+ <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>
3438
+ <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>
3439
+ <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>
3440
+ <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>
3441
+ </ul>
3442
+ </li>
3443
+ <li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.34.5.6. Dynamic column related parameters</a><ul>
3444
+ <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>
3445
+ <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>
3446
+ <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>
3447
+ <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>
3448
+ </ul>
3449
+ </li>
3450
+ <li><a class="reference internal" href="#window-function-related-parameters">7.3.34.5.7. Window function related parameters</a><ul>
3451
+ <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>
3452
+ <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>
2144
3453
  </ul>
2145
3454
  </li>
2146
- <li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.6. Drilldown related parameters</a><ul>
2147
- <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>
2148
- <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>
2149
- <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>
2150
- <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>
2151
- <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>
2152
- <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>
2153
- <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>
3455
+ <li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.8. Drilldown related parameters</a><ul>
3456
+ <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>
3457
+ <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>
3458
+ <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>
3459
+ <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>
3460
+ <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>
3461
+ <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>
3462
+ <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>
3463
+ <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>
3464
+ <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>
2154
3465
  </ul>
2155
3466
  </li>
2156
- <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.7. Advanced drilldown related parameters</a><ul>
2157
- <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>
2158
- <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>
2159
- <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>
2160
- <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>
2161
- <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>
2162
- <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>
2163
- <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>
3467
+ <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.9. Advanced drilldown related parameters</a><ul>
3468
+ <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>
3469
+ <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>
3470
+ <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>
3471
+ <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>
3472
+ <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>
3473
+ <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>
3474
+ <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>
3475
+ <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>
3476
+ <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>
3477
+ <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>
3478
+ <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>
3479
+ <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>
3480
+ <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>
3481
+ <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>
3482
+ <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>
2164
3483
  </ul>
2165
3484
  </li>
2166
3485
  </ul>
@@ -2209,7 +3528,7 @@ for an example.</p>
2209
3528
  <li class="right" >
2210
3529
  <a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
2211
3530
  >previous</a> |</li>
2212
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.3 documentation</a> &#187;</li>
3531
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> &#187;</li>
2213
3532
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &#187;</li>
2214
3533
  <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> &#187;</li>
2215
3534
  </ul>