rroonga 6.1.3-x64-mingw32 → 7.0.2-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/Rakefile +1 -0
 - data/doc/text/news.md +28 -0
 - data/ext/groonga/rb-grn-column.c +53 -32
 - data/ext/groonga/rb-grn-context.c +1 -1
 - data/ext/groonga/rb-grn-data-column.c +103 -0
 - data/ext/groonga/rb-grn-default-cache.c +104 -0
 - data/ext/groonga/rb-grn-index-column.c +93 -15
 - data/ext/groonga/rb-grn-inverted-index-cursor.c +269 -0
 - data/ext/groonga/rb-grn-object.c +1 -1
 - data/ext/groonga/rb-grn-plugin.c +1 -1
 - data/ext/groonga/rb-grn-table-cursor.c +1 -1
 - data/ext/groonga/rb-grn-table-key-support.c +6 -0
 - data/ext/groonga/rb-grn-table.c +0 -3
 - data/ext/groonga/rb-grn-utils.c +35 -7
 - data/ext/groonga/rb-grn.h +13 -4
 - data/ext/groonga/rb-groonga.c +2 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/2.2/groonga.so +0 -0
 - data/lib/2.3/groonga.so +0 -0
 - data/rroonga-build.rb +7 -7
 - data/rroonga.gemspec +2 -1
 - data/test/test-data-column.rb +71 -2
 - data/test/test-default-cache.rb +43 -0
 - data/test/test-double-array-trie.rb +7 -0
 - data/test/test-fix-size-column.rb +12 -0
 - data/test/test-hash.rb +7 -0
 - data/test/test-index-column.rb +12 -0
 - data/test/test-index-cursor.rb +93 -28
 - data/test/test-patricia-trie.rb +7 -0
 - data/test/test-variable-size-column.rb +19 -0
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-2.dll +0 -0
 - data/vendor/local/bin/libmsgpackc.dll +0 -0
 - data/vendor/local/bin/libonigmo-6.dll +0 -0
 - data/vendor/local/bin/libpcre-1.dll +0 -0
 - data/vendor/local/bin/libpcrecpp-0.dll +0 -0
 - data/vendor/local/bin/libpcreposix-0.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat +0 -0
 - data/vendor/local/bin/mecab-config +2 -2
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/onigmo-config +2 -2
 - data/vendor/local/bin/pcre-config +1 -1
 - data/vendor/local/bin/pcregrep.exe +0 -0
 - data/vendor/local/bin/pcretest.exe +0 -0
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +16 -3
 - data/vendor/local/include/groonga/groonga.h +2 -1
 - data/vendor/local/include/groonga/groonga/cache.h +49 -0
 - data/vendor/local/include/groonga/groonga/column.h +1 -1
 - data/vendor/local/include/groonga/groonga/groonga.h +26 -16
 - data/vendor/local/include/groonga/groonga/ii.h +7 -1
 - data/vendor/local/include/groonga/groonga/obj.h +8 -1
 - data/vendor/local/include/groonga/groonga/plugin.h +6 -1
 - data/vendor/local/include/groonga/groonga/table.h +5 -0
 - data/vendor/local/include/groonga/groonga/util.h +4 -1
 - data/vendor/local/include/groonga/groonga/window_function.h +5 -1
 - data/vendor/local/include/onigmo.h +6 -5
 - data/vendor/local/include/zconf.h +32 -9
 - data/vendor/local/include/zlib.h +298 -154
 - data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/number.la +2 -2
 - data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.la +2 -2
 - data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.la +2 -2
 - data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
 - data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +2 -2
 - data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +2 -2
 - data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +2 -2
 - data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +392 -53
 - data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +1 -2
 - data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +37 -14
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
 - data/vendor/local/lib/groonga/scripts/ruby/command.rb +0 -1
 - data/vendor/local/lib/groonga/scripts/ruby/command_input.rb +15 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -136
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +12 -1
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
 - data/vendor/local/lib/groonga/scripts/ruby/logger.rb +7 -8
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +234 -80
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +185 -0
 - data/vendor/local/lib/groonga/scripts/ruby/table.rb +27 -2
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +2 -2
 - data/vendor/local/lib/liblz4.a +0 -0
 - data/vendor/local/lib/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmecab.la +2 -2
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.a +0 -0
 - data/vendor/local/lib/libonigmo.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.la +3 -3
 - data/vendor/local/lib/libpcre.a +0 -0
 - data/vendor/local/lib/libpcre.dll.a +0 -0
 - data/vendor/local/lib/libpcre.la +2 -2
 - data/vendor/local/lib/libpcrecpp.a +0 -0
 - data/vendor/local/lib/libpcrecpp.dll.a +0 -0
 - data/vendor/local/lib/libpcrecpp.la +2 -2
 - data/vendor/local/lib/libpcreposix.a +0 -0
 - data/vendor/local/lib/libpcreposix.dll.a +0 -0
 - data/vendor/local/lib/libpcreposix.la +2 -2
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
 - data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
 - data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
 - data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
 - data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
 - data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
 - data/vendor/local/lib/pkgconfig/onigmo.pc +7 -7
 - data/vendor/local/lib/pkgconfig/zlib.pc +4 -4
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +11 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +13 -47
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +181 -891
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +2 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +11 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +1086 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +45 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +632 -91
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +514 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +902 -55
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +5 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +71 -23
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +51 -25
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +195 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +100 -15
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +33 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +38 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +6 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +22 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +28 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +25 -0
 - 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
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -93
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +326 -251
 - data/vendor/local/share/doc/groonga/en/html/index.html +111 -104
 - data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +24 -65
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +12 -11
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -9
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news.html +213 -898
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -6
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +16 -14
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/5.x.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/news/6.x.html +1148 -0
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +90 -82
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +61 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +1727 -408
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +526 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1685 -492
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +19 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +107 -82
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +355 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +155 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/{record_number.html → string_length.html} +36 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +170 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +36 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +27 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +33 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +147 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +164 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +163 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +163 -0
 - data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +11 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +13 -47
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +181 -891
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +2 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +11 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +1086 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +45 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +632 -91
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +514 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +902 -55
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +5 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +71 -23
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +51 -25
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +195 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +100 -15
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +33 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +38 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +22 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +28 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +25 -0
 - 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
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -93
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +186 -118
 - data/vendor/local/share/doc/groonga/ja/html/index.html +111 -104
 - data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +24 -61
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +12 -11
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news.html +132 -761
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +1064 -0
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +90 -82
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +67 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +1629 -383
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +508 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1606 -478
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +19 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +32 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +76 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +103 -82
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +370 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +150 -52
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/{record_number.html → string_length.html} +36 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +171 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +36 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +19 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +33 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +32 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +146 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +165 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +164 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +164 -0
 - data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
 - data/vendor/local/share/groonga/mruby/LEGAL +4 -0
 - data/vendor/local/share/license/mruby/AUTHORS +1 -0
 - data/vendor/local/share/license/mruby/MITL +1 -1
 - data/vendor/local/share/license/zlib/README +3 -3
 - metadata +100 -67
 - data/lib/2.4/groonga.so +0 -0
 - 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.33. logical_range_filter — Groonga  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.3.33. logical_range_filter — 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:     ' 
     | 
| 
      
 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  
     | 
| 
      
 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  
     | 
| 
      
 65 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
         
     | 
| 
       66 
66 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       67 
67 
     | 
    
         
             
                      <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</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  
     | 
| 
      
 313 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
         
     | 
| 
       314 
314 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       315 
315 
     | 
    
         
             
                      <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</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 — Groonga  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.3.34. logical_select — 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:     ' 
     | 
| 
      
 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  
     | 
| 
      
 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  
     | 
| 
      
 65 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
         
     | 
| 
       66 
66 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       67 
67 
     | 
    
         
             
                      <li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</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 
     | 
| 
      
 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"> 
     | 
| 
       119 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
       120 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
       121 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
       122 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
       123 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
       124 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre"> 
     | 
| 
      
 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="_key,</span> <span class="pre">_nsubrecs"</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">-- 
     | 
| 
       134 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre">-- 
     | 
| 
      
 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">-- 
     | 
| 
       141 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre">-- 
     | 
| 
       142 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre">-- 
     | 
| 
       143 
     | 
    
         
            -
            <li><code class="docutils literal"><span class="pre">-- 
     | 
| 
      
 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"> 
     | 
| 
      
 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"> 
     | 
| 
       160 
     | 
    
         
            -
            work with multiple shards. It works with one 
     | 
| 
       161 
     | 
    
         
            -
            <code class="docutils literal"><span class="pre"> 
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
             
            #     "[logical_select] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
         
     | 
| 
       386 
440 
     | 
    
         
             
            #     [
         
     | 
| 
       387 
441 
     | 
    
         
             
            #       [
         
     | 
| 
       388 
     | 
    
         
            -
            #         "Groonga:: 
     | 
| 
       389 
     | 
    
         
            -
            #         " 
     | 
| 
       390 
     | 
    
         
            -
            #          
     | 
| 
      
 442 
     | 
    
         
            +
            #         "Groonga::Sharding::LogicalSelectCommand::Executor.execute_search",
         
     | 
