rroonga 7.0.2-x64-mingw32 → 7.1.1-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/Rakefile +2 -2
 - data/doc/text/news.md +46 -7
 - data/ext/groonga/rb-grn-array.c +1 -272
 - data/ext/groonga/rb-grn-column-cache.c +240 -0
 - data/ext/groonga/rb-grn-column.c +1 -1
 - data/ext/groonga/rb-grn-context.c +28 -4
 - data/ext/groonga/rb-grn-expression.c +23 -1
 - data/ext/groonga/rb-grn-object.c +44 -1
 - data/ext/groonga/rb-grn-procedure.c +16 -1
 - data/ext/groonga/rb-grn-query-logger.c +55 -6
 - data/ext/groonga/rb-grn-table.c +170 -1
 - data/ext/groonga/rb-grn-utils.c +21 -2
 - data/ext/groonga/rb-grn.h +18 -3
 - data/ext/groonga/rb-groonga.c +2 -1
 - 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/lib/2.4/groonga.so +0 -0
 - data/lib/2.5/groonga.so +0 -0
 - data/lib/groonga.rb +8 -5
 - data/lib/groonga/column.rb +0 -5
 - data/lib/groonga/database.rb +0 -10
 - data/lib/groonga/index-column.rb +0 -10
 - data/lib/groonga/query-logger.rb +1 -1
 - data/rroonga-build.rb +6 -6
 - data/rroonga.gemspec +1 -1
 - data/test/groonga-test-utils.rb +5 -8
 - data/test/test-array.rb +1 -131
 - data/test/test-column-cache.rb +46 -0
 - data/test/test-command-select.rb +36 -1
 - data/test/test-context.rb +1 -2
 - data/test/test-database.rb +16 -2
 - data/test/test-logger.rb +13 -1
 - data/test/test-procedure.rb +7 -1
 - data/test/test-query-logger.rb +12 -1
 - data/test/test-table-arrow.rb +193 -0
 - data/test/test-table-offset-and-limit.rb +3 -1
 - data/vendor/local/bin/cv2pdb.exe +0 -0
 - data/vendor/local/bin/generate-pdb.bat +36 -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/libgcc_s_seh-1.dll +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/libstdc++-6.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.exe +0 -0
 - 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 +1 -1
 - data/vendor/local/include/groonga/groonga.h +1 -0
 - data/vendor/local/include/groonga/groonga.hpp +21 -0
 - data/vendor/local/include/groonga/groonga/arrow.h +38 -0
 - data/vendor/local/include/groonga/groonga/arrow.hpp +21 -0
 - data/vendor/local/include/groonga/groonga/column.h +9 -0
 - data/vendor/local/include/groonga/groonga/expr.h +9 -1
 - data/vendor/local/include/groonga/groonga/groonga.h +19 -3
 - data/vendor/local/include/groonga/groonga/obj.h +3 -0
 - data/vendor/local/include/groonga/groonga/operator.h +2 -1
 - data/vendor/local/include/groonga/groonga/plugin.h +8 -0
 - data/vendor/local/include/groonga/groonga/portability.h +19 -1
 - data/vendor/local/include/groonga/groonga/table.h +14 -0
 - data/vendor/local/include/groonga/groonga/util.h +3 -0
 - data/vendor/local/include/groonga/groonga/window_function.h +2 -0
 - data/vendor/local/include/pcre.h +2 -2
 - data/vendor/local/include/pcre_stringpiece.h +2 -2
 - data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.la +41 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.la +41 -0
 - 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 +1 -1
 - 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 +1 -1
 - 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 +1 -1
 - 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 +1 -1
 - 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 +1 -1
 - 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 +1 -1
 - data/vendor/local/lib/groonga/plugins/ruby/eval.rb +1 -1
 - data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
 - data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +152 -0
 - data/vendor/local/lib/groonga/plugins/sharding/keys_parsable.rb +12 -0
 - data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +149 -106
 - data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +11 -3
 - data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +80 -6
 - data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +43 -206
 - data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +15 -0
 - 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 +1 -1
 - 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 +1 -1
 - 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 +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +163 -1
 - data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +12 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +8 -3
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -0
 - data/{lib/groonga/table.rb → vendor/local/lib/groonga/scripts/ruby/groonga-log.rb} +6 -12
 - data/vendor/local/lib/groonga/scripts/ruby/groonga-log/parser.rb +81 -0
 - data/vendor/local/lib/groonga/scripts/ruby/groonga-log/statistic.rb +23 -0
 - data/vendor/local/lib/groonga/scripts/ruby/groonga-log/version.rb +3 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
 - data/vendor/local/lib/groonga/scripts/ruby/labeled_arguments.rb +21 -0
 - data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +8 -2
 - data/vendor/local/lib/groonga/scripts/ruby/object.rb +7 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +3 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +2 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +40 -9
 - data/vendor/local/lib/groonga/scripts/ruby/table.rb +12 -2
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +1 -1
 - 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/libpcre.a +0 -0
 - data/vendor/local/lib/libpcre.dll.a +0 -0
 - data/vendor/local/lib/libpcre.la +1 -1
 - data/vendor/local/lib/libpcrecpp.a +0 -0
 - data/vendor/local/lib/libpcrecpp.dll.a +0 -0
 - data/vendor/local/lib/libpcreposix.a +0 -0
 - data/vendor/local/lib/libpcreposix.dll.a +0 -0
 - data/vendor/local/lib/libpcreposix.la +1 -1
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - 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/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/_static/basic.css +47 -19
 - data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/{jquery-1.11.1.js → jquery-3.1.0.js} +4245 -4479
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +112 -5
 - data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/client.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/community.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/development.html +13 -23
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +15 -26
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +819 -1560
 - data/vendor/local/share/doc/groonga/en/html/index.html +42 -45
 - data/vendor/local/share/doc/groonga/en/html/install.html +11 -20
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -25
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +92 -28
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +13 -24
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -24
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +13 -24
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +12 -23
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +15 -25
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -29
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +13 -23
 - data/vendor/local/share/doc/groonga/en/html/news.html +650 -43
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +15 -25
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +13 -23
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +12 -22
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +11 -21
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/5.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/6.x.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +32 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.html +12 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +10 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +35 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +56 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +42 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +583 -107
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +1143 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +166 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +13 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +138 -143
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +14 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +95 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +37 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +15 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +14 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +11 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +9 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +12 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +15 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +9 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +118 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +21 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +17 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +44 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +29 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +56 -111
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +15 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +237 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +37 -50
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +50 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +31 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +36 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +35 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +27 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +29 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +32 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +23 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +13 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +14 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +22 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +16 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +14 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +152 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +28 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +23 -34
 - data/vendor/local/share/doc/groonga/en/html/search.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/spec.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -27
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +18 -24
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -31
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +188 -0
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +9 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +12 -23
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -21
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +21 -31
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +174 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -81
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +16 -26
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +14 -25
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +47 -19
 - data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-1.11.1.js → jquery-3.1.0.js} +4245 -4479
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +112 -5
 - data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +9 -19
 - data/vendor/local/share/doc/groonga/ja/html/client.html +9 -19
 - data/vendor/local/share/doc/groonga/ja/html/community.html +11 -23
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +12 -25
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +13 -28
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +12 -26
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +16 -34
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -42
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/development.html +13 -23
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +19 -38
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +819 -1560
 - data/vendor/local/share/doc/groonga/ja/html/index.html +41 -44
 - data/vendor/local/share/doc/groonga/ja/html/install.html +11 -20
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +18 -33
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +84 -32
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +15 -28
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -24
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +28 -55
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +12 -23
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +17 -29
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -29
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -35
 - data/vendor/local/share/doc/groonga/ja/html/news.html +516 -158
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +15 -25
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +12 -22
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +10 -20
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +144 -288
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +36 -72
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +266 -532
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +224 -441
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +258 -516
 - data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +282 -562
 - data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +213 -426
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +10 -20
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +32 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +14 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +10 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +12 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +11 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +31 -64
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +56 -85
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +29 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +14 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +55 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +45 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +498 -106
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +13 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +1051 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +166 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +33 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +17 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +13 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +54 -104
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +183 -233
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +14 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +14 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +136 -147
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +145 -271
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +23 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +28 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -65
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +9 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +22 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +12 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +15 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +18 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +13 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +11 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +113 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +11 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +21 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +10 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +70 -127
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +17 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +71 -109
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +29 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -102
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +14 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +11 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +11 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +23 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +16 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +237 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +37 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +64 -89
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +31 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +42 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +38 -52
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +27 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +29 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +32 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +23 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +13 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +18 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +37 -74
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +13 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +18 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +12 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +15 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +29 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +16 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +34 -70
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +22 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +16 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +19 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +31 -64
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -77
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +16 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +14 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +153 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +28 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +23 -34
 - data/vendor/local/share/doc/groonga/ja/html/search.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +9 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +47 -95
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +26 -54
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -19
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +50 -93
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +18 -24
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +14 -25
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +186 -0
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -35
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +9 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +12 -25
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +15 -29
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +10 -21
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -47
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +177 -28
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +34 -129
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -26
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +9 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +18 -33
 - data/vendor/local/share/doc/pcre/AUTHORS +3 -3
 - data/vendor/local/share/doc/pcre/ChangeLog +94 -0
 - data/vendor/local/share/doc/pcre/LICENCE +3 -3
 - data/vendor/local/share/doc/pcre/NEWS +12 -0
 - data/vendor/local/share/doc/pcre/html/pcrecompat.html +1 -1
 - data/vendor/local/share/doc/pcre/html/pcrejit.html +52 -5
 - data/vendor/local/share/doc/pcre/html/pcrepattern.html +20 -17
 - data/vendor/local/share/doc/pcre/html/pcretest.html +7 -2
 - data/vendor/local/share/doc/pcre/pcre.txt +1103 -1055
 - data/vendor/local/share/doc/pcre/pcretest.txt +6 -2
 - data/vendor/local/share/groonga/groonga-log/README.md +44 -0
 - data/vendor/local/share/groonga/groonga-log/lgpl-2.1.txt +502 -0
 - data/vendor/local/share/groonga/mruby/LEGAL +4 -0
 - data/vendor/local/share/license/cv2pdb/LICENSE +201 -0
 - data/vendor/local/share/license/cv2pdb/README +138 -0
 - data/vendor/local/share/license/groonga-log/README.md +44 -0
 - data/vendor/local/share/license/groonga-log/lgpl-2.1.txt +502 -0
 - data/vendor/local/share/license/pcre/LICENCE +3 -3
 - data/vendor/local/share/man/man1/pcretest.1 +7 -3
 - data/vendor/local/share/man/man3/pcrecompat.3 +1 -1
 - data/vendor/local/share/man/man3/pcrejit.3 +48 -6
 - data/vendor/local/share/man/man3/pcrepattern.3 +20 -17
 - metadata +102 -559
 - data/lib/groonga/statistic-measurer.rb +0 -37
 - data/test/test-statistic-measurer.rb +0 -55
 - data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +0 -70
 - data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +0 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +0 -49
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -26
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +0 -14
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +0 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +0 -101
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +0 -94
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +0 -93
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/com.txt +0 -20
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +0 -75
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/query.txt +0 -214
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -790
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +0 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +0 -120
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/c-api.txt +0 -14
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +0 -200
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +0 -81
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +0 -27
 - data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +0 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +0 -66
 - data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -33
 - data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +0 -28
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +0 -106
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +0 -107
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +0 -97
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +0 -66
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +0 -273
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +0 -43
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +0 -99
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +0 -92
 - data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +0 -58
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +0 -315
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +0 -126
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +0 -289
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +0 -31
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +0 -390
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +0 -52
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +0 -623
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +0 -539
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +0 -689
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +0 -1250
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +0 -1086
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +0 -109
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -35
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +0 -164
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +0 -49
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_cache.txt +0 -114
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +0 -198
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_command_version.txt +0 -37
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +0 -39
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +0 -195
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +0 -134
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_encoding.txt +0 -49
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +0 -136
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +0 -55
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_hook.txt +0 -67
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ii.txt +0 -35
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_index_cursor.txt +0 -44
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_info.txt +0 -56
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_match_escalation.txt +0 -39
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +0 -269
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_proc.txt +0 -56
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_search.txt +0 -31
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table.txt +0 -219
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table_cursor.txt +0 -109
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +0 -122
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_type.txt +0 -31
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_user_data.txt +0 -29
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +0 -54
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +0 -156
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +0 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +0 -34
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +0 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +0 -40
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +0 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -332
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +0 -23
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +0 -75
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +0 -228
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt +0 -45
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +0 -41
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +0 -78
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +0 -117
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +0 -87
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +0 -161
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +0 -60
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +0 -381
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +0 -800
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +0 -209
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +0 -57
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +0 -101
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +0 -95
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +0 -96
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +0 -96
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +0 -85
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +0 -110
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +0 -55
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +0 -122
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +0 -202
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +0 -266
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +0 -100
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +0 -102
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +0 -90
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +0 -98
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +0 -87
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +0 -65
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +0 -62
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +0 -171
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +0 -134
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +0 -195
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +0 -1359
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +0 -103
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +0 -541
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +0 -155
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +0 -64
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +0 -95
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +0 -899
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +0 -405
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +0 -140
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +0 -64
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +0 -63
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/query_expand.txt +0 -38
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +0 -38
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +0 -28
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +0 -69
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +0 -142
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +0 -134
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +0 -71
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +0 -71
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +0 -627
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +0 -2776
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +0 -113
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +0 -151
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +0 -271
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_copy.txt +0 -64
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +0 -380
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +0 -81
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +0 -309
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +0 -90
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +0 -120
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +0 -110
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +0 -248
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +0 -63
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +0 -95
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/configuration.txt +0 -50
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables.txt +0 -14
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +0 -117
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +0 -68
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +0 -287
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +0 -552
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-server-http.txt +0 -57
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +0 -63
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +0 -470
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +0 -94
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -473
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +0 -20
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +0 -105
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +0 -48
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/fuzzy_search.txt +0 -23
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +0 -300
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +0 -81
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +0 -55
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -127
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -105
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +0 -80
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +0 -195
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +0 -82
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +0 -36
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/number_classify.txt +0 -20
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +0 -158
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +0 -254
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +0 -43
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +0 -114
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +0 -33
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +0 -27
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +0 -137
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_day.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_hour.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_minute.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_month.txt +0 -20
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_second.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_week.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_year.txt +0 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +0 -38
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +0 -76
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +0 -27
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +0 -59
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +0 -652
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +0 -1126
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +0 -112
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +0 -236
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +0 -133
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +0 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +0 -52
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt +0 -76
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/output.txt +0 -164
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders.txt +0 -12
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +0 -153
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +0 -436
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +0 -218
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +0 -136
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +0 -157
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -104
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest.txt +0 -17
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +0 -271
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/correction.txt +0 -148
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/introduction.txt +0 -96
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/suggestion.txt +0 -132
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +0 -216
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +0 -120
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -517
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +0 -177
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +0 -170
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +0 -22
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +0 -28
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +0 -25
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_sum.txt +0 -25
 - data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +0 -15
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +0 -48
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -25
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +0 -298
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +0 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +0 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +0 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +0 -209
 - data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +0 -13
 - data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +0 -280
 - data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +0 -115
 - data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +0 -13
 - data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
 - data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +0 -45
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +0 -22
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +0 -173
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +0 -130
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +0 -123
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +0 -294
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +0 -12
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +0 -234
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +0 -539
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -64
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +0 -58
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +0 -69
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +0 -123
 - data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +0 -70
 - data/vendor/local/share/doc/groonga/ja/html/_sources/client.txt +0 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +0 -49
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -26
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +0 -14
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +0 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +0 -101
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +0 -94
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +0 -93
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/com.txt +0 -20
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +0 -75
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/query.txt +0 -214
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -790
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +0 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +0 -120
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/c-api.txt +0 -14
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +0 -200
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +0 -81
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +0 -27
 - data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +0 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +0 -66
 - data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -33
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +0 -28
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +0 -106
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +0 -107
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +0 -97
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +0 -66
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +0 -273
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +0 -43
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +0 -99
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +0 -92
 - data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +0 -58
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +0 -315
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +0 -126
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +0 -289
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +0 -31
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +0 -390
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +0 -52
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +0 -623
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +0 -539
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +0 -689
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +0 -1250
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +0 -1086
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +0 -109
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -35
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +0 -164
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +0 -49
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_cache.txt +0 -114
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +0 -198
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_command_version.txt +0 -37
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +0 -39
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +0 -195
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +0 -134
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_encoding.txt +0 -49
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +0 -136
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +0 -55
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_hook.txt +0 -67
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ii.txt +0 -35
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_index_cursor.txt +0 -44
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_info.txt +0 -56
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_match_escalation.txt +0 -39
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +0 -269
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_proc.txt +0 -56
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_search.txt +0 -31
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table.txt +0 -219
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table_cursor.txt +0 -109
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +0 -122
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_type.txt +0 -31
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_user_data.txt +0 -29
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +0 -54
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +0 -156
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +0 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +0 -34
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +0 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +0 -40
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +0 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -332
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +0 -23
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +0 -75
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +0 -228
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt +0 -45
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +0 -41
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +0 -78
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +0 -117
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +0 -87
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +0 -161
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +0 -60
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +0 -381
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +0 -800
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +0 -209
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +0 -57
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +0 -101
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +0 -95
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +0 -96
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +0 -96
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +0 -85
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +0 -110
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +0 -55
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +0 -122
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +0 -202
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +0 -266
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +0 -100
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +0 -102
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +0 -90
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +0 -98
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +0 -87
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +0 -65
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +0 -62
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +0 -171
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +0 -134
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +0 -195
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +0 -1359
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +0 -103
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +0 -541
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +0 -155
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +0 -64
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +0 -95
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +0 -899
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +0 -405
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +0 -140
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +0 -64
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +0 -63
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/query_expand.txt +0 -38
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +0 -38
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +0 -28
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +0 -69
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +0 -142
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +0 -134
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +0 -71
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +0 -71
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +0 -627
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +0 -2776
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +0 -113
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +0 -151
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +0 -271
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_copy.txt +0 -64
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +0 -380
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +0 -81
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +0 -309
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +0 -90
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +0 -120
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +0 -110
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +0 -248
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +0 -63
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +0 -95
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/configuration.txt +0 -50
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables.txt +0 -14
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +0 -117
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +0 -68
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +0 -287
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +0 -552
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-server-http.txt +0 -57
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +0 -63
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +0 -470
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +0 -94
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -473
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +0 -20
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +0 -105
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +0 -48
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/fuzzy_search.txt +0 -23
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +0 -300
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +0 -81
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +0 -55
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -127
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -105
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +0 -80
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +0 -195
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +0 -82
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +0 -36
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/number_classify.txt +0 -20
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +0 -158
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +0 -254
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +0 -43
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +0 -114
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +0 -33
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +0 -27
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +0 -137
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_day.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_hour.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_minute.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_month.txt +0 -20
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_second.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_week.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_year.txt +0 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +0 -38
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +0 -76
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +0 -27
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +0 -59
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +0 -652
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +0 -1126
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +0 -112
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +0 -236
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +0 -133
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +0 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +0 -52
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt +0 -76
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/output.txt +0 -164
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders.txt +0 -12
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +0 -153
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +0 -436
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +0 -218
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +0 -136
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +0 -157
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -104
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest.txt +0 -17
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +0 -271
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/correction.txt +0 -148
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/introduction.txt +0 -96
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/suggestion.txt +0 -132
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +0 -216
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +0 -120
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -517
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +0 -177
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +0 -170
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +0 -22
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +0 -28
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +0 -25
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_sum.txt +0 -25
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +0 -15
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +0 -48
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -25
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +0 -298
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +0 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +0 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +0 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +0 -209
 - data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +0 -13
 - data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +0 -280
 - data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +0 -115
 - data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +0 -13
 - data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
 - data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +0 -45
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +0 -22
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +0 -173
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +0 -130
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +0 -123
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +0 -294
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +0 -12
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +0 -234
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +0 -539
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -64
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +0 -58
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +0 -69
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +0 -123
 
