rroonga 6.1.3-x64-mingw32 → 7.0.2-x64-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
@@ -60,7 +60,7 @@ Enable request timeout by default
|
|
60
60
|
|
61
61
|
:doc:`/reference/executables/groonga` supports enabling request
|
62
62
|
timeout by default. You can specify the default request timeout by
|
63
|
-
:option
|
63
|
+
:option:`groonga --default-request-timeout`.
|
64
64
|
|
65
65
|
If the default request timeout is larger than 0 second, the default
|
66
66
|
request timeout is used as request timeout for all requests.
|
@@ -8,11 +8,7 @@
|
|
8
8
|
Summary
|
9
9
|
-------
|
10
10
|
|
11
|
-
log_level
|
12
|
-
|
13
|
-
Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
14
|
-
|
15
|
-
log_levelは、ログ出力レベルを設定します。
|
11
|
+
``log_level`` command sets log level of Groonga.
|
16
12
|
|
17
13
|
Syntax
|
18
14
|
------
|
@@ -32,27 +28,57 @@ Parameters
|
|
32
28
|
|
33
29
|
``level``
|
34
30
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
31
|
+
Specify log level with a character or string which means log level.
|
32
|
+
|
33
|
+
.. list-table::
|
34
|
+
:header-rows: 1
|
35
|
+
|
36
|
+
* - Value
|
37
|
+
- Alias
|
38
|
+
* - ``E``
|
39
|
+
- ``emerge`` or ``emergency``
|
40
|
+
* - ``A``
|
41
|
+
- ``alert``
|
42
|
+
* - ``C``
|
43
|
+
- ``crit`` or ``critical``
|
44
|
+
* - ``e``
|
45
|
+
- ``error``
|
46
|
+
* - ``w``
|
47
|
+
- ``warn`` or ``warning``
|
48
|
+
* - ``n``
|
49
|
+
- ``notice``
|
50
|
+
* - ``i``
|
51
|
+
- ``info``
|
52
|
+
* - ``d``
|
53
|
+
- ``debug``
|
54
|
+
* - ``-``
|
55
|
+
- ``dump``
|
56
|
+
|
57
|
+
Example::
|
58
|
+
|
59
|
+
emergency
|
60
|
+
alert
|
61
|
+
critical
|
62
|
+
error
|
63
|
+
warning
|
64
|
+
notice
|
65
|
+
info
|
66
|
+
debug
|
45
67
|
|
46
68
|
Return value
|
47
69
|
------------
|
48
70
|
|
49
|
-
::
|
71
|
+
``log_level`` command returns whether log level configuration is succeeded or not::
|
72
|
+
|
73
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
74
|
+
|
75
|
+
``HEADER``
|
50
76
|
|
51
|
-
|
77
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
52
78
|
|
53
|
-
|
79
|
+
``SUCCEEDED_OR_NOT``
|
54
80
|
|
55
|
-
|
81
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
56
82
|
|
57
83
|
See also
|
58
84
|
--------
|
@@ -46,17 +46,69 @@ parameters are optional::
|
|
46
46
|
[drilldown_limit=10]
|
47
47
|
[drilldown_calc_types=NONE]
|
48
48
|
[drilldown_calc_target=null]
|
49
|
+
[sort_keys=null]
|
50
|
+
[drilldown_sort_keys=null]
|
51
|
+
[match_columns=null]
|
52
|
+
[query=null]
|
53
|
+
[drilldown_filter=null]
|
49
54
|
|
50
|
-
|
55
|
+
This command has the following named parameters for dynamic columns:
|
56
|
+
|
57
|
+
* ``columns[${NAME}].stage=null``
|
58
|
+
* ``columns[${NAME}].flags=COLUMN_SCALAR``
|
59
|
+
* ``columns[${NAME}].type=null``
|
60
|
+
* ``columns[${NAME}].value=null``
|
61
|
+
* ``columns[${NAME}].window.sort_keys=null``
|
62
|
+
* ``columns[${NAME}].window.group_keys=null``
|
63
|
+
|
64
|
+
You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For
|
65
|
+
example, ``column1`` is a valid ``${NAME}``. This is the same rule as
|
66
|
+
normal column. See also :ref:`column-create-name`.
|
67
|
+
|
68
|
+
Parameters that have the same ``${NAME}`` are grouped.
|
69
|
+
|
70
|
+
For example, the following parameters specify one dynamic column:
|
71
|
+
|
72
|
+
* ``--columns[name].stage initial``
|
73
|
+
* ``--columns[name].type UInt32``
|
74
|
+
* ``--columns[name].value 29``
|
75
|
+
|
76
|
+
The following parameters specify two dynamic columns:
|
77
|
+
|
78
|
+
* ``--columns[name1].stage initial``
|
79
|
+
* ``--columns[name1].type UInt32``
|
80
|
+
* ``--columns[name1].value 29``
|
81
|
+
* ``--columns[name2].stage filtered``
|
82
|
+
* ``--columns[name2].type Float``
|
83
|
+
* ``--columns[name2].value '_score * 0.1'``
|
84
|
+
|
85
|
+
This command has the following named parameters for advanced
|
51
86
|
drilldown:
|
52
87
|
|
53
|
-
* ``
|
54
|
-
* ``
|
55
|
-
* ``
|
56
|
-
* ``
|
57
|
-
* ``
|
58
|
-
* ``
|
59
|
-
* ``
|
88
|
+
* ``drilldowns[${LABEL}].keys=null``
|
89
|
+
* ``drilldowns[${LABEL}].sort_keys=null``
|
90
|
+
* ``drilldowns[${LABEL}].output_columns="_key, _nsubrecs"``
|
91
|
+
* ``drilldowns[${LABEL}].offset=0``
|
92
|
+
* ``drilldowns[${LABEL}].limit=10``
|
93
|
+
* ``drilldowns[${LABEL}].calc_types=NONE``
|
94
|
+
* ``drilldowns[${LABEL}].calc_target=null``
|
95
|
+
* ``drilldowns[${LABEL}].filter=null``
|
96
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].stage=null``
|
97
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``
|
98
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].type=null``
|
99
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].value=null``
|
100
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``
|
101
|
+
* ``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``
|
102
|
+
|
103
|
+
.. deprecated:: 6.1.4
|
104
|
+
|
105
|
+
``drilldown[...]`` syntax is deprecated. Use ``drilldowns[...]``
|
106
|
+
instead.
|
107
|
+
|
108
|
+
.. deprecated:: 6.1.5
|
109
|
+
|
110
|
+
:ref:`logical-select-drilldowns-label-sortby` is deprecated.
|
111
|
+
Use :ref:`logical-select-drilldowns-label-sort-keys` instead.
|
60
112
|
|
61
113
|
You can use one or more alphabets, digits, ``_`` and ``.`` for
|
62
114
|
``${LABEL}``. For example, ``parent.sub1`` is a valid ``${LABEL}``.
|
@@ -65,15 +117,15 @@ Parameters that have the same ``${LABEL}`` are grouped.
|
|
65
117
|
|
66
118
|
For example, the following parameters specify one drilldown:
|
67
119
|
|
68
|
-
* ``--
|
69
|
-
* ``--
|
120
|
+
* ``--drilldowns[label].keys column``
|
121
|
+
* ``--drilldowns[label].sort_keys -_nsubrecs``
|
70
122
|
|
71
123
|
The following parameters specify two drilldowns:
|
72
124
|
|
73
|
-
* ``--
|
74
|
-
* ``--
|
75
|
-
* ``--
|
76
|
-
* ``--
|
125
|
+
* ``--drilldowns[label1].keys column1``
|
126
|
+
* ``--drilldowns[label1].sort_keys -_nsubrecs``
|
127
|
+
* ``--drilldowns[label2].keys column2``
|
128
|
+
* ``--drilldowns[label2].sort_keys _key``
|
77
129
|
|
78
130
|
Differences from ``select``
|
79
131
|
---------------------------
|
@@ -86,12 +138,12 @@ But there are some differences from :doc:`select`:
|
|
86
138
|
|
87
139
|
* ``logical_table`` and ``shard_key`` parameters are required
|
88
140
|
instead of ``table`` parameter.
|
89
|
-
* ``
|
141
|
+
* ``sort_keys`` isn't supported when multiple shards are used. (Only
|
90
142
|
one shard is used, they are supported.)
|
91
|
-
* ``_value.${KEY_NAME}`` in ``
|
92
|
-
work with multiple shards. It works with one
|
93
|
-
``
|
94
|
-
|
143
|
+
* ``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys``
|
144
|
+
doesn't work with multiple shards. It works with one
|
145
|
+
shard. ``_key`` in ``drilldowns[${LABEL}].sort_keys`` work with
|
146
|
+
multiple shards.
|
95
147
|
* ``cache`` isn't supported yet.
|
96
148
|
* ``match_escalation_threshold`` isn't supported yet.
|
97
149
|
* ``query_flags`` isn't supported yet.
|
@@ -364,22 +416,48 @@ Search related parameters
|
|
364
416
|
``logical_select`` provides :doc:`select` compatible search related
|
365
417
|
parameters.
|
366
418
|
|
367
|
-
``match_columns`` and ``query`` aren't supported yet. ``filter`` is
|
368
|
-
only supported for now.
|
369
|
-
|
370
419
|
.. _logical-select-match-columns:
|
371
420
|
|
372
421
|
``match_columns``
|
373
422
|
"""""""""""""""""
|
374
423
|
|
375
|
-
|
424
|
+
.. versionadded:: 7.0.1
|
425
|
+
|
426
|
+
Corresponds to :ref:`select-match-columns` in :doc:`select`. See
|
427
|
+
:ref:`select-match-columns` for details.
|
428
|
+
|
429
|
+
Here is an example to find records that include ``"fast"`` text in
|
430
|
+
``content`` column:
|
431
|
+
|
432
|
+
.. groonga-command
|
433
|
+
.. include:: ../../example/reference/commands/logical_select/match_columns.log
|
434
|
+
.. logical_select \
|
435
|
+
.. --logical_table Entries \
|
436
|
+
.. --shard_key created_at \
|
437
|
+
.. --match_columns content \
|
438
|
+
.. --query "fast"
|
376
439
|
|
377
440
|
.. _logical-select-query:
|
378
441
|
|
379
442
|
``query``
|
380
443
|
"""""""""
|
381
444
|
|
382
|
-
|
445
|
+
.. versionadded:: 7.0.1
|
446
|
+
|
447
|
+
Corresponds to :ref:`select-query` in :doc:`select`. See
|
448
|
+
:ref:`select-query` for details.
|
449
|
+
|
450
|
+
Here is an example to find records that include ``"fast"`` text in
|
451
|
+
``content`` column:
|
452
|
+
|
453
|
+
.. groonga-command
|
454
|
+
.. include:: ../../example/reference/commands/logical_select/query.log
|
455
|
+
.. logical_select \
|
456
|
+
.. --logical_table Entries \
|
457
|
+
.. --shard_key created_at \
|
458
|
+
.. --query "content:@fast"
|
459
|
+
|
460
|
+
See also :ref:`logical-select-match-columns`.
|
383
461
|
|
384
462
|
.. _logical-select-filter:
|
385
463
|
|
@@ -451,17 +529,26 @@ Here is an example:
|
|
451
529
|
``sortby``
|
452
530
|
""""""""""
|
453
531
|
|
454
|
-
|
455
|
-
|
532
|
+
.. deprecated:: 6.1.5
|
533
|
+
|
534
|
+
Use :ref:`logical-select-sort-keys` instead.
|
456
535
|
|
457
|
-
|
458
|
-
|
459
|
-
|
536
|
+
.. _logical-select-sort-keys:
|
537
|
+
|
538
|
+
``sort_keys``
|
539
|
+
"""""""""""""
|
540
|
+
|
541
|
+
Corresponds to :ref:`select-sort-keys` in :doc:`select`. See
|
542
|
+
:ref:`select-sort-keys` for details.
|
543
|
+
|
544
|
+
``sort_keys`` has a limitation. It works only when the number of
|
545
|
+
search target shards is one. If the number of search target shards is
|
546
|
+
larger than one, ``sort_keys`` doesn't work.
|
460
547
|
|
461
548
|
Here is an example that uses only one shard:
|
462
549
|
|
463
550
|
.. groonga-command
|
464
|
-
.. include:: ../../example/reference/commands/logical_select/
|
551
|
+
.. include:: ../../example/reference/commands/logical_select/sort_keys.log
|
465
552
|
.. logical_select \
|
466
553
|
.. --logical_table Entries \
|
467
554
|
.. --shard_key created_at \
|
@@ -469,7 +556,7 @@ Here is an example that uses only one shard:
|
|
469
556
|
.. --min_border "include" \
|
470
557
|
.. --max "2015/07/09 00:00:00" \
|
471
558
|
.. --max_border "exclude" \
|
472
|
-
.. --
|
559
|
+
.. --sort_keys _key
|
473
560
|
|
474
561
|
.. _logical-select-offset:
|
475
562
|
|
@@ -512,6 +599,204 @@ Here is an example:
|
|
512
599
|
|
513
600
|
Not implemented yet.
|
514
601
|
|
602
|
+
.. _logical-select-dynamic-column-related-parameters:
|
603
|
+
|
604
|
+
Dynamic column related parameters
|
605
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
606
|
+
|
607
|
+
.. versionadded:: 7.0.1
|
608
|
+
|
609
|
+
All dynamic column related parameters in :doc:`select` are
|
610
|
+
supported. See :ref:`select-dynamic-column-related-parameters` for
|
611
|
+
details.
|
612
|
+
|
613
|
+
.. _logical-select-columns-name-stage:
|
614
|
+
|
615
|
+
``columns[${NAME}].stage``
|
616
|
+
""""""""""""""""""""""""""
|
617
|
+
|
618
|
+
.. versionadded:: 7.0.1
|
619
|
+
|
620
|
+
Corresponds to :ref:`select-columns-name-stage` in :doc:`select`. See
|
621
|
+
:ref:`select-columns-name-stage` for details.
|
622
|
+
|
623
|
+
This is a required parameter.
|
624
|
+
|
625
|
+
Here is an example that creates ``is_popular`` column at ``initial``
|
626
|
+
stage. You can use ``is_popular`` in all parameters such as ``filter``
|
627
|
+
and ``output_columns``:
|
628
|
+
|
629
|
+
.. groonga-command
|
630
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_stage.log
|
631
|
+
.. logical_select \
|
632
|
+
.. --logical_table Entries \
|
633
|
+
.. --shard_key created_at \
|
634
|
+
.. --columns[is_popular].stage initial \
|
635
|
+
.. --columns[is_popular].type Bool \
|
636
|
+
.. --columns[is_popular].value 'n_likes >= 10' \
|
637
|
+
.. --filter is_popular \
|
638
|
+
.. --output_columns _id,is_popular,n_likes
|
639
|
+
|
640
|
+
.. _logical-select-columns-name-flags:
|
641
|
+
|
642
|
+
``columns[${NAME}].flags``
|
643
|
+
""""""""""""""""""""""""""
|
644
|
+
|
645
|
+
.. versionadded:: 7.0.1
|
646
|
+
|
647
|
+
Corresponds to :ref:`select-columns-name-flags` in :doc:`select`. See
|
648
|
+
:ref:`select-columns-name-flags` for details.
|
649
|
+
|
650
|
+
The default value is ``COLUMN_SCALAR``.
|
651
|
+
|
652
|
+
Here is an example that creates a vector column by ``COLUMN_VECTOR``
|
653
|
+
flags. ``plugin_register functions/vector`` is for using
|
654
|
+
:doc:`/reference/functions/vector_new` function:
|
655
|
+
|
656
|
+
.. groonga-command
|
657
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_flags.log
|
658
|
+
.. plugin_register functions/vector
|
659
|
+
.. logical_select \
|
660
|
+
.. --logical_table Entries \
|
661
|
+
.. --shard_key created_at \
|
662
|
+
.. --columns[vector].stage initial \
|
663
|
+
.. --columns[vector].flags COLUMN_VECTOR \
|
664
|
+
.. --columns[vector].type UInt32 \
|
665
|
+
.. --columns[vector].value 'vector_new(1, 2, 3)' \
|
666
|
+
.. --output_columns _id,vector
|
667
|
+
|
668
|
+
.. _logical-select-columns-name-type:
|
669
|
+
|
670
|
+
``columns[${NAME}].type``
|
671
|
+
"""""""""""""""""""""""""
|
672
|
+
|
673
|
+
.. versionadded:: 7.0.1
|
674
|
+
|
675
|
+
Corresponds to :ref:`select-columns-name-type` in :doc:`select`. See
|
676
|
+
:ref:`select-columns-name-type` for details.
|
677
|
+
|
678
|
+
This is a required parameter.
|
679
|
+
|
680
|
+
Here is an example that creates a ``ShortText`` type column. Stored
|
681
|
+
value is casted to ``ShortText`` automatically. In this example,
|
682
|
+
number is casted to ``ShortText``:
|
683
|
+
|
684
|
+
.. groonga-command
|
685
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_type.log
|
686
|
+
.. logical_select \
|
687
|
+
.. --logical_table Entries \
|
688
|
+
.. --shard_key created_at \
|
689
|
+
.. --columns[n_likes_string].stage initial \
|
690
|
+
.. --columns[n_likes_string].type ShortText \
|
691
|
+
.. --columns[n_likes_string].value n_likes \
|
692
|
+
.. --output_columns _id,n_likes,n_likes_string
|
693
|
+
|
694
|
+
.. _logical-select-columns-name-value:
|
695
|
+
|
696
|
+
``columns[${NAME}].value``
|
697
|
+
""""""""""""""""""""""""""
|
698
|
+
|
699
|
+
.. versionadded:: 7.0.1
|
700
|
+
|
701
|
+
Corresponds to :ref:`select-columns-name-value` in :doc:`select`. See
|
702
|
+
:ref:`select-columns-name-value` for details.
|
703
|
+
|
704
|
+
You need to specify :doc:`/reference/window_function` as ``value``
|
705
|
+
value and other window function related parameters when you use window
|
706
|
+
function. See :ref:`logical-select-window-function-related-parameters`
|
707
|
+
for details.
|
708
|
+
|
709
|
+
This is a required parameter.
|
710
|
+
|
711
|
+
Here is an example that creates a new dynamic column that stores the
|
712
|
+
number of characters of content. This example uses
|
713
|
+
:doc:`/reference/functions/string_length` function in
|
714
|
+
``functions/string`` plugin to compute the number of characters in a
|
715
|
+
string. :doc:`plugin_register` is used to register
|
716
|
+
``functions/string`` plugin:
|
717
|
+
|
718
|
+
.. groonga-command
|
719
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_value.log
|
720
|
+
.. plugin_register functions/string
|
721
|
+
.. logical_select \
|
722
|
+
.. --logical_table Entries \
|
723
|
+
.. --shard_key created_at \
|
724
|
+
.. --columns[content_length].stage initial \
|
725
|
+
.. --columns[content_length].type UInt32 \
|
726
|
+
.. --columns[content_length].value 'string_length(content)' \
|
727
|
+
.. --output_columns _id,content,content_length
|
728
|
+
|
729
|
+
.. _logical-select-window-function-related-parameters:
|
730
|
+
|
731
|
+
Window function related parameters
|
732
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
733
|
+
|
734
|
+
.. versionadded:: 7.0.1
|
735
|
+
|
736
|
+
All window function related parameters in :doc:`select` are
|
737
|
+
supported. See :ref:`select-window-function-related-parameters` for
|
738
|
+
details.
|
739
|
+
|
740
|
+
.. _logical-select-columns-name-window-sort-keys:
|
741
|
+
|
742
|
+
``columns[${NAME}].window.sort_keys``
|
743
|
+
"""""""""""""""""""""""""""""""""""""
|
744
|
+
|
745
|
+
.. versionadded:: 7.0.1
|
746
|
+
|
747
|
+
Corresponds to :ref:`select-columns-name-window-sort-keys` in
|
748
|
+
:doc:`select`. See :ref:`select-columns-name-window-sort-keys` for
|
749
|
+
details.
|
750
|
+
|
751
|
+
You must specify :ref:`logical-select-columns-name-window-sort-keys`
|
752
|
+
or :ref:`logical-select-columns-name-window-group-keys` to use window
|
753
|
+
function.
|
754
|
+
|
755
|
+
Here is an example that computes cumulative sum per
|
756
|
+
``Entries.tag``. Each group is sorted by ``Entries._key``:
|
757
|
+
|
758
|
+
.. groonga-command
|
759
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_window_sort_keys.log
|
760
|
+
.. logical_select \
|
761
|
+
.. --logical_table Entries \
|
762
|
+
.. --shard_key created_at \
|
763
|
+
.. --columns[n_likes_cumulative_sum_per_tag].stage initial \
|
764
|
+
.. --columns[n_likes_cumulative_sum_per_tag].type UInt32 \
|
765
|
+
.. --columns[n_likes_cumulative_sum_per_tag].value 'window_sum(n_likes)' \
|
766
|
+
.. --columns[n_likes_cumulative_sum_per_tag].window.sort_keys _key \
|
767
|
+
.. --columns[n_likes_cumulative_sum_per_tag].window.group_keys tag \
|
768
|
+
.. --sort_keys _key \
|
769
|
+
.. --output_columns tag,_key,n_likes,n_likes_cumulative_sum_per_tag
|
770
|
+
|
771
|
+
.. _logical-select-columns-name-window-group-keys:
|
772
|
+
|
773
|
+
``columns[${NAME}].window.group_keys``
|
774
|
+
""""""""""""""""""""""""""""""""""""""
|
775
|
+
|
776
|
+
.. versionadded:: 7.0.1
|
777
|
+
|
778
|
+
Corresponds to :ref:`select-columns-name-window-group-keys` in
|
779
|
+
:doc:`select`. See :ref:`select-columns-name-window-group-keys` for
|
780
|
+
details.
|
781
|
+
|
782
|
+
You must specify :ref:`logical-select-columns-name-window-sort-keys`
|
783
|
+
or :ref:`logical-select-columns-name-window-group-keys` to use window
|
784
|
+
function.
|
785
|
+
|
786
|
+
Here is an example that computes sum per ``Entries.tag``:
|
787
|
+
|
788
|
+
.. groonga-command
|
789
|
+
.. include:: ../../example/reference/commands/logical_select/columns_name_window_group_keys.log
|
790
|
+
.. logical_select \
|
791
|
+
.. --logical_table Entries \
|
792
|
+
.. --shard_key created_at \
|
793
|
+
.. --columns[n_likes_sum_per_tag].stage initial \
|
794
|
+
.. --columns[n_likes_sum_per_tag].type UInt32 \
|
795
|
+
.. --columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
|
796
|
+
.. --columns[n_likes_sum_per_tag].window.group_keys tag \
|
797
|
+
.. --sort_keys _key \
|
798
|
+
.. --output_columns tag,_key,n_likes,n_likes_sum_per_tag
|
799
|
+
|
515
800
|
.. _logical-select-drilldown-related-parameters:
|
516
801
|
|
517
802
|
Drilldown related parameters
|
@@ -543,20 +828,29 @@ Here is an example:
|
|
543
828
|
``drilldown_sortby``
|
544
829
|
""""""""""""""""""""
|
545
830
|
|
546
|
-
|
547
|
-
|
831
|
+
.. deprecated:: 6.1.5
|
832
|
+
|
833
|
+
Use :ref:`logical-select-drilldown-sort-keys` instead.
|
834
|
+
|
835
|
+
.. _logical-select-drilldown-sort-keys:
|
836
|
+
|
837
|
+
``drilldown_sort_keys``
|
838
|
+
"""""""""""""""""""""""
|
839
|
+
|
840
|
+
Corresponds to :ref:`select-drilldown-sort-keys` in :doc:`select`. See
|
841
|
+
:ref:`select-drilldown-sort-keys` for details.
|
548
842
|
|
549
843
|
Here is an example:
|
550
844
|
|
551
845
|
.. groonga-command
|
552
|
-
.. include:: ../../example/reference/commands/logical_select/
|
846
|
+
.. include:: ../../example/reference/commands/logical_select/drilldown_sort_keys.log
|
553
847
|
.. logical_select \
|
554
848
|
.. --logical_table Entries \
|
555
849
|
.. --shard_key created_at \
|
556
850
|
.. --limit 0 \
|
557
851
|
.. --output_columns _id \
|
558
852
|
.. --drilldown tag \
|
559
|
-
.. --
|
853
|
+
.. --drilldown_sort_keys -_nsubrecs,_key
|
560
854
|
|
561
855
|
.. _logical-select-drilldown-output-columns:
|
562
856
|
|
@@ -650,6 +944,30 @@ Corresponds to :ref:`select-drilldown-calc-target` in
|
|
650
944
|
|
651
945
|
See also :ref:`logical-select-drilldown-calc-types` for an example.
|
652
946
|
|
947
|
+
.. _logical-select-drilldown-filter:
|
948
|
+
|
949
|
+
``drilldown_filter``
|
950
|
+
""""""""""""""""""""
|
951
|
+
|
952
|
+
.. versionadded:: 7.0.1
|
953
|
+
|
954
|
+
Corresponds to :ref:`select-drilldown-filter` in
|
955
|
+
:doc:`select`. See :ref:`select-drilldown-filter` for details.
|
956
|
+
|
957
|
+
Here is an example to suppress drilled down tags that are occurred
|
958
|
+
only once:
|
959
|
+
|
960
|
+
.. groonga-command
|
961
|
+
.. include:: ../../example/reference/commands/logical_select/drilldown_filter.log
|
962
|
+
.. logical_select \
|
963
|
+
.. --logical_table Entries \
|
964
|
+
.. --shard_key created_at \
|
965
|
+
.. --limit 0 \
|
966
|
+
.. --output_columns _id \
|
967
|
+
.. --drilldown tag \
|
968
|
+
.. --drilldown_filter "_nsubrecs > 1" \
|
969
|
+
.. --drilldown_output_columns _key,_nsubrecs
|
970
|
+
|
653
971
|
.. _logical-select-advanced-drilldown-related-parameters:
|
654
972
|
|
655
973
|
Advanced drilldown related parameters
|
@@ -661,70 +979,80 @@ details.
|
|
661
979
|
|
662
980
|
There are some limitations:
|
663
981
|
|
664
|
-
* ``_value.${KEY_NAME}`` in ``
|
665
|
-
work with multiple shards. It works with one
|
666
|
-
``
|
982
|
+
* ``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys``
|
983
|
+
doesn't work with multiple shards. It works with one
|
984
|
+
shard. ``_key`` in ``drilldowns[${LABEL}].sort_key`` work with
|
985
|
+
multiple shards.
|
667
986
|
|
668
|
-
.. _logical-select-
|
987
|
+
.. _logical-select-drilldowns-label-keys:
|
669
988
|
|
670
|
-
``
|
671
|
-
""""""""""""""""""""""""""""
|
989
|
+
``drilldowns[${LABEL}].keys``
|
990
|
+
"""""""""""""""""""""""""""""
|
672
991
|
|
673
|
-
Corresponds to :ref:`select-
|
674
|
-
:doc:`select`. See :ref:`select-
|
992
|
+
Corresponds to :ref:`select-drilldowns-label-keys` in
|
993
|
+
:doc:`select`. See :ref:`select-drilldowns-label-keys` for details.
|
675
994
|
|
676
995
|
Here is an example:
|
677
996
|
|
678
997
|
.. groonga-command
|
679
|
-
.. include:: ../../example/reference/commands/logical_select/
|
998
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_keys.log
|
680
999
|
.. logical_select \
|
681
1000
|
.. --logical_table Entries \
|
682
1001
|
.. --shard_key created_at \
|
683
1002
|
.. --limit 0 \
|
684
1003
|
.. --output_columns _id \
|
685
|
-
.. --
|
686
|
-
.. --
|
1004
|
+
.. --drilldowns[tag.n_likes].keys tag,n_likes \
|
1005
|
+
.. --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
|
687
1006
|
|
688
|
-
.. _logical-select-
|
1007
|
+
.. _logical-select-drilldowns-label-output-columns:
|
689
1008
|
|
690
|
-
``
|
691
|
-
""""""""""""""""""""""""""""""""""""""
|
1009
|
+
``drilldowns[${LABEL}].output_columns``
|
1010
|
+
"""""""""""""""""""""""""""""""""""""""
|
692
1011
|
|
693
|
-
Corresponds to :ref:`select-
|
694
|
-
:doc:`select`. See :ref:`select-
|
1012
|
+
Corresponds to :ref:`select-drilldowns-label-output-columns` in
|
1013
|
+
:doc:`select`. See :ref:`select-drilldowns-label-output-columns` for
|
695
1014
|
details.
|
696
1015
|
|
697
1016
|
Here is an example:
|
698
1017
|
|
699
1018
|
.. groonga-command
|
700
|
-
.. include:: ../../example/reference/commands/logical_select/
|
1019
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_output_columns.log
|
701
1020
|
.. logical_select \
|
702
1021
|
.. --logical_table Entries \
|
703
1022
|
.. --shard_key created_at \
|
704
1023
|
.. --limit 0 \
|
705
1024
|
.. --output_columns _id \
|
706
|
-
.. --
|
707
|
-
.. --
|
1025
|
+
.. --drilldowns[tag].keys tag \
|
1026
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs
|
708
1027
|
|
709
|
-
.. _logical-select-
|
1028
|
+
.. _logical-select-drilldowns-label-sortby:
|
710
1029
|
|
711
|
-
``
|
712
|
-
""""""""""""""""""""""""""""""
|
1030
|
+
``drilldowns[${LABEL}].sortby``
|
1031
|
+
"""""""""""""""""""""""""""""""
|
713
1032
|
|
714
|
-
|
715
|
-
|
1033
|
+
.. deprecated:: 6.1.5
|
1034
|
+
|
1035
|
+
Use :ref:`logical-select-drilldowns-label-sort-keys` instead.
|
716
1036
|
|
717
|
-
|
1037
|
+
.. _logical-select-drilldowns-label-sort-keys:
|
1038
|
+
|
1039
|
+
``drilldowns[${LABEL}].sort_keys``
|
1040
|
+
""""""""""""""""""""""""""""""""""
|
1041
|
+
|
1042
|
+
Corresponds to :ref:`logical-select-drilldown-sort-keys` in not
|
1043
|
+
labeled drilldown.
|
718
1044
|
|
719
|
-
``
|
720
|
-
|
721
|
-
``
|
1045
|
+
``drilldowns[${LABEL}].sort_keys`` has a limitation.
|
1046
|
+
|
1047
|
+
``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys`` doesn't
|
1048
|
+
work with multiple shards. It works with one shard. ``_key`` in
|
1049
|
+
``drilldowns[${LABEL}].sort_keys`` work with multiple shards.
|
722
1050
|
|
723
1051
|
Here is an example that uses ``_value.${KEY_NAME}`` with only one
|
724
1052
|
shard:
|
725
1053
|
|
726
1054
|
.. groonga-command
|
727
|
-
.. include:: ../../example/reference/commands/logical_select/
|
1055
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_sort_keys.log
|
728
1056
|
.. logical_select \
|
729
1057
|
.. --logical_table Entries \
|
730
1058
|
.. --shard_key created_at \
|
@@ -734,14 +1062,14 @@ shard:
|
|
734
1062
|
.. --max_border "exclude" \
|
735
1063
|
.. --limit 0 \
|
736
1064
|
.. --output_columns _id \
|
737
|
-
.. --
|
738
|
-
.. --
|
739
|
-
.. --
|
1065
|
+
.. --drilldowns[tag.n_likes].keys tag,n_likes \
|
1066
|
+
.. --drilldowns[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
|
1067
|
+
.. --drilldowns[tag.n_likes].sort_keys -_nsubrecs,_value.n_likes,_value.tag
|
740
1068
|
|
741
|
-
.. _logical-select-
|
1069
|
+
.. _logical-select-drilldowns-label-offset:
|
742
1070
|
|
743
|
-
``
|
744
|
-
""""""""""""""""""""""""""""""
|
1071
|
+
``drilldowns[${LABEL}].offset``
|
1072
|
+
"""""""""""""""""""""""""""""""
|
745
1073
|
|
746
1074
|
Corresponds to :ref:`logical-select-drilldown-offset` in not labeled
|
747
1075
|
drilldown.
|
@@ -749,19 +1077,19 @@ drilldown.
|
|
749
1077
|
Here is an example:
|
750
1078
|
|
751
1079
|
.. groonga-command
|
752
|
-
.. include:: ../../example/reference/commands/logical_select/
|
1080
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_offset.log
|
753
1081
|
.. logical_select \
|
754
1082
|
.. --logical_table Entries \
|
755
1083
|
.. --shard_key created_at \
|
756
1084
|
.. --limit 0 \
|
757
1085
|
.. --output_columns _id \
|
758
|
-
.. --
|
759
|
-
.. --
|
1086
|
+
.. --drilldowns[tag.n_likes].keys tag \
|
1087
|
+
.. --drilldowns[tag.n_likes].offset 1
|
760
1088
|
|
761
|
-
.. _logical-select-
|
1089
|
+
.. _logical-select-drilldowns-label-limit:
|
762
1090
|
|
763
|
-
``
|
764
|
-
"""""""""""""""""""""""""""""
|
1091
|
+
``drilldowns[${LABEL}].limit``
|
1092
|
+
""""""""""""""""""""""""""""""
|
765
1093
|
|
766
1094
|
Corresponds to :ref:`logical-select-drilldown-limit` in not labeled
|
767
1095
|
drilldown.
|
@@ -769,19 +1097,19 @@ drilldown.
|
|
769
1097
|
Here is an example:
|
770
1098
|
|
771
1099
|
.. groonga-command
|
772
|
-
.. include:: ../../example/reference/commands/logical_select/
|
1100
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_limit.log
|
773
1101
|
.. logical_select \
|
774
1102
|
.. --logical_table Entries \
|
775
1103
|
.. --shard_key created_at \
|
776
1104
|
.. --limit 0 \
|
777
1105
|
.. --output_columns _id \
|
778
|
-
.. --
|
779
|
-
.. --
|
1106
|
+
.. --drilldowns[tag.n_likes].keys tag \
|
1107
|
+
.. --drilldowns[tag.n_likes].limit 2
|
780
1108
|
|
781
|
-
.. _logical-select-
|
1109
|
+
.. _logical-select-drilldowns-label-calc-types:
|
782
1110
|
|
783
|
-
``
|
784
|
-
""""""""""""""""""""""""""""""""""
|
1111
|
+
``drilldowns[${LABEL}].calc_types``
|
1112
|
+
"""""""""""""""""""""""""""""""""""
|
785
1113
|
|
786
1114
|
Corresponds to :ref:`logical-select-drilldown-calc-types` in not
|
787
1115
|
labeled drilldown.
|
@@ -789,28 +1117,241 @@ labeled drilldown.
|
|
789
1117
|
Here is an example:
|
790
1118
|
|
791
1119
|
.. groonga-command
|
792
|
-
.. include:: ../../example/reference/commands/logical_select/
|
1120
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_calc_types.log
|
793
1121
|
.. logical_select \
|
794
1122
|
.. --logical_table Entries \
|
795
1123
|
.. --shard_key created_at \
|
796
1124
|
.. --limit 0 \
|
797
1125
|
.. --output_columns _id \
|
798
|
-
.. --
|
799
|
-
.. --
|
800
|
-
.. --
|
801
|
-
.. --
|
1126
|
+
.. --drilldowns[tag].keys tag \
|
1127
|
+
.. --drilldowns[tag].calc_types MAX,MIN,SUM,AVG \
|
1128
|
+
.. --drilldowns[tag].calc_target n_likes \
|
1129
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
802
1130
|
|
803
|
-
.. _logical-select-
|
1131
|
+
.. _logical-select-drilldowns-label-calc-target:
|
804
1132
|
|
805
|
-
``
|
806
|
-
"""""""""""""""""""""""""""""""""""
|
1133
|
+
``drilldowns[${LABEL}].calc_target``
|
1134
|
+
""""""""""""""""""""""""""""""""""""
|
807
1135
|
|
808
1136
|
Corresponds to :ref:`logical-select-drilldown-calc-target` in not
|
809
1137
|
labeled drilldown.
|
810
1138
|
|
811
|
-
See also :ref:`logical-select-
|
1139
|
+
See also :ref:`logical-select-drilldowns-label-calc-types`
|
812
1140
|
for an example.
|
813
1141
|
|
1142
|
+
.. _logical-select-drilldowns-label-filter:
|
1143
|
+
|
1144
|
+
``drilldowns[${LABEL}].filter``
|
1145
|
+
"""""""""""""""""""""""""""""""
|
1146
|
+
|
1147
|
+
.. versionadded:: 7.0.1
|
1148
|
+
|
1149
|
+
Corresponds to :ref:`logical-select-drilldown-filter` in not labeled
|
1150
|
+
drilldown.
|
1151
|
+
|
1152
|
+
Here is an example to suppress drilled down tags that are occurred
|
1153
|
+
only once:
|
1154
|
+
|
1155
|
+
.. groonga-command
|
1156
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_filter.log
|
1157
|
+
.. logical_select \
|
1158
|
+
.. --logical_table Entries \
|
1159
|
+
.. --shard_key created_at \
|
1160
|
+
.. --limit 0 \
|
1161
|
+
.. --output_columns _id \
|
1162
|
+
.. --drilldowns[tag].keys tag \
|
1163
|
+
.. --drilldowns[tag].filter "_nsubrecs > 1" \
|
1164
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs
|
1165
|
+
|
1166
|
+
.. _logical-select-drilldowns-label-columns-name-stage:
|
1167
|
+
|
1168
|
+
``drilldowns[${LABEL}].columns[${NAME}].stage``
|
1169
|
+
"""""""""""""""""""""""""""""""""""""""""""""""
|
1170
|
+
|
1171
|
+
.. versionadded:: 7.0.1
|
1172
|
+
|
1173
|
+
Corresponds to :ref:`select-drilldowns-label-columns-name-stage` in
|
1174
|
+
:doc:`select`. See :ref:`select-drilldowns-label-columns-name-stage`
|
1175
|
+
for details.
|
1176
|
+
|
1177
|
+
Here is an example that creates a dynamic column at ``initial``
|
1178
|
+
stage. This example creates a dynamic column that stores whether each
|
1179
|
+
drilled down tag is occurred only once or not:
|
1180
|
+
|
1181
|
+
.. groonga-command
|
1182
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_stage.log
|
1183
|
+
.. logical_select \
|
1184
|
+
.. --logical_table Entries \
|
1185
|
+
.. --shard_key created_at \
|
1186
|
+
.. --limit 0 \
|
1187
|
+
.. --output_columns _id \
|
1188
|
+
.. --drilldowns[tag].keys tag \
|
1189
|
+
.. --drilldowns[tag].columns[is_popular].stage initial \
|
1190
|
+
.. --drilldowns[tag].columns[is_popular].type Bool \
|
1191
|
+
.. --drilldowns[tag].columns[is_popular].value '_nsubrecs > 1' \
|
1192
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs,is_popular
|
1193
|
+
|
1194
|
+
.. _logical-select-drilldowns-label-columns-name-flags:
|
1195
|
+
|
1196
|
+
``drilldowns[${LABEL}].columns[${NAME}].flags``
|
1197
|
+
"""""""""""""""""""""""""""""""""""""""""""""""
|
1198
|
+
|
1199
|
+
.. versionadded:: 7.0.1
|
1200
|
+
|
1201
|
+
Corresponds to :ref:`logical-select-columns-name-flags` in main
|
1202
|
+
search.
|
1203
|
+
|
1204
|
+
The default value is ``COLUMN_SCALAR``.
|
1205
|
+
|
1206
|
+
Here is an example that creates a vector column by ``COLUMN_VECTOR``
|
1207
|
+
flags. ``plugin_register functions/vector`` is for using
|
1208
|
+
:doc:`/reference/functions/vector_new` function:
|
1209
|
+
|
1210
|
+
.. groonga-command
|
1211
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_flags.log
|
1212
|
+
.. logical_select \
|
1213
|
+
.. --logical_table Entries \
|
1214
|
+
.. --shard_key created_at \
|
1215
|
+
.. --limit 0 \
|
1216
|
+
.. --output_columns _id \
|
1217
|
+
.. --drilldowns[tag].keys tag \
|
1218
|
+
.. --drilldowns[tag].columns[vector].stage initial \
|
1219
|
+
.. --drilldowns[tag].columns[vector].flags COLUMN_VECTOR \
|
1220
|
+
.. --drilldowns[tag].columns[vector].type ShortText \
|
1221
|
+
.. --drilldowns[tag].columns[vector].value 'vector_new("a", "b", "c")' \
|
1222
|
+
.. --drilldowns[tag].output_columns _key,vector
|
1223
|
+
|
1224
|
+
.. _logical-select-drilldowns-label-columns-name-type:
|
1225
|
+
|
1226
|
+
``drilldowns[${LABEL}].columns[${NAME}].type``
|
1227
|
+
""""""""""""""""""""""""""""""""""""""""""""""
|
1228
|
+
|
1229
|
+
.. versionadded:: 7.0.1
|
1230
|
+
|
1231
|
+
Corresponds to :ref:`logical-select-columns-name-type` in main
|
1232
|
+
search.
|
1233
|
+
|
1234
|
+
This is a required parameter.
|
1235
|
+
|
1236
|
+
Here is an example that creates a ``ShortText`` type column. Stored
|
1237
|
+
value is casted to ``ShortText`` automatically. In this example,
|
1238
|
+
number is casted to ``ShortText``:
|
1239
|
+
|
1240
|
+
.. groonga-command
|
1241
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_type.log
|
1242
|
+
.. logical_select \
|
1243
|
+
.. --logical_table Entries \
|
1244
|
+
.. --shard_key created_at \
|
1245
|
+
.. --limit 0 \
|
1246
|
+
.. --output_columns _id \
|
1247
|
+
.. --drilldowns[tag].keys tag \
|
1248
|
+
.. --drilldowns[tag].columns[nsubrecs_string].stage initial \
|
1249
|
+
.. --drilldowns[tag].columns[nsubrecs_string].type ShortText \
|
1250
|
+
.. --drilldowns[tag].columns[nsubrecs_string].value _nsubrecs \
|
1251
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs,nsubrecs_string
|
1252
|
+
|
1253
|
+
.. _logical-select-drilldowns-label-columns-name-value:
|
1254
|
+
|
1255
|
+
``drilldowns[${LABEL}].columns[${NAME}].value``
|
1256
|
+
"""""""""""""""""""""""""""""""""""""""""""""""
|
1257
|
+
|
1258
|
+
.. versionadded:: 7.0.1
|
1259
|
+
|
1260
|
+
Corresponds to :ref:`logical-select-columns-name-value` in main
|
1261
|
+
search.
|
1262
|
+
|
1263
|
+
This is a required parameter.
|
1264
|
+
|
1265
|
+
Here is an example that creates a new dynamic column that stores the
|
1266
|
+
number of characters of content. This example uses
|
1267
|
+
:doc:`/reference/functions/string_length` function in
|
1268
|
+
``functions/string`` plugin to compute the number of characters in a
|
1269
|
+
string. :doc:`plugin_register` is used to register
|
1270
|
+
``functions/string`` plugin:
|
1271
|
+
|
1272
|
+
.. groonga-command
|
1273
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_value.log
|
1274
|
+
.. plugin_register functions/string \
|
1275
|
+
.. logical_select \
|
1276
|
+
.. --logical_table Entries \
|
1277
|
+
.. --shard_key created_at \
|
1278
|
+
.. --limit 0 \
|
1279
|
+
.. --output_columns _id \
|
1280
|
+
.. --drilldowns[tag].keys tag \
|
1281
|
+
.. --drilldowns[tag].columns[tag_length].stage initial \
|
1282
|
+
.. --drilldowns[tag].columns[tag_length].type UInt32 \
|
1283
|
+
.. --drilldowns[tag].columns[tag_length].value 'string_length(_key)' \
|
1284
|
+
.. --drilldowns[tag].output_columns _key,tag_length
|
1285
|
+
|
1286
|
+
.. _logical-select-drilldowns-label-columns-name-window-sort-keys:
|
1287
|
+
|
1288
|
+
``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys``
|
1289
|
+
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
1290
|
+
|
1291
|
+
.. versionadded:: 7.0.1
|
1292
|
+
|
1293
|
+
Corresponds to :ref:`logical-select-columns-name-window-sort-keys` in
|
1294
|
+
main search.
|
1295
|
+
|
1296
|
+
You must specify
|
1297
|
+
:ref:`logical-select-drilldowns-label-columns-name-window-sort-keys`
|
1298
|
+
or
|
1299
|
+
:ref:`logical-select-drilldowns-label-columns-name-window-group-keys`
|
1300
|
+
to use window function.
|
1301
|
+
|
1302
|
+
Here is an example that computes the Nth record in the number of sub
|
1303
|
+
records order:
|
1304
|
+
|
1305
|
+
.. groonga-command
|
1306
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_window_sort_keys.log
|
1307
|
+
.. logical_select \
|
1308
|
+
.. --logical_table Entries \
|
1309
|
+
.. --shard_key created_at \
|
1310
|
+
.. --limit 0 \
|
1311
|
+
.. --output_columns _id \
|
1312
|
+
.. --drilldowns[tag].keys tag \
|
1313
|
+
.. --drilldowns[tag].columns[record_number].stage initial \
|
1314
|
+
.. --drilldowns[tag].columns[record_number].type UInt32 \
|
1315
|
+
.. --drilldowns[tag].columns[record_number].value 'window_record_number()' \
|
1316
|
+
.. --drilldowns[tag].columns[record_number].window.sort_keys _nsubrecs,_key \
|
1317
|
+
.. --drilldowns[tag].sort_keys record_number \
|
1318
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs,record_number
|
1319
|
+
|
1320
|
+
.. _logical-select-drilldowns-label-columns-name-window-group-keys:
|
1321
|
+
|
1322
|
+
``drilldowns[${LABEL}].columns[${NAME}].window.group_keys``
|
1323
|
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
1324
|
+
|
1325
|
+
.. versionadded:: 7.0.1
|
1326
|
+
|
1327
|
+
Corresponds to :ref:`logical-select-columns-name-window-group-keys` in
|
1328
|
+
main search.
|
1329
|
+
|
1330
|
+
You must specify
|
1331
|
+
:ref:`logical-select-drilldowns-label-columns-name-window-sort-keys`
|
1332
|
+
or
|
1333
|
+
:ref:`logical-select-drilldowns-label-columns-name-window-group-keys`
|
1334
|
+
to use window function.
|
1335
|
+
|
1336
|
+
Here is an example that computes the Nth record ordered by tag name
|
1337
|
+
for each the same number of sub records:
|
1338
|
+
|
1339
|
+
.. groonga-command
|
1340
|
+
.. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_window_group_keys.log
|
1341
|
+
.. logical_select \
|
1342
|
+
.. --logical_table Entries \
|
1343
|
+
.. --shard_key created_at \
|
1344
|
+
.. --limit 0 \
|
1345
|
+
.. --output_columns _id \
|
1346
|
+
.. --drilldowns[tag].keys tag \
|
1347
|
+
.. --drilldowns[tag].columns[record_number].stage initial \
|
1348
|
+
.. --drilldowns[tag].columns[record_number].type UInt32 \
|
1349
|
+
.. --drilldowns[tag].columns[record_number].value 'window_record_number()' \
|
1350
|
+
.. --drilldowns[tag].columns[record_number].window.sort_keys _key \
|
1351
|
+
.. --drilldowns[tag].columns[record_number].window.group_keys _nsubrecs \
|
1352
|
+
.. --drilldowns[tag].sort_keys _nsubrecs,record_number \
|
1353
|
+
.. --drilldowns[tag].output_columns _key,_nsubrecs,record_number
|
1354
|
+
|
814
1355
|
Return value
|
815
1356
|
------------
|
816
1357
|
|