| 
      
 443 
     | 
    
         
            +
            #         "/home/kou/work/c/groonga.clean/plugins/sharding/logical_select.rb",
         
     | 
| 
      
 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 
     | 
    
         
            -
            < 
     | 
| 
      
 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">"fast"</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 "fast"
         
     | 
| 
      
 820 
     | 
    
         
            +
            # [
         
     | 
| 
      
 821 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 822 
     | 
    
         
            +
            #     0,
         
     | 
| 
      
 823 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 824 
     | 
    
         
            +
            #     0.000355720520019531
         
     | 
| 
      
 825 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 826 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 827 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 828 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 829 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 830 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 831 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 832 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 833 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 834 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 835 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 836 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 837 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 838 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 839 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 840 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 841 
     | 
    
         
            +
            #           "content",
         
     | 
| 
      
 842 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 843 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 844 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 845 
     | 
    
         
            +
            #           "created_at",
         
     | 
| 
      
 846 
     | 
    
         
            +
            #           "Time"
         
     | 
| 
      
 847 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 848 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 849 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 850 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 851 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 852 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 853 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 854 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 855 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 856 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 857 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 858 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 859 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 860 
     | 
    
         
            +
            #         "I started to use Groonga. It's very fast!",
         
     | 
| 
      
 861 
     | 
    
         
            +
            #         1436284800.0,
         
     | 
| 
      
 862 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 863 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
      
 864 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 865 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 866 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 867 
     | 
    
         
            +
            #         "Mroonga",
         
     | 
| 
      
 868 
     | 
    
         
            +
            #         "I also started to use Mroonga. It's also very fast! Really fast!",
         
     | 
| 
      
 869 
     | 
    
         
            +
            #         1436288400.0,
         
     | 
| 
      
 870 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 871 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
      
 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 
     | 
    
         
            -
            < 
     | 
| 
      
 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">"fast"</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 "content:@fast"
         
     | 
| 
      
 893 
     | 
    
         
            +
            # [
         
     | 
| 
      
 894 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 895 
     | 
    
         
            +
            #     0,
         
     | 
| 
      
 896 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 897 
     | 
    
         
            +
            #     0.000355720520019531
         
     | 
| 
      
 898 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 899 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 900 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 901 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 902 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 903 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 904 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 905 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 906 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 907 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 908 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 909 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 910 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 911 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 912 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 913 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 914 
     | 
    
         
            +
            #           "content",
         
     | 
| 
      
 915 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 916 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 917 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 918 
     | 
    
         
            +
            #           "created_at",
         
     | 
| 
      
 919 
     | 
    
         
            +
            #           "Time"
         
     | 
| 
      
 920 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 921 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 922 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 923 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 924 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 925 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 926 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 927 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 928 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 929 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 930 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 931 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 932 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 933 
     | 
    
         
            +
            #         "I started to use Groonga. It's very fast!",
         
     | 
| 
      
 934 
     | 
    
         
            +
            #         1436284800.0,
         
     | 
| 
      
 935 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 936 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
      
 937 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 938 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 939 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 940 
     | 
    
         
            +
            #         "Mroonga",
         
     | 
| 
      
 941 
     | 
    
         
            +
            #         "I also started to use Mroonga. It's also very fast! Really fast!",
         
     | 
| 
      
 942 
     | 
    
         
            +
            #         1436288400.0,
         
     | 
| 
      
 943 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 944 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
      
 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 
     | 
    
         
            -
            < 
     | 
| 
       944 
     | 
    
         
            -
            <a class="reference internal" href=" 
     | 
| 
       945 
     | 
    
         
            -
             
     | 
| 
       946 
     | 
    
         
            -
             
     | 
| 
       947 
     | 
    
         
            -
             
     | 
| 
      
 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 "include" \
         
     | 
| 
       955 
1153 
     | 
    
         
             
              --max "2015/07/09 00:00:00" \
         
     | 
| 
       956 
1154 
     | 
    
         
             
              --max_border "exclude" \
         
     | 
| 
       957 
     | 
    
         
            -
              -- 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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=" 
     | 
| 
       1177 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1178 
     | 
    
         
            -
            < 
     | 
| 
       1179 
     | 
    
         
            -
            < 
     | 
| 
       1180 
     | 
    
         
            -
             
     | 
| 
       1181 
     | 
    
         
            -
            < 
     | 
| 
       1182 
     | 
    
         
            -
             
     | 
| 
       1183 
     | 
    
         
            -
             
     | 
| 
       1184 
     | 
    
         
            -
            < 
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1190 
     | 
    
         
            -
              -- 
     | 
| 
      
 1397 
     | 
    
         
            +
              --columns[is_popular].stage initial \
         
     | 
| 
      
 1398 
     | 
    
         
            +
              --columns[is_popular].type Bool \
         
     | 
| 
      
 1399 
     | 
    
         
            +
              --columns[is_popular].value 'n_likes >= 10' \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #          
     | 
| 
      
 1411 
     | 
    
         
            +
            #         2
         
     | 
| 
       1201 
1412 
     | 
    
         
             
            #       ],
         
     | 
| 
       1202 
1413 
     | 
    
         
             
            #       [
         
     | 
| 
       1203 
1414 
     | 
    
         
             
            #         [
         
     | 
| 
       1204 
     | 
    
         
            -
            #           " 
     | 
| 
       1205 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1415 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 1416 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1206 
1417 
     | 
    
         
             
            #         ],
         
     | 
| 
       1207 
1418 
     | 
    
         
             
            #         [
         
     | 
| 
       1208 
     | 
    
         
            -
            #           " 
     | 
| 
       1209 
     | 
    
         
            -
            #           " 
     | 
| 
       1210 
     | 
    
         
            -
            #         ]
         
     | 
| 
       1211 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1212 
     | 
    
         
            -
            #       [
         
     | 
| 
       1213 
     | 
    
         
            -
            #         "The first post!",
         
     | 
| 
       1214 
     | 
    
         
            -
            #         "Hello"
         
     | 
| 
       1215 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1216 
     | 
    
         
            -
            #       [
         
     | 
| 
       1217 
     | 
    
         
            -
            #         "Groonga",
         
     | 
| 
       1218 
     | 
    
         
            -
            #         "Groonga"
         
     | 
| 
       1219 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1220 
     | 
    
         
            -
            #       [
         
     | 
| 
       1221 
     | 
    
         
            -
            #         "Mroonga",
         
     | 
| 
       1222 
     | 
    
         
            -
            #         "Groonga"
         
     | 
| 
       1223 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1224 
     | 
    
         
            -
            #       [
         
     | 
| 
       1225 
     | 
    
         
            -
            #         "Good-bye Senna",
         
     | 
| 
       1226 
     | 
    
         
            -
            #         "Senna"
         
     | 
| 
       1227 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1228 
     | 
    
         
            -
            #       [
         
     | 
| 
       1229 
     | 
    
         
            -
            #         "Good-bye Tritonn",
         
     | 
| 
       1230 
     | 
    
         
            -
            #         "Senna"
         
     | 
| 
       1231 
     | 
    
         
            -
            #       ]
         
     | 
| 
       1232 
     | 
    
         
            -
            #     ],
         
     | 
| 
       1233 
     | 
    
         
            -
            #     [
         
     | 
| 
       1234 
     | 
    
         
            -
            #       [
         
     | 
| 
       1235 
     | 
    
         
            -
            #         3
         
     | 
| 
       1236 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1237 
     | 
    
         
            -
            #       [
         
     | 
| 
       1238 
     | 
    
         
            -
            #         [
         
     | 
| 
       1239 
     | 
    
         
            -
            #           "_key",
         
     | 
| 
       1240 
     | 
    
         
            -
            #           "ShortText"
         
     | 
| 
      
 1419 
     | 
    
         
            +
            #           "is_popular",
         
     | 
| 
      
 1420 
     | 
    
         
            +
            #           "Bool"
         
     | 
| 
       1241 
1421 
     | 
    
         
             
            #         ],
         
     | 
| 
       1242 
1422 
     | 
    
         
             
            #         [
         
     | 
| 
       1243 
     | 
    
         
            -
            #           " 
     | 
| 
       1244 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1423 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 1424 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1245 
1425 
     | 
    
         
             
            #         ]
         
     | 
| 
       1246 
1426 
     | 
    
         
             
            #       ],
         
     | 
| 
       1247 
1427 
     | 
    
         
             
            #       [
         
     | 
| 
       1248 
     | 
    
         
            -
            #          
     | 
| 
       1249 
     | 
    
         
            -
            #          
     | 
| 
       1250 
     | 
    
         
            -
            # 
     | 
| 
       1251 
     | 
    
         
            -
            #       [
         
     | 
| 
       1252 
     | 
    
         
            -
            #         "Groonga",
         
     | 
| 
       1253 
     | 
    
         
            -
            #         2
         
     | 
| 
      
 1428 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 1429 
     | 
    
         
            +
            #         true,
         
     | 
| 
      
 1430 
     | 
    
         
            +
            #         10
         
     | 
| 
       1254 
1431 
     | 
    
         
             
            #       ],
         
     | 
| 
       1255 
1432 
     | 
    
         
             
            #       [
         
     | 