| 
         @@ -1,1359 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            .. -*- rst -*-
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            .. highlightlang:: none
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       6 
     | 
    
         
            -
            .. database: logical_select
         
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
            ``logical_select``
         
     | 
| 
       9 
     | 
    
         
            -
            ==================
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            Summary
         
     | 
| 
       12 
     | 
    
         
            -
            -------
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
            .. versionadded:: 5.0.5
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
            ``logical_select`` is a sharding version of
         
     | 
| 
       17 
     | 
    
         
            -
            :doc:`select`. ``logical_select`` searches records from multiple
         
     | 
| 
       18 
     | 
    
         
            -
            tables and outputs them.
         
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
            You need to :doc:`plugin_register` ``sharding`` plugin because
         
     | 
| 
       21 
     | 
    
         
            -
            ``logical_select`` is included in ``sharding`` plugin.
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
            Syntax
         
     | 
| 
       24 
     | 
    
         
            -
            ------
         
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
            This command takes many parameters.
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
            The required parameters are ``logical_table`` and ``shard_key``. Other
         
     | 
| 
       29 
     | 
    
         
            -
            parameters are optional::
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
              logical_select logical_table
         
     | 
| 
       32 
     | 
    
         
            -
                             shard_key
         
     | 
| 
       33 
     | 
    
         
            -
                             [min=null]
         
     | 
