rroonga 6.1.3-x86-mingw32 → 7.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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.31. logical_count — Groonga
|
10
|
+
<title>7.3.31. logical_count — Groonga v7.0.1-160-gda23e59ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
29
|
<link rel="index" title="索引" href="../../genindex.html" />
|
30
30
|
<link rel="search" title="検索" href="../../search.html" />
|
31
|
-
<link rel="top" title="Groonga
|
31
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
|
32
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
33
33
|
<link rel="next" title="7.3.32. logical_parameters" href="logical_parameters.html" />
|
34
34
|
<link rel="prev" title="7.3.30. log_reopen" href="log_reopen.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="log_reopen.html" title="7.3.30. log_reopen"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
67
67
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
68
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
69
69
|
</ul>
|
@@ -300,7 +300,7 @@ load --table Logs_20150205
|
|
300
300
|
<li class="right" >
|
301
301
|
<a href="log_reopen.html" title="7.3.30. log_reopen"
|
302
302
|
>前へ</a> |</li>
|
303
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
303
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
304
304
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
305
305
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
306
306
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.32. logical_parameters — Groonga
|
10
|
+
<title>7.3.32. logical_parameters — Groonga v7.0.1-160-gda23e59ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
29
|
<link rel="index" title="索引" href="../../genindex.html" />
|
30
30
|
<link rel="search" title="検索" href="../../search.html" />
|
31
|
-
<link rel="top" title="Groonga
|
31
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
|
32
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
33
33
|
<link rel="next" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
34
34
|
<link rel="prev" title="7.3.31. logical_count" href="logical_count.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
67
67
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
68
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
69
69
|
</ul>
|
@@ -259,7 +259,7 @@
|
|
259
259
|
<li class="right" >
|
260
260
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
261
261
|
>前へ</a> |</li>
|
262
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
262
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
263
263
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
264
264
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
265
265
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.33. logical_range_filter — Groonga
|
10
|
+
<title>7.3.33. logical_range_filter — Groonga v7.0.1-160-gda23e59ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
29
|
<link rel="index" title="索引" href="../../genindex.html" />
|
30
30
|
<link rel="search" title="検索" href="../../search.html" />
|
31
|
-
<link rel="top" title="Groonga
|
31
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
|
32
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
33
33
|
<link rel="next" title="7.3.34. logical_select" href="logical_select.html" />
|
34
34
|
<link rel="prev" title="7.3.32. logical_parameters" href="logical_parameters.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
67
67
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
68
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
69
69
|
</ul>
|
@@ -306,7 +306,7 @@
|
|
306
306
|
<li class="right" >
|
307
307
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
308
308
|
>前へ</a> |</li>
|
309
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
309
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
310
310
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
311
311
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
312
312
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.34. logical_select — Groonga
|
10
|
+
<title>7.3.34. logical_select — Groonga v7.0.1-160-gda23e59ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
29
|
<link rel="index" title="索引" href="../../genindex.html" />
|
30
30
|
<link rel="search" title="検索" href="../../search.html" />
|
31
|
-
<link rel="top" title="Groonga
|
31
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59ドキュメント" href="../../index.html" />
|
32
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
33
33
|
<link rel="next" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
|
34
34
|
<link rel="prev" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
67
67
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
68
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
69
69
|
</ul>
|
@@ -106,36 +106,86 @@
|
|
106
106
|
[drilldown_limit=10]
|
107
107
|
[drilldown_calc_types=NONE]
|
108
108
|
[drilldown_calc_target=null]
|
109
|
+
[sort_keys=null]
|
110
|
+
[drilldown_sort_keys=null]
|
111
|
+
[match_columns=null]
|
112
|
+
[query=null]
|
113
|
+
[drilldown_filter=null]
|
109
114
|
</pre></div>
|
110
115
|
</div>
|
111
|
-
<p
|
116
|
+
<p>以下の名前付き引数で動的カラム機能を使うことができます。</p>
|
112
117
|
<blockquote>
|
113
118
|
<div><ul class="simple">
|
114
|
-
<li><code class="docutils literal"><span class="pre">
|
115
|
-
<li><code class="docutils literal"><span class="pre">
|
116
|
-
<li><code class="docutils literal"><span class="pre">
|
117
|
-
<li><code class="docutils literal"><span class="pre">
|
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">drilldown[${LABEL}].calc_target=null</span></code></li>
|
119
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
120
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
121
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
122
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
123
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
124
|
+
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
121
125
|
</ul>
|
122
126
|
</div></blockquote>
|
127
|
+
<p><code class="docutils literal"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">column1</span></code> は有効な <code class="docutils literal"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
|
128
|
+
<p>同じ <code class="docutils literal"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
|
129
|
+
<p>たとえば、以下の引数は1つの動的カラムを指定しています。</p>
|
130
|
+
<blockquote>
|
131
|
+
<div><ul class="simple">
|
132
|
+
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
133
|
+
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
134
|
+
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
135
|
+
</ul>
|
136
|
+
</div></blockquote>
|
137
|
+
<p>以下の引数は2つの動的カラムを指定しています。</p>
|
138
|
+
<blockquote>
|
139
|
+
<div><ul class="simple">
|
140
|
+
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
141
|
+
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
142
|
+
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
143
|
+
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
|
144
|
+
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
145
|
+
<li><code class="docutils literal"><span class="pre">--columns[name2].value</span> <span class="pre">'_score</span> <span class="pre">*</span> <span class="pre">0.1'</span></code></li>
|
146
|
+
</ul>
|
147
|
+
</div></blockquote>
|
148
|
+
<p>このコマンドには高度なドリルダウン機能のために以下の名前付き引数があります。</p>
|
149
|
+
<blockquote>
|
150
|
+
<div><ul class="simple">
|
151
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></li>
|
152
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></li>
|
153
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></li>
|
154
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></li>
|
155
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></li>
|
156
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></li>
|
157
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></li>
|
158
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></li>
|
159
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></li>
|
160
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
161
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></li>
|
162
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></li>
|
163
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></li>
|
164
|
+
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></li>
|
165
|
+
</ul>
|
166
|
+
</div></blockquote>
|
167
|
+
<div class="deprecated">
|
168
|
+
<p><span class="versionmodified">バージョン 6.1.4 で撤廃: </span><code class="docutils literal"><span class="pre">drilldown[...]</span></code> 構文は非推奨になりました。代わりに <code class="docutils literal"><span class="pre">drilldowns[...]</span></code> を使用してください。</p>
|
169
|
+
</div>
|
170
|
+
<div class="deprecated">
|
171
|
+
<p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> は非推奨になりました。代わりに <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を使ってください。</p>
|
172
|
+
</div>
|
123
173
|
<p><code class="docutils literal"><span class="pre">${LABEL}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> 、 <code class="docutils literal"><span class="pre">.</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">parent.sub1</span></code> は有効な <code class="docutils literal"><span class="pre">${LABEL}</span></code> です。</p>
|
124
174
|
<p>同じ <code class="docutils literal"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
|
125
175
|
<p>たとえば、以下の引数は1つのドリルダウンを指定しています。</p>
|
126
176
|
<blockquote>
|
127
177
|
<div><ul class="simple">
|
128
|
-
<li><code class="docutils literal"><span class="pre">--
|
129
|
-
<li><code class="docutils literal"><span class="pre">--
|
178
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></li>
|
179
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
130
180
|
</ul>
|
131
181
|
</div></blockquote>
|
132
182
|
<p>以下の引数は2つのドリルダウンを指定しています。</p>
|
133
183
|
<blockquote>
|
134
184
|
<div><ul class="simple">
|
135
|
-
<li><code class="docutils literal"><span class="pre">--
|
136
|
-
<li><code class="docutils literal"><span class="pre">--
|
137
|
-
<li><code class="docutils literal"><span class="pre">--
|
138
|
-
<li><code class="docutils literal"><span class="pre">--
|
185
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></li>
|
186
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
187
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></li>
|
188
|
+
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></li>
|
139
189
|
</ul>
|
140
190
|
</div></blockquote>
|
141
191
|
</div>
|
@@ -147,11 +197,9 @@
|
|
147
197
|
<div><ul class="simple">
|
148
198
|
<li><p class="first"><code class="docutils literal"><span class="pre">table</span></code> 引数ではなく、 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数が必須です。</p>
|
149
199
|
</li>
|
150
|
-
<li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">
|
200
|
+
<li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sort_keys</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。)</p>
|
151
201
|
</li>
|
152
|
-
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">
|
153
|
-
</li>
|
154
|
-
<li><p class="first"><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。</p>
|
202
|
+
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
155
203
|
</li>
|
156
204
|
<li><p class="first"><code class="docutils literal"><span class="pre">cache</span></code> はまだサポートしていません。</p>
|
157
205
|
</li>
|
@@ -366,9 +414,9 @@ load --table Entries_20150709
|
|
366
414
|
# "[logical_select] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
|
367
415
|
# [
|
368
416
|
# [
|
369
|
-
# "Groonga::
|
370
|
-
# "
|
371
|
-
#
|
417
|
+
# "Groonga::Sharding::LogicalSelectCommand::Executor.execute_search",
|
418
|
+
# "/home/kou/work/c/groonga.clean/plugins/sharding/logical_select.rb",
|
419
|
+
# 728
|
372
420
|
# ]
|
373
421
|
# ]
|
374
422
|
# ]
|
@@ -718,14 +766,149 @@ load --table Entries_20150709
|
|
718
766
|
<div class="section" id="search-related-parameters">
|
719
767
|
<span id="logical-select-search-related-parameters"></span><h3>7.3.34.5.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
720
768
|
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><span class="doc">select</span></a> 互換の検索関連パラメーターをサポートしています。</p>
|
721
|
-
<p><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。今のところ、 <code class="docutils literal"><span class="pre">filter</span></code> だけサポートしています。</p>
|
722
769
|
<div class="section" id="match-columns">
|
723
770
|
<span id="logical-select-match-columns"></span><h4>7.3.34.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
724
|
-
<
|
771
|
+
<div class="versionadded">
|
772
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
773
|
+
</div>
|
774
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> を見てください。</p>
|
775
|
+
<p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
776
|
+
<p>実行例:</p>
|
777
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
778
|
+
--logical_table Entries \
|
779
|
+
--shard_key created_at \
|
780
|
+
--match_columns content \
|
781
|
+
--query "fast"
|
782
|
+
# [
|
783
|
+
# [
|
784
|
+
# 0,
|
785
|
+
# 1337566253.89858,
|
786
|
+
# 0.000355720520019531
|
787
|
+
# ],
|
788
|
+
# [
|
789
|
+
# [
|
790
|
+
# [
|
791
|
+
# 2
|
792
|
+
# ],
|
793
|
+
# [
|
794
|
+
# [
|
795
|
+
# "_id",
|
796
|
+
# "UInt32"
|
797
|
+
# ],
|
798
|
+
# [
|
799
|
+
# "_key",
|
800
|
+
# "ShortText"
|
801
|
+
# ],
|
802
|
+
# [
|
803
|
+
# "content",
|
804
|
+
# "Text"
|
805
|
+
# ],
|
806
|
+
# [
|
807
|
+
# "created_at",
|
808
|
+
# "Time"
|
809
|
+
# ],
|
810
|
+
# [
|
811
|
+
# "n_likes",
|
812
|
+
# "UInt32"
|
813
|
+
# ],
|
814
|
+
# [
|
815
|
+
# "tag",
|
816
|
+
# "ShortText"
|
817
|
+
# ]
|
818
|
+
# ],
|
819
|
+
# [
|
820
|
+
# 2,
|
821
|
+
# "Groonga",
|
822
|
+
# "I started to use Groonga. It's very fast!",
|
823
|
+
# 1436284800.0,
|
824
|
+
# 10,
|
825
|
+
# "Groonga"
|
826
|
+
# ],
|
827
|
+
# [
|
828
|
+
# 3,
|
829
|
+
# "Mroonga",
|
830
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
831
|
+
# 1436288400.0,
|
832
|
+
# 15,
|
833
|
+
# "Groonga"
|
834
|
+
# ]
|
835
|
+
# ]
|
836
|
+
# ]
|
837
|
+
# ]
|
838
|
+
</pre></div>
|
839
|
+
</div>
|
725
840
|
</div>
|
726
841
|
<div class="section" id="query">
|
727
842
|
<span id="logical-select-query"></span><h4>7.3.34.5.3.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
728
|
-
<
|
843
|
+
<div class="versionadded">
|
844
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
845
|
+
</div>
|
846
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> を見てください。</p>
|
847
|
+
<p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
848
|
+
<p>実行例:</p>
|
849
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
850
|
+
--logical_table Entries \
|
851
|
+
--shard_key created_at \
|
852
|
+
--query "content:@fast"
|
853
|
+
# [
|
854
|
+
# [
|
855
|
+
# 0,
|
856
|
+
# 1337566253.89858,
|
857
|
+
# 0.000355720520019531
|
858
|
+
# ],
|
859
|
+
# [
|
860
|
+
# [
|
861
|
+
# [
|
862
|
+
# 2
|
863
|
+
# ],
|
864
|
+
# [
|
865
|
+
# [
|
866
|
+
# "_id",
|
867
|
+
# "UInt32"
|
868
|
+
# ],
|
869
|
+
# [
|
870
|
+
# "_key",
|
871
|
+
# "ShortText"
|
872
|
+
# ],
|
873
|
+
# [
|
874
|
+
# "content",
|
875
|
+
# "Text"
|
876
|
+
# ],
|
877
|
+
# [
|
878
|
+
# "created_at",
|
879
|
+
# "Time"
|
880
|
+
# ],
|
881
|
+
# [
|
882
|
+
# "n_likes",
|
883
|
+
# "UInt32"
|
884
|
+
# ],
|
885
|
+
# [
|
886
|
+
# "tag",
|
887
|
+
# "ShortText"
|
888
|
+
# ]
|
889
|
+
# ],
|
890
|
+
# [
|
891
|
+
# 2,
|
892
|
+
# "Groonga",
|
893
|
+
# "I started to use Groonga. It's very fast!",
|
894
|
+
# 1436284800.0,
|
895
|
+
# 10,
|
896
|
+
# "Groonga"
|
897
|
+
# ],
|
898
|
+
# [
|
899
|
+
# 3,
|
900
|
+
# "Mroonga",
|
901
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
902
|
+
# 1436288400.0,
|
903
|
+
# 15,
|
904
|
+
# "Groonga"
|
905
|
+
# ]
|
906
|
+
# ]
|
907
|
+
# ]
|
908
|
+
# ]
|
909
|
+
</pre></div>
|
910
|
+
</div>
|
911
|
+
<p><a class="reference internal" href="#logical-select-match-columns"><span class="std std-ref">match_columns</span></a> も参照してください。</p>
|
729
912
|
</div>
|
730
913
|
<div class="section" id="filter">
|
731
914
|
<span id="logical-select-filter"></span><h4>7.3.34.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
@@ -907,8 +1090,14 @@ load --table Entries_20150709
|
|
907
1090
|
</div>
|
908
1091
|
<div class="section" id="sortby">
|
909
1092
|
<span id="logical-select-sortby"></span><h4>7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
910
|
-
<
|
911
|
-
<p><
|
1093
|
+
<div class="deprecated">
|
1094
|
+
<p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span>代わりに <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> を使ってください。</p>
|
1095
|
+
</div>
|
1096
|
+
</div>
|
1097
|
+
<div class="section" id="sort-keys">
|
1098
|
+
<span id="logical-select-sort-keys"></span><h4>7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code><a class="headerlink" href="#sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1099
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> を見てください。</p>
|
1100
|
+
<p><code class="docutils literal"><span class="pre">sort_keys</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sort_keys</span></code> は正常な動作をしません。</p>
|
912
1101
|
<p>以下は1つのシャードのみを使っている例です。</p>
|
913
1102
|
<p>実行例:</p>
|
914
1103
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
@@ -918,7 +1107,7 @@ load --table Entries_20150709
|
|
918
1107
|
--min_border "include" \
|
919
1108
|
--max "2015/07/09 00:00:00" \
|
920
1109
|
--max_border "exclude" \
|
921
|
-
--
|
1110
|
+
--sort_keys _key
|
922
1111
|
# [
|
923
1112
|
# [
|
924
1113
|
# 0,
|
@@ -987,7 +1176,7 @@ load --table Entries_20150709
|
|
987
1176
|
</div>
|
988
1177
|
</div>
|
989
1178
|
<div class="section" id="offset">
|
990
|
-
<span id="logical-select-offset"></span><h4>7.3.34.5.5.
|
1179
|
+
<span id="logical-select-offset"></span><h4>7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
991
1180
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> を見てください。</p>
|
992
1181
|
<p>以下は例です。</p>
|
993
1182
|
<p>実行例:</p>
|
@@ -1063,7 +1252,7 @@ load --table Entries_20150709
|
|
1063
1252
|
</div>
|
1064
1253
|
</div>
|
1065
1254
|
<div class="section" id="limit">
|
1066
|
-
<span id="logical-select-limit"></span><h4>7.3.34.5.5.
|
1255
|
+
<span id="logical-select-limit"></span><h4>7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1067
1256
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> を見てください。</p>
|
1068
1257
|
<p>以下は例です。</p>
|
1069
1258
|
<p>実行例:</p>
|
@@ -1131,23 +1320,33 @@ load --table Entries_20150709
|
|
1131
1320
|
</div>
|
1132
1321
|
</div>
|
1133
1322
|
<div class="section" id="scorer">
|
1134
|
-
<span id="logical-select-scorer"></span><h4>7.3.34.5.5.
|
1323
|
+
<span id="logical-select-scorer"></span><h4>7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1135
1324
|
<p>未実装です。</p>
|
1136
1325
|
</div>
|
1137
1326
|
</div>
|
1138
|
-
<div class="section" id="
|
1139
|
-
<span id="logical-select-
|
1140
|
-
<
|
1141
|
-
<
|
1142
|
-
|
1143
|
-
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a>
|
1144
|
-
<
|
1327
|
+
<div class="section" id="dynamic-column-related-parameters">
|
1328
|
+
<span id="logical-select-dynamic-column-related-parameters"></span><h3>7.3.34.5.6. 動的カラム関連の引数<a class="headerlink" href="#dynamic-column-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1329
|
+
<div class="versionadded">
|
1330
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1331
|
+
</div>
|
1332
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての動的カラム関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> を見てください。</p>
|
1333
|
+
<div class="section" id="columns-name-stage">
|
1334
|
+
<span id="logical-select-columns-name-stage"></span><h4>7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1335
|
+
<div class="versionadded">
|
1336
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1337
|
+
</div>
|
1338
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> を見てください。</p>
|
1339
|
+
<p>必須の引数です。</p>
|
1340
|
+
<p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで <code class="docutils literal"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal"><span class="pre">filter</span></code> や <code class="docutils literal"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
|
1145
1341
|
<p>実行例:</p>
|
1146
1342
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1147
1343
|
--logical_table Entries \
|
1148
1344
|
--shard_key created_at \
|
1149
|
-
--
|
1150
|
-
--
|
1345
|
+
--columns[is_popular].stage initial \
|
1346
|
+
--columns[is_popular].type Bool \
|
1347
|
+
--columns[is_popular].value 'n_likes >= 10' \
|
1348
|
+
--filter is_popular \
|
1349
|
+
--output_columns _id,is_popular,n_likes
|
1151
1350
|
# [
|
1152
1351
|
# [
|
1153
1352
|
# 0,
|
@@ -1157,64 +1356,31 @@ load --table Entries_20150709
|
|
1157
1356
|
# [
|
1158
1357
|
# [
|
1159
1358
|
# [
|
1160
|
-
#
|
1359
|
+
# 2
|
1161
1360
|
# ],
|
1162
1361
|
# [
|
1163
1362
|
# [
|
1164
|
-
# "
|
1165
|
-
# "
|
1363
|
+
# "_id",
|
1364
|
+
# "UInt32"
|
1166
1365
|
# ],
|
1167
1366
|
# [
|
1168
|
-
# "
|
1169
|
-
# "
|
1170
|
-
# ]
|
1171
|
-
# ],
|
1172
|
-
# [
|
1173
|
-
# "The first post!",
|
1174
|
-
# "Hello"
|
1175
|
-
# ],
|
1176
|
-
# [
|
1177
|
-
# "Groonga",
|
1178
|
-
# "Groonga"
|
1179
|
-
# ],
|
1180
|
-
# [
|
1181
|
-
# "Mroonga",
|
1182
|
-
# "Groonga"
|
1183
|
-
# ],
|
1184
|
-
# [
|
1185
|
-
# "Good-bye Senna",
|
1186
|
-
# "Senna"
|
1187
|
-
# ],
|
1188
|
-
# [
|
1189
|
-
# "Good-bye Tritonn",
|
1190
|
-
# "Senna"
|
1191
|
-
# ]
|
1192
|
-
# ],
|
1193
|
-
# [
|
1194
|
-
# [
|
1195
|
-
# 3
|
1196
|
-
# ],
|
1197
|
-
# [
|
1198
|
-
# [
|
1199
|
-
# "_key",
|
1200
|
-
# "ShortText"
|
1367
|
+
# "is_popular",
|
1368
|
+
# "Bool"
|
1201
1369
|
# ],
|
1202
1370
|
# [
|
1203
|
-
# "
|
1204
|
-
# "
|
1371
|
+
# "n_likes",
|
1372
|
+
# "UInt32"
|
1205
1373
|
# ]
|
1206
1374
|
# ],
|
1207
1375
|
# [
|
1208
|
-
#
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
# [
|
1212
|
-
# "Groonga",
|
1213
|
-
# 2
|
1376
|
+
# 2,
|
1377
|
+
# true,
|
1378
|
+
# 10
|
1214
1379
|
# ],
|
1215
1380
|
# [
|
1216
|
-
#
|
1217
|
-
#
|
1381
|
+
# 3,
|
1382
|
+
# true,
|
1383
|
+
# 15
|
1218
1384
|
# ]
|
1219
1385
|
# ]
|
1220
1386
|
# ]
|
@@ -1222,18 +1388,25 @@ load --table Entries_20150709
|
|
1222
1388
|
</pre></div>
|
1223
1389
|
</div>
|
1224
1390
|
</div>
|
1225
|
-
<div class="section" id="
|
1226
|
-
<span id="logical-select-
|
1227
|
-
<
|
1228
|
-
<p
|
1391
|
+
<div class="section" id="columns-name-flags">
|
1392
|
+
<span id="logical-select-columns-name-flags"></span><h4>7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1393
|
+
<div class="versionadded">
|
1394
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1395
|
+
</div>
|
1396
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> を見てください。</p>
|
1397
|
+
<p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
1398
|
+
<p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
1229
1399
|
<p>実行例:</p>
|
1230
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>
|
1400
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
1401
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1402
|
+
logical_select \
|
1231
1403
|
--logical_table Entries \
|
1232
1404
|
--shard_key created_at \
|
1233
|
-
--
|
1234
|
-
--
|
1235
|
-
--
|
1236
|
-
--
|
1405
|
+
--columns[vector].stage initial \
|
1406
|
+
--columns[vector].flags COLUMN_VECTOR \
|
1407
|
+
--columns[vector].type UInt32 \
|
1408
|
+
--columns[vector].value 'vector_new(1, 2, 3)' \
|
1409
|
+
--output_columns _id,vector
|
1237
1410
|
# [
|
1238
1411
|
# [
|
1239
1412
|
# 0,
|
@@ -1249,34 +1422,51 @@ load --table Entries_20150709
|
|
1249
1422
|
# [
|
1250
1423
|
# "_id",
|
1251
1424
|
# "UInt32"
|
1425
|
+
# ],
|
1426
|
+
# [
|
1427
|
+
# "vector",
|
1428
|
+
# "UInt32"
|
1252
1429
|
# ]
|
1253
|
-
# ]
|
1254
|
-
# ],
|
1255
|
-
# [
|
1256
|
-
# [
|
1257
|
-
# 3
|
1258
1430
|
# ],
|
1259
1431
|
# [
|
1432
|
+
# 1,
|
1260
1433
|
# [
|
1261
|
-
#
|
1262
|
-
#
|
1263
|
-
#
|
1264
|
-
# [
|
1265
|
-
# "_nsubrecs",
|
1266
|
-
# "Int32"
|
1434
|
+
# 1,
|
1435
|
+
# 2,
|
1436
|
+
# 3
|
1267
1437
|
# ]
|
1268
1438
|
# ],
|
1269
1439
|
# [
|
1270
|
-
#
|
1271
|
-
#
|
1440
|
+
# 2,
|
1441
|
+
# [
|
1442
|
+
# 1,
|
1443
|
+
# 2,
|
1444
|
+
# 3
|
1445
|
+
# ]
|
1272
1446
|
# ],
|
1273
1447
|
# [
|
1274
|
-
#
|
1275
|
-
#
|
1448
|
+
# 3,
|
1449
|
+
# [
|
1450
|
+
# 1,
|
1451
|
+
# 2,
|
1452
|
+
# 3
|
1453
|
+
# ]
|
1276
1454
|
# ],
|
1277
1455
|
# [
|
1278
|
-
#
|
1279
|
-
#
|
1456
|
+
# 1,
|
1457
|
+
# [
|
1458
|
+
# 1,
|
1459
|
+
# 2,
|
1460
|
+
# 3
|
1461
|
+
# ]
|
1462
|
+
# ],
|
1463
|
+
# [
|
1464
|
+
# 2,
|
1465
|
+
# [
|
1466
|
+
# 1,
|
1467
|
+
# 2,
|
1468
|
+
# 3
|
1469
|
+
# ]
|
1280
1470
|
# ]
|
1281
1471
|
# ]
|
1282
1472
|
# ]
|
@@ -1284,18 +1474,22 @@ load --table Entries_20150709
|
|
1284
1474
|
</pre></div>
|
1285
1475
|
</div>
|
1286
1476
|
</div>
|
1287
|
-
<div class="section" id="
|
1288
|
-
<span id="logical-select-
|
1289
|
-
<
|
1290
|
-
<p
|
1477
|
+
<div class="section" id="columns-name-type">
|
1478
|
+
<span id="logical-select-columns-name-type"></span><h4>7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1479
|
+
<div class="versionadded">
|
1480
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1481
|
+
</div>
|
1482
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> を見てください。</p>
|
1483
|
+
<p>必須の引数です。</p>
|
1484
|
+
<p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
1291
1485
|
<p>実行例:</p>
|
1292
1486
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1293
1487
|
--logical_table Entries \
|
1294
1488
|
--shard_key created_at \
|
1295
|
-
--
|
1296
|
-
--
|
1297
|
-
--
|
1298
|
-
--
|
1489
|
+
--columns[n_likes_string].stage initial \
|
1490
|
+
--columns[n_likes_string].type ShortText \
|
1491
|
+
--columns[n_likes_string].value n_likes \
|
1492
|
+
--output_columns _id,n_likes,n_likes_string
|
1299
1493
|
# [
|
1300
1494
|
# [
|
1301
1495
|
# 0,
|
@@ -1311,27 +1505,40 @@ load --table Entries_20150709
|
|
1311
1505
|
# [
|
1312
1506
|
# "_id",
|
1313
1507
|
# "UInt32"
|
1508
|
+
# ],
|
1509
|
+
# [
|
1510
|
+
# "n_likes",
|
1511
|
+
# "UInt32"
|
1512
|
+
# ],
|
1513
|
+
# [
|
1514
|
+
# "n_likes_string",
|
1515
|
+
# "ShortText"
|
1314
1516
|
# ]
|
1315
|
-
# ]
|
1316
|
-
# ],
|
1317
|
-
# [
|
1517
|
+
# ],
|
1318
1518
|
# [
|
1319
|
-
#
|
1519
|
+
# 1,
|
1520
|
+
# 5,
|
1521
|
+
# "5"
|
1320
1522
|
# ],
|
1321
1523
|
# [
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
# ]
|
1524
|
+
# 2,
|
1525
|
+
# 10,
|
1526
|
+
# "10"
|
1326
1527
|
# ],
|
1327
1528
|
# [
|
1328
|
-
#
|
1529
|
+
# 3,
|
1530
|
+
# 15,
|
1531
|
+
# "15"
|
1329
1532
|
# ],
|
1330
1533
|
# [
|
1331
|
-
#
|
1534
|
+
# 1,
|
1535
|
+
# 3,
|
1536
|
+
# "3"
|
1332
1537
|
# ],
|
1333
1538
|
# [
|
1334
|
-
#
|
1539
|
+
# 2,
|
1540
|
+
# 3,
|
1541
|
+
# "3"
|
1335
1542
|
# ]
|
1336
1543
|
# ]
|
1337
1544
|
# ]
|
@@ -1339,18 +1546,25 @@ load --table Entries_20150709
|
|
1339
1546
|
</pre></div>
|
1340
1547
|
</div>
|
1341
1548
|
</div>
|
1342
|
-
<div class="section" id="
|
1343
|
-
<span id="logical-select-
|
1344
|
-
<
|
1345
|
-
<p
|
1549
|
+
<div class="section" id="columns-name-value">
|
1550
|
+
<span id="logical-select-columns-name-value"></span><h4>7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1551
|
+
<div class="versionadded">
|
1552
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1553
|
+
</div>
|
1554
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> を見てください。</p>
|
1555
|
+
<p>ウィンドウ関数を使う場合は、 <code class="docutils literal"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
1556
|
+
<p>必須の引数です。</p>
|
1557
|
+
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
1346
1558
|
<p>実行例:</p>
|
1347
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>
|
1559
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1560
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1561
|
+
logical_select \
|
1348
1562
|
--logical_table Entries \
|
1349
1563
|
--shard_key created_at \
|
1350
|
-
--
|
1351
|
-
--
|
1352
|
-
--
|
1353
|
-
--
|
1564
|
+
--columns[content_length].stage initial \
|
1565
|
+
--columns[content_length].type UInt32 \
|
1566
|
+
--columns[content_length].value 'string_length(content)' \
|
1567
|
+
--output_columns _id,content,content_length
|
1354
1568
|
# [
|
1355
1569
|
# [
|
1356
1570
|
# 0,
|
@@ -1366,30 +1580,131 @@ load --table Entries_20150709
|
|
1366
1580
|
# [
|
1367
1581
|
# "_id",
|
1368
1582
|
# "UInt32"
|
1583
|
+
# ],
|
1584
|
+
# [
|
1585
|
+
# "content",
|
1586
|
+
# "Text"
|
1587
|
+
# ],
|
1588
|
+
# [
|
1589
|
+
# "content_length",
|
1590
|
+
# "UInt32"
|
1369
1591
|
# ]
|
1592
|
+
# ],
|
1593
|
+
# [
|
1594
|
+
# 1,
|
1595
|
+
# "Welcome! This is my first post!",
|
1596
|
+
# 31
|
1597
|
+
# ],
|
1598
|
+
# [
|
1599
|
+
# 2,
|
1600
|
+
# "I started to use Groonga. It's very fast!",
|
1601
|
+
# 41
|
1602
|
+
# ],
|
1603
|
+
# [
|
1604
|
+
# 3,
|
1605
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
1606
|
+
# 64
|
1607
|
+
# ],
|
1608
|
+
# [
|
1609
|
+
# 1,
|
1610
|
+
# "I migrated all Senna system!",
|
1611
|
+
# 28
|
1612
|
+
# ],
|
1613
|
+
# [
|
1614
|
+
# 2,
|
1615
|
+
# "I also migrated all Tritonn system!",
|
1616
|
+
# 35
|
1370
1617
|
# ]
|
1371
|
-
# ]
|
1618
|
+
# ]
|
1619
|
+
# ]
|
1620
|
+
# ]
|
1621
|
+
</pre></div>
|
1622
|
+
</div>
|
1623
|
+
</div>
|
1624
|
+
</div>
|
1625
|
+
<div class="section" id="window-function-related-parameters">
|
1626
|
+
<span id="logical-select-window-function-related-parameters"></span><h3>7.3.34.5.7. ウィンドウ関数関連の引数<a class="headerlink" href="#window-function-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1627
|
+
<div class="versionadded">
|
1628
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1629
|
+
</div>
|
1630
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのウィンドウ関数関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
1631
|
+
<div class="section" id="columns-name-window-sort-keys">
|
1632
|
+
<span id="logical-select-columns-name-window-sort-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1633
|
+
<div class="versionadded">
|
1634
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1635
|
+
</div>
|
1636
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> を見てください。</p>
|
1637
|
+
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
1638
|
+
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal"><span class="pre">Entries._key</span></code> でソートします。</p>
|
1639
|
+
<p>実行例:</p>
|
1640
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1641
|
+
--logical_table Entries \
|
1642
|
+
--shard_key created_at \
|
1643
|
+
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
1644
|
+
--columns[n_likes_cumulative_sum_per_tag].type UInt32 \
|
1645
|
+
--columns[n_likes_cumulative_sum_per_tag].value 'window_sum(n_likes)' \
|
1646
|
+
--columns[n_likes_cumulative_sum_per_tag].window.sort_keys _key \
|
1647
|
+
--columns[n_likes_cumulative_sum_per_tag].window.group_keys tag \
|
1648
|
+
--sort_keys _key \
|
1649
|
+
--output_columns tag,_key,n_likes,n_likes_cumulative_sum_per_tag
|
1650
|
+
# [
|
1651
|
+
# [
|
1652
|
+
# 0,
|
1653
|
+
# 1337566253.89858,
|
1654
|
+
# 0.000355720520019531
|
1655
|
+
# ],
|
1656
|
+
# [
|
1372
1657
|
# [
|
1373
1658
|
# [
|
1374
|
-
#
|
1659
|
+
# 5
|
1375
1660
|
# ],
|
1376
1661
|
# [
|
1377
1662
|
# [
|
1663
|
+
# "tag",
|
1664
|
+
# "ShortText"
|
1665
|
+
# ],
|
1666
|
+
# [
|
1378
1667
|
# "_key",
|
1379
1668
|
# "ShortText"
|
1380
1669
|
# ],
|
1381
1670
|
# [
|
1382
|
-
# "
|
1383
|
-
# "
|
1671
|
+
# "n_likes",
|
1672
|
+
# "UInt32"
|
1673
|
+
# ],
|
1674
|
+
# [
|
1675
|
+
# "n_likes_cumulative_sum_per_tag",
|
1676
|
+
# "UInt32"
|
1384
1677
|
# ]
|
1385
1678
|
# ],
|
1386
1679
|
# [
|
1387
1680
|
# "Groonga",
|
1388
|
-
#
|
1681
|
+
# "Groonga",
|
1682
|
+
# 10,
|
1683
|
+
# 10
|
1684
|
+
# ],
|
1685
|
+
# [
|
1686
|
+
# "Groonga",
|
1687
|
+
# "Mroonga",
|
1688
|
+
# 15,
|
1689
|
+
# 25
|
1690
|
+
# ],
|
1691
|
+
# [
|
1692
|
+
# "Hello",
|
1693
|
+
# "The first post!",
|
1694
|
+
# 5,
|
1695
|
+
# 5
|
1389
1696
|
# ],
|
1390
1697
|
# [
|
1391
1698
|
# "Senna",
|
1392
|
-
#
|
1699
|
+
# "Good-bye Senna",
|
1700
|
+
# 3,
|
1701
|
+
# 3
|
1702
|
+
# ],
|
1703
|
+
# [
|
1704
|
+
# "Senna",
|
1705
|
+
# "Good-bye Tritonn",
|
1706
|
+
# 3,
|
1707
|
+
# 6
|
1393
1708
|
# ]
|
1394
1709
|
# ]
|
1395
1710
|
# ]
|
@@ -1397,18 +1712,24 @@ load --table Entries_20150709
|
|
1397
1712
|
</pre></div>
|
1398
1713
|
</div>
|
1399
1714
|
</div>
|
1400
|
-
<div class="section" id="
|
1401
|
-
<span id="logical-select-
|
1402
|
-
<
|
1403
|
-
<p
|
1715
|
+
<div class="section" id="columns-name-window-group-keys">
|
1716
|
+
<span id="logical-select-columns-name-window-group-keys"></span><h4>7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1717
|
+
<div class="versionadded">
|
1718
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1719
|
+
</div>
|
1720
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を見てください。</p>
|
1721
|
+
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
1722
|
+
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
|
1404
1723
|
<p>実行例:</p>
|
1405
1724
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1406
1725
|
--logical_table Entries \
|
1407
1726
|
--shard_key created_at \
|
1408
|
-
--
|
1409
|
-
--
|
1410
|
-
--
|
1411
|
-
--
|
1727
|
+
--columns[n_likes_sum_per_tag].stage initial \
|
1728
|
+
--columns[n_likes_sum_per_tag].type UInt32 \
|
1729
|
+
--columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
|
1730
|
+
--columns[n_likes_sum_per_tag].window.group_keys tag \
|
1731
|
+
--sort_keys _key \
|
1732
|
+
--output_columns tag,_key,n_likes,n_likes_sum_per_tag
|
1412
1733
|
# [
|
1413
1734
|
# [
|
1414
1735
|
# 0,
|
@@ -1422,32 +1743,51 @@ load --table Entries_20150709
|
|
1422
1743
|
# ],
|
1423
1744
|
# [
|
1424
1745
|
# [
|
1425
|
-
# "
|
1426
|
-
# "
|
1427
|
-
# ]
|
1428
|
-
# ]
|
1429
|
-
# ],
|
1430
|
-
# [
|
1431
|
-
# [
|
1432
|
-
# 3
|
1433
|
-
# ],
|
1434
|
-
# [
|
1746
|
+
# "tag",
|
1747
|
+
# "ShortText"
|
1748
|
+
# ],
|
1435
1749
|
# [
|
1436
1750
|
# "_key",
|
1437
1751
|
# "ShortText"
|
1438
1752
|
# ],
|
1439
1753
|
# [
|
1440
|
-
# "
|
1441
|
-
# "
|
1754
|
+
# "n_likes",
|
1755
|
+
# "UInt32"
|
1756
|
+
# ],
|
1757
|
+
# [
|
1758
|
+
# "n_likes_sum_per_tag",
|
1759
|
+
# "UInt32"
|
1442
1760
|
# ]
|
1443
1761
|
# ],
|
1444
1762
|
# [
|
1445
|
-
# "
|
1446
|
-
#
|
1763
|
+
# "Groonga",
|
1764
|
+
# "Groonga",
|
1765
|
+
# 10,
|
1766
|
+
# 25
|
1447
1767
|
# ],
|
1448
1768
|
# [
|
1449
1769
|
# "Groonga",
|
1450
|
-
#
|
1770
|
+
# "Mroonga",
|
1771
|
+
# 15,
|
1772
|
+
# 25
|
1773
|
+
# ],
|
1774
|
+
# [
|
1775
|
+
# "Hello",
|
1776
|
+
# "The first post!",
|
1777
|
+
# 5,
|
1778
|
+
# 5
|
1779
|
+
# ],
|
1780
|
+
# [
|
1781
|
+
# "Senna",
|
1782
|
+
# "Good-bye Senna",
|
1783
|
+
# 3,
|
1784
|
+
# 6
|
1785
|
+
# ],
|
1786
|
+
# [
|
1787
|
+
# "Senna",
|
1788
|
+
# "Good-bye Tritonn",
|
1789
|
+
# 3,
|
1790
|
+
# 6
|
1451
1791
|
# ]
|
1452
1792
|
# ]
|
1453
1793
|
# ]
|
@@ -1455,20 +1795,20 @@ load --table Entries_20150709
|
|
1455
1795
|
</pre></div>
|
1456
1796
|
</div>
|
1457
1797
|
</div>
|
1458
|
-
|
1459
|
-
<
|
1460
|
-
<
|
1798
|
+
</div>
|
1799
|
+
<div class="section" id="drilldown-related-parameters">
|
1800
|
+
<span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.8. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1801
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">ドリルダウン関連の引数</span></a> を見てください。</p>
|
1802
|
+
<div class="section" id="drilldown">
|
1803
|
+
<span id="logical-select-drilldown"></span><h4>7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1804
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> を見てください。</p>
|
1461
1805
|
<p>以下は例です。</p>
|
1462
1806
|
<p>実行例:</p>
|
1463
1807
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1464
1808
|
--logical_table Entries \
|
1465
1809
|
--shard_key created_at \
|
1466
|
-
--
|
1467
|
-
--
|
1468
|
-
--drilldown tag \
|
1469
|
-
--drilldown_calc_types MAX,MIN,SUM,AVG \
|
1470
|
-
--drilldown_calc_target n_likes \
|
1471
|
-
--drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
1810
|
+
--output_columns _key,tag \
|
1811
|
+
--drilldown tag
|
1472
1812
|
# [
|
1473
1813
|
# [
|
1474
1814
|
# 0,
|
@@ -1482,33 +1822,33 @@ load --table Entries_20150709
|
|
1482
1822
|
# ],
|
1483
1823
|
# [
|
1484
1824
|
# [
|
1485
|
-
# "
|
1825
|
+
# "_key",
|
1486
1826
|
# "ShortText"
|
1487
1827
|
# ],
|
1488
1828
|
# [
|
1489
|
-
# "
|
1490
|
-
# "
|
1829
|
+
# "tag",
|
1830
|
+
# "ShortText"
|
1491
1831
|
# ]
|
1492
1832
|
# ],
|
1493
1833
|
# [
|
1494
|
-
# "
|
1495
|
-
#
|
1834
|
+
# "The first post!",
|
1835
|
+
# "Hello"
|
1496
1836
|
# ],
|
1497
1837
|
# [
|
1498
1838
|
# "Groonga",
|
1499
|
-
#
|
1839
|
+
# "Groonga"
|
1500
1840
|
# ],
|
1501
1841
|
# [
|
1502
|
-
# "
|
1503
|
-
#
|
1842
|
+
# "Mroonga",
|
1843
|
+
# "Groonga"
|
1504
1844
|
# ],
|
1505
1845
|
# [
|
1506
|
-
# "Senna",
|
1507
|
-
#
|
1846
|
+
# "Good-bye Senna",
|
1847
|
+
# "Senna"
|
1508
1848
|
# ],
|
1509
1849
|
# [
|
1510
|
-
# "
|
1511
|
-
#
|
1850
|
+
# "Good-bye Tritonn",
|
1851
|
+
# "Senna"
|
1512
1852
|
# ]
|
1513
1853
|
# ],
|
1514
1854
|
# [
|
@@ -1521,84 +1861,920 @@ load --table Entries_20150709
|
|
1521
1861
|
# "ShortText"
|
1522
1862
|
# ],
|
1523
1863
|
# [
|
1524
|
-
# "_nsubrecs",
|
1525
|
-
# "Int32"
|
1864
|
+
# "_nsubrecs",
|
1865
|
+
# "Int32"
|
1866
|
+
# ]
|
1867
|
+
# ],
|
1868
|
+
# [
|
1869
|
+
# "Hello",
|
1870
|
+
# 1
|
1871
|
+
# ],
|
1872
|
+
# [
|
1873
|
+
# "Groonga",
|
1874
|
+
# 2
|
1875
|
+
# ],
|
1876
|
+
# [
|
1877
|
+
# "Senna",
|
1878
|
+
# 2
|
1879
|
+
# ]
|
1880
|
+
# ]
|
1881
|
+
# ]
|
1882
|
+
# ]
|
1883
|
+
</pre></div>
|
1884
|
+
</div>
|
1885
|
+
</div>
|
1886
|
+
<div class="section" id="drilldown-sortby">
|
1887
|
+
<span id="logical-select-drilldown-sortby"></span><h4>7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1888
|
+
<div class="deprecated">
|
1889
|
+
<p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を代わりに使ってください</p>
|
1890
|
+
</div>
|
1891
|
+
</div>
|
1892
|
+
<div class="section" id="drilldown-sort-keys">
|
1893
|
+
<span id="logical-select-drilldown-sort-keys"></span><h4>7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code><a class="headerlink" href="#drilldown-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1894
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を見てください。</p>
|
1895
|
+
<p>以下は例です。</p>
|
1896
|
+
<p>実行例:</p>
|
1897
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1898
|
+
--logical_table Entries \
|
1899
|
+
--shard_key created_at \
|
1900
|
+
--limit 0 \
|
1901
|
+
--output_columns _id \
|
1902
|
+
--drilldown tag \
|
1903
|
+
--drilldown_sort_keys -_nsubrecs,_key
|
1904
|
+
# [
|
1905
|
+
# [
|
1906
|
+
# 0,
|
1907
|
+
# 1337566253.89858,
|
1908
|
+
# 0.000355720520019531
|
1909
|
+
# ],
|
1910
|
+
# [
|
1911
|
+
# [
|
1912
|
+
# [
|
1913
|
+
# 5
|
1914
|
+
# ],
|
1915
|
+
# [
|
1916
|
+
# [
|
1917
|
+
# "_id",
|
1918
|
+
# "UInt32"
|
1919
|
+
# ]
|
1920
|
+
# ]
|
1921
|
+
# ],
|
1922
|
+
# [
|
1923
|
+
# [
|
1924
|
+
# 3
|
1925
|
+
# ],
|
1926
|
+
# [
|
1927
|
+
# [
|
1928
|
+
# "_key",
|
1929
|
+
# "ShortText"
|
1930
|
+
# ],
|
1931
|
+
# [
|
1932
|
+
# "_nsubrecs",
|
1933
|
+
# "Int32"
|
1934
|
+
# ]
|
1935
|
+
# ],
|
1936
|
+
# [
|
1937
|
+
# "Groonga",
|
1938
|
+
# 2
|
1939
|
+
# ],
|
1940
|
+
# [
|
1941
|
+
# "Senna",
|
1942
|
+
# 2
|
1943
|
+
# ],
|
1944
|
+
# [
|
1945
|
+
# "Hello",
|
1946
|
+
# 1
|
1947
|
+
# ]
|
1948
|
+
# ]
|
1949
|
+
# ]
|
1950
|
+
# ]
|
1951
|
+
</pre></div>
|
1952
|
+
</div>
|
1953
|
+
</div>
|
1954
|
+
<div class="section" id="drilldown-output-columns">
|
1955
|
+
<span id="logical-select-drilldown-output-columns"></span><h4>7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1956
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> を見てください。</p>
|
1957
|
+
<p>以下は例です。</p>
|
1958
|
+
<p>実行例:</p>
|
1959
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1960
|
+
--logical_table Entries \
|
1961
|
+
--shard_key created_at \
|
1962
|
+
--limit 0 \
|
1963
|
+
--output_columns _id \
|
1964
|
+
--drilldown tag \
|
1965
|
+
--drilldown_output_columns _key
|
1966
|
+
# [
|
1967
|
+
# [
|
1968
|
+
# 0,
|
1969
|
+
# 1337566253.89858,
|
1970
|
+
# 0.000355720520019531
|
1971
|
+
# ],
|
1972
|
+
# [
|
1973
|
+
# [
|
1974
|
+
# [
|
1975
|
+
# 5
|
1976
|
+
# ],
|
1977
|
+
# [
|
1978
|
+
# [
|
1979
|
+
# "_id",
|
1980
|
+
# "UInt32"
|
1981
|
+
# ]
|
1982
|
+
# ]
|
1983
|
+
# ],
|
1984
|
+
# [
|
1985
|
+
# [
|
1986
|
+
# 3
|
1987
|
+
# ],
|
1988
|
+
# [
|
1989
|
+
# [
|
1990
|
+
# "_key",
|
1991
|
+
# "ShortText"
|
1992
|
+
# ]
|
1993
|
+
# ],
|
1994
|
+
# [
|
1995
|
+
# "Hello"
|
1996
|
+
# ],
|
1997
|
+
# [
|
1998
|
+
# "Groonga"
|
1999
|
+
# ],
|
2000
|
+
# [
|
2001
|
+
# "Senna"
|
2002
|
+
# ]
|
2003
|
+
# ]
|
2004
|
+
# ]
|
2005
|
+
# ]
|
2006
|
+
</pre></div>
|
2007
|
+
</div>
|
2008
|
+
</div>
|
2009
|
+
<div class="section" id="drilldown-offset">
|
2010
|
+
<span id="logical-select-drilldown-offset"></span><h4>7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2011
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> を見てください。</p>
|
2012
|
+
<p>以下は例です。</p>
|
2013
|
+
<p>実行例:</p>
|
2014
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2015
|
+
--logical_table Entries \
|
2016
|
+
--shard_key created_at \
|
2017
|
+
--limit 0 \
|
2018
|
+
--output_columns _id \
|
2019
|
+
--drilldown tag \
|
2020
|
+
--drilldown_offset 1
|
2021
|
+
# [
|
2022
|
+
# [
|
2023
|
+
# 0,
|
2024
|
+
# 1337566253.89858,
|
2025
|
+
# 0.000355720520019531
|
2026
|
+
# ],
|
2027
|
+
# [
|
2028
|
+
# [
|
2029
|
+
# [
|
2030
|
+
# 5
|
2031
|
+
# ],
|
2032
|
+
# [
|
2033
|
+
# [
|
2034
|
+
# "_id",
|
2035
|
+
# "UInt32"
|
2036
|
+
# ]
|
2037
|
+
# ]
|
2038
|
+
# ],
|
2039
|
+
# [
|
2040
|
+
# [
|
2041
|
+
# 3
|
2042
|
+
# ],
|
2043
|
+
# [
|
2044
|
+
# [
|
2045
|
+
# "_key",
|
2046
|
+
# "ShortText"
|
2047
|
+
# ],
|
2048
|
+
# [
|
2049
|
+
# "_nsubrecs",
|
2050
|
+
# "Int32"
|
2051
|
+
# ]
|
2052
|
+
# ],
|
2053
|
+
# [
|
2054
|
+
# "Groonga",
|
2055
|
+
# 2
|
2056
|
+
# ],
|
2057
|
+
# [
|
2058
|
+
# "Senna",
|
2059
|
+
# 2
|
2060
|
+
# ]
|
2061
|
+
# ]
|
2062
|
+
# ]
|
2063
|
+
# ]
|
2064
|
+
</pre></div>
|
2065
|
+
</div>
|
2066
|
+
</div>
|
2067
|
+
<div class="section" id="drilldown-limit">
|
2068
|
+
<span id="logical-select-drilldown-limit"></span><h4>7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2069
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> を見てください。</p>
|
2070
|
+
<p>以下は例です。</p>
|
2071
|
+
<p>実行例:</p>
|
2072
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2073
|
+
--logical_table Entries \
|
2074
|
+
--shard_key created_at \
|
2075
|
+
--limit 0 \
|
2076
|
+
--output_columns _id \
|
2077
|
+
--drilldown tag \
|
2078
|
+
--drilldown_limit 2
|
2079
|
+
# [
|
2080
|
+
# [
|
2081
|
+
# 0,
|
2082
|
+
# 1337566253.89858,
|
2083
|
+
# 0.000355720520019531
|
2084
|
+
# ],
|
2085
|
+
# [
|
2086
|
+
# [
|
2087
|
+
# [
|
2088
|
+
# 5
|
2089
|
+
# ],
|
2090
|
+
# [
|
2091
|
+
# [
|
2092
|
+
# "_id",
|
2093
|
+
# "UInt32"
|
2094
|
+
# ]
|
2095
|
+
# ]
|
2096
|
+
# ],
|
2097
|
+
# [
|
2098
|
+
# [
|
2099
|
+
# 3
|
2100
|
+
# ],
|
2101
|
+
# [
|
2102
|
+
# [
|
2103
|
+
# "_key",
|
2104
|
+
# "ShortText"
|
2105
|
+
# ],
|
2106
|
+
# [
|
2107
|
+
# "_nsubrecs",
|
2108
|
+
# "Int32"
|
2109
|
+
# ]
|
2110
|
+
# ],
|
2111
|
+
# [
|
2112
|
+
# "Hello",
|
2113
|
+
# 1
|
2114
|
+
# ],
|
2115
|
+
# [
|
2116
|
+
# "Groonga",
|
2117
|
+
# 2
|
2118
|
+
# ]
|
2119
|
+
# ]
|
2120
|
+
# ]
|
2121
|
+
# ]
|
2122
|
+
</pre></div>
|
2123
|
+
</div>
|
2124
|
+
</div>
|
2125
|
+
<div class="section" id="drilldown-calc-types">
|
2126
|
+
<span id="logical-select-drilldown-calc-types"></span><h4>7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2127
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
|
2128
|
+
<p>以下は例です。</p>
|
2129
|
+
<p>実行例:</p>
|
2130
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2131
|
+
--logical_table Entries \
|
2132
|
+
--shard_key created_at \
|
2133
|
+
--limit -1 \
|
2134
|
+
--output_columns tag,n_likes \
|
2135
|
+
--drilldown tag \
|
2136
|
+
--drilldown_calc_types MAX,MIN,SUM,AVG \
|
2137
|
+
--drilldown_calc_target n_likes \
|
2138
|
+
--drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
2139
|
+
# [
|
2140
|
+
# [
|
2141
|
+
# 0,
|
2142
|
+
# 1337566253.89858,
|
2143
|
+
# 0.000355720520019531
|
2144
|
+
# ],
|
2145
|
+
# [
|
2146
|
+
# [
|
2147
|
+
# [
|
2148
|
+
# 5
|
2149
|
+
# ],
|
2150
|
+
# [
|
2151
|
+
# [
|
2152
|
+
# "tag",
|
2153
|
+
# "ShortText"
|
2154
|
+
# ],
|
2155
|
+
# [
|
2156
|
+
# "n_likes",
|
2157
|
+
# "UInt32"
|
2158
|
+
# ]
|
2159
|
+
# ],
|
2160
|
+
# [
|
2161
|
+
# "Hello",
|
2162
|
+
# 5
|
2163
|
+
# ],
|
2164
|
+
# [
|
2165
|
+
# "Groonga",
|
2166
|
+
# 10
|
2167
|
+
# ],
|
2168
|
+
# [
|
2169
|
+
# "Groonga",
|
2170
|
+
# 15
|
2171
|
+
# ],
|
2172
|
+
# [
|
2173
|
+
# "Senna",
|
2174
|
+
# 3
|
2175
|
+
# ],
|
2176
|
+
# [
|
2177
|
+
# "Senna",
|
2178
|
+
# 3
|
2179
|
+
# ]
|
2180
|
+
# ],
|
2181
|
+
# [
|
2182
|
+
# [
|
2183
|
+
# 3
|
2184
|
+
# ],
|
2185
|
+
# [
|
2186
|
+
# [
|
2187
|
+
# "_key",
|
2188
|
+
# "ShortText"
|
2189
|
+
# ],
|
2190
|
+
# [
|
2191
|
+
# "_nsubrecs",
|
2192
|
+
# "Int32"
|
2193
|
+
# ],
|
2194
|
+
# [
|
2195
|
+
# "_max",
|
2196
|
+
# "Int64"
|
2197
|
+
# ],
|
2198
|
+
# [
|
2199
|
+
# "_min",
|
2200
|
+
# "Int64"
|
2201
|
+
# ],
|
2202
|
+
# [
|
2203
|
+
# "_sum",
|
2204
|
+
# "Int64"
|
2205
|
+
# ],
|
2206
|
+
# [
|
2207
|
+
# "_avg",
|
2208
|
+
# "Float"
|
2209
|
+
# ]
|
2210
|
+
# ],
|
2211
|
+
# [
|
2212
|
+
# "Hello",
|
2213
|
+
# 1,
|
2214
|
+
# 5,
|
2215
|
+
# 5,
|
2216
|
+
# 5,
|
2217
|
+
# 5.0
|
2218
|
+
# ],
|
2219
|
+
# [
|
2220
|
+
# "Groonga",
|
2221
|
+
# 2,
|
2222
|
+
# 15,
|
2223
|
+
# 10,
|
2224
|
+
# 25,
|
2225
|
+
# 12.5
|
2226
|
+
# ],
|
2227
|
+
# [
|
2228
|
+
# "Senna",
|
2229
|
+
# 2,
|
2230
|
+
# 3,
|
2231
|
+
# 3,
|
2232
|
+
# 6,
|
2233
|
+
# 3.0
|
2234
|
+
# ]
|
2235
|
+
# ]
|
2236
|
+
# ]
|
2237
|
+
# ]
|
2238
|
+
</pre></div>
|
2239
|
+
</div>
|
2240
|
+
</div>
|
2241
|
+
<div class="section" id="drilldown-calc-target">
|
2242
|
+
<span id="logical-select-drilldown-calc-target"></span><h4>7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2243
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> を見てください。</p>
|
2244
|
+
<p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
|
2245
|
+
</div>
|
2246
|
+
<div class="section" id="drilldown-filter">
|
2247
|
+
<span id="logical-select-drilldown-filter"></span><h4>7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code><a class="headerlink" href="#drilldown-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2248
|
+
<div class="versionadded">
|
2249
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2250
|
+
</div>
|
2251
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> を見てください。</p>
|
2252
|
+
<p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
|
2253
|
+
<p>実行例:</p>
|
2254
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2255
|
+
--logical_table Entries \
|
2256
|
+
--shard_key created_at \
|
2257
|
+
--limit 0 \
|
2258
|
+
--output_columns _id \
|
2259
|
+
--drilldown tag \
|
2260
|
+
--drilldown_filter "_nsubrecs > 1" \
|
2261
|
+
--drilldown_output_columns _key,_nsubrecs
|
2262
|
+
# [
|
2263
|
+
# [
|
2264
|
+
# 0,
|
2265
|
+
# 1337566253.89858,
|
2266
|
+
# 0.000355720520019531
|
2267
|
+
# ],
|
2268
|
+
# [
|
2269
|
+
# [
|
2270
|
+
# [
|
2271
|
+
# 5
|
2272
|
+
# ],
|
2273
|
+
# [
|
2274
|
+
# [
|
2275
|
+
# "_id",
|
2276
|
+
# "UInt32"
|
2277
|
+
# ]
|
2278
|
+
# ]
|
2279
|
+
# ],
|
2280
|
+
# [
|
2281
|
+
# [
|
2282
|
+
# 2
|
2283
|
+
# ],
|
2284
|
+
# [
|
2285
|
+
# [
|
2286
|
+
# "_key",
|
2287
|
+
# "ShortText"
|
2288
|
+
# ],
|
2289
|
+
# [
|
2290
|
+
# "_nsubrecs",
|
2291
|
+
# "Int32"
|
2292
|
+
# ]
|
2293
|
+
# ],
|
2294
|
+
# [
|
2295
|
+
# "Groonga",
|
2296
|
+
# 2
|
2297
|
+
# ],
|
2298
|
+
# [
|
2299
|
+
# "Senna",
|
2300
|
+
# 2
|
2301
|
+
# ]
|
2302
|
+
# ]
|
2303
|
+
# ]
|
2304
|
+
# ]
|
2305
|
+
</pre></div>
|
2306
|
+
</div>
|
2307
|
+
</div>
|
2308
|
+
</div>
|
2309
|
+
<div class="section" id="advanced-drilldown-related-parameters">
|
2310
|
+
<span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.34.5.9. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
2311
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
|
2312
|
+
<p>いくつか制限があります。</p>
|
2313
|
+
<blockquote>
|
2314
|
+
<div><ul class="simple">
|
2315
|
+
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
2316
|
+
</li>
|
2317
|
+
</ul>
|
2318
|
+
</div></blockquote>
|
2319
|
+
<div class="section" id="drilldowns-label-keys">
|
2320
|
+
<span id="logical-select-drilldowns-label-keys"></span><h4>7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code><a class="headerlink" href="#drilldowns-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2321
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> を見てください。</p>
|
2322
|
+
<p>以下は例です。</p>
|
2323
|
+
<p>実行例:</p>
|
2324
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2325
|
+
--logical_table Entries \
|
2326
|
+
--shard_key created_at \
|
2327
|
+
--limit 0 \
|
2328
|
+
--output_columns _id \
|
2329
|
+
--drilldowns[tag.n_likes].keys tag,n_likes \
|
2330
|
+
--drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
|
2331
|
+
# [
|
2332
|
+
# [
|
2333
|
+
# 0,
|
2334
|
+
# 1337566253.89858,
|
2335
|
+
# 0.000355720520019531
|
2336
|
+
# ],
|
2337
|
+
# [
|
2338
|
+
# [
|
2339
|
+
# [
|
2340
|
+
# 5
|
2341
|
+
# ],
|
2342
|
+
# [
|
2343
|
+
# [
|
2344
|
+
# "_id",
|
2345
|
+
# "UInt32"
|
2346
|
+
# ]
|
2347
|
+
# ]
|
2348
|
+
# ],
|
2349
|
+
# {
|
2350
|
+
# "tag.n_likes": [
|
2351
|
+
# [
|
2352
|
+
# 4
|
2353
|
+
# ],
|
2354
|
+
# [
|
2355
|
+
# [
|
2356
|
+
# "tag",
|
2357
|
+
# "ShortText"
|
2358
|
+
# ],
|
2359
|
+
# [
|
2360
|
+
# "n_likes",
|
2361
|
+
# "UInt32"
|
2362
|
+
# ],
|
2363
|
+
# [
|
2364
|
+
# "_nsubrecs",
|
2365
|
+
# "Int32"
|
2366
|
+
# ]
|
2367
|
+
# ],
|
2368
|
+
# [
|
2369
|
+
# "Hello",
|
2370
|
+
# 5,
|
2371
|
+
# 1
|
2372
|
+
# ],
|
2373
|
+
# [
|
2374
|
+
# "Groonga",
|
2375
|
+
# 10,
|
2376
|
+
# 1
|
2377
|
+
# ],
|
2378
|
+
# [
|
2379
|
+
# "Groonga",
|
2380
|
+
# 15,
|
2381
|
+
# 1
|
2382
|
+
# ],
|
2383
|
+
# [
|
2384
|
+
# "Senna",
|
2385
|
+
# 3,
|
2386
|
+
# 2
|
2387
|
+
# ]
|
2388
|
+
# ]
|
2389
|
+
# }
|
2390
|
+
# ]
|
2391
|
+
# ]
|
2392
|
+
</pre></div>
|
2393
|
+
</div>
|
2394
|
+
</div>
|
2395
|
+
<div class="section" id="drilldowns-label-output-columns">
|
2396
|
+
<span id="logical-select-drilldowns-label-output-columns"></span><h4>7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldowns-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2397
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> を見てください。</p>
|
2398
|
+
<p>以下は例です。</p>
|
2399
|
+
<p>実行例:</p>
|
2400
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2401
|
+
--logical_table Entries \
|
2402
|
+
--shard_key created_at \
|
2403
|
+
--limit 0 \
|
2404
|
+
--output_columns _id \
|
2405
|
+
--drilldowns[tag].keys tag \
|
2406
|
+
--drilldowns[tag].output_columns _key,_nsubrecs
|
2407
|
+
# [
|
2408
|
+
# [
|
2409
|
+
# 0,
|
2410
|
+
# 1337566253.89858,
|
2411
|
+
# 0.000355720520019531
|
2412
|
+
# ],
|
2413
|
+
# [
|
2414
|
+
# [
|
2415
|
+
# [
|
2416
|
+
# 5
|
2417
|
+
# ],
|
2418
|
+
# [
|
2419
|
+
# [
|
2420
|
+
# "_id",
|
2421
|
+
# "UInt32"
|
2422
|
+
# ]
|
2423
|
+
# ]
|
2424
|
+
# ],
|
2425
|
+
# {
|
2426
|
+
# "tag": [
|
2427
|
+
# [
|
2428
|
+
# 3
|
2429
|
+
# ],
|
2430
|
+
# [
|
2431
|
+
# [
|
2432
|
+
# "_key",
|
2433
|
+
# "ShortText"
|
2434
|
+
# ],
|
2435
|
+
# [
|
2436
|
+
# "_nsubrecs",
|
2437
|
+
# "Int32"
|
2438
|
+
# ]
|
2439
|
+
# ],
|
2440
|
+
# [
|
2441
|
+
# "Hello",
|
2442
|
+
# 1
|
2443
|
+
# ],
|
2444
|
+
# [
|
2445
|
+
# "Groonga",
|
2446
|
+
# 2
|
2447
|
+
# ],
|
2448
|
+
# [
|
2449
|
+
# "Senna",
|
2450
|
+
# 2
|
2451
|
+
# ]
|
2452
|
+
# ]
|
2453
|
+
# }
|
2454
|
+
# ]
|
2455
|
+
# ]
|
2456
|
+
</pre></div>
|
2457
|
+
</div>
|
2458
|
+
</div>
|
2459
|
+
<div class="section" id="drilldowns-label-sortby">
|
2460
|
+
<span id="logical-select-drilldowns-label-sortby"></span><h4>7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldowns-label-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2461
|
+
<div class="deprecated">
|
2462
|
+
<p><span class="versionmodified">バージョン 6.1.5 で撤廃: </span><a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を代わりに使ってください</p>
|
2463
|
+
</div>
|
2464
|
+
</div>
|
2465
|
+
<div class="section" id="drilldowns-label-sort-keys">
|
2466
|
+
<span id="logical-select-drilldowns-label-sort-keys"></span><h4>7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code><a class="headerlink" href="#drilldowns-label-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2467
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。</p>
|
2468
|
+
<p><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> には制限があります。</p>
|
2469
|
+
<p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
2470
|
+
<p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
|
2471
|
+
<p>実行例:</p>
|
2472
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2473
|
+
--logical_table Entries \
|
2474
|
+
--shard_key created_at \
|
2475
|
+
--min "2015/07/08 00:00:00" \
|
2476
|
+
--min_border "include" \
|
2477
|
+
--max "2015/07/09 00:00:00" \
|
2478
|
+
--max_border "exclude" \
|
2479
|
+
--limit 0 \
|
2480
|
+
--output_columns _id \
|
2481
|
+
--drilldowns[tag.n_likes].keys tag,n_likes \
|
2482
|
+
--drilldowns[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
|
2483
|
+
--drilldowns[tag.n_likes].sort_keys -_nsubrecs,_value.n_likes,_value.tag
|
2484
|
+
# [
|
2485
|
+
# [
|
2486
|
+
# 0,
|
2487
|
+
# 1337566253.89858,
|
2488
|
+
# 0.000355720520019531
|
2489
|
+
# ],
|
2490
|
+
# [
|
2491
|
+
# [
|
2492
|
+
# [
|
2493
|
+
# 3
|
2494
|
+
# ],
|
2495
|
+
# [
|
2496
|
+
# [
|
2497
|
+
# "_id",
|
2498
|
+
# "UInt32"
|
2499
|
+
# ]
|
2500
|
+
# ]
|
2501
|
+
# ],
|
2502
|
+
# {
|
2503
|
+
# "tag.n_likes": [
|
2504
|
+
# [
|
2505
|
+
# 3
|
2506
|
+
# ],
|
2507
|
+
# [
|
2508
|
+
# [
|
2509
|
+
# "_nsubrecs",
|
2510
|
+
# "Int32"
|
2511
|
+
# ],
|
2512
|
+
# [
|
2513
|
+
# "n_likes",
|
2514
|
+
# "UInt32"
|
2515
|
+
# ],
|
2516
|
+
# [
|
2517
|
+
# "tag",
|
2518
|
+
# "ShortText"
|
2519
|
+
# ]
|
2520
|
+
# ],
|
2521
|
+
# [
|
2522
|
+
# 1,
|
2523
|
+
# 5,
|
2524
|
+
# "Hello"
|
2525
|
+
# ],
|
2526
|
+
# [
|
2527
|
+
# 1,
|
2528
|
+
# 10,
|
2529
|
+
# "Groonga"
|
2530
|
+
# ],
|
2531
|
+
# [
|
2532
|
+
# 1,
|
2533
|
+
# 15,
|
2534
|
+
# "Groonga"
|
2535
|
+
# ]
|
2536
|
+
# ]
|
2537
|
+
# }
|
2538
|
+
# ]
|
2539
|
+
# ]
|
2540
|
+
</pre></div>
|
2541
|
+
</div>
|
2542
|
+
</div>
|
2543
|
+
<div class="section" id="drilldowns-label-offset">
|
2544
|
+
<span id="logical-select-drilldowns-label-offset"></span><h4>7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code><a class="headerlink" href="#drilldowns-label-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2545
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。</p>
|
2546
|
+
<p>以下は例です。</p>
|
2547
|
+
<p>実行例:</p>
|
2548
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2549
|
+
--logical_table Entries \
|
2550
|
+
--shard_key created_at \
|
2551
|
+
--limit 0 \
|
2552
|
+
--output_columns _id \
|
2553
|
+
--drilldowns[tag.n_likes].keys tag \
|
2554
|
+
--drilldowns[tag.n_likes].offset 1
|
2555
|
+
# [
|
2556
|
+
# [
|
2557
|
+
# 0,
|
2558
|
+
# 1337566253.89858,
|
2559
|
+
# 0.000355720520019531
|
2560
|
+
# ],
|
2561
|
+
# [
|
2562
|
+
# [
|
2563
|
+
# [
|
2564
|
+
# 5
|
2565
|
+
# ],
|
2566
|
+
# [
|
2567
|
+
# [
|
2568
|
+
# "_id",
|
2569
|
+
# "UInt32"
|
2570
|
+
# ]
|
2571
|
+
# ]
|
2572
|
+
# ],
|
2573
|
+
# {
|
2574
|
+
# "tag.n_likes": [
|
2575
|
+
# [
|
2576
|
+
# 3
|
2577
|
+
# ],
|
2578
|
+
# [
|
2579
|
+
# [
|
2580
|
+
# "_key",
|
2581
|
+
# "ShortText"
|
2582
|
+
# ],
|
2583
|
+
# [
|
2584
|
+
# "_nsubrecs",
|
2585
|
+
# "Int32"
|
2586
|
+
# ]
|
2587
|
+
# ],
|
2588
|
+
# [
|
2589
|
+
# "Groonga",
|
2590
|
+
# 2
|
2591
|
+
# ],
|
2592
|
+
# [
|
2593
|
+
# "Senna",
|
2594
|
+
# 2
|
2595
|
+
# ]
|
2596
|
+
# ]
|
2597
|
+
# }
|
2598
|
+
# ]
|
2599
|
+
# ]
|
2600
|
+
</pre></div>
|
2601
|
+
</div>
|
2602
|
+
</div>
|
2603
|
+
<div class="section" id="drilldowns-label-limit">
|
2604
|
+
<span id="logical-select-drilldowns-label-limit"></span><h4>7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code><a class="headerlink" href="#drilldowns-label-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2605
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。</p>
|
2606
|
+
<p>以下は例です。</p>
|
2607
|
+
<p>実行例:</p>
|
2608
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2609
|
+
--logical_table Entries \
|
2610
|
+
--shard_key created_at \
|
2611
|
+
--limit 0 \
|
2612
|
+
--output_columns _id \
|
2613
|
+
--drilldowns[tag.n_likes].keys tag \
|
2614
|
+
--drilldowns[tag.n_likes].limit 2
|
2615
|
+
# [
|
2616
|
+
# [
|
2617
|
+
# 0,
|
2618
|
+
# 1337566253.89858,
|
2619
|
+
# 0.000355720520019531
|
2620
|
+
# ],
|
2621
|
+
# [
|
2622
|
+
# [
|
2623
|
+
# [
|
2624
|
+
# 5
|
2625
|
+
# ],
|
2626
|
+
# [
|
2627
|
+
# [
|
2628
|
+
# "_id",
|
2629
|
+
# "UInt32"
|
2630
|
+
# ]
|
2631
|
+
# ]
|
2632
|
+
# ],
|
2633
|
+
# {
|
2634
|
+
# "tag.n_likes": [
|
2635
|
+
# [
|
2636
|
+
# 3
|
2637
|
+
# ],
|
2638
|
+
# [
|
2639
|
+
# [
|
2640
|
+
# "_key",
|
2641
|
+
# "ShortText"
|
2642
|
+
# ],
|
2643
|
+
# [
|
2644
|
+
# "_nsubrecs",
|
2645
|
+
# "Int32"
|
2646
|
+
# ]
|
2647
|
+
# ],
|
2648
|
+
# [
|
2649
|
+
# "Hello",
|
2650
|
+
# 1
|
2651
|
+
# ],
|
2652
|
+
# [
|
2653
|
+
# "Groonga",
|
2654
|
+
# 2
|
2655
|
+
# ]
|
2656
|
+
# ]
|
2657
|
+
# }
|
2658
|
+
# ]
|
2659
|
+
# ]
|
2660
|
+
</pre></div>
|
2661
|
+
</div>
|
2662
|
+
</div>
|
2663
|
+
<div class="section" id="drilldowns-label-calc-types">
|
2664
|
+
<span id="logical-select-drilldowns-label-calc-types"></span><h4>7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldowns-label-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2665
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。</p>
|
2666
|
+
<p>以下は例です。</p>
|
2667
|
+
<p>実行例:</p>
|
2668
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2669
|
+
--logical_table Entries \
|
2670
|
+
--shard_key created_at \
|
2671
|
+
--limit 0 \
|
2672
|
+
--output_columns _id \
|
2673
|
+
--drilldowns[tag].keys tag \
|
2674
|
+
--drilldowns[tag].calc_types MAX,MIN,SUM,AVG \
|
2675
|
+
--drilldowns[tag].calc_target n_likes \
|
2676
|
+
--drilldowns[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
2677
|
+
# [
|
2678
|
+
# [
|
2679
|
+
# 0,
|
2680
|
+
# 1337566253.89858,
|
2681
|
+
# 0.000355720520019531
|
2682
|
+
# ],
|
2683
|
+
# [
|
2684
|
+
# [
|
2685
|
+
# [
|
2686
|
+
# 5
|
2687
|
+
# ],
|
2688
|
+
# [
|
2689
|
+
# [
|
2690
|
+
# "_id",
|
2691
|
+
# "UInt32"
|
2692
|
+
# ]
|
2693
|
+
# ]
|
2694
|
+
# ],
|
2695
|
+
# {
|
2696
|
+
# "tag": [
|
2697
|
+
# [
|
2698
|
+
# 3
|
1526
2699
|
# ],
|
1527
2700
|
# [
|
1528
|
-
#
|
1529
|
-
#
|
2701
|
+
# [
|
2702
|
+
# "_key",
|
2703
|
+
# "ShortText"
|
2704
|
+
# ],
|
2705
|
+
# [
|
2706
|
+
# "_nsubrecs",
|
2707
|
+
# "Int32"
|
2708
|
+
# ],
|
2709
|
+
# [
|
2710
|
+
# "_max",
|
2711
|
+
# "Int64"
|
2712
|
+
# ],
|
2713
|
+
# [
|
2714
|
+
# "_min",
|
2715
|
+
# "Int64"
|
2716
|
+
# ],
|
2717
|
+
# [
|
2718
|
+
# "_sum",
|
2719
|
+
# "Int64"
|
2720
|
+
# ],
|
2721
|
+
# [
|
2722
|
+
# "_avg",
|
2723
|
+
# "Float"
|
2724
|
+
# ]
|
1530
2725
|
# ],
|
1531
2726
|
# [
|
1532
|
-
# "
|
1533
|
-
#
|
2727
|
+
# "Hello",
|
2728
|
+
# 1,
|
2729
|
+
# 5,
|
2730
|
+
# 5,
|
2731
|
+
# 5,
|
2732
|
+
# 5.0
|
1534
2733
|
# ],
|
1535
2734
|
# [
|
1536
|
-
# "
|
1537
|
-
#
|
2735
|
+
# "Groonga",
|
2736
|
+
# 2,
|
2737
|
+
# 15,
|
2738
|
+
# 10,
|
2739
|
+
# 25,
|
2740
|
+
# 12.5
|
1538
2741
|
# ],
|
1539
2742
|
# [
|
1540
|
-
# "
|
1541
|
-
#
|
2743
|
+
# "Senna",
|
2744
|
+
# 2,
|
2745
|
+
# 3,
|
2746
|
+
# 3,
|
2747
|
+
# 6,
|
2748
|
+
# 3.0
|
1542
2749
|
# ]
|
1543
|
-
# ],
|
1544
|
-
# [
|
1545
|
-
# "Hello",
|
1546
|
-
# 1,
|
1547
|
-
# 5,
|
1548
|
-
# 5,
|
1549
|
-
# 5,
|
1550
|
-
# 5.0
|
1551
|
-
# ],
|
1552
|
-
# [
|
1553
|
-
# "Groonga",
|
1554
|
-
# 2,
|
1555
|
-
# 15,
|
1556
|
-
# 10,
|
1557
|
-
# 25,
|
1558
|
-
# 12.5
|
1559
|
-
# ],
|
1560
|
-
# [
|
1561
|
-
# "Senna",
|
1562
|
-
# 2,
|
1563
|
-
# 3,
|
1564
|
-
# 3,
|
1565
|
-
# 6,
|
1566
|
-
# 3.0
|
1567
2750
|
# ]
|
1568
|
-
#
|
2751
|
+
# }
|
1569
2752
|
# ]
|
1570
2753
|
# ]
|
1571
2754
|
</pre></div>
|
1572
2755
|
</div>
|
1573
2756
|
</div>
|
1574
|
-
<div class="section" id="
|
1575
|
-
<span id="logical-select-
|
1576
|
-
<p
|
1577
|
-
<p
|
2757
|
+
<div class="section" id="drilldowns-label-calc-target">
|
2758
|
+
<span id="logical-select-drilldowns-label-calc-target"></span><h4>7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldowns-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2759
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。</p>
|
2760
|
+
<p>例は <a class="reference internal" href="#logical-select-drilldowns-label-calc-types"><span class="std std-ref">drilldowns[${LABEL}].calc_types</span></a> を参照してください。</p>
|
1578
2761
|
</div>
|
2762
|
+
<div class="section" id="drilldowns-label-filter">
|
2763
|
+
<span id="logical-select-drilldowns-label-filter"></span><h4>7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code><a class="headerlink" href="#drilldowns-label-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2764
|
+
<div class="versionadded">
|
2765
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1579
2766
|
</div>
|
1580
|
-
<
|
1581
|
-
<
|
1582
|
-
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span class="std std-ref">高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
|
1583
|
-
<p>いくつか制限があります。</p>
|
1584
|
-
<blockquote>
|
1585
|
-
<div><ul class="simple">
|
1586
|
-
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
1587
|
-
</li>
|
1588
|
-
</ul>
|
1589
|
-
</div></blockquote>
|
1590
|
-
<div class="section" id="drilldown-label-keys">
|
1591
|
-
<span id="logical-select-drilldown-label-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code><a class="headerlink" href="#drilldown-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1592
|
-
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> を見てください。</p>
|
1593
|
-
<p>以下は例です。</p>
|
2767
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。</p>
|
2768
|
+
<p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
|
1594
2769
|
<p>実行例:</p>
|
1595
2770
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1596
2771
|
--logical_table Entries \
|
1597
2772
|
--shard_key created_at \
|
1598
2773
|
--limit 0 \
|
1599
2774
|
--output_columns _id \
|
1600
|
-
--
|
1601
|
-
--
|
2775
|
+
--drilldowns[tag].keys tag \
|
2776
|
+
--drilldowns[tag].filter "_nsubrecs > 1" \
|
2777
|
+
--drilldowns[tag].output_columns _key,_nsubrecs
|
1602
2778
|
# [
|
1603
2779
|
# [
|
1604
2780
|
# 0,
|
@@ -1618,42 +2794,26 @@ load --table Entries_20150709
|
|
1618
2794
|
# ]
|
1619
2795
|
# ],
|
1620
2796
|
# {
|
1621
|
-
# "tag
|
2797
|
+
# "tag": [
|
1622
2798
|
# [
|
1623
|
-
#
|
2799
|
+
# 2
|
1624
2800
|
# ],
|
1625
2801
|
# [
|
1626
2802
|
# [
|
1627
|
-
# "
|
2803
|
+
# "_key",
|
1628
2804
|
# "ShortText"
|
1629
2805
|
# ],
|
1630
2806
|
# [
|
1631
|
-
# "n_likes",
|
1632
|
-
# "UInt32"
|
1633
|
-
# ],
|
1634
|
-
# [
|
1635
2807
|
# "_nsubrecs",
|
1636
2808
|
# "Int32"
|
1637
2809
|
# ]
|
1638
2810
|
# ],
|
1639
2811
|
# [
|
1640
|
-
# "Hello",
|
1641
|
-
# 5,
|
1642
|
-
# 1
|
1643
|
-
# ],
|
1644
|
-
# [
|
1645
|
-
# "Groonga",
|
1646
|
-
# 10,
|
1647
|
-
# 1
|
1648
|
-
# ],
|
1649
|
-
# [
|
1650
2812
|
# "Groonga",
|
1651
|
-
#
|
1652
|
-
# 1
|
2813
|
+
# 2
|
1653
2814
|
# ],
|
1654
2815
|
# [
|
1655
2816
|
# "Senna",
|
1656
|
-
# 3,
|
1657
2817
|
# 2
|
1658
2818
|
# ]
|
1659
2819
|
# ]
|
@@ -1663,18 +2823,24 @@ load --table Entries_20150709
|
|
1663
2823
|
</pre></div>
|
1664
2824
|
</div>
|
1665
2825
|
</div>
|
1666
|
-
<div class="section" id="
|
1667
|
-
<span id="logical-select-
|
1668
|
-
<
|
1669
|
-
<p
|
2826
|
+
<div class="section" id="drilldowns-label-columns-name-stage">
|
2827
|
+
<span id="logical-select-drilldowns-label-columns-name-stage"></span><h4>7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code><a class="headerlink" href="#drilldowns-label-columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2828
|
+
<div class="versionadded">
|
2829
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2830
|
+
</div>
|
2831
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> を見てください。</p>
|
2832
|
+
<p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで動的カラムを作る例です。この例ではドリルダウンした各タグが1回だけ出現したかどうかを保存する動的カラムを1つ作っています。</p>
|
1670
2833
|
<p>実行例:</p>
|
1671
2834
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1672
2835
|
--logical_table Entries \
|
1673
2836
|
--shard_key created_at \
|
1674
2837
|
--limit 0 \
|
1675
2838
|
--output_columns _id \
|
1676
|
-
--
|
1677
|
-
--
|
2839
|
+
--drilldowns[tag].keys tag \
|
2840
|
+
--drilldowns[tag].columns[is_popular].stage initial \
|
2841
|
+
--drilldowns[tag].columns[is_popular].type Bool \
|
2842
|
+
--drilldowns[tag].columns[is_popular].value '_nsubrecs > 1' \
|
2843
|
+
--drilldowns[tag].output_columns _key,_nsubrecs,is_popular
|
1678
2844
|
# [
|
1679
2845
|
# [
|
1680
2846
|
# 0,
|
@@ -1706,19 +2872,26 @@ load --table Entries_20150709
|
|
1706
2872
|
# [
|
1707
2873
|
# "_nsubrecs",
|
1708
2874
|
# "Int32"
|
2875
|
+
# ],
|
2876
|
+
# [
|
2877
|
+
# "is_popular",
|
2878
|
+
# "Bool"
|
1709
2879
|
# ]
|
1710
2880
|
# ],
|
1711
2881
|
# [
|
1712
2882
|
# "Hello",
|
1713
|
-
# 1
|
2883
|
+
# 1,
|
2884
|
+
# false
|
1714
2885
|
# ],
|
1715
2886
|
# [
|
1716
2887
|
# "Groonga",
|
1717
|
-
# 2
|
2888
|
+
# 2,
|
2889
|
+
# true
|
1718
2890
|
# ],
|
1719
2891
|
# [
|
1720
2892
|
# "Senna",
|
1721
|
-
# 2
|
2893
|
+
# 2,
|
2894
|
+
# true
|
1722
2895
|
# ]
|
1723
2896
|
# ]
|
1724
2897
|
# }
|
@@ -1727,25 +2900,26 @@ load --table Entries_20150709
|
|
1727
2900
|
</pre></div>
|
1728
2901
|
</div>
|
1729
2902
|
</div>
|
1730
|
-
<div class="section" id="
|
1731
|
-
<span id="logical-select-
|
1732
|
-
<
|
1733
|
-
<p><
|
1734
|
-
|
1735
|
-
<p
|
2903
|
+
<div class="section" id="drilldowns-label-columns-name-flags">
|
2904
|
+
<span id="logical-select-drilldowns-label-columns-name-flags"></span><h4>7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code><a class="headerlink" href="#drilldowns-label-columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2905
|
+
<div class="versionadded">
|
2906
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2907
|
+
</div>
|
2908
|
+
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。</p>
|
2909
|
+
<p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
2910
|
+
<p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
1736
2911
|
<p>実行例:</p>
|
1737
2912
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1738
2913
|
--logical_table Entries \
|
1739
2914
|
--shard_key created_at \
|
1740
|
-
--min "2015/07/08 00:00:00" \
|
1741
|
-
--min_border "include" \
|
1742
|
-
--max "2015/07/09 00:00:00" \
|
1743
|
-
--max_border "exclude" \
|
1744
2915
|
--limit 0 \
|
1745
2916
|
--output_columns _id \
|
1746
|
-
--
|
1747
|
-
--
|
1748
|
-
--
|
2917
|
+
--drilldowns[tag].keys tag \
|
2918
|
+
--drilldowns[tag].columns[vector].stage initial \
|
2919
|
+
--drilldowns[tag].columns[vector].flags COLUMN_VECTOR \
|
2920
|
+
--drilldowns[tag].columns[vector].type ShortText \
|
2921
|
+
--drilldowns[tag].columns[vector].value 'vector_new("a", "b", "c")' \
|
2922
|
+
--drilldowns[tag].output_columns _key,vector
|
1749
2923
|
# [
|
1750
2924
|
# [
|
1751
2925
|
# 0,
|
@@ -1755,7 +2929,7 @@ load --table Entries_20150709
|
|
1755
2929
|
# [
|
1756
2930
|
# [
|
1757
2931
|
# [
|
1758
|
-
#
|
2932
|
+
# 5
|
1759
2933
|
# ],
|
1760
2934
|
# [
|
1761
2935
|
# [
|
@@ -1765,38 +2939,43 @@ load --table Entries_20150709
|
|
1765
2939
|
# ]
|
1766
2940
|
# ],
|
1767
2941
|
# {
|
1768
|
-
# "tag
|
2942
|
+
# "tag": [
|
1769
2943
|
# [
|
1770
2944
|
# 3
|
1771
2945
|
# ],
|
1772
2946
|
# [
|
1773
2947
|
# [
|
1774
|
-
# "
|
1775
|
-
# "
|
1776
|
-
# ],
|
1777
|
-
# [
|
1778
|
-
# "n_likes",
|
1779
|
-
# "UInt32"
|
2948
|
+
# "_key",
|
2949
|
+
# "ShortText"
|
1780
2950
|
# ],
|
1781
2951
|
# [
|
1782
|
-
# "
|
2952
|
+
# "vector",
|
1783
2953
|
# "ShortText"
|
1784
2954
|
# ]
|
1785
2955
|
# ],
|
1786
2956
|
# [
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
#
|
2957
|
+
# "Hello",
|
2958
|
+
# [
|
2959
|
+
# "a",
|
2960
|
+
# "b",
|
2961
|
+
# "c"
|
2962
|
+
# ]
|
1790
2963
|
# ],
|
1791
2964
|
# [
|
1792
|
-
#
|
1793
|
-
#
|
1794
|
-
#
|
2965
|
+
# "Groonga",
|
2966
|
+
# [
|
2967
|
+
# "a",
|
2968
|
+
# "b",
|
2969
|
+
# "c"
|
2970
|
+
# ]
|
1795
2971
|
# ],
|
1796
2972
|
# [
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
2973
|
+
# "Senna",
|
2974
|
+
# [
|
2975
|
+
# "a",
|
2976
|
+
# "b",
|
2977
|
+
# "c"
|
2978
|
+
# ]
|
1800
2979
|
# ]
|
1801
2980
|
# ]
|
1802
2981
|
# }
|
@@ -1805,18 +2984,25 @@ load --table Entries_20150709
|
|
1805
2984
|
</pre></div>
|
1806
2985
|
</div>
|
1807
2986
|
</div>
|
1808
|
-
<div class="section" id="
|
1809
|
-
<span id="logical-select-
|
1810
|
-
<
|
1811
|
-
<p
|
2987
|
+
<div class="section" id="drilldowns-label-columns-name-type">
|
2988
|
+
<span id="logical-select-drilldowns-label-columns-name-type"></span><h4>7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code><a class="headerlink" href="#drilldowns-label-columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2989
|
+
<div class="versionadded">
|
2990
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2991
|
+
</div>
|
2992
|
+
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。</p>
|
2993
|
+
<p>必須の引数です。</p>
|
2994
|
+
<p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
1812
2995
|
<p>実行例:</p>
|
1813
2996
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1814
2997
|
--logical_table Entries \
|
1815
2998
|
--shard_key created_at \
|
1816
2999
|
--limit 0 \
|
1817
3000
|
--output_columns _id \
|
1818
|
-
--
|
1819
|
-
--
|
3001
|
+
--drilldowns[tag].keys tag \
|
3002
|
+
--drilldowns[tag].columns[nsubrecs_string].stage initial \
|
3003
|
+
--drilldowns[tag].columns[nsubrecs_string].type ShortText \
|
3004
|
+
--drilldowns[tag].columns[nsubrecs_string].value _nsubrecs \
|
3005
|
+
--drilldowns[tag].output_columns _key,_nsubrecs,nsubrecs_string
|
1820
3006
|
# [
|
1821
3007
|
# [
|
1822
3008
|
# 0,
|
@@ -1836,7 +3022,7 @@ load --table Entries_20150709
|
|
1836
3022
|
# ]
|
1837
3023
|
# ],
|
1838
3024
|
# {
|
1839
|
-
# "tag
|
3025
|
+
# "tag": [
|
1840
3026
|
# [
|
1841
3027
|
# 3
|
1842
3028
|
# ],
|
@@ -1848,15 +3034,26 @@ load --table Entries_20150709
|
|
1848
3034
|
# [
|
1849
3035
|
# "_nsubrecs",
|
1850
3036
|
# "Int32"
|
3037
|
+
# ],
|
3038
|
+
# [
|
3039
|
+
# "nsubrecs_string",
|
3040
|
+
# "ShortText"
|
1851
3041
|
# ]
|
1852
3042
|
# ],
|
1853
3043
|
# [
|
3044
|
+
# "Hello",
|
3045
|
+
# 1,
|
3046
|
+
# "1"
|
3047
|
+
# ],
|
3048
|
+
# [
|
1854
3049
|
# "Groonga",
|
1855
|
-
# 2
|
3050
|
+
# 2,
|
3051
|
+
# "2"
|
1856
3052
|
# ],
|
1857
3053
|
# [
|
1858
3054
|
# "Senna",
|
1859
|
-
# 2
|
3055
|
+
# 2,
|
3056
|
+
# "2"
|
1860
3057
|
# ]
|
1861
3058
|
# ]
|
1862
3059
|
# }
|
@@ -1865,18 +3062,51 @@ load --table Entries_20150709
|
|
1865
3062
|
</pre></div>
|
1866
3063
|
</div>
|
1867
3064
|
</div>
|
1868
|
-
<div class="section" id="
|
1869
|
-
<span id="logical-select-
|
1870
|
-
<
|
1871
|
-
<p
|
3065
|
+
<div class="section" id="drilldowns-label-columns-name-value">
|
3066
|
+
<span id="logical-select-drilldowns-label-columns-name-value"></span><h4>7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code><a class="headerlink" href="#drilldowns-label-columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3067
|
+
<div class="versionadded">
|
3068
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3069
|
+
</div>
|
3070
|
+
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。</p>
|
3071
|
+
<p>必須の引数です。</p>
|
3072
|
+
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
3073
|
+
<p>実行例:</p>
|
3074
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string \
|
3075
|
+
logical_select \
|
3076
|
+
--logical_table Entries \
|
3077
|
+
--shard_key created_at \
|
3078
|
+
--limit 0 \
|
3079
|
+
--output_columns _id \
|
3080
|
+
--drilldowns[tag].keys tag \
|
3081
|
+
--drilldowns[tag].columns[tag_length].stage initial \
|
3082
|
+
--drilldowns[tag].columns[tag_length].type UInt32 \
|
3083
|
+
--drilldowns[tag].columns[tag_length].value 'string_length(_key)' \
|
3084
|
+
--drilldowns[tag].output_columns _key,tag_length
|
3085
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
3086
|
+
</pre></div>
|
3087
|
+
</div>
|
3088
|
+
</div>
|
3089
|
+
<div class="section" id="drilldowns-label-columns-name-window-sort-keys">
|
3090
|
+
<span id="logical-select-drilldowns-label-columns-name-window-sort-keys"></span><h4>7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3091
|
+
<div class="versionadded">
|
3092
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3093
|
+
</div>
|
3094
|
+
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。</p>
|
3095
|
+
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
3096
|
+
<p>以下はサブレコード数順で何番目のレコードかを計算する例です。</p>
|
1872
3097
|
<p>実行例:</p>
|
1873
3098
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1874
3099
|
--logical_table Entries \
|
1875
3100
|
--shard_key created_at \
|
1876
3101
|
--limit 0 \
|
1877
3102
|
--output_columns _id \
|
1878
|
-
--
|
1879
|
-
--
|
3103
|
+
--drilldowns[tag].keys tag \
|
3104
|
+
--drilldowns[tag].columns[record_number].stage initial \
|
3105
|
+
--drilldowns[tag].columns[record_number].type UInt32 \
|
3106
|
+
--drilldowns[tag].columns[record_number].value 'window_record_number()' \
|
3107
|
+
--drilldowns[tag].columns[record_number].window.sort_keys _nsubrecs,_key \
|
3108
|
+
--drilldowns[tag].sort_keys record_number \
|
3109
|
+
--drilldowns[tag].output_columns _key,_nsubrecs,record_number
|
1880
3110
|
# [
|
1881
3111
|
# [
|
1882
3112
|
# 0,
|
@@ -1896,7 +3126,7 @@ load --table Entries_20150709
|
|
1896
3126
|
# ]
|
1897
3127
|
# ],
|
1898
3128
|
# {
|
1899
|
-
# "tag
|
3129
|
+
# "tag": [
|
1900
3130
|
# [
|
1901
3131
|
# 3
|
1902
3132
|
# ],
|
@@ -1908,15 +3138,26 @@ load --table Entries_20150709
|
|
1908
3138
|
# [
|
1909
3139
|
# "_nsubrecs",
|
1910
3140
|
# "Int32"
|
3141
|
+
# ],
|
3142
|
+
# [
|
3143
|
+
# "record_number",
|
3144
|
+
# "UInt32"
|
1911
3145
|
# ]
|
1912
3146
|
# ],
|
1913
3147
|
# [
|
1914
3148
|
# "Hello",
|
3149
|
+
# 1,
|
1915
3150
|
# 1
|
1916
3151
|
# ],
|
1917
3152
|
# [
|
1918
3153
|
# "Groonga",
|
3154
|
+
# 2,
|
1919
3155
|
# 2
|
3156
|
+
# ],
|
3157
|
+
# [
|
3158
|
+
# "Senna",
|
3159
|
+
# 2,
|
3160
|
+
# 3
|
1920
3161
|
# ]
|
1921
3162
|
# ]
|
1922
3163
|
# }
|
@@ -1925,20 +3166,28 @@ load --table Entries_20150709
|
|
1925
3166
|
</pre></div>
|
1926
3167
|
</div>
|
1927
3168
|
</div>
|
1928
|
-
<div class="section" id="
|
1929
|
-
<span id="logical-select-
|
1930
|
-
<
|
1931
|
-
<p
|
3169
|
+
<div class="section" id="drilldowns-label-columns-name-window-group-keys">
|
3170
|
+
<span id="logical-select-drilldowns-label-columns-name-window-group-keys"></span><h4>7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3171
|
+
<div class="versionadded">
|
3172
|
+
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3173
|
+
</div>
|
3174
|
+
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。</p>
|
3175
|
+
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
3176
|
+
<p>以下はサブレコード数が同じグループ毎にタグ名順で何番目のレコードかを計算する例です。</p>
|
1932
3177
|
<p>実行例:</p>
|
1933
3178
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1934
3179
|
--logical_table Entries \
|
1935
3180
|
--shard_key created_at \
|
1936
3181
|
--limit 0 \
|
1937
3182
|
--output_columns _id \
|
1938
|
-
--
|
1939
|
-
--
|
1940
|
-
--
|
1941
|
-
--
|
3183
|
+
--drilldowns[tag].keys tag \
|
3184
|
+
--drilldowns[tag].columns[record_number].stage initial \
|
3185
|
+
--drilldowns[tag].columns[record_number].type UInt32 \
|
3186
|
+
--drilldowns[tag].columns[record_number].value 'window_record_number()' \
|
3187
|
+
--drilldowns[tag].columns[record_number].window.sort_keys _key \
|
3188
|
+
--drilldowns[tag].columns[record_number].window.group_keys _nsubrecs \
|
3189
|
+
--drilldowns[tag].sort_keys _nsubrecs,record_number \
|
3190
|
+
--drilldowns[tag].output_columns _key,_nsubrecs,record_number
|
1942
3191
|
# [
|
1943
3192
|
# [
|
1944
3193
|
# 0,
|
@@ -1972,45 +3221,24 @@ load --table Entries_20150709
|
|
1972
3221
|
# "Int32"
|
1973
3222
|
# ],
|
1974
3223
|
# [
|
1975
|
-
# "
|
1976
|
-
# "
|
1977
|
-
# ],
|
1978
|
-
# [
|
1979
|
-
# "_min",
|
1980
|
-
# "Int64"
|
1981
|
-
# ],
|
1982
|
-
# [
|
1983
|
-
# "_sum",
|
1984
|
-
# "Int64"
|
1985
|
-
# ],
|
1986
|
-
# [
|
1987
|
-
# "_avg",
|
1988
|
-
# "Float"
|
3224
|
+
# "record_number",
|
3225
|
+
# "UInt32"
|
1989
3226
|
# ]
|
1990
3227
|
# ],
|
1991
3228
|
# [
|
1992
3229
|
# "Hello",
|
1993
3230
|
# 1,
|
1994
|
-
#
|
1995
|
-
# 5,
|
1996
|
-
# 5,
|
1997
|
-
# 5.0
|
3231
|
+
# 1
|
1998
3232
|
# ],
|
1999
3233
|
# [
|
2000
3234
|
# "Groonga",
|
2001
3235
|
# 2,
|
2002
|
-
#
|
2003
|
-
# 10,
|
2004
|
-
# 25,
|
2005
|
-
# 12.5
|
3236
|
+
# 1
|
2006
3237
|
# ],
|
2007
3238
|
# [
|
2008
3239
|
# "Senna",
|
2009
3240
|
# 2,
|
2010
|
-
#
|
2011
|
-
# 3,
|
2012
|
-
# 6,
|
2013
|
-
# 3.0
|
3241
|
+
# 2
|
2014
3242
|
# ]
|
2015
3243
|
# ]
|
2016
3244
|
# }
|
@@ -2019,11 +3247,6 @@ load --table Entries_20150709
|
|
2019
3247
|
</pre></div>
|
2020
3248
|
</div>
|
2021
3249
|
</div>
|
2022
|
-
<div class="section" id="drilldown-label-calc-target">
|
2023
|
-
<span id="logical-select-drilldown-label-calc-target"></span><h4>7.3.34.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldown-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2024
|
-
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。</p>
|
2025
|
-
<p>例は <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span class="std std-ref">drilldown[${LABEL}].calc_types</span></a> を参照してください。</p>
|
2026
|
-
</div>
|
2027
3250
|
</div>
|
2028
3251
|
</div>
|
2029
3252
|
<div class="section" id="return-value">
|
@@ -2076,29 +3299,52 @@ load --table Entries_20150709
|
|
2076
3299
|
<li><a class="reference internal" href="#output-related-parameters">7.3.34.5.5. 出力関連の引数</a><ul>
|
2077
3300
|
<li><a class="reference internal" href="#output-columns">7.3.34.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
|
2078
3301
|
<li><a class="reference internal" href="#sortby">7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
|
2079
|
-
<li><a class="reference internal" href="#
|
2080
|
-
<li><a class="reference internal" href="#
|
2081
|
-
<li><a class="reference internal" href="#
|
3302
|
+
<li><a class="reference internal" href="#sort-keys">7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code></a></li>
|
3303
|
+
<li><a class="reference internal" href="#offset">7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
|
3304
|
+
<li><a class="reference internal" href="#limit">7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
|
3305
|
+
<li><a class="reference internal" href="#scorer">7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
|
3306
|
+
</ul>
|
3307
|
+
</li>
|
3308
|
+
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.34.5.6. 動的カラム関連の引数</a><ul>
|
3309
|
+
<li><a class="reference internal" href="#columns-name-stage">7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
3310
|
+
<li><a class="reference internal" href="#columns-name-flags">7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
3311
|
+
<li><a class="reference internal" href="#columns-name-type">7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
3312
|
+
<li><a class="reference internal" href="#columns-name-value">7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
3313
|
+
</ul>
|
3314
|
+
</li>
|
3315
|
+
<li><a class="reference internal" href="#window-function-related-parameters">7.3.34.5.7. ウィンドウ関数関連の引数</a><ul>
|
3316
|
+
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
3317
|
+
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
2082
3318
|
</ul>
|
2083
3319
|
</li>
|
2084
|
-
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.
|
2085
|
-
<li><a class="reference internal" href="#drilldown">7.3.34.5.
|
2086
|
-
<li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.
|
2087
|
-
<li><a class="reference internal" href="#drilldown-
|
2088
|
-
<li><a class="reference internal" href="#drilldown-
|
2089
|
-
<li><a class="reference internal" href="#drilldown-
|
2090
|
-
<li><a class="reference internal" href="#drilldown-
|
2091
|
-
<li><a class="reference internal" href="#drilldown-calc-
|
3320
|
+
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.8. ドリルダウン関連の引数</a><ul>
|
3321
|
+
<li><a class="reference internal" href="#drilldown">7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
|
3322
|
+
<li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
|
3323
|
+
<li><a class="reference internal" href="#drilldown-sort-keys">7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code></a></li>
|
3324
|
+
<li><a class="reference internal" href="#drilldown-output-columns">7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
|
3325
|
+
<li><a class="reference internal" href="#drilldown-offset">7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
|
3326
|
+
<li><a class="reference internal" href="#drilldown-limit">7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
|
3327
|
+
<li><a class="reference internal" href="#drilldown-calc-types">7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
|
3328
|
+
<li><a class="reference internal" href="#drilldown-calc-target">7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
|
3329
|
+
<li><a class="reference internal" href="#drilldown-filter">7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code></a></li>
|
2092
3330
|
</ul>
|
2093
3331
|
</li>
|
2094
|
-
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.
|
2095
|
-
<li><a class="reference internal" href="#
|
2096
|
-
<li><a class="reference internal" href="#
|
2097
|
-
<li><a class="reference internal" href="#
|
2098
|
-
<li><a class="reference internal" href="#
|
2099
|
-
<li><a class="reference internal" href="#
|
2100
|
-
<li><a class="reference internal" href="#
|
2101
|
-
<li><a class="reference internal" href="#
|
3332
|
+
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.9. 高度なドリルダウン関連のパラメーター</a><ul>
|
3333
|
+
<li><a class="reference internal" href="#drilldowns-label-keys">7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code></a></li>
|
3334
|
+
<li><a class="reference internal" href="#drilldowns-label-output-columns">7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code></a></li>
|
3335
|
+
<li><a class="reference internal" href="#drilldowns-label-sortby">7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code></a></li>
|
3336
|
+
<li><a class="reference internal" href="#drilldowns-label-sort-keys">7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code></a></li>
|
3337
|
+
<li><a class="reference internal" href="#drilldowns-label-offset">7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code></a></li>
|
3338
|
+
<li><a class="reference internal" href="#drilldowns-label-limit">7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code></a></li>
|
3339
|
+
<li><a class="reference internal" href="#drilldowns-label-calc-types">7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code></a></li>
|
3340
|
+
<li><a class="reference internal" href="#drilldowns-label-calc-target">7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code></a></li>
|
3341
|
+
<li><a class="reference internal" href="#drilldowns-label-filter">7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code></a></li>
|
3342
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-stage">7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code></a></li>
|
3343
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-flags">7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code></a></li>
|
3344
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-type">7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code></a></li>
|
3345
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-value">7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code></a></li>
|
3346
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-sort-keys">7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code></a></li>
|
3347
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-group-keys">7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code></a></li>
|
2102
3348
|
</ul>
|
2103
3349
|
</li>
|
2104
3350
|
</ul>
|
@@ -2147,7 +3393,7 @@ load --table Entries_20150709
|
|
2147
3393
|
<li class="right" >
|
2148
3394
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
2149
3395
|
>前へ</a> |</li>
|
2150
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
3396
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59ドキュメント</a> »</li>
|
2151
3397
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
2152
3398
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
2153
3399
|
</ul>
|