| 
       1256 
     | 
    
         
            -
            #          
     | 
| 
       1257 
     | 
    
         
            -
            #          
     | 
| 
      
 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=" 
     | 
| 
       1266 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1267 
     | 
    
         
            -
            < 
     | 
| 
       1268 
     | 
    
         
            -
            < 
     | 
| 
       1269 
     | 
    
         
            -
             
     | 
| 
      
 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> 
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1275 
     | 
    
         
            -
              -- 
     | 
| 
       1276 
     | 
    
         
            -
              -- 
     | 
| 
       1277 
     | 
    
         
            -
              -- 
     | 
| 
      
 1460 
     | 
    
         
            +
              --columns[vector].stage initial \
         
     | 
| 
      
 1461 
     | 
    
         
            +
              --columns[vector].flags COLUMN_VECTOR \
         
     | 
| 
      
 1462 
     | 
    
         
            +
              --columns[vector].type UInt32 \
         
     | 
| 
      
 1463 
     | 
    
         
            +
              --columns[vector].value 'vector_new(1, 2, 3)' \
         
     | 
| 
      
 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 
     | 
    
         
             
            #           "_id",
         
     | 
| 
       1292 
1479 
     | 
    
         
             
            #           "UInt32"
         
     | 
| 
      
 1480 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1481 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1482 
     | 
    
         
            +
            #           "vector",
         
     | 
| 
      
 1483 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1293 
1484 
     | 
    
         
             
            #         ]
         
     | 
| 
       1294 
     | 
    
         
            -
            #       ]
         
     | 
| 
       1295 
     | 
    
         
            -
            #     ],
         
     | 
| 
       1296 
     | 
    
         
            -
            #     [
         
     | 
| 
       1297 
     | 
    
         
            -
            #       [
         
     | 
| 
       1298 
     | 
    
         
            -
            #         3
         
     | 
| 
       1299 
1485 
     | 
    
         
             
            #       ],
         
     | 
| 
       1300 
1486 
     | 
    
         
             
            #       [
         
     | 
| 
      
 1487 
     | 
    
         
            +
            #         1,
         
     | 
| 
       1301 
1488 
     | 
    
         
             
            #         [
         
     | 
| 
       1302 
     | 
    
         
            -
            #            
     | 
| 
       1303 
     | 
    
         
            -
            #            
     | 
| 
       1304 
     | 
    
         
            -
            # 
     | 
| 
      
 1489 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 1490 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 1491 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 1492 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 1493 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1494 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1495 
     | 
    
         
            +
            #         2,
         
     | 
| 
       1305 
1496 
     | 
    
         
             
            #         [
         
     | 
| 
       1306 
     | 
    
         
            -
            #            
     | 
| 
       1307 
     | 
    
         
            -
            #            
     | 
| 
      
 1497 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 1498 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 1499 
     | 
    
         
            +
            #           3
         
     | 
| 
       1308 
1500 
     | 
    
         
             
            #         ]
         
     | 
| 
       1309 
1501 
     | 
    
         
             
            #       ],
         
     | 
| 
       1310 
1502 
     | 
    
         
             
            #       [
         
     | 
| 
       1311 
     | 
    
         
            -
            #          
     | 
| 
       1312 
     | 
    
         
            -
            #          
     | 
| 
      
 1503 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1504 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1505 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 1506 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 1507 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 1508 
     | 
    
         
            +
            #         ]
         
     | 
| 
       1313 
1509 
     | 
    
         
             
            #       ],
         
     | 
| 
       1314 
1510 
     | 
    
         
             
            #       [
         
     | 
| 
       1315 
     | 
    
         
            -
            #          
     | 
| 
       1316 
     | 
    
         
            -
            #          
     | 
| 
      
 1511 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 1512 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1513 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 1514 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 1515 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 1516 
     | 
    
         
            +
            #         ]
         
     | 
| 
       1317 
1517 
     | 
    
         
             
            #       ],
         
     | 
| 
       1318 
1518 
     | 
    
         
             
            #       [
         
     | 
| 
       1319 
     | 
    
         
            -
            #          
     | 
| 
       1320 
     | 
    
         
            -
            #          
     | 
| 
      
 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=" 
     | 
| 
       1329 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1330 
     | 
    
         
            -
            < 
     | 
| 
       1331 
     | 
    
         
            -
            < 
     | 
| 
       1332 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1338 
     | 
    
         
            -
              -- 
     | 
| 
       1339 
     | 
    
         
            -
              -- 
     | 
| 
       1340 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 
     | 
    
         
             
            #           "_id",
         
     | 
| 
       1355 
1565 
     | 
    
         
             
            #           "UInt32"
         
     | 
| 
      
 1566 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1567 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1568 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 1569 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 1570 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1571 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1572 
     | 
    
         
            +
            #           "n_likes_string",
         
     | 
| 
      
 1573 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
       1356 
1574 
     | 
    
         
             
            #         ]
         
     | 
| 
       1357 
     | 
    
         
            -
            #       ]
         
     | 
| 
       1358 
     | 
    
         
            -
            #     ],
         
     | 
| 
       1359 
     | 
    
         
            -
            #     [
         
     | 
| 
      
 1575 
     | 
    
         
            +
            #       ],
         
     | 
| 
       1360 
1576 
     | 
    
         
             
            #       [
         
     | 
| 
       1361 
     | 
    
         
            -
            #          
     | 
| 
      
 1577 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 1578 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 1579 
     | 
    
         
            +
            #         "5"
         
     | 
| 
       1362 
1580 
     | 
    
         
             
            #       ],
         
     | 
| 
       1363 
1581 
     | 
    
         
             
            #       [
         
     | 
| 
       1364 
     | 
    
         
            -
            #          
     | 
| 
       1365 
     | 
    
         
            -
            # 
     | 
| 
       1366 
     | 
    
         
            -
            # 
     | 
| 
       1367 
     | 
    
         
            -
            #         ]
         
     | 
| 
      
 1582 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 1583 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 1584 
     | 
    
         
            +
            #         "10"
         
     | 
| 
       1368 
1585 
     | 
    
         
             
            #       ],
         
     | 
| 
       1369 
1586 
     | 
    
         
             
            #       [
         
     | 
| 
       1370 
     | 
    
         
            -
            #          
     | 
| 
      
 1587 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1588 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 1589 
     | 
    
         
            +
            #         "15"
         
     | 
| 
       1371 
1590 
     | 
    
         
             
            #       ],
         
     | 
| 
       1372 
1591 
     | 
    
         
             
            #       [
         
     | 
| 
       1373 
     | 
    
         
            -
            #          
     | 
| 
      
 1592 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 1593 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1594 
     | 
    
         
            +
            #         "3"
         
     | 
| 
       1374 
1595 
     | 
    
         
             
            #       ],
         
     | 
| 
       1375 
1596 
     | 
    
         
             
            #       [
         
     | 
| 
       1376 
     | 
    
         
            -
            #          
     | 
| 
      
 1597 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 1598 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1599 
     | 
    
         
            +
            #         "3"
         
     | 
| 
       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=" 
     | 
| 
       1385 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1386 
     | 
    
         
            -
            < 
     | 
| 
       1387 
     | 
    
         
            -
            < 
     | 
| 
       1388 
     | 
    
         
            -
             
     | 
| 
      
 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> 
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1394 
     | 
    
         
            -
              -- 
     | 
| 
       1395 
     | 
    
         
            -
              -- 
     | 
| 
       1396 
     | 
    
         
            -
              -- 
     | 
| 
      
 1631 
     | 
    
         
            +
              --columns[content_length].stage initial \
         
     | 
| 
      
 1632 
     | 
    
         
            +
              --columns[content_length].type UInt32 \
         
     | 
| 
      
 1633 
     | 
    
         
            +
              --columns[content_length].value 'string_length(content)' \
         
     | 
| 
      
 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 
     | 
    
         
             
            #           "_id",
         
     | 
| 
       1411 
1649 
     | 
    
         
             
            #           "UInt32"
         
     | 
| 
      
 1650 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1651 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1652 
     | 
    
         
            +
            #           "content",
         
     | 
| 
      
 1653 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 1654 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1655 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1656 
     | 
    
         
            +
            #           "content_length",
         
     | 
| 
      
 1657 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1412 
1658 
     | 
    
         
             
            #         ]
         
     | 
| 
      
 1659 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1660 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1661 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 1662 
     | 
    
         
            +
            #         "Welcome! This is my first post!",
         
     | 
| 
      
 1663 
     | 
    
         
            +
            #         31
         
     | 
| 
      
 1664 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1665 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1666 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 1667 
     | 
    
         
            +
            #         "I started to use Groonga. It's very fast!",
         
     | 
| 
      
 1668 
     | 
    
         
            +
            #         41
         
     | 
| 
      
 1669 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1670 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1671 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1672 
     | 
    
         
            +
            #         "I also started to use Mroonga. It's also very fast! Really fast!",
         
     | 
| 
      
 1673 
     | 
    
         
            +
            #         64
         
     | 
| 
      
 1674 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1675 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1676 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 1677 
     | 
    
         
            +
            #         "I migrated all Senna system!",
         
     | 