| 
       34 
     | 
    
         
            -
                             [min_border="include"]
         
     | 
| 
       35 
     | 
    
         
            -
                             [max=null]
         
     | 
| 
       36 
     | 
    
         
            -
                             [max_border="include"]
         
     | 
| 
       37 
     | 
    
         
            -
                             [filter=null]
         
     | 
| 
       38 
     | 
    
         
            -
                             [sortby=null]
         
     | 
| 
       39 
     | 
    
         
            -
                             [output_columns="_id, _key, *"]
         
     | 
| 
       40 
     | 
    
         
            -
                             [offset=0]
         
     | 
| 
       41 
     | 
    
         
            -
                             [limit=10]
         
     | 
| 
       42 
     | 
    
         
            -
                             [drilldown=null]
         
     | 
| 
       43 
     | 
    
         
            -
                             [drilldown_sortby=null]
         
     | 
| 
       44 
     | 
    
         
            -
                             [drilldown_output_columns="_key, _nsubrecs"]
         
     | 
| 
       45 
     | 
    
         
            -
                             [drilldown_offset=0]
         
     | 
| 
       46 
     | 
    
         
            -
                             [drilldown_limit=10]
         
     | 
| 
       47 
     | 
    
         
            -
                             [drilldown_calc_types=NONE]
         
     | 
| 
       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]
         
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       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
         
     | 
| 
       86 
     | 
    
         
            -
            drilldown:
         
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
            You can use one or more alphabets, digits, ``_`` and ``.`` for
         
     | 
| 
       114 
     | 
    
         
            -
            ``${LABEL}``. For example, ``parent.sub1`` is a valid ``${LABEL}``.
         
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
            Parameters that have the same ``${LABEL}`` are grouped.
         
     | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
       118 
     | 
    
         
            -
            For example, the following parameters specify one drilldown:
         
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
       120 
     | 
    
         
            -
              * ``--drilldowns[label].keys column``
         
     | 
| 
       121 
     | 
    
         
            -
              * ``--drilldowns[label].sort_keys -_nsubrecs``
         
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
            The following parameters specify two drilldowns:
         
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
       125 
     | 
    
         
            -
              * ``--drilldowns[label1].keys column1``
         
     | 
| 
       126 
     | 
    
         
            -
              * ``--drilldowns[label1].sort_keys -_nsubrecs``
         
     | 
| 
       127 
     | 
    
         
            -
              * ``--drilldowns[label2].keys column2``
         
     | 
| 
       128 
     | 
    
         
            -
              * ``--drilldowns[label2].sort_keys _key``
         
     | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
       130 
     | 
    
         
            -
            Differences from ``select``
         
     | 
| 
       131 
     | 
    
         
            -
            ---------------------------
         
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
     | 
    
         
            -
            Most of ``logical_select`` features can be used like corresponding
         
     | 
| 
       134 
     | 
    
         
            -
            :doc:`select` features. For example, parameter name is same, output
         
     | 
| 
       135 
     | 
    
         
            -
            format is same and so on.
         
     | 
| 
       136 
     | 
    
         
            -
             
     | 
| 
       137 
     | 
    
         
            -
            But there are some differences from :doc:`select`:
         
     | 
| 
       138 
     | 
    
         
            -
             
     | 
| 
       139 
     | 
    
         
            -
              * ``logical_table`` and ``shard_key`` parameters are required
         
     | 
| 
       140 
     | 
    
         
            -
                instead of ``table`` parameter.
         
     | 
| 
       141 
     | 
    
         
            -
              * ``sort_keys`` isn't supported when multiple shards are used. (Only
         
     | 
| 
       142 
     | 
    
         
            -
                one shard is used, they are supported.)
         
     | 
| 
       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.
         
     | 
| 
       147 
     | 
    
         
            -
              * ``cache`` isn't supported yet.
         
     | 
| 
       148 
     | 
    
         
            -
              * ``match_escalation_threshold`` isn't supported yet.
         
     | 
| 
       149 
     | 
    
         
            -
              * ``query_flags`` isn't supported yet.
         
     | 
| 
       150 
     | 
    
         
            -
              * ``query_expander`` isn't supported yet.
         
     | 
| 
       151 
     | 
    
         
            -
              * ``adjuster`` isn't supported yet.
         
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
            Usage
         
     | 
| 
       154 
     | 
    
         
            -
            -----
         
     | 
| 
       155 
     | 
    
         
            -
             
     | 
| 
       156 
     | 
    
         
            -
            Let's learn about ``logical_select`` usage with examples. This section
         
     | 
| 
       157 
     | 
    
         
            -
            shows many popular usages.
         
     | 
| 
       158 
     | 
    
         
            -
             
     | 
| 
       159 
     | 
    
         
            -
            You need to register ``sharding`` plugin because ``logical_select`` is
         
     | 
| 
       160 
     | 
    
         
            -
            included in ``sharding`` plugin.
         
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       163 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/usage_plugin_register.log
         
     | 
| 
       164 
     | 
    
         
            -
            .. plugin_register sharding
         
     | 
| 
       165 
     | 
    
         
            -
             
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
            Here are a schema definition and sample data to show usage.
         
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       170 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/usage_setup.log
         
     | 
| 
       171 
     | 
    
         
            -
            .. table_create Entries_20150708 TABLE_HASH_KEY ShortText
         
     | 
| 
       172 
     | 
    
         
            -
            .. column_create Entries_20150708 created_at COLUMN_SCALAR Time
         
     | 
| 
       173 
     | 
    
         
            -
            .. column_create Entries_20150708 content COLUMN_SCALAR Text
         
     | 
| 
       174 
     | 
    
         
            -
            .. column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
         
     | 
| 
       175 
     | 
    
         
            -
            .. column_create Entries_20150708 tag COLUMN_SCALAR ShortText
         
     | 
| 
       176 
     | 
    
         
            -
            ..
         
     | 
| 
       177 
     | 
    
         
            -
            .. table_create Entries_20150709 TABLE_HASH_KEY ShortText
         
     | 