| 
      
 1678 
     | 
    
         
            +
            #         28
         
     | 
| 
      
 1679 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1680 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1681 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 1682 
     | 
    
         
            +
            #         "I also migrated all Tritonn system!",
         
     | 
| 
      
 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 'window_sum(n_likes)' \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #          
     | 
| 
      
 1733 
     | 
    
         
            +
            #         5
         
     | 
| 
       1418 
1734 
     | 
    
         
             
            #       ],
         
     | 
| 
       1419 
1735 
     | 
    
         
             
            #       [
         
     | 
| 
       1420 
1736 
     | 
    
         
             
            #         [
         
     | 
| 
      
 1737 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 1738 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 1739 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1740 
     | 
    
         
            +
            #         [
         
     | 
| 
       1421 
1741 
     | 
    
         
             
            #           "_key",
         
     | 
| 
       1422 
1742 
     | 
    
         
             
            #           "ShortText"
         
     | 
| 
       1423 
1743 
     | 
    
         
             
            #         ],
         
     | 
| 
       1424 
1744 
     | 
    
         
             
            #         [
         
     | 
| 
       1425 
     | 
    
         
            -
            #           " 
     | 
| 
       1426 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1745 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 1746 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 1747 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1748 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1749 
     | 
    
         
            +
            #           "n_likes_cumulative_sum_per_tag",
         
     | 
| 
      
 1750 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1427 
1751 
     | 
    
         
             
            #         ]
         
     | 
| 
       1428 
1752 
     | 
    
         
             
            #       ],
         
     | 
| 
       1429 
1753 
     | 
    
         
             
            #       [
         
     | 
| 
       1430 
1754 
     | 
    
         
             
            #         "Groonga",
         
     | 
| 
       1431 
     | 
    
         
            -
            #          
     | 
| 
      
 1755 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 1756 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 1757 
     | 
    
         
            +
            #         10
         
     | 
| 
      
 1758 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1759 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1760 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 1761 
     | 
    
         
            +
            #         "Mroonga",
         
     | 
| 
      
 1762 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 1763 
     | 
    
         
            +
            #         25
         
     | 
| 
      
 1764 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1765 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1766 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 1767 
     | 
    
         
            +
            #         "The first post!",
         
     | 
| 
      
 1768 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 1769 
     | 
    
         
            +
            #         5
         
     | 
| 
       1432 
1770 
     | 
    
         
             
            #       ],
         
     | 
| 
       1433 
1771 
     | 
    
         
             
            #       [
         
     | 
| 
       1434 
1772 
     | 
    
         
             
            #         "Senna",
         
     | 
| 
       1435 
     | 
    
         
            -
            #          
     | 
| 
      
 1773 
     | 
    
         
            +
            #         "Good-bye Senna",
         
     | 
| 
      
 1774 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1775 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 1776 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1777 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1778 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 1779 
     | 
    
         
            +
            #         "Good-bye Tritonn",
         
     | 
| 
      
 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=" 
     | 
| 
       1444 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1445 
     | 
    
         
            -
            < 
     | 
| 
       1446 
     | 
    
         
            -
            < 
     | 
| 
       1447 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1453 
     | 
    
         
            -
              -- 
     | 
| 
       1454 
     | 
    
         
            -
              -- 
     | 
| 
       1455 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 'window_sum(n_likes)' \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #           " 
     | 
| 
       1470 
     | 
    
         
            -
            #           " 
     | 
| 
       1471 
     | 
    
         
            -
            #         ]
         
     | 
| 
       1472 
     | 
    
         
            -
            #       ]
         
     | 
| 
       1473 
     | 
    
         
            -
            #     ],
         
     | 
| 
       1474 
     | 
    
         
            -
            #     [
         
     | 
| 
       1475 
     | 
    
         
            -
            #       [
         
     | 
| 
       1476 
     | 
    
         
            -
            #         3
         
     | 
| 
       1477 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1478 
     | 
    
         
            -
            #       [
         
     | 
| 
      
 1824 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 1825 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 1826 
     | 
    
         
            +
            #         ],
         
     | 
| 
       1479 
1827 
     | 
    
         
             
            #         [
         
     | 
| 
       1480 
1828 
     | 
    
         
             
            #           "_key",
         
     | 
| 
       1481 
1829 
     | 
    
         
             
            #           "ShortText"
         
     | 
| 
       1482 
1830 
     | 
    
         
             
            #         ],
         
     | 
| 
       1483 
1831 
     | 
    
         
             
            #         [
         
     | 
| 
       1484 
     | 
    
         
            -
            #           " 
     | 
| 
       1485 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1832 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 1833 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 1834 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 1835 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 1836 
     | 
    
         
            +
            #           "n_likes_sum_per_tag",
         
     | 
| 
      
 1837 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
       1486 
1838 
     | 
    
         
             
            #         ]
         
     | 
| 
       1487 
1839 
     | 
    
         
             
            #       ],
         
     | 
| 
       1488 
1840 
     | 
    
         
             
            #       [
         
     | 
| 
       1489 
     | 
    
         
            -
            #         " 
     | 
| 
       1490 
     | 
    
         
            -
            #          
     | 
| 
      
 1841 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 1842 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 1843 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 1844 
     | 
    
         
            +
            #         25
         
     | 
| 
       1491 
1845 
     | 
    
         
             
            #       ],
         
     | 
| 
       1492 
1846 
     | 
    
         
             
            #       [
         
     | 
| 
       1493 
1847 
     | 
    
         
             
            #         "Groonga",
         
     | 
| 
       1494 
     | 
    
         
            -
            #          
     | 
| 
      
 1848 
     | 
    
         
            +
            #         "Mroonga",
         
     | 
| 
      
 1849 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 1850 
     | 
    
         
            +
            #         25
         
     | 
| 
      
 1851 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1852 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1853 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 1854 
     | 
    
         
            +
            #         "The first post!",
         
     | 
| 
      
 1855 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 1856 
     | 
    
         
            +
            #         5
         
     | 
| 
      
 1857 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1858 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1859 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 1860 
     | 
    
         
            +
            #         "Good-bye Senna",
         
     | 
| 
      
 1861 
     | 
    
         
            +
            #         3,
         
     | 
| 
      
 1862 
     | 
    
         
            +
            #         6
         
     | 
| 
      
 1863 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1864 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1865 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 1866 
     | 
    
         
            +
            #         "Good-bye Tritonn",
         
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       1503 
     | 
    
         
            -
            < 
     | 
| 
       1504 
     | 
    
         
            -
            < 
     | 
| 
       1505 
     | 
    
         
            -
            < 
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1512 
     | 
    
         
            -
              -- 
     | 
| 
       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 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1905 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
       1531 
1906 
     | 
    
         
             
            #           "ShortText"
         
     | 
| 
       1532 
1907 
     | 
    
         
             
            #         ],
         
     | 
| 
       1533 
1908 
     | 
    
         
             
            #         [
         
     | 
| 
       1534 
     | 
    
         
            -
            #           " 
     | 
| 
       1535 
     | 
    
         
            -
            #           " 
     | 
| 
      
 1909 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 1910 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
       1536 
1911 
     | 
    
         
             
            #         ]
         
     | 
| 
       1537 
1912 
     | 
    
         
             
            #       ],
         
     | 
| 
       1538 
1913 
     | 
    
         
             
            #       [
         
     | 
| 
       1539 
     | 
    
         
            -
            #         " 
     | 
| 
       1540 
     | 
    
         
            -
            #          
     | 
| 
      
 1914 
     | 
    
         
            +
            #         "The first post!",
         
     | 
| 
      
 1915 
     | 
    
         
            +
            #         "Hello"
         
     | 
| 
       1541 
1916 
     | 
    
         
             
            #       ],
         
     | 
| 
       1542 
1917 
     | 
    
         
             
            #       [
         
     | 
| 
       1543 
1918 
     | 
    
         
             
            #         "Groonga",
         
     | 
| 
       1544 
     | 
    
         
            -
            #          
     | 
| 
      
 1919 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
       1545 
1920 
     | 
    
         
             
            #       ],
         
     | 
| 
       1546 
1921 
     | 
    
         
             
            #       [
         
     | 
| 
       1547 
     | 
    
         
            -
            #         " 
     | 
| 
       1548 
     | 
    
         
            -
            #          
     | 
| 
      
 1922 
     | 
    
         
            +
            #         "Mroonga",
         
     | 
| 
      
 1923 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
       1549 
1924 
     | 
    
         
             
            #       ],
         
     | 
| 
       1550 
1925 
     | 
    
         
             
            #       [
         
     | 
| 
       1551 
     | 
    
         
            -
            #         "Senna",
         
     | 
| 
       1552 
     | 
    
         
            -
            #          
     | 
| 
      
 1926 
     | 
    
         
            +
            #         "Good-bye Senna",
         
     | 
| 
      
 1927 
     | 
    
         
            +
            #         "Senna"
         
     | 
| 
       1553 
1928 
     | 
    
         
             
            #       ],
         
     | 
| 
       1554 
1929 
     | 
    
         
             
            #       [
         
     | 
| 
       1555 
     | 
    
         
            -
            #         " 
     | 
| 
       1556 
     | 
    
         
            -
            #          
     | 
| 
      
 1930 
     | 
    
         
            +
            #         "Good-bye Tritonn",
         
     | 
| 
      
 1931 
     | 
    
         
            +
            #         "Senna"
         
     | 
| 
       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 
     | 
    
         
             
            #           "_nsubrecs",
         
     | 
| 
       1570 
1945 
     | 
    
         
             
            #           "Int32"
         
     | 
| 
      
 1946 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 1947 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1948 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1949 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 1950 
     | 
    
         
            +
            #         1
         
     | 
| 
      
 1951 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1952 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1953 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 1954 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 1955 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 1956 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 1957 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 1999 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2000 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2001 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2002 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2003 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2004 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2005 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2006 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2007 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2008 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2009 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2010 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2011 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2012 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2013 
     | 
    
         
            +
            #           "_nsubrecs",
         
     | 
| 
      
 2014 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 2015 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2016 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2017 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2018 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2019 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 2020 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2021 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2022 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 2023 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 2024 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2025 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2026 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2062 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2063 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2064 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2065 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2066 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2067 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2068 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2069 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2070 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2071 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2072 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2073 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2074 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2075 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2076 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2077 
     | 
    
         
            +
            #         "Hello"
         
     | 
| 
      
 2078 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2079 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2080 
     | 
    
         
            +
            #         "Groonga"
         
     | 
| 
      
 2081 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2082 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2083 
     | 
    
         
            +
            #         "Senna"
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2118 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2119 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2120 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2121 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2122 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2123 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2124 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2125 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2126 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2127 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2128 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2129 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2130 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2131 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2132 
     | 
    
         
            +
            #           "_nsubrecs",
         
     | 
| 
      
 2133 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 2134 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2135 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2136 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2137 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2138 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 2139 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2140 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2141 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2177 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2178 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2179 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2180 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2181 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2182 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2183 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2184 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2185 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2186 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2187 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2188 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2189 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2190 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2191 
     | 
    
         
            +
            #           "_nsubrecs",
         
     | 
| 
      
 2192 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 2193 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2194 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2195 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2196 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 2197 
     | 
    
         
            +
            #         1
         
     | 
| 
      
 2198 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2199 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2200 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "tag",
         
     | 
| 
      
 2238 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2239 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2240 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2241 
     | 
    
         
            +
            #           "n_likes",
         
     | 
| 
      
 2242 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2243 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2244 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2245 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2246 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 2247 
     | 
    
         
            +
            #         5
         
     | 
| 
      
 2248 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2249 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2250 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2251 
     | 
    
         
            +
            #         10
         
     | 
| 
      
 2252 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2253 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2254 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2255 
     | 
    
         
            +
            #         15
         
     | 
| 
      
 2256 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2257 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2258 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 2259 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2260 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2261 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2262 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 2263 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2264 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2265 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2266 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2267 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2268 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 2269 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2270 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2271 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2272 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2273 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2274 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2275 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2276 
     | 
    
         
            +
            #           "_nsubrecs",
         
     | 
| 
      
 2277 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 2278 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2279 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2280 
     | 
    
         
            +
            #           "_max",
         
     | 
| 
      
 2281 
     | 
    
         
            +
            #           "Int64"
         
     | 
| 
      
 2282 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2283 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2284 
     | 
    
         
            +
            #           "_min",
         
     | 
| 
      
 2285 
     | 
    
         
            +
            #           "Int64"
         
     | 
| 
      
 2286 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2287 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2288 
     | 
    
         
            +
            #           "_sum",
         
     | 
| 
      
 2289 
     | 
    
         
            +
            #           "Int64"
         
     | 
| 
      
 2290 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2291 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2292 
     | 
    
         
            +
            #           "_avg",
         
     | 
| 
      
 2293 
     | 
    
         
            +
            #           "Float"
         
     | 
| 
      
 2294 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2295 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2296 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2297 
     | 
    
         
            +
            #         "Hello",
         
     | 
| 
      
 2298 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 2299 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 2300 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 2301 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 2302 
     | 
    
         
            +
            #         5.0
         
     | 
| 
      
 2303 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2304 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2305 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2306 
     | 
    
         
            +
            #         2,
         
     | 
| 
      
 2307 
     | 
    
         
            +
            #         15,
         
     | 
| 
      
 2308 
     | 
    
         
            +
            #         10,
         
     | 
| 
      
 2309 
     | 
    
         
            +
            #         25,
         
     | 
| 
      
 2310 
     | 
    
         
            +
            #         12.5
         
     | 
| 
      
 2311 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2312 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2313 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 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 "_nsubrecs > 1" \
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2364 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2365 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2366 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2367 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2368 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 2369 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2370 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 2371 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2372 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2373 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2374 
     | 
    
         
            +
            #           "_key",
         
     | 
| 
      
 2375 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 2376 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2377 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2378 
     | 
    
         
            +
            #           "_nsubrecs",
         
     | 
| 
      
 2379 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 2380 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2381 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2382 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2383 
     | 
    
         
            +
            #         "Groonga",
         
     | 
| 
      
 2384 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 2385 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 2386 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 2387 
     | 
    
         
            +
            #         "Senna",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2438 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2439 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2440 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2441 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2442 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2443 
     | 
    
         
            +
            #       "tag.n_likes": [
         
     | 
| 
      
 2444 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2445 
     | 
    
         
            +
            #           4
         
     | 
| 
      
 2446 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2447 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2448 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2449 
     | 
    
         
            +
            #             "tag",
         
     | 
| 
      
 2450 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2451 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2452 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2453 
     | 
    
         
            +
            #             "n_likes",
         
     | 
| 
      
 2454 
     | 
    
         
            +
            #             "UInt32"
         
     | 
| 
      
 2455 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2456 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2457 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2458 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2459 
     | 
    
         
            +
            #           ]
         
     | 
| 
      
 2460 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2461 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2462 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 2463 
     | 
    
         
            +
            #           5,
         
     | 
| 
      
 2464 
     | 
    
         
            +
            #           1
         
     | 
| 
      
 2465 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2466 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2467 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 2468 
     | 
    
         
            +
            #           10,
         
     | 
| 
      
 2469 
     | 
    
         
            +
            #           1
         
     | 
| 
      
 2470 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2471 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2472 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 2473 
     | 
    
         
            +
            #           15,
         
     | 
| 
      
 2474 
     | 
    
         
            +
            #           1
         
     | 
| 
      
 2475 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2476 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2477 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2516 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2517 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2518 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2519 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2520 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2521 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
      
 2522 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2523 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 2524 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2525 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2526 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2527 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
      
 2528 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2529 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2530 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2531 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2532 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2533 
     | 
    
         
            +
            #           ]
         
     | 
| 
      
 2534 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2535 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2536 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 2537 
     | 
    
         
            +
            #           1
         
     | 
| 
      
 2538 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2539 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2540 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 2541 
     | 
    
         
            +
            #           2
         
     | 
| 
      
 2542 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2543 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2544 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 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 "2015/07/08 00:00:00" \
         
     | 
| 
      
 2575 
     | 
    
         
            +
              --min_border "include" \
         
     | 
| 
      
 2576 
     | 
    
         
            +
              --max "2015/07/09 00:00:00" \
         
     | 
| 
      
 2577 
     | 
    
         
            +
              --max_border "exclude" \
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2597 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2598 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2599 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2600 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2601 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2602 
     | 
    
         
            +
            #       "tag.n_likes": [
         
     | 
| 
      
 2603 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2604 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 2605 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2606 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2607 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2608 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2609 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2610 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2611 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2612 
     | 
    
         
            +
            #             "n_likes",
         
     | 
| 
      
 2613 
     | 
    
         
            +
            #             "UInt32"
         
     | 
| 
      
 2614 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2615 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2616 
     | 
    
         
            +
            #             "tag",
         
     | 
| 
      
 2617 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2618 
     | 
    
         
            +
            #           ]
         
     | 
| 
      
 2619 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2620 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2621 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 2622 
     | 
    
         
            +
            #           5,
         
     | 
| 
      
 2623 
     | 
    
         
            +
            #           "Hello"
         
     | 
| 
      
 2624 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2625 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2626 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 2627 
     | 
    
         
            +
            #           10,
         
     | 
| 
      
 2628 
     | 
    
         
            +
            #           "Groonga"
         
     | 
| 
      
 2629 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2630 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2631 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 2632 
     | 
    
         
            +
            #           15,
         
     | 
| 
      
 2633 
     | 
    
         
            +
            #           "Groonga"
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2669 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2670 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2671 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2672 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2673 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2674 
     | 
    
         
            +
            #       "tag.n_likes": [
         
     | 
| 
      
 2675 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2676 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 2677 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2678 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2679 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2680 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
      
 2681 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2682 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2683 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2684 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2685 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2686 
     | 
    
         
            +
            #           ]
         
     | 
| 
      
 2687 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2688 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2689 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 2690 
     | 
    
         
            +
            #           2
         
     | 
| 
      
 2691 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2692 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2693 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2730 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2731 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2732 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2733 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2734 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2735 
     | 
    
         
            +
            #       "tag.n_likes": [
         
     | 