| 
       178 
     | 
    
         
            -
            .. column_create Entries_20150709 created_at COLUMN_SCALAR Time
         
     | 
| 
       179 
     | 
    
         
            -
            .. column_create Entries_20150709 content COLUMN_SCALAR Text
         
     | 
| 
       180 
     | 
    
         
            -
            .. column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
         
     | 
| 
       181 
     | 
    
         
            -
            .. column_create Entries_20150709 tag COLUMN_SCALAR ShortText
         
     | 
| 
       182 
     | 
    
         
            -
            ..
         
     | 
| 
       183 
     | 
    
         
            -
            .. table_create Terms TABLE_PAT_KEY ShortText \
         
     | 
| 
       184 
     | 
    
         
            -
            ..   --default_tokenizer TokenBigram \
         
     | 
| 
       185 
     | 
    
         
            -
            ..   --normalizer NormalizerAuto
         
     | 
| 
       186 
     | 
    
         
            -
            .. column_create Terms entries_key_index_20150708 \
         
     | 
| 
       187 
     | 
    
         
            -
            ..   COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
         
     | 
| 
       188 
     | 
    
         
            -
            .. column_create Terms entries_content_index_20150708 \
         
     | 
| 
       189 
     | 
    
         
            -
            ..   COLUMN_INDEX|WITH_POSITION Entries_20150708 content
         
     | 
| 
       190 
     | 
    
         
            -
            .. column_create Terms entries_key_index_20150709 \
         
     | 
| 
       191 
     | 
    
         
            -
            ..   COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
         
     | 
| 
       192 
     | 
    
         
            -
            .. column_create Terms entries_content_index_20150709 \
         
     | 
| 
       193 
     | 
    
         
            -
            ..   COLUMN_INDEX|WITH_POSITION Entries_20150709 content
         
     | 
| 
       194 
     | 
    
         
            -
            ..
         
     | 
| 
       195 
     | 
    
         
            -
            .. load --table Entries_20150708
         
     | 
| 
       196 
     | 
    
         
            -
            .. [
         
     | 
| 
       197 
     | 
    
         
            -
            .. {"_key":       "The first post!",
         
     | 
| 
       198 
     | 
    
         
            -
            ..  "created_at": "2015/07/08 00:00:00",
         
     | 
| 
       199 
     | 
    
         
            -
            ..  "content":    "Welcome! This is my first post!",
         
     | 
| 
       200 
     | 
    
         
            -
            ..  "n_likes":    5,
         
     | 
| 
       201 
     | 
    
         
            -
            ..  "tag":        "Hello"},
         
     | 
| 
       202 
     | 
    
         
            -
            .. {"_key":       "Groonga",
         
     | 
| 
       203 
     | 
    
         
            -
            ..  "created_at": "2015/07/08 01:00:00",
         
     | 
| 
       204 
     | 
    
         
            -
            ..  "content":    "I started to use Groonga. It's very fast!",
         
     | 
| 
       205 
     | 
    
         
            -
            ..  "n_likes":    10,
         
     | 
| 
       206 
     | 
    
         
            -
            ..  "tag":        "Groonga"},
         
     | 
| 
       207 
     | 
    
         
            -
            .. {"_key":       "Mroonga",
         
     | 
| 
       208 
     | 
    
         
            -
            ..  "created_at": "2015/07/08 02:00:00",
         
     | 
| 
       209 
     | 
    
         
            -
            ..  "content":    "I also started to use Mroonga. It's also very fast! Really fast!",
         
     | 
| 
       210 
     | 
    
         
            -
            ..  "n_likes":    15,
         
     | 
| 
       211 
     | 
    
         
            -
            ..  "tag":        "Groonga"}
         
     | 
| 
       212 
     | 
    
         
            -
            .. ]
         
     | 
| 
       213 
     | 
    
         
            -
            ..
         
     | 
| 
       214 
     | 
    
         
            -
            .. load --table Entries_20150709
         
     | 
| 
       215 
     | 
    
         
            -
            .. [
         
     | 
| 
       216 
     | 
    
         
            -
            .. {"_key":       "Good-bye Senna",
         
     | 
| 
       217 
     | 
    
         
            -
            ..  "created_at": "2015/07/09 00:00:00",
         
     | 
| 
       218 
     | 
    
         
            -
            ..  "content":    "I migrated all Senna system!",
         
     | 
| 
       219 
     | 
    
         
            -
            ..  "n_likes":    3,
         
     | 
| 
       220 
     | 
    
         
            -
            ..  "tag":        "Senna"},
         
     | 
| 
       221 
     | 
    
         
            -
            .. {"_key":       "Good-bye Tritonn",
         
     | 
| 
       222 
     | 
    
         
            -
            ..  "created_at": "2015/07/09 01:00:00",
         
     | 
| 
       223 
     | 
    
         
            -
            ..  "content":    "I also migrated all Tritonn system!",
         
     | 
| 
       224 
     | 
    
         
            -
            ..  "n_likes":    3,
         
     | 
| 
       225 
     | 
    
         
            -
            ..  "tag":        "Senna"}
         
     | 
| 
       226 
     | 
    
         
            -
            .. ]
         
     | 
| 
       227 
     | 
    
         
            -
             
     | 
| 
       228 
     | 
    
         
            -
            There are two tables, ``Entries_20150708`` and ``Entries_20150709``,
         
     | 
| 
       229 
     | 
    
         
            -
            for blog entries.
         
     | 
| 
       230 
     | 
    
         
            -
             
     | 
| 
       231 
     | 
    
         
            -
            .. note::
         
     | 
| 
       232 
     | 
    
         
            -
             
     | 
| 
       233 
     | 
    
         
            -
               You need to use ``${LOGICAL_TABLE_NAME}_${YYYYMMDD}`` naming rule
         
     | 
| 
       234 
     | 
    
         
            -
               for table names. In this example, ``LOGICAL_TABLE_NAME`` is
         
     | 
| 
       235 
     | 
    
         
            -
               ``Entries`` and ``YYYYMMDD`` is ``20150708`` or ``20150709``.
         
     | 
| 
       236 
     | 
    
         
            -
             
     | 
| 
       237 
     | 
    
         
            -
            An entry has title, created time, content, the number of likes for the
         
     | 
| 
       238 
     | 
    
         
            -
            entry and tag. Title is key of ``Entries_YYYYMMDD``. Created time is
         
     | 
| 
       239 
     | 
    
         
            -
            value of ``Entries_YYYYMMDD.created_at`` column. Content is value of
         
     | 
| 
       240 
     | 
    
         
            -
            ``Entries_YYYYMMDD.content`` column. The number of likes is value of
         
     | 
| 
       241 
     | 
    
         
            -
            ``Entries_YYYYMMDD.n_likes`` column. Tag is value of
         
     | 
| 
       242 
     | 
    
         
            -
            ``Entries_YYYYMMDD.tag`` column.
         
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
       244 
     | 
    
         
            -
            ``Entries_YYYYMMDD._key`` column and ``Entries_YYYYMMDD.content``
         
     | 
| 
       245 
     | 
    
         
            -
            column are indexed using ``TokenBigram`` tokenizer. So both
         
     | 
| 
       246 
     | 
    
         
            -
            ``Entries_YYYYMMDD._key`` and ``Entries_YYYYMMDD.content`` are
         
     | 
| 
       247 
     | 
    
         
            -
            fulltext search ready.
         
     | 
| 
       248 
     | 
    
         
            -
             
     | 
| 
       249 
     | 
    
         
            -
            OK. The schema and data for examples are ready.
         
     | 
| 
       250 
     | 
    
         
            -
             
     | 
| 
       251 
     | 
    
         
            -
            Simple usage
         
     | 
| 
       252 
     | 
    
         
            -
            ^^^^^^^^^^^^
         
     | 
| 
       253 
     | 
    
         
            -
             
     | 
| 
       254 
     | 
    
         
            -
            TODO
         
     | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
            Parameters
         
     | 
| 
       257 
     | 
    
         
            -
            ----------
         
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
            This section describes parameters of ``logical_select``.
         
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
            Required parameters
         
     | 
| 
       262 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
            There are required parameters, ``logical_table`` and ``shard_key``.
         
     | 
| 
       265 
     | 
    
         
            -
             
     | 
| 
       266 
     | 
    
         
            -
            .. _logical-select-logical-table:
         
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
     | 
    
         
            -
            ``logical_table``
         
     | 