| 
      
 2736 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2737 
     | 
    
         
            +
            #           3
         
     | 
| 
      
 2738 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2739 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2740 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2741 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
      
 2742 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2743 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2744 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2745 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2746 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2747 
     | 
    
         
            +
            #           ]
         
     | 
| 
      
 2748 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2749 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2750 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 2751 
     | 
    
         
            +
            #           1
         
     | 
| 
      
 2752 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 2753 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2754 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 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 
     | 
    
         
            +
            #           "_id",
         
     | 
| 
      
 2793 
     | 
    
         
            +
            #           "UInt32"
         
     | 
| 
      
 2794 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 2795 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 2796 
     | 
    
         
            +
            #     ],
         
     | 
| 
      
 2797 
     | 
    
         
            +
            #     {
         
     | 
| 
      
 2798 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
      
 2799 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 2800 
     | 
    
         
            +
            #           3
         
     | 
| 
       1571 
2801 
     | 
    
         
             
            #         ],
         
     | 
| 
       1572 
2802 
     | 
    
         
             
            #         [
         
     | 
| 
       1573 
     | 
    
         
            -
            #            
     | 
| 
       1574 
     | 
    
         
            -
            # 
     | 
| 
      
 2803 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2804 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
      
 2805 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
      
 2806 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2807 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2808 
     | 
    
         
            +
            #             "_nsubrecs",
         
     | 
| 
      
 2809 
     | 
    
         
            +
            #             "Int32"
         
     | 
| 
      
 2810 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2811 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2812 
     | 
    
         
            +
            #             "_max",
         
     | 
| 
      
 2813 
     | 
    
         
            +
            #             "Int64"
         
     | 
| 
      
 2814 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2815 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2816 
     | 
    
         
            +
            #             "_min",
         
     | 
| 
      
 2817 
     | 
    
         
            +
            #             "Int64"
         
     | 
| 
      
 2818 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2819 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2820 
     | 
    
         
            +
            #             "_sum",
         
     | 
| 
      
 2821 
     | 
    
         
            +
            #             "Int64"
         
     | 
| 
      
 2822 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2823 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2824 
     | 
    
         
            +
            #             "_avg",
         
     | 
| 
      
 2825 
     | 
    
         
            +
            #             "Float"
         
     | 
| 
      
 2826 
     | 
    
         
            +
            #           ]
         
     | 
| 
       1575 
2827 
     | 
    
         
             
            #         ],
         
     | 
| 
       1576 
2828 
     | 
    
         
             
            #         [
         
     | 
| 
       1577 
     | 
    
         
            -
            #           " 
     | 
| 
       1578 
     | 
    
         
            -
            #            
     | 
| 
      
 2829 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 2830 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 2831 
     | 
    
         
            +
            #           5,
         
     | 
| 
      
 2832 
     | 
    
         
            +
            #           5,
         
     | 
| 
      
 2833 
     | 
    
         
            +
            #           5,
         
     | 
| 
      
 2834 
     | 
    
         
            +
            #           5.0
         
     | 
| 
       1579 
2835 
     | 
    
         
             
            #         ],
         
     | 
| 
       1580 
2836 
     | 
    
         
             
            #         [
         
     | 
| 
       1581 
     | 
    
         
            -
            #           " 
     | 
| 
       1582 
     | 
    
         
            -
            #            
     | 
| 
      
 2837 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 2838 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 2839 
     | 
    
         
            +
            #           15,
         
     | 
| 
      
 2840 
     | 
    
         
            +
            #           10,
         
     | 
| 
      
 2841 
     | 
    
         
            +
            #           25,
         
     | 
| 
      
 2842 
     | 
    
         
            +
            #           12.5
         
     | 
| 
       1583 
2843 
     | 
    
         
             
            #         ],
         
     | 
| 
       1584 
2844 
     | 
    
         
             
            #         [
         
     | 
| 
       1585 
     | 
    
         
            -
            #           " 
     | 
| 
       1586 
     | 
    
         
            -
            #            
     | 
| 
      
 2845 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 2846 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 2847 
     | 
    
         
            +
            #           3,
         
     | 
| 
      
 2848 
     | 
    
         
            +
            #           3,
         
     | 
| 
      
 2849 
     | 
    
         
            +
            #           6,
         
     | 
| 
      
 2850 
     | 
    
         
            +
            #           3.0
         
     | 
| 
       1587 
2851 
     | 
    
         
             
            #         ]
         
     | 
| 
       1588 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1589 
     | 
    
         
            -
            #       [
         
     | 
| 
       1590 
     | 
    
         
            -
            #         "Hello",
         
     | 
| 
       1591 
     | 
    
         
            -
            #         1,
         
     | 
| 
       1592 
     | 
    
         
            -
            #         5,
         
     | 
| 
       1593 
     | 
    
         
            -
            #         5,
         
     | 
| 
       1594 
     | 
    
         
            -
            #         5,
         
     | 
| 
       1595 
     | 
    
         
            -
            #         5.0
         
     | 
| 
       1596 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1597 
     | 
    
         
            -
            #       [
         
     | 
| 
       1598 
     | 
    
         
            -
            #         "Groonga",
         
     | 
| 
       1599 
     | 
    
         
            -
            #         2,
         
     | 
| 
       1600 
     | 
    
         
            -
            #         15,
         
     | 
| 
       1601 
     | 
    
         
            -
            #         10,
         
     | 
| 
       1602 
     | 
    
         
            -
            #         25,
         
     | 
| 
       1603 
     | 
    
         
            -
            #         12.5
         
     | 
| 
       1604 
     | 
    
         
            -
            #       ],
         
     | 
| 
       1605 
     | 
    
         
            -
            #       [
         
     | 
| 
       1606 
     | 
    
         
            -
            #         "Senna",
         
     | 
| 
       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=" 
     | 
| 
       1620 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1621 
     | 
    
         
            -
            <p>Corresponds to <a class="reference internal" href=" 
     | 
| 
       1622 
     | 
    
         
            -
             
     | 
| 
       1623 
     | 
    
         
            -
            <p>See also <a class="reference internal" href="#logical-select- 
     | 
| 
      
 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 
     | 
    
         
            -
            < 
     | 
| 
       1627 
     | 
    
         
            -
             
     | 
| 
       1628 
     | 
    
         
            -
            <p> 
     | 
| 
       1629 
     | 
    
         
            -
             
     | 
| 
       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 
     | 
    
         
            -
              -- 
     | 
| 
       1651 
     | 
    
         
            -
              -- 
     | 
| 
      
 2881 
     | 
    
         
            +
              --drilldowns[tag].keys tag \
         
     | 
| 
      
 2882 
     | 
    
         
            +
              --drilldowns[tag].filter "_nsubrecs > 1" \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #       "tag 
     | 
| 
      
 2903 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
       1672 
2904 
     | 
    
         
             
            #         [
         
     | 
| 
       1673 
     | 
    
         
            -
            #            
     | 
| 
      
 2905 
     | 
    
         
            +
            #           2
         
     | 
| 
       1674 
2906 
     | 
    
         
             
            #         ],
         
     | 
| 
       1675 
2907 
     | 
    
         
             
            #         [
         
     | 
| 
       1676 
2908 
     | 
    
         
             
            #           [
         
     | 
| 
       1677 
     | 
    
         
            -
            #             " 
     | 
| 
      
 2909 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
       1678 
2910 
     | 
    
         
             
            #             "ShortText"
         
     | 
| 
       1679 
2911 
     | 
    
         
             
            #           ],
         
     | 
| 
       1680 
2912 
     | 
    
         
             
            #           [
         
     | 
| 
       1681 
     | 
    
         
            -
            #             "n_likes",
         
     | 
| 
       1682 
     | 
    
         
            -
            #             "UInt32"
         
     | 
| 
       1683 
     | 
    
         
            -
            #           ],
         
     | 
| 
       1684 
     | 
    
         
            -
            #           [
         
     | 
| 
       1685 
2913 
     | 
    
         
             
            #             "_nsubrecs",
         
     | 
| 
       1686 
2914 
     | 
    
         
             
            #             "Int32"
         
     | 
| 
       1687 
2915 
     | 
    
         
             
            #           ]
         
     | 
| 
       1688 
2916 
     | 
    
         
             
            #         ],
         
     | 
| 
       1689 
2917 
     | 
    
         
             
            #         [
         
     | 
| 
       1690 
     | 
    
         
            -
            #           "Hello",
         
     | 
| 
       1691 
     | 
    
         
            -
            #           5,
         
     | 
| 
       1692 
     | 
    
         
            -
            #           1
         
     | 
| 
       1693 
     | 
    
         
            -
            #         ],
         
     | 
| 
       1694 
     | 
    
         
            -
            #         [
         
     | 
| 
       1695 
2918 
     | 
    
         
             
            #           "Groonga",
         
     | 
| 
       1696 
     | 
    
         
            -
            #            
     | 
| 
       1697 
     | 
    
         
            -
            #           1
         
     | 
| 
       1698 
     | 
    
         
            -
            #         ],
         
     | 
| 
       1699 
     | 
    
         
            -
            #         [
         
     | 
| 
       1700 
     | 
    
         
            -
            #           "Groonga",
         
     | 
| 
       1701 
     | 
    
         
            -
            #           15,
         
     | 
| 
       1702 
     | 
    
         
            -
            #           1
         
     | 
| 
      
 2919 
     | 
    
         
            +
            #           2
         
     | 
| 
       1703 
2920 
     | 
    
         
             
            #         ],
         
     | 
| 
       1704 
2921 
     | 
    
         
             
            #         [
         
     | 
| 
       1705 
2922 
     | 
    
         
             
            #           "Senna",
         
     | 
| 
       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=" 
     | 
| 
       1717 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1718 
     | 
    
         
            -
            < 
     | 
| 
       1719 
     | 
    
         
            -
            < 
     | 
| 
       1720 
     | 
    
         
            -
             
     | 
| 
       1721 
     | 
    
         
            -
            <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 
     | 
    
         
            -
              -- 
     | 
| 
       1729 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 '_nsubrecs > 1' \
         
     | 
| 
      
 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 
     | 
    
         
             
            #             "_nsubrecs",
         
     | 
| 
       1760 
2984 
     | 
    
         
             
            #             "Int32"
         
     | 
| 
      
 2985 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 2986 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 2987 
     | 
    
         
            +
            #             "is_popular",
         
     | 
| 
      
 2988 
     | 
    
         
            +
            #             "Bool"
         
     | 
| 
       1761 
2989 
     | 
    
         
             
            #           ]
         
     | 
| 
       1762 
2990 
     | 
    
         
             
            #         ],
         
     | 
| 
       1763 
2991 
     | 
    
         
             
            #         [
         
     | 
| 
       1764 
2992 
     | 
    
         
             
            #           "Hello",
         
     | 
| 
       1765 
     | 
    
         
            -
            #           1
         
     | 
| 
      
 2993 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 2994 
     | 
    
         
            +
            #           false
         
     | 
| 
       1766 
2995 
     | 
    
         
             
            #         ],
         
     | 
| 
       1767 
2996 
     | 
    
         
             
            #         [
         
     | 
| 
       1768 
2997 
     | 
    
         
             
            #           "Groonga",
         
     | 
| 
       1769 
     | 
    
         
            -
            #           2
         
     | 
| 
      
 2998 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 2999 
     | 
    
         
            +
            #           true
         
     | 
| 
       1770 
3000 
     | 
    
         
             
            #         ],
         
     | 
| 
       1771 
3001 
     | 
    
         
             
            #         [
         
     | 
| 
       1772 
3002 
     | 
    
         
             
            #           "Senna",
         
     | 
| 
       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=" 
     | 
| 
       1783 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1784 
     | 
    
         
            -
            < 
     | 
| 
       1785 
     | 
    
         
            -
             
     | 
| 
       1786 
     | 
    
         
            -
             
     | 
| 
       1787 
     | 
    
         
            -
            <p 
     | 
| 
       1788 
     | 
    
         
            -
             
     | 
| 
       1789 
     | 
    
         
            -
            <code class="docutils literal"><span class="pre"> 
     | 
| 
       1790 
     | 
    
         
            -
            <p>Here is an example that  
     | 
| 
       1791 
     | 
    
         
            -
             
     | 
| 
      
 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 "2015/07/08 00:00:00" \
         
     | 
| 
       1797 
     | 
    
         
            -
              --min_border "include" \
         
     | 
| 
       1798 
     | 
    
         
            -
              --max "2015/07/09 00:00:00" \
         
     | 
| 
       1799 
     | 
    
         
            -
              --max_border "exclude" \
         
     | 
| 
       1800 
3028 
     | 
    
         
             
              --limit 0 \
         
     | 
| 
       1801 
3029 
     | 
    
         
             
              --output_columns _id \
         
     | 
| 
       1802 
     | 
    
         
            -
              -- 
     | 
| 
       1803 
     | 
    
         
            -
              -- 
     | 
| 
       1804 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 'vector_new("a", "b", "c")' \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #          
     | 
| 
      
 3045 
     | 
    
         
            +
            #         5
         
     | 
| 
       1815 
3046 
     | 
    
         
             
            #       ],
         
     | 
| 
       1816 
3047 
     | 
    
         
             
            #       [
         
     | 
| 
       1817 
3048 
     | 
    
         
             
            #         [
         
     | 
| 
         @@ -1821,38 +3052,43 @@ shard:</p> 
     | 
|
| 
       1821 
3052 
     | 
    
         
             
            #       ]
         
     | 
| 
       1822 
3053 
     | 
    
         
             
            #     ],
         
     | 
| 
       1823 
3054 
     | 
    
         
             
            #     {
         
     | 
| 
       1824 
     | 
    
         
            -
            #       "tag 
     | 
| 
      
 3055 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
       1825 
3056 
     | 
    
         
             
            #         [
         
     | 
| 
       1826 
3057 
     | 
    
         
             
            #           3
         
     | 
| 
       1827 
3058 
     | 
    
         
             
            #         ],
         
     | 
| 
       1828 
3059 
     | 
    
         
             
            #         [
         
     | 
| 
       1829 
3060 
     | 
    
         
             
            #           [
         
     | 
| 
       1830 
     | 
    
         
            -
            #             " 
     | 
| 
       1831 
     | 
    
         
            -
            #             " 
     | 
| 
       1832 
     | 
    
         
            -
            #           ],
         
     | 
| 
       1833 
     | 
    
         
            -
            #           [
         
     | 
| 
       1834 
     | 
    
         
            -
            #             "n_likes",
         
     | 
| 
       1835 
     | 
    
         
            -
            #             "UInt32"
         
     | 
| 
      
 3061 
     | 
    
         
            +
            #             "_key",
         
     | 
| 
      
 3062 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
       1836 
3063 
     | 
    
         
             
            #           ],
         
     | 
| 
       1837 
3064 
     | 
    
         
             
            #           [
         
     | 
| 
       1838 
     | 
    
         
            -
            #             " 
     | 
| 
      
 3065 
     | 
    
         
            +
            #             "vector",
         
     | 
| 
       1839 
3066 
     | 
    
         
             
            #             "ShortText"
         
     | 
| 
       1840 
3067 
     | 
    
         
             
            #           ]
         
     | 
| 
       1841 
3068 
     | 
    
         
             
            #         ],
         
     | 
| 
       1842 
3069 
     | 
    
         
             
            #         [
         
     | 
| 
       1843 
     | 
    
         
            -
            #            
     | 
| 
       1844 
     | 
    
         
            -
            #            
     | 
| 
       1845 
     | 
    
         
            -
            # 
     | 
| 
      
 3070 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 3071 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 3072 
     | 
    
         
            +
            #             "a",
         
     | 
| 
      
 3073 
     | 
    
         
            +
            #             "b",
         
     | 
| 
      
 3074 
     | 
    
         
            +
            #             "c"
         
     | 
| 
      
 3075 
     | 
    
         
            +
            #           ]
         
     | 
| 
       1846 
3076 
     | 
    
         
             
            #         ],
         
     | 
| 
       1847 
3077 
     | 
    
         
             
            #         [
         
     | 
| 
       1848 
     | 
    
         
            -
            #            
     | 
| 
       1849 
     | 
    
         
            -
            #            
     | 
| 
       1850 
     | 
    
         
            -
            # 
     | 
| 
      
 3078 
     | 
    
         
            +
            #           "Groonga",
         
     | 
| 
      
 3079 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 3080 
     | 
    
         
            +
            #             "a",
         
     | 
| 
      
 3081 
     | 
    
         
            +
            #             "b",
         
     | 
| 
      
 3082 
     | 
    
         
            +
            #             "c"
         
     | 
| 
      
 3083 
     | 
    
         
            +
            #           ]
         
     | 
| 
       1851 
3084 
     | 
    
         
             
            #         ],
         
     | 
| 
       1852 
3085 
     | 
    
         
             
            #         [
         
     | 
| 
       1853 
     | 
    
         
            -
            #            
     | 
| 
       1854 
     | 
    
         
            -
            #            
     | 
| 
       1855 
     | 
    
         
            -
            # 
     | 
| 
      
 3086 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 3087 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 3088 
     | 
    
         
            +
            #             "a",
         
     | 
| 
      
 3089 
     | 
    
         
            +
            #             "b",
         
     | 
| 
      
 3090 
     | 
    
         
            +
            #             "c"
         
     | 
| 
      
 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=" 
     | 
| 
       1865 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1866 
     | 
    
         
            -
            < 
     | 
| 
       1867 
     | 
    
         
            -
             
     | 
| 
       1868 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1876 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 
     | 
    
         
            -
            #       "tag 
     | 
| 
      
 3141 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
       1897 
3142 
     | 
    
         
             
            #         [
         
     | 
| 
       1898 
3143 
     | 
    
         
             
            #           3
         
     | 
| 
       1899 
3144 
     | 
    
         
             
            #         ],
         
     | 
| 
         @@ -1905,15 +3150,26 @@ drilldown.</p> 
     | 
|
| 
       1905 
3150 
     | 
    
         
             
            #           [
         
     | 
| 
       1906 
3151 
     | 
    
         
             
            #             "_nsubrecs",
         
     | 
| 
       1907 