| 
       269 
     | 
    
         
            -
            """""""""""""""""
         
     | 
| 
       270 
     | 
    
         
            -
             
     | 
| 
       271 
     | 
    
         
            -
            Specifies logical table name. It means table name without
         
     | 
| 
       272 
     | 
    
         
            -
            ``_YYYYMMDD`` postfix. If you use actual table such as
         
     | 
| 
       273 
     | 
    
         
            -
            ``Entries_20150708``, ``Entries_20150709`` and so on, logical table
         
     | 
| 
       274 
     | 
    
         
            -
            name is ``Entries``.
         
     | 
| 
       275 
     | 
    
         
            -
             
     | 
| 
       276 
     | 
    
         
            -
            You can show 10 records by specifying ``logical_table`` and
         
     | 
| 
       277 
     | 
    
         
            -
            ``shard_key`` parameters. They are required parameters.
         
     | 
| 
       278 
     | 
    
         
            -
             
     | 
| 
       279 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       280 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/logical_table_existent.log
         
     | 
| 
       281 
     | 
    
         
            -
            .. logical_select --logical_table Entries --shard_key created_at
         
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
            If nonexistent table is specified, an error is returned.
         
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
       285 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       286 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/logical_table_nonexistent.log
         
     | 
| 
       287 
     | 
    
         
            -
            .. logical_select --logical_table Nonexistent --shard_key created_at
         
     | 
| 
       288 
     | 
    
         
            -
             
     | 
| 
       289 
     | 
    
         
            -
            .. _logical-select-shard-key:
         
     | 
| 
       290 
     | 
    
         
            -
             
     | 
| 
       291 
     | 
    
         
            -
            ``shard_key``
         
     | 
| 
       292 
     | 
    
         
            -
            """""""""""""
         
     | 
| 
       293 
     | 
    
         
            -
             
     | 
| 
       294 
     | 
    
         
            -
            Specifies column name which is treated as shared key. Shard key is a
         
     | 
| 
       295 
     | 
    
         
            -
            column that stores data that is used for distributing records to
         
     | 
| 
       296 
     | 
    
         
            -
            suitable shards.
         
     | 
| 
       297 
     | 
    
         
            -
             
     | 
| 
       298 
     | 
    
         
            -
            Shard key must be ``Time`` type for now.
         
     | 
| 
       299 
     | 
    
         
            -
             
     | 
| 
       300 
     | 
    
         
            -
            See :ref:`logical-select-logical-table` how to specify ``shard_key``.
         
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
            Optional parameters
         
     | 
| 
       303 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       304 
     | 
    
         
            -
             
     | 
| 
       305 
     | 
    
         
            -
            There are optional parameters.
         
     | 
| 
       306 
     | 
    
         
            -
             
     | 
| 
       307 
     | 
    
         
            -
            .. _logical-select-min:
         
     | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
       309 
     | 
    
         
            -
            ``min``
         
     | 
| 
       310 
     | 
    
         
            -
            """""""
         
     | 
| 
       311 
     | 
    
         
            -
             
     | 
| 
       312 
     | 
    
         
            -
            Specifies the minimum value of ``shard_key`` column. If shard doesn't
         
     | 
| 
       313 
     | 
    
         
            -
            have any matched records, the shard isn't searched.
         
     | 
| 
       314 
     | 
    
         
            -
             
     | 
| 
       315 
     | 
    
         
            -
            For example, ``min`` is ``"2015/07/09 00:00:00"``, ``Entry_20150708``
         
     | 
| 
       316 
     | 
    
         
            -
            isn't searched. Because ``Entry_20150708`` has only records for
         
     | 
| 
       317 
     | 
    
         
            -
            ``"2015/07/08"``.
         
     | 
| 
       318 
     | 
    
         
            -
             
     | 
| 
       319 
     | 
    
         
            -
            The following example only uses ``Entry_20150709``
         
     | 
| 
       320 
     | 
    
         
            -
            table. ``Entry_20150708`` isn't used.
         
     | 
| 
       321 
     | 
    
         
            -
             
     | 
| 
       322 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       323 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/min.log
         
     | 
| 
       324 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       325 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       326 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       327 
     | 
    
         
            -
            ..   --min "2015/07/09 00:00:00"
         
     | 
| 
       328 
     | 
    
         
            -
             
     | 
| 
       329 
     | 
    
         
            -
            .. _logical-select-min-border:
         
     | 
| 
       330 
     | 
    
         
            -
             
     | 
| 
       331 
     | 
    
         
            -
            ``min_border``
         
     | 
| 
       332 
     | 
    
         
            -
            """"""""""""""
         
     | 
| 
       333 
     | 
    
         
            -
             
     | 
| 
       334 
     | 
    
         
            -
            Specifies whether the minimum value is included or not. Here is
         
     | 
| 
       335 
     | 
    
         
            -
            available values.
         
     | 
| 
       336 
     | 
    
         
            -
             
     | 
| 
       337 
     | 
    
         
            -
            .. list-table::
         
     | 
| 
       338 
     | 
    
         
            -
               :header-rows: 1
         
     | 
| 
       339 
     | 
    
         
            -
             
     | 
| 
       340 
     | 
    
         
            -
               * - Value
         
     | 
| 
       341 
     | 
    
         
            -
                 - Description
         
     | 
| 
       342 
     | 
    
         
            -
               * - ``include``
         
     | 
| 
       343 
     | 
    
         
            -
                 - Includes ``min`` value. This is the default.
         
     | 
| 
       344 
     | 
    
         
            -
               * - ``exclude``
         
     | 
| 
       345 
     | 
    
         
            -
                 - Doesn't include ``min`` value.
         
     | 
| 
       346 
     | 
    
         
            -
             
     | 
| 
       347 
     | 
    
         
            -
            Here is an example for ``exclude``. The result doesn't include the
         
     | 
| 
       348 
     | 
    
         
            -
            ``"Good-bye Senna"`` record because its ``created_at`` value is
         
     | 
| 
       349 
     | 
    
         
            -
            ``"2015/07/09 00:00:00"``.
         
     | 
| 
       350 
     | 
    
         
            -
             
     | 
| 
       351 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       352 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/min_border.log
         
     | 
| 
       353 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       354 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       355 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       356 
     | 
    
         
            -
            ..   --min "2015/07/09 00:00:00" \
         
     | 
| 
       357 
     | 
    
         
            -
            ..   --min_border "exclude"
         
     | 
| 
       358 
     | 
    
         
            -
             
     | 
| 
       359 
     | 
    
         
            -
            .. _logical-select-max:
         
     | 
| 
       360 
     | 
    
         
            -
             
     | 
| 
       361 
     | 
    
         
            -
            ``max``
         
     | 
| 
       362 
     | 
    
         
            -
            """""""
         
     | 
| 
       363 
     | 
    
         
            -
             
     | 
| 
       364 
     | 
    
         
            -
            Specifies the maximum value of ``shard_key`` column. If shard doesn't
         
     | 
| 
       365 
     | 
    
         
            -
            have any matched records, the shard isn't searched.
         
     | 
| 
       366 
     | 
    
         
            -
             
     | 
| 
       367 
     | 
    
         
            -
            For example, ``max`` is ``"2015/07/08 23:59:59"``, ``Entry_20150709``
         
     | 
| 
       368 
     | 
    
         
            -
            isn't searched. Because ``Entry_20150709`` has only records for
         
     | 
| 
       369 
     | 
    
         
            -
            ``""2015/07/09"``.
         
     | 
| 
       370 
     | 
    
         
            -
             
     | 
| 
       371 
     | 
    
         
            -
            The following example only uses ``Entry_20150708``
         
     | 
| 
       372 
     | 
    
         
            -
            table. ``Entry_20150709`` isn't used.
         
     | 
| 
       373 
     | 
    
         
            -
             
     | 
| 
       374 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       375 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/max.log
         
     | 
| 
       376 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       377 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       378 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       379 
     | 
    
         
            -
            ..   --max "2015/07/08 23:59:59"
         
     | 
| 
       380 
     | 
    
         
            -
             
     | 
| 
       381 
     | 
    
         
            -
            .. _logical-select-max-border:
         
     | 
| 
       382 
     | 
    
         
            -
             
     | 
| 
       383 
     | 
    
         
            -
            ``max_border``
         
     | 
| 
       384 
     | 
    
         
            -
            """"""""""""""
         
     | 
| 
       385 
     | 
    
         
            -
             
     | 
| 
       386 
     | 
    
         
            -
            Specifies whether the maximum value is included or not. Here is
         
     | 
| 
       387 
     | 
    
         
            -
            available values.
         
     | 
| 
       388 
     | 
    
         
            -
             
     | 
| 
       389 
     | 
    
         
            -
            .. list-table::
         
     | 
| 
       390 
     | 
    
         
            -
               :header-rows: 1
         
     | 
| 
       391 
     | 
    
         
            -
             
     | 
| 
       392 
     | 
    
         
            -
               * - Value
         
     | 
| 
       393 
     | 
    
         
            -
                 - Description
         
     | 
| 
       394 
     | 
    
         
            -
               * - ``include``
         
     | 
| 
       395 
     | 
    
         
            -
                 - Includes ``max`` value. This is the default.
         
     | 
| 
       396 
     | 
    
         
            -
               * - ``exclude``
         
     | 
| 
       397 
     | 
    
         
            -
                 - Doesn't include ``max`` value.
         
     | 
| 
       398 
     | 
    
         
            -
             
     | 
| 
       399 
     | 
    
         
            -
            Here is an example for ``exclude``. The result doesn't include the
         
     | 
| 
       400 
     | 
    
         
            -
            ``"Good-bye Senna"`` record because its ``created_at`` value is
         
     | 
| 
       401 
     | 
    
         
            -
            ``"2015/07/09 00:00:00"``.
         
     | 
| 
       402 
     | 
    
         
            -
             
     | 
| 
       403 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       404 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/max_border.log
         
     | 
| 
       405 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       406 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       407 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       408 
     | 
    
         
            -
            ..   --max "2015/07/09 00:00:00" \
         
     | 
| 
       409 
     | 
    
         
            -
            ..   --max_border "exclude"
         
     | 
| 
       410 
     | 
    
         
            -
             
     | 
| 
       411 
     | 
    
         
            -
            .. _logical-select-search-related-parameters:
         
     | 
| 
       412 
     | 
    
         
            -
             
     | 
| 
       413 
     | 
    
         
            -
            Search related parameters
         
     | 
| 
       414 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       415 
     | 
    
         
            -
             
     | 
| 
       416 
     | 
    
         
            -
            ``logical_select`` provides :doc:`select` compatible search related
         
     | 
| 
       417 
     | 
    
         
            -
            parameters.
         
     | 
| 
       418 
     | 
    
         
            -
             
     | 
| 
       419 
     | 
    
         
            -
            .. _logical-select-match-columns:
         
     | 
| 
       420 
     | 
    
         
            -
             
     | 
| 
       421 
     | 
    
         
            -
            ``match_columns``
         
     | 
| 
       422 
     | 
    
         
            -
            """""""""""""""""
         
     | 