3152 
     | 
    
         
             
            #             "Int32"
         
     | 
| 
      
 3153 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 3154 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 3155 
     | 
    
         
            +
            #             "nsubrecs_string",
         
     | 
| 
      
 3156 
     | 
    
         
            +
            #             "ShortText"
         
     | 
| 
       1908 
3157 
     | 
    
         
             
            #           ]
         
     | 
| 
       1909 
3158 
     | 
    
         
             
            #         ],
         
     | 
| 
       1910 
3159 
     | 
    
         
             
            #         [
         
     | 
| 
      
 3160 
     | 
    
         
            +
            #           "Hello",
         
     | 
| 
      
 3161 
     | 
    
         
            +
            #           1,
         
     | 
| 
      
 3162 
     | 
    
         
            +
            #           "1"
         
     | 
| 
      
 3163 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 3164 
     | 
    
         
            +
            #         [
         
     | 
| 
       1911 
3165 
     | 
    
         
             
            #           "Groonga",
         
     | 
| 
       1912 
     | 
    
         
            -
            #           2
         
     | 
| 
      
 3166 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 3167 
     | 
    
         
            +
            #           "2"
         
     | 
| 
       1913 
3168 
     | 
    
         
             
            #         ],
         
     | 
| 
       1914 
3169 
     | 
    
         
             
            #         [
         
     | 
| 
       1915 
3170 
     | 
    
         
             
            #           "Senna",
         
     | 
| 
       1916 
     | 
    
         
            -
            #           2
         
     | 
| 
      
 3171 
     | 
    
         
            +
            #           2,
         
     | 
| 
      
 3172 
     | 
    
         
            +
            #           "2"
         
     | 
| 
       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=" 
     | 
| 
       1926 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1927 
     | 
    
         
            -
            < 
     | 
| 
       1928 
     | 
    
         
            -
             
     | 
| 
       1929 
     | 
    
         
            -
             
     | 
| 
      
 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 'string_length(_key)' \
         
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1937 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 'window_record_number()' \
         
     | 
| 
      
 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 
     | 
    
         
            -
            #       "tag 
     | 
| 
      
 3257 
     | 
    
         
            +
            #       "tag": [
         
     | 
| 
       1958 
3258 
     | 
    
         
             
            #         [
         
     | 
| 
       1959 
3259 
     | 
    
         
             
            #           3
         
     | 
| 
       1960 
3260 
     | 
    
         
             
            #         ],
         
     | 
| 
         @@ -1966,15 +3266,26 @@ drilldown.</p> 
     | 
|
| 
       1966 
3266 
     | 
    
         
             
            #           [
         
     | 
| 
       1967 
3267 
     | 
    
         
             
            #             "_nsubrecs",
         
     | 
| 
       1968 
3268 
     | 
    
         
             
            #             "Int32"
         
     | 
| 
      
 3269 
     | 
    
         
            +
            #           ],
         
     | 
| 
      
 3270 
     | 
    
         
            +
            #           [
         
     | 
| 
      
 3271 
     | 
    
         
            +
            #             "record_number",
         
     | 
| 
      
 3272 
     | 
    
         
            +
            #             "UInt32"
         
     | 
| 
       1969 
3273 
     | 
    
         
             
            #           ]
         
     | 
| 
       1970 
3274 
     | 
    
         
             
            #         ],
         
     | 
| 
       1971 
3275 
     | 
    
         
             
            #         [
         
     | 
| 
       1972 
3276 
     | 
    
         
             
            #           "Hello",
         
     | 
| 
      
 3277 
     | 
    
         
            +
            #           1,
         
     | 
| 
       1973 
3278 
     | 
    
         
             
            #           1
         
     | 
| 
       1974 
3279 
     | 
    
         
             
            #         ],
         
     | 
| 
       1975 
3280 
     | 
    
         
             
            #         [
         
     | 
| 
       1976 
3281 
     | 
    
         
             
            #           "Groonga",
         
     | 
| 
      
 3282 
     | 
    
         
            +
            #           2,
         
     | 
| 
       1977 
3283 
     | 
    
         
             
            #           2
         
     | 
| 
      
 3284 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 3285 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 3286 
     | 
    
         
            +
            #           "Senna",
         
     | 
| 
      
 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=" 
     | 
| 
       1987 
     | 
    
         
            -
            <span id="logical-select- 
     | 
| 
       1988 
     | 
    
         
            -
            < 
     | 
| 
       1989 
     | 
    
         
            -
             
     | 
| 
       1990 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
              -- 
     | 
| 
       1998 
     | 
    
         
            -
              -- 
     | 
| 
       1999 
     | 
    
         
            -
              -- 
     | 
| 
       2000 
     | 
    
         
            -
              -- 
     | 
| 
      
 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 'window_record_number()' \
         
     | 
| 
      
 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 
     | 
    
         
             
            #             "Int32"
         
     | 
| 
       2032 
3356 
     | 
    
         
             
            #           ],
         
     | 
| 
       2033 
3357 
     | 
    
         
             
            #           [
         
     | 
| 
       2034 
     | 
    
         
            -
            #             " 
     | 
| 
       2035 
     | 
    
         
            -
            #             " 
     | 
| 
       2036 
     | 
    
         
            -
            #           ],
         
     | 
| 
       2037 
     | 
    
         
            -
            #           [
         
     | 
| 
       2038 
     | 
    
         
            -
            #             "_min",
         
     | 
| 
       2039 
     | 
    
         
            -
            #             "Int64"
         
     | 
| 
       2040 
     | 
    
         
            -
            #           ],
         
     | 
| 
       2041 
     | 
    
         
            -
            #           [
         
     | 
| 
       2042 
     | 
    
         
            -
            #             "_sum",
         
     | 
| 
       2043 
     | 
    
         
            -
            #             "Int64"
         
     | 
| 
       2044 
     | 
    
         
            -
            #           ],
         
     | 
| 
       2045 
     | 
    
         
            -
            #           [
         
     | 
| 
       2046 
     | 
    
         
            -
            #             "_avg",
         
     | 
| 
       2047 
     | 
    
         
            -
            #             "Float"
         
     | 
| 
      
 3358 
     | 
    
         
            +
            #             "record_number",
         
     | 
| 
      
 3359 
     | 
    
         
            +
            #             "UInt32"
         
     | 
| 
       2048 
3360 
     | 
    
         
             
            #           ]
         
     | 
| 
       2049 
3361 
     | 
    
         
             
            #         ],
         
     | 
| 
       2050 
3362 
     | 
    
         
             
            #         [
         
     | 
| 
       2051 
3363 
     | 
    
         
             
            #           "Hello",
         
     | 
| 
       2052 
3364 
     | 
    
         
             
            #           1,
         
     | 
| 
       2053 
     | 
    
         
            -
            #            
     | 
| 
       2054 
     | 
    
         
            -
            #           5,
         
     | 
| 
       2055 
     | 
    
         
            -
            #           5,
         
     | 
| 
       2056 
     | 
    
         
            -
            #           5.0
         
     | 
| 
      
 3365 
     | 
    
         
            +
            #           1
         
     | 
| 
       2057 
3366 
     | 
    
         
             
            #         ],
         
     | 
| 
       2058 
3367 
     | 
    
         
             
            #         [
         
     | 
| 
       2059 
3368 
     | 
    
         
             
            #           "Groonga",
         
     | 
| 
       2060 
3369 
     | 
    
         
             
            #           2,
         
     | 
| 
       2061 
     | 
    
         
            -
            #            
     | 
| 
       2062 
     | 
    
         
            -
            #           10,
         
     | 
| 
       2063 
     | 
    
         
            -
            #           25,
         
     | 
| 
       2064 
     | 
    
         
            -
            #           12.5
         
     | 
| 
      
 3370 
     | 
    
         
            +
            #           1
         
     | 
| 
       2065 
3371 
     | 
    
         
             
            #         ],
         
     | 
| 
       2066 
3372 
     | 
    
         
             
            #         [
         
     | 
| 
       2067 
3373 
     | 
    
         
             
            #           "Senna",
         
     | 
| 
       2068 
3374 
     | 
    
         
             
            #           2,
         
     | 
| 
       2069 
     | 
    
         
            -
            #            
     | 
| 
       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="# 
     | 
| 
       2142 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2143 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
      
 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. 
     | 
| 
       2147 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown">7.3.34.5. 
     | 
| 
       2148 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown-sortby">7.3.34.5. 
     | 
| 
       2149 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown- 
     | 
| 
       2150 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown- 
     | 
| 
       2151 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown- 
     | 
| 
       2152 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown- 
     | 
| 
       2153 
     | 
    
         
            -
            <li><a class="reference internal" href="#drilldown-calc- 
     | 
| 
      
 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. 
     | 
| 
       2157 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2158 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2159 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2160 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2161 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2162 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
       2163 
     | 
    
         
            -
            <li><a class="reference internal" href="# 
     | 
| 
      
 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  
     | 
| 
      
 3531 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
         
     | 
| 
       2213 
3532 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       2214 
3533 
     | 
    
         
             
                      <li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li> 
         
     | 
| 
       2215 
3534 
     | 
    
         
             
                  </ul>
         
     |