| 
       423 
     | 
    
         
            -
             
     | 
| 
       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"
         
     | 
| 
       439 
     | 
    
         
            -
             
     | 
| 
       440 
     | 
    
         
            -
            .. _logical-select-query:
         
     | 
| 
       441 
     | 
    
         
            -
             
     | 
| 
       442 
     | 
    
         
            -
            ``query``
         
     | 
| 
       443 
     | 
    
         
            -
            """""""""
         
     | 
| 
       444 
     | 
    
         
            -
             
     | 
| 
       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`.
         
     | 
| 
       461 
     | 
    
         
            -
             
     | 
| 
       462 
     | 
    
         
            -
            .. _logical-select-filter:
         
     | 
| 
       463 
     | 
    
         
            -
             
     | 
| 
       464 
     | 
    
         
            -
            ``filter``
         
     | 
| 
       465 
     | 
    
         
            -
            """"""""""
         
     | 
| 
       466 
     | 
    
         
            -
             
     | 
| 
       467 
     | 
    
         
            -
            Corresponds to :ref:`select-filter` in :doc:`select`. See
         
     | 
| 
       468 
     | 
    
         
            -
            :ref:`select-filter` for details.
         
     | 
| 
       469 
     | 
    
         
            -
             
     | 
| 
       470 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       471 
     | 
    
         
            -
             
     | 
| 
       472 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       473 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/filter.log
         
     | 
| 
       474 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       475 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       476 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       477 
     | 
    
         
            -
            ..   --filter "n_likes <= 5"
         
     | 
| 
       478 
     | 
    
         
            -
             
     | 
| 
       479 
     | 
    
         
            -
            .. _logical-select-advanced-search-parameters:
         
     | 
| 
       480 
     | 
    
         
            -
             
     | 
| 
       481 
     | 
    
         
            -
            Advanced search parameters
         
     | 
| 
       482 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       483 
     | 
    
         
            -
             
     | 
| 
       484 
     | 
    
         
            -
            ``logical_select`` doesn't implement advanced search parameters yet.
         
     | 
| 
       485 
     | 
    
         
            -
             
     | 
| 
       486 
     | 
    
         
            -
            .. _logical-select-match-escalation-threshold:
         
     | 
| 
       487 
     | 
    
         
            -
             
     | 
| 
       488 
     | 
    
         
            -
            ``match_escalation_threshold``
         
     | 
| 
       489 
     | 
    
         
            -
            """"""""""""""""""""""""""""""
         
     | 
| 
       490 
     | 
    
         
            -
             
     | 
| 
       491 
     | 
    
         
            -
            Not implemented yet.
         
     | 
| 
       492 
     | 
    
         
            -
             
     | 
| 
       493 
     | 
    
         
            -
            .. _logical-select-query-flags:
         
     | 
| 
       494 
     | 
    
         
            -
             
     | 
| 
       495 
     | 
    
         
            -
            ``query_flags``
         
     | 
| 
       496 
     | 
    
         
            -
            """""""""""""""
         
     | 
| 
       497 
     | 
    
         
            -
             
     | 
| 
       498 
     | 
    
         
            -
            Not implemented yet.
         
     | 
| 
       499 
     | 
    
         
            -
             
     | 
| 
       500 
     | 
    
         
            -
            .. _logical-select-query-expander:
         
     | 
| 
       501 
     | 
    
         
            -
             
     | 
| 
       502 
     | 
    
         
            -
            ``query_expander``
         
     | 
| 
       503 
     | 
    
         
            -
            """"""""""""""""""
         
     | 
| 
       504 
     | 
    
         
            -
             
     | 
| 
       505 
     | 
    
         
            -
            Not implemented yet.
         
     | 
| 
       506 
     | 
    
         
            -
             
     | 
| 
       507 
     | 
    
         
            -
            Output related parameters
         
     | 
| 
       508 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       509 
     | 
    
         
            -
             
     | 
| 
       510 
     | 
    
         
            -
            .. _logical-select-output-columns:
         
     | 
| 
       511 
     | 
    
         
            -
             
     | 
| 
       512 
     | 
    
         
            -
            ``output_columns``
         
     | 
| 
       513 
     | 
    
         
            -
            """"""""""""""""""
         
     | 
| 
       514 
     | 
    
         
            -
             
     | 
| 
       515 
     | 
    
         
            -
            Corresponds to :ref:`select-output-columns` in :doc:`select`. See
         
     | 
| 
       516 
     | 
    
         
            -
            :ref:`select-output-columns` for details.
         
     | 
| 
       517 
     | 
    
         
            -
             
     | 
| 
       518 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       519 
     | 
    
         
            -
             
     | 
| 
       520 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       521 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/output_columns.log
         
     | 
| 
       522 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       523 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       524 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       525 
     | 
    
         
            -
            ..   --output_columns '_key, *'
         
     | 
| 
       526 
     | 
    
         
            -
             
     | 
| 
       527 
     | 
    
         
            -
            .. _logical-select-sortby:
         
     | 
| 
       528 
     | 
    
         
            -
             
     | 
| 
       529 
     | 
    
         
            -
            ``sortby``
         
     | 
| 
       530 
     | 
    
         
            -
            """"""""""
         
     | 
| 
       531 
     | 
    
         
            -
             
     | 
| 
       532 
     | 
    
         
            -
            .. deprecated:: 6.1.5
         
     | 
| 
       533 
     | 
    
         
            -
             
     | 
| 
       534 
     | 
    
         
            -
               Use :ref:`logical-select-sort-keys` instead.
         
     | 
| 
       535 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       547 
     | 
    
         
            -
             
     | 
| 
       548 
     | 
    
         
            -
            Here is an example that uses only one shard:
         
     | 
| 
       549 
     | 
    
         
            -
             
     | 
| 
       550 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       551 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/sort_keys.log
         
     | 
| 
       552 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       553 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       554 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       555 
     | 
    
         
            -
            ..   --min "2015/07/08 00:00:00" \
         
     | 
| 
       556 
     | 
    
         
            -
            ..   --min_border "include" \
         
     | 
| 
       557 
     | 
    
         
            -
            ..   --max "2015/07/09 00:00:00" \
         
     | 
| 
       558 
     | 
    
         
            -
            ..   --max_border "exclude" \
         
     | 
| 
       559 
     | 
    
         
            -
            ..   --sort_keys _key
         
     | 
| 
       560 
     | 
    
         
            -
             
     | 
| 
       561 
     | 
    
         
            -
            .. _logical-select-offset:
         
     | 
| 
       562 
     | 
    
         
            -
             
     | 
| 
       563 
     | 
    
         
            -
            ``offset``
         
     | 
| 
       564 
     | 
    
         
            -
            """"""""""
         
     | 
| 
       565 
     | 
    
         
            -
             
     | 
| 
       566 
     | 
    
         
            -
            Corresponds to :ref:`select-offset` in :doc:`select`. See
         
     | 
| 
       567 
     | 
    
         
            -
            :ref:`select-offset` for details.
         
     | 
| 
       568 
     | 
    
         
            -
             
     | 
| 
       569 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       570 
     | 
    
         
            -
             
     | 
| 
       571 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       572 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/offset.log
         
     | 
| 
       573 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       574 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       575 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       576 
     | 
    
         
            -
            ..   --offset 2
         
     | 
| 
       577 
     | 
    
         
            -
             
     | 
| 
       578 
     | 
    
         
            -
            .. _logical-select-limit:
         
     | 
| 
       579 
     | 
    
         
            -
             
     | 
| 
       580 
     | 
    
         
            -
            ``limit``
         
     | 
| 
       581 
     | 
    
         
            -
            """""""""
         
     | 
| 
       582 
     | 
    
         
            -
             
     | 
| 
       583 
     | 
    
         
            -
            Corresponds to :ref:`select-limit` in :doc:`select`. See
         
     | 
| 
       584 
     | 
    
         
            -
            :ref:`select-limit` for details.
         
     | 
| 
       585 
     | 
    
         
            -
             
     | 
| 
       586 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       587 
     | 
    
         
            -
             
     | 
| 
       588 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       589 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/limit.log
         
     | 
| 
       590 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       591 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       592 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       593 
     | 
    
         
            -
            ..   --limit 2
         
     | 
| 
       594 
     | 
    
         
            -
             
     | 
| 
       595 
     | 
    
         
            -
            .. _logical-select-scorer:
         
     | 
| 
       596 
     | 
    
         
            -
             
     | 
| 
       597 
     | 
    
         
            -
            ``scorer``
         
     | 
| 
       598 
     | 
    
         
            -
            """"""""""
         
     | 
| 
       599 
     | 
    
         
            -
             
     | 
| 
       600 
     | 
    
         
            -
            Not implemented yet.
         
     | 
| 
       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 
     | 
    
         
            -
             
     | 
| 
       800 
     | 
    
         
            -
            .. _logical-select-drilldown-related-parameters:
         
     | 
| 
       801 
     | 
    
         
            -
             
     | 
| 
       802 
     | 
    
         
            -
            Drilldown related parameters
         
     | 
| 
       803 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       804 
     | 
    
         
            -
             
     | 
| 
       805 
     | 
    
         
            -
            All drilldown related parameters in :doc:`select` are supported. See
         
     | 
| 
       806 
     | 
    
         
            -
            :ref:`select-drilldown-related-parameters` for details.
         
     | 
| 
       807 
     | 
    
         
            -
             
     | 
| 
       808 
     | 
    
         
            -
            .. _logical-select-drilldown:
         
     | 
| 
       809 
     | 
    
         
            -
             
     | 
| 
       810 
     | 
    
         
            -
            ``drilldown``
         
     | 
| 
       811 
     | 
    
         
            -
            """""""""""""
         
     | 
| 
       812 
     | 
    
         
            -
             
     | 
| 
       813 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown` in :doc:`select`. See
         
     | 
| 
       814 
     | 
    
         
            -
            :ref:`select-drilldown` for details.
         
     | 
| 
       815 
     | 
    
         
            -
             
     | 
| 
       816 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       817 
     | 
    
         
            -
             
     | 
| 
       818 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       819 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown.log
         
     | 
| 
       820 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       821 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       822 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       823 
     | 
    
         
            -
            ..   --output_columns _key,tag \
         
     | 
| 
       824 
     | 
    
         
            -
            ..   --drilldown tag
         
     | 
| 
       825 
     | 
    
         
            -
             
     | 
| 
       826 
     | 
    
         
            -
            .. _logical-select-drilldown-sortby:
         
     | 
| 
       827 
     | 
    
         
            -
             
     | 
| 
       828 
     | 
    
         
            -
            ``drilldown_sortby``
         
     | 
| 
       829 
     | 
    
         
            -
            """"""""""""""""""""
         
     | 
| 
       830 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       842 
     | 
    
         
            -
             
     | 
| 
       843 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       844 
     | 
    
         
            -
             
     | 
| 
       845 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       846 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown_sort_keys.log
         
     | 
| 
       847 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       848 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       849 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       850 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       851 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       852 
     | 
    
         
            -
            ..   --drilldown tag \
         
     | 
| 
       853 
     | 
    
         
            -
            ..   --drilldown_sort_keys -_nsubrecs,_key
         
     | 
| 
       854 
     | 
    
         
            -
             
     | 
| 
       855 
     | 
    
         
            -
            .. _logical-select-drilldown-output-columns:
         
     | 
| 
       856 
     | 
    
         
            -
             
     | 
| 
       857 
     | 
    
         
            -
            ``drilldown_output_columns``
         
     | 
| 
       858 
     | 
    
         
            -
            """"""""""""""""""""""""""""
         
     | 
| 
       859 
     | 
    
         
            -
             
     | 
| 
       860 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown-output-columns` in
         
     | 
| 
       861 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-drilldown-output-columns` for details.
         
     | 
| 
       862 
     | 
    
         
            -
             
     | 
| 
       863 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       864 
     | 
    
         
            -
             
     | 
| 
       865 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       866 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown_output_columns.log
         
     | 
| 
       867 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       868 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       869 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       870 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       871 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       872 
     | 
    
         
            -
            ..   --drilldown tag \
         
     | 
| 
       873 
     | 
    
         
            -
            ..   --drilldown_output_columns _key
         
     | 
| 
       874 
     | 
    
         
            -
             
     | 
| 
       875 
     | 
    
         
            -
            .. _logical-select-drilldown-offset:
         
     | 
| 
       876 
     | 
    
         
            -
             
     | 
| 
       877 
     | 
    
         
            -
            ``drilldown_offset``
         
     | 
| 
       878 
     | 
    
         
            -
            """"""""""""""""""""
         
     | 
| 
       879 
     | 
    
         
            -
             
     | 
| 
       880 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown-offset` in :doc:`select`. See
         
     | 
| 
       881 
     | 
    
         
            -
            :ref:`select-drilldown-offset` for details.
         
     | 
| 
       882 
     | 
    
         
            -
             
     | 
| 
       883 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       884 
     | 
    
         
            -
             
     | 
| 
       885 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       886 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown_offset.log
         
     | 
| 
       887 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       888 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       889 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       890 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       891 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       892 
     | 
    
         
            -
            ..   --drilldown tag \
         
     | 
| 
       893 
     | 
    
         
            -
            ..   --drilldown_offset 1
         
     | 
| 
       894 
     | 
    
         
            -
             
     | 
| 
       895 
     | 
    
         
            -
            .. _logical-select-drilldown-limit:
         
     | 
| 
       896 
     | 
    
         
            -
             
     | 
| 
       897 
     | 
    
         
            -
            ``drilldown_limit``
         
     | 
| 
       898 
     | 
    
         
            -
            """""""""""""""""""
         
     | 
| 
       899 
     | 
    
         
            -
             
     | 
| 
       900 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown-limit` in :doc:`select`. See
         
     | 
| 
       901 
     | 
    
         
            -
            :ref:`select-drilldown-limit` for details.
         
     | 
| 
       902 
     | 
    
         
            -
             
     | 
| 
       903 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       904 
     | 
    
         
            -
             
     | 
| 
       905 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       906 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown_limit.log
         
     | 
| 
       907 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       908 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       909 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       910 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       911 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       912 
     | 
    
         
            -
            ..   --drilldown tag \
         
     | 
| 
       913 
     | 
    
         
            -
            ..   --drilldown_limit 2
         
     | 
| 
       914 
     | 
    
         
            -
             
     | 
| 
       915 
     | 
    
         
            -
            .. _logical-select-drilldown-calc-types:
         
     | 
| 
       916 
     | 
    
         
            -
             
     | 
| 
       917 
     | 
    
         
            -
            ``drilldown_calc_types``
         
     | 
| 
       918 
     | 
    
         
            -
            """"""""""""""""""""""""
         
     | 
| 
       919 
     | 
    
         
            -
             
     | 
| 
       920 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown-calc-types` in
         
     | 
| 
       921 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-drilldown-calc-types` for details.
         
     | 
| 
       922 
     | 
    
         
            -
             
     | 
| 
       923 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       924 
     | 
    
         
            -
             
     | 
| 
       925 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       926 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldown_calc_types.log
         
     | 
| 
       927 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       928 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       929 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       930 
     | 
    
         
            -
            ..   --limit -1 \
         
     | 
| 
       931 
     | 
    
         
            -
            ..   --output_columns tag,n_likes \
         
     | 
| 
       932 
     | 
    
         
            -
            ..   --drilldown tag \
         
     | 
| 
       933 
     | 
    
         
            -
            ..   --drilldown_calc_types MAX,MIN,SUM,AVG \
         
     | 
| 
       934 
     | 
    
         
            -
            ..   --drilldown_calc_target n_likes \
         
     | 
| 
       935 
     | 
    
         
            -
            ..   --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
         
     | 
| 
       936 
     | 
    
         
            -
             
     | 
| 
       937 
     | 
    
         
            -
            .. _logical-select-drilldown-calc-target:
         
     | 
| 
       938 
     | 
    
         
            -
             
     | 
| 
       939 
     | 
    
         
            -
            ``drilldown_calc_target``
         
     | 
| 
       940 
     | 
    
         
            -
            """""""""""""""""""""""""
         
     | 
| 
       941 
     | 
    
         
            -
             
     | 
| 
       942 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldown-calc-target` in
         
     | 
| 
       943 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-drilldown-calc-target` for details.
         
     | 
| 
       944 
     | 
    
         
            -
             
     | 
| 
       945 
     | 
    
         
            -
            See also :ref:`logical-select-drilldown-calc-types` for an example.
         
     | 
| 
       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 
     | 
    
         
            -
             
     | 
| 
       971 
     | 
    
         
            -
            .. _logical-select-advanced-drilldown-related-parameters:
         
     | 
| 
       972 
     | 
    
         
            -
             
     | 
| 
       973 
     | 
    
         
            -
            Advanced drilldown related parameters
         
     | 
| 
       974 
     | 
    
         
            -
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       975 
     | 
    
         
            -
             
     | 
| 
       976 
     | 
    
         
            -
            All advanced drilldown related parameters in :doc:`select` are
         
     | 
| 
       977 
     | 
    
         
            -
            supported. See :ref:`select-advanced-drilldown-related-parameters` for
         
     | 
| 
       978 
     | 
    
         
            -
            details.
         
     | 
| 
       979 
     | 
    
         
            -
             
     | 
| 
       980 
     | 
    
         
            -
            There are some limitations:
         
     | 
| 
       981 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       986 
     | 
    
         
            -
             
     | 
| 
       987 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-keys:
         
     | 
| 
       988 
     | 
    
         
            -
             
     | 
| 
       989 
     | 
    
         
            -
            ``drilldowns[${LABEL}].keys``
         
     | 
| 
       990 
     | 
    
         
            -
            """""""""""""""""""""""""""""
         
     | 
| 
       991 
     | 
    
         
            -
             
     | 
| 
       992 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldowns-label-keys` in
         
     | 
| 
       993 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-drilldowns-label-keys` for details.
         
     | 
| 
       994 
     | 
    
         
            -
             
     | 
| 
       995 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       996 
     | 
    
         
            -
             
     | 
| 
       997 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       998 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_keys.log
         
     | 
| 
       999 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1000 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1001 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1002 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1003 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       1004 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].keys tag,n_likes \
         
     | 
| 
       1005 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
         
     | 
| 
       1006 
     | 
    
         
            -
             
     | 
| 
       1007 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-output-columns:
         
     | 
| 
       1008 
     | 
    
         
            -
             
     | 
| 
       1009 
     | 
    
         
            -
            ``drilldowns[${LABEL}].output_columns``
         
     | 
| 
       1010 
     | 
    
         
            -
            """""""""""""""""""""""""""""""""""""""
         
     | 
| 
       1011 
     | 
    
         
            -
             
     | 
| 
       1012 
     | 
    
         
            -
            Corresponds to :ref:`select-drilldowns-label-output-columns` in
         
     | 
| 
       1013 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-drilldowns-label-output-columns` for
         
     | 
| 
       1014 
     | 
    
         
            -
            details.
         
     | 
| 
       1015 
     | 
    
         
            -
             
     | 
| 
       1016 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       1017 
     | 
    
         
            -
             
     | 
| 
       1018 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       1019 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_output_columns.log
         
     | 
| 
       1020 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1021 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1022 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1023 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1024 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       1025 
     | 
    
         
            -
            ..   --drilldowns[tag].keys tag \
         
     | 
| 
       1026 
     | 
    
         
            -
            ..   --drilldowns[tag].output_columns _key,_nsubrecs
         
     | 
| 
       1027 
     | 
    
         
            -
             
     | 
| 
       1028 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-sortby:
         
     | 
| 
       1029 
     | 
    
         
            -
             
     | 
| 
       1030 
     | 
    
         
            -
            ``drilldowns[${LABEL}].sortby``
         
     | 
| 
       1031 
     | 
    
         
            -
            """""""""""""""""""""""""""""""
         
     | 
| 
       1032 
     | 
    
         
            -
             
     | 
| 
       1033 
     | 
    
         
            -
            .. deprecated:: 6.1.5
         
     | 
| 
       1034 
     | 
    
         
            -
             
     | 
| 
       1035 
     | 
    
         
            -
               Use :ref:`logical-select-drilldowns-label-sort-keys` instead.
         
     | 
| 
       1036 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       1044 
     | 
    
         
            -
             
     | 
| 
       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.
         
     | 
| 
       1050 
     | 
    
         
            -
             
     | 
| 
       1051 
     | 
    
         
            -
            Here is an example that uses ``_value.${KEY_NAME}`` with only one
         
     | 
| 
       1052 
     | 
    
         
            -
            shard:
         
     | 
| 
       1053 
     | 
    
         
            -
             
     | 
| 
       1054 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       1055 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_sort_keys.log
         
     | 
| 
       1056 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1057 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1058 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1059 
     | 
    
         
            -
            ..   --min "2015/07/08 00:00:00" \
         
     | 
| 
       1060 
     | 
    
         
            -
            ..   --min_border "include" \
         
     | 
| 
       1061 
     | 
    
         
            -
            ..   --max "2015/07/09 00:00:00" \
         
     | 
| 
       1062 
     | 
    
         
            -
            ..   --max_border "exclude" \
         
     | 
| 
       1063 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1064 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       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
         
     | 
| 
       1068 
     | 
    
         
            -
             
     | 
| 
       1069 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-offset:
         
     | 
| 
       1070 
     | 
    
         
            -
             
     | 
| 
       1071 
     | 
    
         
            -
            ``drilldowns[${LABEL}].offset``
         
     | 
| 
       1072 
     | 
    
         
            -
            """""""""""""""""""""""""""""""
         
     | 
| 
       1073 
     | 
    
         
            -
             
     | 
| 
       1074 
     | 
    
         
            -
            Corresponds to :ref:`logical-select-drilldown-offset` in not labeled
         
     | 
| 
       1075 
     | 
    
         
            -
            drilldown.
         
     | 
| 
       1076 
     | 
    
         
            -
             
     | 
| 
       1077 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       1078 
     | 
    
         
            -
             
     | 
| 
       1079 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       1080 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_offset.log
         
     | 
| 
       1081 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1082 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1083 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1084 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1085 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       1086 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].keys tag \
         
     | 
| 
       1087 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].offset 1
         
     | 
| 
       1088 
     | 
    
         
            -
             
     | 
| 
       1089 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-limit:
         
     | 
| 
       1090 
     | 
    
         
            -
             
     | 
| 
       1091 
     | 
    
         
            -
            ``drilldowns[${LABEL}].limit``
         
     | 
| 
       1092 
     | 
    
         
            -
            """"""""""""""""""""""""""""""
         
     | 
| 
       1093 
     | 
    
         
            -
             
     | 
| 
       1094 
     | 
    
         
            -
            Corresponds to :ref:`logical-select-drilldown-limit` in not labeled
         
     | 
| 
       1095 
     | 
    
         
            -
            drilldown.
         
     | 
| 
       1096 
     | 
    
         
            -
             
     | 
| 
       1097 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       1098 
     | 
    
         
            -
             
     | 
| 
       1099 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       1100 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_limit.log
         
     | 
| 
       1101 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1102 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1103 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1104 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1105 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       1106 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].keys tag \
         
     | 
| 
       1107 
     | 
    
         
            -
            ..   --drilldowns[tag.n_likes].limit 2
         
     | 
| 
       1108 
     | 
    
         
            -
             
     | 
| 
       1109 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-calc-types:
         
     | 
| 
       1110 
     | 
    
         
            -
             
     | 
| 
       1111 
     | 
    
         
            -
            ``drilldowns[${LABEL}].calc_types``
         
     | 
| 
       1112 
     | 
    
         
            -
            """""""""""""""""""""""""""""""""""
         
     | 
| 
       1113 
     | 
    
         
            -
             
     | 
| 
       1114 
     | 
    
         
            -
            Corresponds to :ref:`logical-select-drilldown-calc-types` in not
         
     | 
| 
       1115 
     | 
    
         
            -
            labeled drilldown.
         
     | 
| 
       1116 
     | 
    
         
            -
             
     | 
| 
       1117 
     | 
    
         
            -
            Here is an example:
         
     | 
| 
       1118 
     | 
    
         
            -
             
     | 
| 
       1119 
     | 
    
         
            -
            .. groonga-command
         
     | 
| 
       1120 
     | 
    
         
            -
            .. include:: ../../example/reference/commands/logical_select/drilldowns_label_calc_types.log
         
     | 
| 
       1121 
     | 
    
         
            -
            .. logical_select \
         
     | 
| 
       1122 
     | 
    
         
            -
            ..   --logical_table Entries \
         
     | 
| 
       1123 
     | 
    
         
            -
            ..   --shard_key created_at \
         
     | 
| 
       1124 
     | 
    
         
            -
            ..   --limit 0 \
         
     | 
| 
       1125 
     | 
    
         
            -
            ..   --output_columns _id \
         
     | 
| 
       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
         
     | 
| 
       1130 
     | 
    
         
            -
             
     | 
| 
       1131 
     | 
    
         
            -
            .. _logical-select-drilldowns-label-calc-target:
         
     | 
| 
       1132 
     | 
    
         
            -
             
     | 
| 
       1133 
     | 
    
         
            -
            ``drilldowns[${LABEL}].calc_target``
         
     | 
| 
       1134 
     | 
    
         
            -
            """"""""""""""""""""""""""""""""""""
         
     | 
| 
       1135 
     | 
    
         
            -
             
     | 
| 
       1136 
     | 
    
         
            -
            Corresponds to :ref:`logical-select-drilldown-calc-target` in not
         
     | 
| 
       1137 
     | 
    
         
            -
            labeled drilldown.
         
     | 
| 
       1138 
     | 
    
         
            -
             
     | 
| 
       1139 
     | 
    
         
            -
            See also :ref:`logical-select-drilldowns-label-calc-types`
         
     | 
| 
       1140 
     | 
    
         
            -
            for an example.
         
     | 
| 
       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 
     | 
    
         
            -
             
     | 
| 
       1355 
     | 
    
         
            -
            Return value
         
     | 
| 
       1356 
     | 
    
         
            -
            ------------
         
     | 
| 
       1357 
     | 
    
         
            -
             
     | 
| 
       1358 
     | 
    
         
            -
            The return value format of ``logical_select`` is compatible with
         
     | 
| 
       1359 
     | 
    
         
            -
            :doc:`select`. See :ref:`select-return-value` for details.
         
     |