rroonga 5.0.4-x86-mingw32 → 5.0.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/example/measure-data-column-disk-usage.rb +124 -0
- data/example/measure-index-column-disk-usage.rb +81 -0
- data/example/measure-table-disk-usage.rb +100 -0
- data/ext/groonga/rb-grn-database.c +31 -0
- data/ext/groonga/rb-grn-double-array-trie.c +1 -8
- data/ext/groonga/rb-grn-logger.c +45 -0
- data/ext/groonga/rb-grn-object.c +29 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -8
- data/ext/groonga/rb-grn-table-cursor.c +8 -3
- data/ext/groonga/rb-grn-table.c +10 -5
- data/ext/groonga/rb-grn-thread.c +160 -0
- data/ext/groonga/rb-grn-windows-event-logger.c +79 -0
- data/ext/groonga/rb-grn.h +3 -1
- data/ext/groonga/rb-groonga.c +3 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/groonga/dumper.rb +6 -1
- data/rroonga-build.rb +4 -4
- data/test/groonga-test-utils.rb +5 -1
- data/test/test-database.rb +11 -0
- data/test/test-logger.rb +6 -0
- data/test/test-operator.rb +6 -6
- data/test/test-procedure.rb +15 -0
- data/test/test-table-dumper.rb +170 -1
- data/test/test-thread.rb +42 -0
- data/test/test-windows-event-logger.rb +28 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/windows_event_log/provider.man +38 -0
- data/vendor/local/include/groonga/groonga.h +2 -0
- data/vendor/local/include/groonga/groonga/command.h +2 -0
- data/vendor/local/include/groonga/groonga/groonga.h +5 -0
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/portability.h +16 -0
- data/vendor/local/include/groonga/groonga/thread.h +42 -0
- data/vendor/local/include/groonga/groonga/windows_event_logger.h +33 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding.rb +5 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +43 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +32 -25
- data/vendor/local/lib/groonga/plugins/sharding/logical_parameters.rb +44 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +217 -49
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +507 -45
- data/vendor/local/lib/groonga/plugins/sharding/logical_shard_list.rb +28 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +11 -6
- data/vendor/local/lib/groonga/plugins/sharding/parameters.rb +10 -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 +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/command.rb +31 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +18 -2
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +12 -4
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +31 -28
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/query_logger.rb +9 -0
- data/vendor/local/lib/groonga/scripts/ruby/query_logger/flag.rb +39 -0
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +12 -0
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +35 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/liblz4.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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- 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/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +7 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +319 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +122 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +381 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +85 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +218 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +138 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +97 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +745 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +107 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +90 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +240 -56
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +33 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +90 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +3 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +108 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +24 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +19 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +27 -2
- 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 +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
- 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 +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
- 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 +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution.html +78 -70
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +30 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +146 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +80 -78
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +135 -122
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +38 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +58 -54
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/genindex.html +48 -20
- data/vendor/local/share/doc/groonga/en/html/index.html +123 -105
- data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +92 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +29 -28
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news.html +509 -142
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +110 -108
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +73 -71
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +111 -109
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +111 -94
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +55 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +89 -87
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +88 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +93 -91
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +79 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +69 -67
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +296 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +60 -58
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +70 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +796 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +96 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +67 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +236 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +281 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +53 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +78 -75
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +283 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +160 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +2071 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +71 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +86 -84
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +75 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +898 -647
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +50 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +87 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +175 -152
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +327 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +241 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +108 -106
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +56 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +56 -55
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +47 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +85 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +244 -242
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +327 -325
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -29
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +107 -103
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +50 -40
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +41 -31
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +241 -0
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +341 -289
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/spec.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +129 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +29 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +46 -39
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +65 -63
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +7 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +319 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +122 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +381 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +85 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +218 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +138 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +97 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +745 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +107 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +90 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +240 -56
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +33 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +90 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +3 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +108 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +24 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +19 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +27 -2
- 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 +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
- 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 +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
- 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 +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +77 -69
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +30 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +144 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +226 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +215 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +79 -77
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +134 -121
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +57 -53
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +48 -20
- data/vendor/local/share/doc/groonga/ja/html/index.html +122 -104
- data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news.html +460 -126
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +102 -100
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +91 -89
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +111 -94
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +55 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +85 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +88 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +93 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +79 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +286 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +60 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +70 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +781 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +88 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +66 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +266 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +53 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +78 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +158 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +2008 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +285 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +71 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +82 -79
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +68 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +680 -448
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +146 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +322 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +73 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +229 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +94 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +56 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +56 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +73 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +143 -141
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +236 -234
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +42 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +91 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +50 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +41 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +223 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +303 -243
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/spec.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +29 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +46 -39
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/license/groonga/README.md +6 -0
- data/vendor/local/share/license/mruby/AUTHORS +1 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +6 -5
- data/vendor/local/share/license/msgpack/README +219 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +23512 -15126
- data/vendor/local/share/man/man1/groonga.1 +26542 -17745
- metadata +77 -3
- data/vendor/local/share/license/msgpack/AUTHORS +0 -0
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.
|
10
|
+
<title>7.3.27. logical_select — Groonga v5.0.6-226-gd7da7e7 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '5.0.
|
18
|
+
VERSION: '5.0.6-226-gd7da7e7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v5.0.
|
29
|
-
<link rel="up" title="7.
|
30
|
-
<link rel="next" title="7.3.
|
31
|
-
<link rel="prev" title="7.3.
|
28
|
+
<link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="7.18. Sharding" href="../sharding.html" />
|
30
|
+
<link rel="next" title="7.3.28. logical_shard_list" href="logical_shard_list.html" />
|
31
|
+
<link rel="prev" title="7.3.26. logical_range_filter" href="logical_range_filter.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,33 +48,33 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="
|
58
|
+
<a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="logical_range_filter.html" title="7.3.
|
61
|
+
<a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
-
<li><a href="../
|
63
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
64
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li class="nav-item nav-item-2"><a href="../sharding.html" accesskey="U">7.18. Sharding</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="logical-select">
|
75
|
-
<h1>7.3.
|
75
|
+
<h1>7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>7.3.
|
77
|
+
<h2>7.3.27.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<div class="admonition note">
|
79
79
|
<p class="first admonition-title">Note</p>
|
80
80
|
<p class="last">This command is an experimental feature.</p>
|
@@ -82,122 +82,2110 @@
|
|
82
82
|
<div class="versionadded">
|
83
83
|
<p><span class="versionmodified">New in version 5.0.5.</span></p>
|
84
84
|
</div>
|
85
|
-
<p>
|
85
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> is a sharding version of
|
86
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. <code class="docutils literal"><span class="pre">logical_select</span></code> searches records from multiple
|
87
|
+
tables and outputs them.</p>
|
88
|
+
<p>You need to <a class="reference internal" href="plugin_register.html"><em>plugin_register</em></a> <code class="docutils literal"><span class="pre">sharding</span></code> plugin because
|
89
|
+
<code class="docutils literal"><span class="pre">logical_select</span></code> is included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
86
90
|
</div>
|
87
91
|
<div class="section" id="syntax">
|
88
|
-
<h2>7.3.
|
89
|
-
<p
|
90
|
-
<p>The required parameters are <
|
92
|
+
<h2>7.3.27.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
93
|
+
<p>This command takes many parameters.</p>
|
94
|
+
<p>The required parameters are <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>. Other
|
95
|
+
parameters are optional:</p>
|
91
96
|
<div class="highlight-none"><div class="highlight"><pre>logical_select logical_table
|
92
97
|
shard_key
|
93
|
-
[min]
|
94
|
-
[min_border]
|
95
|
-
[max]
|
96
|
-
[max_border]
|
97
|
-
[filter]
|
98
|
+
[min=null]
|
99
|
+
[min_border="include"]
|
100
|
+
[max=null]
|
101
|
+
[max_border="include"]
|
102
|
+
[filter=null]
|
103
|
+
[sortby=null]
|
104
|
+
[output_columns="_id, _key, *"]
|
105
|
+
[offset=0]
|
106
|
+
[limit=10]
|
107
|
+
[drilldown=null]
|
108
|
+
[drilldown_sortby=null]
|
109
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
110
|
+
[drilldown_offset=0]
|
111
|
+
[drilldown_limit=10]
|
112
|
+
[drilldown_calc_types=NONE]
|
113
|
+
[drilldown_calc_target=null]
|
98
114
|
</pre></div>
|
99
115
|
</div>
|
116
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> has the following named parameters for advanced
|
117
|
+
drilldown:</p>
|
118
|
+
<blockquote>
|
119
|
+
<div><ul class="simple">
|
120
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
|
121
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
|
122
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></li>
|
123
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
|
124
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
|
125
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
|
126
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
|
127
|
+
</ul>
|
128
|
+
</div></blockquote>
|
129
|
+
<p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> and <code class="docutils literal"><span class="pre">.</span></code> for
|
130
|
+
<code class="docutils literal"><span class="pre">${LABEL}</span></code>. For example, <code class="docutils literal"><span class="pre">parent.sub1</span></code> is a valid <code class="docutils literal"><span class="pre">${LABEL}</span></code>.</p>
|
131
|
+
<p>Parameters that have the same <code class="docutils literal"><span class="pre">${LABEL}</span></code> are grouped.</p>
|
132
|
+
<p>For example, the following parameters specify one drilldown:</p>
|
133
|
+
<blockquote>
|
134
|
+
<div><ul class="simple">
|
135
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
|
136
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
|
137
|
+
</ul>
|
138
|
+
</div></blockquote>
|
139
|
+
<p>The following parameters specify two drilldowns:</p>
|
140
|
+
<blockquote>
|
141
|
+
<div><ul class="simple">
|
142
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
|
143
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
|
144
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
|
145
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
|
146
|
+
</ul>
|
147
|
+
</div></blockquote>
|
148
|
+
</div>
|
149
|
+
<div class="section" id="differences-from-select">
|
150
|
+
<h2>7.3.27.3. Differences from <code class="docutils literal"><span class="pre">select</span></code><a class="headerlink" href="#differences-from-select" title="Permalink to this headline">¶</a></h2>
|
151
|
+
<p>Most of <code class="docutils literal"><span class="pre">logical_select</span></code> features can be used like corresponding
|
152
|
+
<a class="reference internal" href="select.html"><em>select</em></a> features. For example, parameter name is same, output
|
153
|
+
format is same and so on.</p>
|
154
|
+
<p>But there are some differences from <a class="reference internal" href="select.html"><em>select</em></a>:</p>
|
155
|
+
<blockquote>
|
156
|
+
<div><ul class="simple">
|
157
|
+
<li><code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code> parameters are required
|
158
|
+
instead of <code class="docutils literal"><span class="pre">table</span></code> parameter.</li>
|
159
|
+
<li><code class="docutils literal"><span class="pre">sortby</span></code> isn't supported when multiple shards are used. (Only
|
160
|
+
one shard is used, they are supported.)</li>
|
161
|
+
<li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
|
162
|
+
work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
|
163
|
+
<code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
|
164
|
+
<li><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet.</li>
|
165
|
+
<li><code class="docutils literal"><span class="pre">cache</span></code> isn't supported yet.</li>
|
166
|
+
<li><code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> isn't supported yet.</li>
|
167
|
+
<li><code class="docutils literal"><span class="pre">query_flags</span></code> isn't supported yet.</li>
|
168
|
+
<li><code class="docutils literal"><span class="pre">query_expander</span></code> isn't supported yet.</li>
|
169
|
+
<li><code class="docutils literal"><span class="pre">adjuster</span></code> isn't supported yet.</li>
|
170
|
+
</ul>
|
171
|
+
</div></blockquote>
|
100
172
|
</div>
|
101
173
|
<div class="section" id="usage">
|
102
|
-
<h2>7.3.
|
174
|
+
<h2>7.3.27.4. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
175
|
+
<p>Let's learn about <code class="docutils literal"><span class="pre">logical_select</span></code> usage with examples. This section
|
176
|
+
shows many popular usages.</p>
|
177
|
+
<p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin because <code class="docutils literal"><span class="pre">logical_select</span></code> is
|
178
|
+
included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
179
|
+
<p>Execution example:</p>
|
180
|
+
<div class="highlight-none"><div class="highlight"><pre>plugin_register sharding
|
181
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
182
|
+
</pre></div>
|
183
|
+
</div>
|
184
|
+
<p>Here are a schema definition and sample data to show usage.</p>
|
185
|
+
<p>Execution example:</p>
|
186
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
187
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
188
|
+
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
189
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
190
|
+
column_create Entries_20150708 content COLUMN_SCALAR Text
|
191
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
192
|
+
column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
|
193
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
194
|
+
column_create Entries_20150708 tag COLUMN_SCALAR ShortText
|
195
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
196
|
+
table_create Entries_20150709 TABLE_HASH_KEY ShortText
|
197
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
198
|
+
column_create Entries_20150709 created_at COLUMN_SCALAR Time
|
199
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
200
|
+
column_create Entries_20150709 content COLUMN_SCALAR Text
|
201
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
202
|
+
column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
|
203
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
204
|
+
column_create Entries_20150709 tag COLUMN_SCALAR ShortText
|
205
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
206
|
+
table_create Terms TABLE_PAT_KEY ShortText \
|
207
|
+
--default_tokenizer TokenBigram \
|
208
|
+
--normalizer NormalizerAuto
|
209
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
210
|
+
column_create Terms entries_key_index_20150708 \
|
211
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
|
212
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
213
|
+
column_create Terms entries_content_index_20150708 \
|
214
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150708 content
|
215
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
216
|
+
column_create Terms entries_key_index_20150709 \
|
217
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
|
218
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
219
|
+
column_create Terms entries_content_index_20150709 \
|
220
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150709 content
|
221
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
222
|
+
load --table Entries_20150708
|
223
|
+
[
|
224
|
+
{"_key": "The first post!",
|
225
|
+
"created_at": "2015/07/08 00:00:00",
|
226
|
+
"content": "Welcome! This is my first post!",
|
227
|
+
"n_likes": 5,
|
228
|
+
"tag": "Hello"},
|
229
|
+
{"_key": "Groonga",
|
230
|
+
"created_at": "2015/07/08 01:00:00",
|
231
|
+
"content": "I started to use Groonga. It's very fast!",
|
232
|
+
"n_likes": 10,
|
233
|
+
"tag": "Groonga"},
|
234
|
+
{"_key": "Mroonga",
|
235
|
+
"created_at": "2015/07/08 02:00:00",
|
236
|
+
"content": "I also started to use Mroonga. It's also very fast! Really fast!",
|
237
|
+
"n_likes": 15,
|
238
|
+
"tag": "Groonga"}
|
239
|
+
]
|
240
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
241
|
+
load --table Entries_20150709
|
242
|
+
[
|
243
|
+
{"_key": "Good-bye Senna",
|
244
|
+
"created_at": "2015/07/09 00:00:00",
|
245
|
+
"content": "I migrated all Senna system!",
|
246
|
+
"n_likes": 3,
|
247
|
+
"tag": "Senna"},
|
248
|
+
{"_key": "Good-bye Tritonn",
|
249
|
+
"created_at": "2015/07/09 01:00:00",
|
250
|
+
"content": "I also migrated all Tritonn system!",
|
251
|
+
"n_likes": 3,
|
252
|
+
"tag": "Senna"}
|
253
|
+
]
|
254
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
255
|
+
</pre></div>
|
256
|
+
</div>
|
257
|
+
<p>There are two tables, <code class="docutils literal"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal"><span class="pre">Entries_20150709</span></code>,
|
258
|
+
for blog entries.</p>
|
259
|
+
<div class="admonition note">
|
260
|
+
<p class="first admonition-title">Note</p>
|
261
|
+
<p class="last">You need to use <code class="docutils literal"><span class="pre">${LOGICAL_TABLE_NAME}_${YYYYMMDD}</span></code> naming rule
|
262
|
+
for table names. In this example, <code class="docutils literal"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
263
|
+
<code class="docutils literal"><span class="pre">Entries</span></code> and <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal"><span class="pre">20150708</span></code> or <code class="docutils literal"><span class="pre">20150709</span></code>.</p>
|
264
|
+
</div>
|
265
|
+
<p>An entry has title, created time, content, the number of likes for the
|
266
|
+
entry and tag. Title is key of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
267
|
+
value of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
268
|
+
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
269
|
+
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
270
|
+
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
271
|
+
<p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code>
|
272
|
+
column are indexed using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
273
|
+
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> are
|
274
|
+
fulltext search ready.</p>
|
275
|
+
<p>OK. The schema and data for examples are ready.</p>
|
276
|
+
<div class="section" id="simple-usage">
|
277
|
+
<h3>7.3.27.4.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
103
278
|
<p>TODO</p>
|
104
279
|
</div>
|
280
|
+
</div>
|
105
281
|
<div class="section" id="parameters">
|
106
|
-
<h2>7.3.
|
107
|
-
<p>This section describes parameters of <
|
282
|
+
<h2>7.3.27.5. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
283
|
+
<p>This section describes parameters of <code class="docutils literal"><span class="pre">logical_select</span></code>.</p>
|
108
284
|
<div class="section" id="required-parameter">
|
109
|
-
<h3>7.3.
|
110
|
-
<p>There are required parameters, <
|
285
|
+
<h3>7.3.27.5.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
286
|
+
<p>There are required parameters, <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
111
287
|
<div class="section" id="logical-table">
|
112
|
-
<h4>7.3.
|
113
|
-
<p>Specifies logical table name. It means table name without
|
114
|
-
If you use actual table such as
|
288
|
+
<span id="logical-select-logical-table"></span><h4>7.3.27.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="Permalink to this headline">¶</a></h4>
|
289
|
+
<p>Specifies logical table name. It means table name without
|
290
|
+
<code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
291
|
+
<code class="docutils literal"><span class="pre">Entries_20150708</span></code>, <code class="docutils literal"><span class="pre">Entries_20150709</span></code> and so on, logical table
|
292
|
+
name is <code class="docutils literal"><span class="pre">Entries</span></code>.</p>
|
293
|
+
<p>You can show 10 records by specifying <code class="docutils literal"><span class="pre">logical_table</span></code> and
|
294
|
+
<code class="docutils literal"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
|
295
|
+
<p>Execution example:</p>
|
296
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Entries --shard_key created_at
|
297
|
+
# [
|
298
|
+
# [
|
299
|
+
# 0,
|
300
|
+
# 1337566253.89858,
|
301
|
+
# 0.000355720520019531
|
302
|
+
# ],
|
303
|
+
# [
|
304
|
+
# [
|
305
|
+
# [
|
306
|
+
# 5
|
307
|
+
# ],
|
308
|
+
# [
|
309
|
+
# [
|
310
|
+
# "_id",
|
311
|
+
# "UInt32"
|
312
|
+
# ],
|
313
|
+
# [
|
314
|
+
# "_key",
|
315
|
+
# "ShortText"
|
316
|
+
# ],
|
317
|
+
# [
|
318
|
+
# "content",
|
319
|
+
# "Text"
|
320
|
+
# ],
|
321
|
+
# [
|
322
|
+
# "created_at",
|
323
|
+
# "Time"
|
324
|
+
# ],
|
325
|
+
# [
|
326
|
+
# "n_likes",
|
327
|
+
# "UInt32"
|
328
|
+
# ],
|
329
|
+
# [
|
330
|
+
# "tag",
|
331
|
+
# "ShortText"
|
332
|
+
# ]
|
333
|
+
# ],
|
334
|
+
# [
|
335
|
+
# 1,
|
336
|
+
# "The first post!",
|
337
|
+
# "Welcome! This is my first post!",
|
338
|
+
# 1436281200.0,
|
339
|
+
# 5,
|
340
|
+
# "Hello"
|
341
|
+
# ],
|
342
|
+
# [
|
343
|
+
# 2,
|
344
|
+
# "Groonga",
|
345
|
+
# "I started to use Groonga. It's very fast!",
|
346
|
+
# 1436284800.0,
|
347
|
+
# 10,
|
348
|
+
# "Groonga"
|
349
|
+
# ],
|
350
|
+
# [
|
351
|
+
# 3,
|
352
|
+
# "Mroonga",
|
353
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
354
|
+
# 1436288400.0,
|
355
|
+
# 15,
|
356
|
+
# "Groonga"
|
357
|
+
# ],
|
358
|
+
# [
|
359
|
+
# 1,
|
360
|
+
# "Good-bye Senna",
|
361
|
+
# "I migrated all Senna system!",
|
362
|
+
# 1436367600.0,
|
363
|
+
# 3,
|
364
|
+
# "Senna"
|
365
|
+
# ],
|
366
|
+
# [
|
367
|
+
# 2,
|
368
|
+
# "Good-bye Tritonn",
|
369
|
+
# "I also migrated all Tritonn system!",
|
370
|
+
# 1436371200.0,
|
371
|
+
# 3,
|
372
|
+
# "Senna"
|
373
|
+
# ]
|
374
|
+
# ]
|
375
|
+
# ]
|
376
|
+
# ]
|
377
|
+
</pre></div>
|
378
|
+
</div>
|
379
|
+
<p>If nonexistent table is specified, an error is returned.</p>
|
380
|
+
<p>Execution example:</p>
|
381
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Nonexistent --shard_key created_at
|
382
|
+
# [
|
383
|
+
# [
|
384
|
+
# -22,
|
385
|
+
# 1337566253.89858,
|
386
|
+
# 0.000355720520019531,
|
387
|
+
# "[logical_select] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
|
388
|
+
# [
|
389
|
+
# [
|
390
|
+
# "Groonga::Context.set_groonga_error",
|
391
|
+
# "lib/mrb/scripts/context.rb",
|
392
|
+
# 27
|
393
|
+
# ]
|
394
|
+
# ]
|
395
|
+
# ]
|
396
|
+
# ]
|
397
|
+
</pre></div>
|
398
|
+
</div>
|
115
399
|
</div>
|
116
400
|
<div class="section" id="shard-key">
|
117
|
-
<h4>7.3.
|
118
|
-
<p>Specifies column name which is treated as shared key
|
401
|
+
<span id="logical-select-shard-key"></span><h4>7.3.27.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="Permalink to this headline">¶</a></h4>
|
402
|
+
<p>Specifies column name which is treated as shared key. Shard key is a
|
403
|
+
column that stores data that is used for distributing records to
|
404
|
+
suitable shards.</p>
|
405
|
+
<p>Shard key must be <code class="docutils literal"><span class="pre">Time</span></code> type for now.</p>
|
406
|
+
<p>See <a class="reference internal" href="#logical-select-logical-table"><span>logical_table</span></a> how to specify <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
119
407
|
</div>
|
120
408
|
</div>
|
121
409
|
<div class="section" id="optional-parameters">
|
122
|
-
<h3>7.3.
|
410
|
+
<h3>7.3.27.5.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
123
411
|
<p>There are optional parameters.</p>
|
124
412
|
<div class="section" id="min">
|
125
|
-
<h4>7.3.
|
126
|
-
<p>Specifies the
|
413
|
+
<span id="logical-select-min"></span><h4>7.3.27.5.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h4>
|
414
|
+
<p>Specifies the minimum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn't
|
415
|
+
have any matched records, the shard isn't searched.</p>
|
416
|
+
<p>For example, <code class="docutils literal"><span class="pre">min</span></code> is <code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
417
|
+
isn't searched. Because <code class="docutils literal"><span class="pre">Entry_20150708</span></code> has only records for
|
418
|
+
<code class="docutils literal"><span class="pre">"2015/07/08"</span></code>.</p>
|
419
|
+
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
420
|
+
table. <code class="docutils literal"><span class="pre">Entry_20150708</span></code> isn't used.</p>
|
421
|
+
<p>Execution example:</p>
|
422
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
423
|
+
--logical_table Entries \
|
424
|
+
--shard_key created_at \
|
425
|
+
--min "2015/07/09 00:00:00"
|
426
|
+
# [
|
427
|
+
# [
|
428
|
+
# 0,
|
429
|
+
# 1337566253.89858,
|
430
|
+
# 0.000355720520019531
|
431
|
+
# ],
|
432
|
+
# [
|
433
|
+
# [
|
434
|
+
# [
|
435
|
+
# 2
|
436
|
+
# ],
|
437
|
+
# [
|
438
|
+
# [
|
439
|
+
# "_id",
|
440
|
+
# "UInt32"
|
441
|
+
# ],
|
442
|
+
# [
|
443
|
+
# "_key",
|
444
|
+
# "ShortText"
|
445
|
+
# ],
|
446
|
+
# [
|
447
|
+
# "content",
|
448
|
+
# "Text"
|
449
|
+
# ],
|
450
|
+
# [
|
451
|
+
# "created_at",
|
452
|
+
# "Time"
|
453
|
+
# ],
|
454
|
+
# [
|
455
|
+
# "n_likes",
|
456
|
+
# "UInt32"
|
457
|
+
# ],
|
458
|
+
# [
|
459
|
+
# "tag",
|
460
|
+
# "ShortText"
|
461
|
+
# ]
|
462
|
+
# ],
|
463
|
+
# [
|
464
|
+
# 1,
|
465
|
+
# "Good-bye Senna",
|
466
|
+
# "I migrated all Senna system!",
|
467
|
+
# 1436367600.0,
|
468
|
+
# 3,
|
469
|
+
# "Senna"
|
470
|
+
# ],
|
471
|
+
# [
|
472
|
+
# 2,
|
473
|
+
# "Good-bye Tritonn",
|
474
|
+
# "I also migrated all Tritonn system!",
|
475
|
+
# 1436371200.0,
|
476
|
+
# 3,
|
477
|
+
# "Senna"
|
478
|
+
# ]
|
479
|
+
# ]
|
480
|
+
# ]
|
481
|
+
# ]
|
482
|
+
</pre></div>
|
483
|
+
</div>
|
127
484
|
</div>
|
128
485
|
<div class="section" id="min-border">
|
129
|
-
<h4>7.3.
|
130
|
-
<p>Specifies whether the
|
131
|
-
|
486
|
+
<span id="logical-select-min-border"></span><h4>7.3.27.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="Permalink to this headline">¶</a></h4>
|
487
|
+
<p>Specifies whether the minimum value is include or not. Here is
|
488
|
+
available values.</p>
|
489
|
+
<table border="1" class="docutils">
|
490
|
+
<colgroup>
|
491
|
+
<col width="50%" />
|
492
|
+
<col width="50%" />
|
493
|
+
</colgroup>
|
494
|
+
<thead valign="bottom">
|
495
|
+
<tr class="row-odd"><th class="head">Value</th>
|
496
|
+
<th class="head">Description</th>
|
497
|
+
</tr>
|
498
|
+
</thead>
|
499
|
+
<tbody valign="top">
|
500
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
501
|
+
<td>Includes <code class="docutils literal"><span class="pre">min</span></code> value. This is the default.</td>
|
502
|
+
</tr>
|
503
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
504
|
+
<td>Doesn't include <code class="docutils literal"><span class="pre">min</span></code> value.</td>
|
505
|
+
</tr>
|
506
|
+
</tbody>
|
507
|
+
</table>
|
508
|
+
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn't include the
|
509
|
+
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
510
|
+
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
511
|
+
<p>Execution example:</p>
|
512
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
513
|
+
--logical_table Entries \
|
514
|
+
--shard_key created_at \
|
515
|
+
--min "2015/07/09 00:00:00" \
|
516
|
+
--min_border "exclude"
|
517
|
+
# [
|
518
|
+
# [
|
519
|
+
# 0,
|
520
|
+
# 1337566253.89858,
|
521
|
+
# 0.000355720520019531
|
522
|
+
# ],
|
523
|
+
# [
|
524
|
+
# [
|
525
|
+
# [
|
526
|
+
# 1
|
527
|
+
# ],
|
528
|
+
# [
|
529
|
+
# [
|
530
|
+
# "_id",
|
531
|
+
# "UInt32"
|
532
|
+
# ],
|
533
|
+
# [
|
534
|
+
# "_key",
|
535
|
+
# "ShortText"
|
536
|
+
# ],
|
537
|
+
# [
|
538
|
+
# "content",
|
539
|
+
# "Text"
|
540
|
+
# ],
|
541
|
+
# [
|
542
|
+
# "created_at",
|
543
|
+
# "Time"
|
544
|
+
# ],
|
545
|
+
# [
|
546
|
+
# "n_likes",
|
547
|
+
# "UInt32"
|
548
|
+
# ],
|
549
|
+
# [
|
550
|
+
# "tag",
|
551
|
+
# "ShortText"
|
552
|
+
# ]
|
553
|
+
# ],
|
554
|
+
# [
|
555
|
+
# 2,
|
556
|
+
# "Good-bye Tritonn",
|
557
|
+
# "I also migrated all Tritonn system!",
|
558
|
+
# 1436371200.0,
|
559
|
+
# 3,
|
560
|
+
# "Senna"
|
561
|
+
# ]
|
562
|
+
# ]
|
563
|
+
# ]
|
564
|
+
# ]
|
565
|
+
</pre></div>
|
566
|
+
</div>
|
132
567
|
</div>
|
133
568
|
<div class="section" id="max">
|
134
|
-
<h4>7.3.
|
135
|
-
<p>Specifies the
|
569
|
+
<span id="logical-select-max"></span><h4>7.3.27.5.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h4>
|
570
|
+
<p>Specifies the maximum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn't
|
571
|
+
have any matched records, the shard isn't searched.</p>
|
572
|
+
<p>For example, <code class="docutils literal"><span class="pre">max</span></code> is <code class="docutils literal"><span class="pre">"2015/07/08</span> <span class="pre">23:59:59"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
573
|
+
isn't searched. Because <code class="docutils literal"><span class="pre">Entry_20150709</span></code> has only records for
|
574
|
+
<code class="docutils literal"><span class="pre">""2015/07/09"</span></code>.</p>
|
575
|
+
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
576
|
+
table. <code class="docutils literal"><span class="pre">Entry_20150709</span></code> isn't used.</p>
|
577
|
+
<p>Execution example:</p>
|
578
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
579
|
+
--logical_table Entries \
|
580
|
+
--shard_key created_at \
|
581
|
+
--max "2015/07/08 23:59:59"
|
582
|
+
# [
|
583
|
+
# [
|
584
|
+
# 0,
|
585
|
+
# 1337566253.89858,
|
586
|
+
# 0.000355720520019531
|
587
|
+
# ],
|
588
|
+
# [
|
589
|
+
# [
|
590
|
+
# [
|
591
|
+
# 3
|
592
|
+
# ],
|
593
|
+
# [
|
594
|
+
# [
|
595
|
+
# "_id",
|
596
|
+
# "UInt32"
|
597
|
+
# ],
|
598
|
+
# [
|
599
|
+
# "_key",
|
600
|
+
# "ShortText"
|
601
|
+
# ],
|
602
|
+
# [
|
603
|
+
# "content",
|
604
|
+
# "Text"
|
605
|
+
# ],
|
606
|
+
# [
|
607
|
+
# "created_at",
|
608
|
+
# "Time"
|
609
|
+
# ],
|
610
|
+
# [
|
611
|
+
# "n_likes",
|
612
|
+
# "UInt32"
|
613
|
+
# ],
|
614
|
+
# [
|
615
|
+
# "tag",
|
616
|
+
# "ShortText"
|
617
|
+
# ]
|
618
|
+
# ],
|
619
|
+
# [
|
620
|
+
# 1,
|
621
|
+
# "The first post!",
|
622
|
+
# "Welcome! This is my first post!",
|
623
|
+
# 1436281200.0,
|
624
|
+
# 5,
|
625
|
+
# "Hello"
|
626
|
+
# ],
|
627
|
+
# [
|
628
|
+
# 2,
|
629
|
+
# "Groonga",
|
630
|
+
# "I started to use Groonga. It's very fast!",
|
631
|
+
# 1436284800.0,
|
632
|
+
# 10,
|
633
|
+
# "Groonga"
|
634
|
+
# ],
|
635
|
+
# [
|
636
|
+
# 3,
|
637
|
+
# "Mroonga",
|
638
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
639
|
+
# 1436288400.0,
|
640
|
+
# 15,
|
641
|
+
# "Groonga"
|
642
|
+
# ]
|
643
|
+
# ]
|
644
|
+
# ]
|
645
|
+
# ]
|
646
|
+
</pre></div>
|
647
|
+
</div>
|
136
648
|
</div>
|
137
649
|
<div class="section" id="max-border">
|
138
|
-
<h4>7.3.
|
139
|
-
<p>Specifies whether the
|
140
|
-
|
650
|
+
<span id="logical-select-max-border"></span><h4>7.3.27.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="Permalink to this headline">¶</a></h4>
|
651
|
+
<p>Specifies whether the maximum value is include or not. Here is
|
652
|
+
available values.</p>
|
653
|
+
<table border="1" class="docutils">
|
654
|
+
<colgroup>
|
655
|
+
<col width="50%" />
|
656
|
+
<col width="50%" />
|
657
|
+
</colgroup>
|
658
|
+
<thead valign="bottom">
|
659
|
+
<tr class="row-odd"><th class="head">Value</th>
|
660
|
+
<th class="head">Description</th>
|
661
|
+
</tr>
|
662
|
+
</thead>
|
663
|
+
<tbody valign="top">
|
664
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
665
|
+
<td>Includes <code class="docutils literal"><span class="pre">max</span></code> value. This is the default.</td>
|
666
|
+
</tr>
|
667
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
668
|
+
<td>Doesn't include <code class="docutils literal"><span class="pre">max</span></code> value.</td>
|
669
|
+
</tr>
|
670
|
+
</tbody>
|
671
|
+
</table>
|
672
|
+
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn't include the
|
673
|
+
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
674
|
+
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
675
|
+
<p>Execution example:</p>
|
676
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
677
|
+
--logical_table Entries \
|
678
|
+
--shard_key created_at \
|
679
|
+
--max "2015/07/09 00:00:00" \
|
680
|
+
--max_border "exclude"
|
681
|
+
# [
|
682
|
+
# [
|
683
|
+
# 0,
|
684
|
+
# 1337566253.89858,
|
685
|
+
# 0.000355720520019531
|
686
|
+
# ],
|
687
|
+
# [
|
688
|
+
# [
|
689
|
+
# [
|
690
|
+
# 3
|
691
|
+
# ],
|
692
|
+
# [
|
693
|
+
# [
|
694
|
+
# "_id",
|
695
|
+
# "UInt32"
|
696
|
+
# ],
|
697
|
+
# [
|
698
|
+
# "_key",
|
699
|
+
# "ShortText"
|
700
|
+
# ],
|
701
|
+
# [
|
702
|
+
# "content",
|
703
|
+
# "Text"
|
704
|
+
# ],
|
705
|
+
# [
|
706
|
+
# "created_at",
|
707
|
+
# "Time"
|
708
|
+
# ],
|
709
|
+
# [
|
710
|
+
# "n_likes",
|
711
|
+
# "UInt32"
|
712
|
+
# ],
|
713
|
+
# [
|
714
|
+
# "tag",
|
715
|
+
# "ShortText"
|
716
|
+
# ]
|
717
|
+
# ],
|
718
|
+
# [
|
719
|
+
# 1,
|
720
|
+
# "The first post!",
|
721
|
+
# "Welcome! This is my first post!",
|
722
|
+
# 1436281200.0,
|
723
|
+
# 5,
|
724
|
+
# "Hello"
|
725
|
+
# ],
|
726
|
+
# [
|
727
|
+
# 2,
|
728
|
+
# "Groonga",
|
729
|
+
# "I started to use Groonga. It's very fast!",
|
730
|
+
# 1436284800.0,
|
731
|
+
# 10,
|
732
|
+
# "Groonga"
|
733
|
+
# ],
|
734
|
+
# [
|
735
|
+
# 3,
|
736
|
+
# "Mroonga",
|
737
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
738
|
+
# 1436288400.0,
|
739
|
+
# 15,
|
740
|
+
# "Groonga"
|
741
|
+
# ]
|
742
|
+
# ]
|
743
|
+
# ]
|
744
|
+
# ]
|
745
|
+
</pre></div>
|
746
|
+
</div>
|
747
|
+
</div>
|
748
|
+
</div>
|
749
|
+
<div class="section" id="search-related-parameters">
|
750
|
+
<span id="logical-select-search-related-parameters"></span><h3>7.3.27.5.3. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
|
751
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> provides <a class="reference internal" href="select.html"><em>select</em></a> compatible search related
|
752
|
+
parameters.</p>
|
753
|
+
<p><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet. <code class="docutils literal"><span class="pre">filter</span></code> is
|
754
|
+
only supported for now.</p>
|
755
|
+
<div class="section" id="match-columns">
|
756
|
+
<span id="logical-select-match-columns"></span><h4>7.3.27.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
757
|
+
<p>Not implemented yet.</p>
|
758
|
+
</div>
|
759
|
+
<div class="section" id="query">
|
760
|
+
<span id="logical-select-query"></span><h4>7.3.27.5.3.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
|
761
|
+
<p>Not implemented yet.</p>
|
141
762
|
</div>
|
142
763
|
<div class="section" id="filter">
|
143
|
-
<h4>7.3.
|
764
|
+
<span id="logical-select-filter"></span><h4>7.3.27.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
|
765
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
766
|
+
<a class="reference internal" href="select.html#select-filter"><span>filter</span></a> for details.</p>
|
767
|
+
<p>Here is an example:</p>
|
768
|
+
<p>Execution example:</p>
|
769
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
770
|
+
--logical_table Entries \
|
771
|
+
--shard_key created_at \
|
772
|
+
--filter "n_likes <= 5"
|
773
|
+
# [
|
774
|
+
# [
|
775
|
+
# 0,
|
776
|
+
# 1337566253.89858,
|
777
|
+
# 0.000355720520019531
|
778
|
+
# ],
|
779
|
+
# [
|
780
|
+
# [
|
781
|
+
# [
|
782
|
+
# 3
|
783
|
+
# ],
|
784
|
+
# [
|
785
|
+
# [
|
786
|
+
# "_id",
|
787
|
+
# "UInt32"
|
788
|
+
# ],
|
789
|
+
# [
|
790
|
+
# "_key",
|
791
|
+
# "ShortText"
|
792
|
+
# ],
|
793
|
+
# [
|
794
|
+
# "content",
|
795
|
+
# "Text"
|
796
|
+
# ],
|
797
|
+
# [
|
798
|
+
# "created_at",
|
799
|
+
# "Time"
|
800
|
+
# ],
|
801
|
+
# [
|
802
|
+
# "n_likes",
|
803
|
+
# "UInt32"
|
804
|
+
# ],
|
805
|
+
# [
|
806
|
+
# "tag",
|
807
|
+
# "ShortText"
|
808
|
+
# ]
|
809
|
+
# ],
|
810
|
+
# [
|
811
|
+
# 1,
|
812
|
+
# "The first post!",
|
813
|
+
# "Welcome! This is my first post!",
|
814
|
+
# 1436281200.0,
|
815
|
+
# 5,
|
816
|
+
# "Hello"
|
817
|
+
# ],
|
818
|
+
# [
|
819
|
+
# 1,
|
820
|
+
# "Good-bye Senna",
|
821
|
+
# "I migrated all Senna system!",
|
822
|
+
# 1436367600.0,
|
823
|
+
# 3,
|
824
|
+
# "Senna"
|
825
|
+
# ],
|
826
|
+
# [
|
827
|
+
# 2,
|
828
|
+
# "Good-bye Tritonn",
|
829
|
+
# "I also migrated all Tritonn system!",
|
830
|
+
# 1436371200.0,
|
831
|
+
# 3,
|
832
|
+
# "Senna"
|
833
|
+
# ]
|
834
|
+
# ]
|
835
|
+
# ]
|
836
|
+
# ]
|
837
|
+
</pre></div>
|
144
838
|
</div>
|
145
839
|
</div>
|
146
840
|
</div>
|
147
|
-
<div class="section" id="
|
148
|
-
<
|
149
|
-
<p>
|
150
|
-
<div class="
|
841
|
+
<div class="section" id="advanced-search-parameters">
|
842
|
+
<span id="logical-select-advanced-search-parameters"></span><h3>7.3.27.5.4. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
843
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> doesn't implement advanced search parameters yet.</p>
|
844
|
+
<div class="section" id="match-escalation-threshold">
|
845
|
+
<span id="logical-select-match-escalation-threshold"></span><h4>7.3.27.5.4.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
|
846
|
+
<p>Not implemented yet.</p>
|
847
|
+
</div>
|
848
|
+
<div class="section" id="query-flags">
|
849
|
+
<span id="logical-select-query-flags"></span><h4>7.3.27.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
|
850
|
+
<p>Not implemented yet.</p>
|
851
|
+
</div>
|
852
|
+
<div class="section" id="query-expander">
|
853
|
+
<span id="logical-select-query-expander"></span><h4>7.3.27.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
|
854
|
+
<p>Not implemented yet.</p>
|
855
|
+
</div>
|
856
|
+
</div>
|
857
|
+
<div class="section" id="output-related-parameters">
|
858
|
+
<h3>7.3.27.5.5. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
859
|
+
<div class="section" id="output-columns">
|
860
|
+
<span id="logical-select-output-columns"></span><h4>7.3.27.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
|
861
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
862
|
+
<a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> for details.</p>
|
863
|
+
<p>Here is an example:</p>
|
864
|
+
<p>Execution example:</p>
|
865
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
866
|
+
--logical_table Entries \
|
867
|
+
--shard_key created_at \
|
868
|
+
--output_columns '_key, *'
|
869
|
+
# [
|
870
|
+
# [
|
871
|
+
# 0,
|
872
|
+
# 1337566253.89858,
|
873
|
+
# 0.000355720520019531
|
874
|
+
# ],
|
875
|
+
# [
|
876
|
+
# [
|
877
|
+
# [
|
878
|
+
# 5
|
879
|
+
# ],
|
880
|
+
# [
|
881
|
+
# [
|
882
|
+
# "_key",
|
883
|
+
# "ShortText"
|
884
|
+
# ],
|
885
|
+
# [
|
886
|
+
# "content",
|
887
|
+
# "Text"
|
888
|
+
# ],
|
889
|
+
# [
|
890
|
+
# "created_at",
|
891
|
+
# "Time"
|
892
|
+
# ],
|
893
|
+
# [
|
894
|
+
# "n_likes",
|
895
|
+
# "UInt32"
|
896
|
+
# ],
|
897
|
+
# [
|
898
|
+
# "tag",
|
899
|
+
# "ShortText"
|
900
|
+
# ]
|
901
|
+
# ],
|
902
|
+
# [
|
903
|
+
# "The first post!",
|
904
|
+
# "Welcome! This is my first post!",
|
905
|
+
# 1436281200.0,
|
906
|
+
# 5,
|
907
|
+
# "Hello"
|
908
|
+
# ],
|
909
|
+
# [
|
910
|
+
# "Groonga",
|
911
|
+
# "I started to use Groonga. It's very fast!",
|
912
|
+
# 1436284800.0,
|
913
|
+
# 10,
|
914
|
+
# "Groonga"
|
915
|
+
# ],
|
916
|
+
# [
|
917
|
+
# "Mroonga",
|
918
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
919
|
+
# 1436288400.0,
|
920
|
+
# 15,
|
921
|
+
# "Groonga"
|
922
|
+
# ],
|
923
|
+
# [
|
924
|
+
# "Good-bye Senna",
|
925
|
+
# "I migrated all Senna system!",
|
926
|
+
# 1436367600.0,
|
927
|
+
# 3,
|
928
|
+
# "Senna"
|
929
|
+
# ],
|
930
|
+
# [
|
931
|
+
# "Good-bye Tritonn",
|
932
|
+
# "I also migrated all Tritonn system!",
|
933
|
+
# 1436371200.0,
|
934
|
+
# 3,
|
935
|
+
# "Senna"
|
936
|
+
# ]
|
937
|
+
# ]
|
938
|
+
# ]
|
939
|
+
# ]
|
940
|
+
</pre></div>
|
941
|
+
</div>
|
942
|
+
</div>
|
943
|
+
<div class="section" id="sortby">
|
944
|
+
<span id="logical-select-sortby"></span><h4>7.3.27.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
|
945
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
946
|
+
<a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> for details.</p>
|
947
|
+
<p><code class="docutils literal"><span class="pre">sortby</span></code> has a limitation. It works only when the number of search
|
948
|
+
target shards is one. If the number of search target shards is larger
|
949
|
+
than one, <code class="docutils literal"><span class="pre">sortby</span></code> doesn't work.</p>
|
950
|
+
<p>Here is an example that uses only one shard:</p>
|
951
|
+
<p>Execution example:</p>
|
952
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
953
|
+
--logical_table Entries \
|
954
|
+
--shard_key created_at \
|
955
|
+
--min "2015/07/08 00:00:00" \
|
956
|
+
--min_border "include" \
|
957
|
+
--max "2015/07/09 00:00:00" \
|
958
|
+
--max_border "exclude" \
|
959
|
+
--sortby _key
|
960
|
+
# [
|
961
|
+
# [
|
962
|
+
# 0,
|
963
|
+
# 1337566253.89858,
|
964
|
+
# 0.000355720520019531
|
965
|
+
# ],
|
966
|
+
# [
|
967
|
+
# [
|
968
|
+
# [
|
969
|
+
# 3
|
970
|
+
# ],
|
971
|
+
# [
|
972
|
+
# [
|
973
|
+
# "_id",
|
974
|
+
# "UInt32"
|
975
|
+
# ],
|
976
|
+
# [
|
977
|
+
# "_key",
|
978
|
+
# "ShortText"
|
979
|
+
# ],
|
980
|
+
# [
|
981
|
+
# "content",
|
982
|
+
# "Text"
|
983
|
+
# ],
|
984
|
+
# [
|
985
|
+
# "created_at",
|
986
|
+
# "Time"
|
987
|
+
# ],
|
988
|
+
# [
|
989
|
+
# "n_likes",
|
990
|
+
# "UInt32"
|
991
|
+
# ],
|
992
|
+
# [
|
993
|
+
# "tag",
|
994
|
+
# "ShortText"
|
995
|
+
# ]
|
996
|
+
# ],
|
997
|
+
# [
|
998
|
+
# 2,
|
999
|
+
# "Groonga",
|
1000
|
+
# "I started to use Groonga. It's very fast!",
|
1001
|
+
# 1436284800.0,
|
1002
|
+
# 10,
|
1003
|
+
# "Groonga"
|
1004
|
+
# ],
|
1005
|
+
# [
|
1006
|
+
# 3,
|
1007
|
+
# "Mroonga",
|
1008
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
1009
|
+
# 1436288400.0,
|
1010
|
+
# 15,
|
1011
|
+
# "Groonga"
|
1012
|
+
# ],
|
1013
|
+
# [
|
1014
|
+
# 1,
|
1015
|
+
# "The first post!",
|
1016
|
+
# "Welcome! This is my first post!",
|
1017
|
+
# 1436281200.0,
|
1018
|
+
# 5,
|
1019
|
+
# "Hello"
|
1020
|
+
# ]
|
1021
|
+
# ]
|
1022
|
+
# ]
|
1023
|
+
# ]
|
1024
|
+
</pre></div>
|
1025
|
+
</div>
|
1026
|
+
</div>
|
1027
|
+
<div class="section" id="offset">
|
1028
|
+
<span id="logical-select-offset"></span><h4>7.3.27.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
|
1029
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1030
|
+
<a class="reference internal" href="select.html#select-offset"><span>offset</span></a> for details.</p>
|
1031
|
+
<p>Here is an example:</p>
|
1032
|
+
<p>Execution example:</p>
|
1033
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1034
|
+
--logical_table Entries \
|
1035
|
+
--shard_key created_at \
|
1036
|
+
--offset 2
|
1037
|
+
# [
|
1038
|
+
# [
|
1039
|
+
# 0,
|
1040
|
+
# 1337566253.89858,
|
1041
|
+
# 0.000355720520019531
|
1042
|
+
# ],
|
1043
|
+
# [
|
1044
|
+
# [
|
1045
|
+
# [
|
1046
|
+
# 5
|
1047
|
+
# ],
|
1048
|
+
# [
|
1049
|
+
# [
|
1050
|
+
# "_id",
|
1051
|
+
# "UInt32"
|
1052
|
+
# ],
|
1053
|
+
# [
|
1054
|
+
# "_key",
|
1055
|
+
# "ShortText"
|
1056
|
+
# ],
|
1057
|
+
# [
|
1058
|
+
# "content",
|
1059
|
+
# "Text"
|
1060
|
+
# ],
|
1061
|
+
# [
|
1062
|
+
# "created_at",
|
1063
|
+
# "Time"
|
1064
|
+
# ],
|
1065
|
+
# [
|
1066
|
+
# "n_likes",
|
1067
|
+
# "UInt32"
|
1068
|
+
# ],
|
1069
|
+
# [
|
1070
|
+
# "tag",
|
1071
|
+
# "ShortText"
|
1072
|
+
# ]
|
1073
|
+
# ],
|
1074
|
+
# [
|
1075
|
+
# 3,
|
1076
|
+
# "Mroonga",
|
1077
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
1078
|
+
# 1436288400.0,
|
1079
|
+
# 15,
|
1080
|
+
# "Groonga"
|
1081
|
+
# ],
|
1082
|
+
# [
|
1083
|
+
# 1,
|
1084
|
+
# "Good-bye Senna",
|
1085
|
+
# "I migrated all Senna system!",
|
1086
|
+
# 1436367600.0,
|
1087
|
+
# 3,
|
1088
|
+
# "Senna"
|
1089
|
+
# ],
|
1090
|
+
# [
|
1091
|
+
# 2,
|
1092
|
+
# "Good-bye Tritonn",
|
1093
|
+
# "I also migrated all Tritonn system!",
|
1094
|
+
# 1436371200.0,
|
1095
|
+
# 3,
|
1096
|
+
# "Senna"
|
1097
|
+
# ]
|
1098
|
+
# ]
|
1099
|
+
# ]
|
1100
|
+
# ]
|
151
1101
|
</pre></div>
|
152
1102
|
</div>
|
153
1103
|
</div>
|
1104
|
+
<div class="section" id="limit">
|
1105
|
+
<span id="logical-select-limit"></span><h4>7.3.27.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
|
1106
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1107
|
+
<a class="reference internal" href="select.html#select-limit"><span>limit</span></a> for details.</p>
|
1108
|
+
<p>Here is an example:</p>
|
1109
|
+
<p>Execution example:</p>
|
1110
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1111
|
+
--logical_table Entries \
|
1112
|
+
--shard_key created_at \
|
1113
|
+
--limit 2
|
1114
|
+
# [
|
1115
|
+
# [
|
1116
|
+
# 0,
|
1117
|
+
# 1337566253.89858,
|
1118
|
+
# 0.000355720520019531
|
1119
|
+
# ],
|
1120
|
+
# [
|
1121
|
+
# [
|
1122
|
+
# [
|
1123
|
+
# 5
|
1124
|
+
# ],
|
1125
|
+
# [
|
1126
|
+
# [
|
1127
|
+
# "_id",
|
1128
|
+
# "UInt32"
|
1129
|
+
# ],
|
1130
|
+
# [
|
1131
|
+
# "_key",
|
1132
|
+
# "ShortText"
|
1133
|
+
# ],
|
1134
|
+
# [
|
1135
|
+
# "content",
|
1136
|
+
# "Text"
|
1137
|
+
# ],
|
1138
|
+
# [
|
1139
|
+
# "created_at",
|
1140
|
+
# "Time"
|
1141
|
+
# ],
|
1142
|
+
# [
|
1143
|
+
# "n_likes",
|
1144
|
+
# "UInt32"
|
1145
|
+
# ],
|
1146
|
+
# [
|
1147
|
+
# "tag",
|
1148
|
+
# "ShortText"
|
1149
|
+
# ]
|
1150
|
+
# ],
|
1151
|
+
# [
|
1152
|
+
# 1,
|
1153
|
+
# "The first post!",
|
1154
|
+
# "Welcome! This is my first post!",
|
1155
|
+
# 1436281200.0,
|
1156
|
+
# 5,
|
1157
|
+
# "Hello"
|
1158
|
+
# ],
|
1159
|
+
# [
|
1160
|
+
# 2,
|
1161
|
+
# "Groonga",
|
1162
|
+
# "I started to use Groonga. It's very fast!",
|
1163
|
+
# 1436284800.0,
|
1164
|
+
# 10,
|
1165
|
+
# "Groonga"
|
1166
|
+
# ]
|
1167
|
+
# ]
|
1168
|
+
# ]
|
1169
|
+
# ]
|
1170
|
+
</pre></div>
|
1171
|
+
</div>
|
1172
|
+
</div>
|
1173
|
+
<div class="section" id="scorer">
|
1174
|
+
<span id="logical-select-scorer"></span><h4>7.3.27.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
|
1175
|
+
<p>Not implemented yet.</p>
|
1176
|
+
</div>
|
1177
|
+
</div>
|
1178
|
+
<div class="section" id="drilldown-related-parameters">
|
1179
|
+
<span id="logical-select-drilldown-related-parameters"></span><h3>7.3.27.5.6. Drilldown related parameters<a class="headerlink" href="#drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1180
|
+
<p>All drilldown related parameters in <a class="reference internal" href="select.html"><em>select</em></a> are supported. See
|
1181
|
+
<a class="reference internal" href="select.html#select-drilldown-related-parameters"><span>Drilldown related parameters</span></a> for details.</p>
|
1182
|
+
<div class="section" id="drilldown">
|
1183
|
+
<span id="logical-select-drilldown"></span><h4>7.3.27.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
|
1184
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1185
|
+
<a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> for details.</p>
|
1186
|
+
<p>Here is an example:</p>
|
1187
|
+
<p>Execution example:</p>
|
1188
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1189
|
+
--logical_table Entries \
|
1190
|
+
--shard_key created_at \
|
1191
|
+
--output_columns _key,tag \
|
1192
|
+
--drilldown tag
|
1193
|
+
# [
|
1194
|
+
# [
|
1195
|
+
# 0,
|
1196
|
+
# 1337566253.89858,
|
1197
|
+
# 0.000355720520019531
|
1198
|
+
# ],
|
1199
|
+
# [
|
1200
|
+
# [
|
1201
|
+
# [
|
1202
|
+
# 5
|
1203
|
+
# ],
|
1204
|
+
# [
|
1205
|
+
# [
|
1206
|
+
# "_key",
|
1207
|
+
# "ShortText"
|
1208
|
+
# ],
|
1209
|
+
# [
|
1210
|
+
# "tag",
|
1211
|
+
# "ShortText"
|
1212
|
+
# ]
|
1213
|
+
# ],
|
1214
|
+
# [
|
1215
|
+
# "The first post!",
|
1216
|
+
# "Hello"
|
1217
|
+
# ],
|
1218
|
+
# [
|
1219
|
+
# "Groonga",
|
1220
|
+
# "Groonga"
|
1221
|
+
# ],
|
1222
|
+
# [
|
1223
|
+
# "Mroonga",
|
1224
|
+
# "Groonga"
|
1225
|
+
# ],
|
1226
|
+
# [
|
1227
|
+
# "Good-bye Senna",
|
1228
|
+
# "Senna"
|
1229
|
+
# ],
|
1230
|
+
# [
|
1231
|
+
# "Good-bye Tritonn",
|
1232
|
+
# "Senna"
|
1233
|
+
# ]
|
1234
|
+
# ],
|
1235
|
+
# [
|
1236
|
+
# [
|
1237
|
+
# 3
|
1238
|
+
# ],
|
1239
|
+
# [
|
1240
|
+
# [
|
1241
|
+
# "_key",
|
1242
|
+
# "ShortText"
|
1243
|
+
# ],
|
1244
|
+
# [
|
1245
|
+
# "_nsubrecs",
|
1246
|
+
# "Int32"
|
1247
|
+
# ]
|
1248
|
+
# ],
|
1249
|
+
# [
|
1250
|
+
# "Hello",
|
1251
|
+
# 1
|
1252
|
+
# ],
|
1253
|
+
# [
|
1254
|
+
# "Groonga",
|
1255
|
+
# 2
|
1256
|
+
# ],
|
1257
|
+
# [
|
1258
|
+
# "Senna",
|
1259
|
+
# 2
|
1260
|
+
# ]
|
1261
|
+
# ]
|
1262
|
+
# ]
|
1263
|
+
# ]
|
1264
|
+
</pre></div>
|
1265
|
+
</div>
|
1266
|
+
</div>
|
1267
|
+
<div class="section" id="drilldown-sortby">
|
1268
|
+
<span id="logical-select-drilldown-sortby"></span><h4>7.3.27.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
|
1269
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1270
|
+
<a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> for details.</p>
|
1271
|
+
<p>Here is an example:</p>
|
1272
|
+
<p>Execution example:</p>
|
1273
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1274
|
+
--logical_table Entries \
|
1275
|
+
--shard_key created_at \
|
1276
|
+
--limit 0 \
|
1277
|
+
--output_columns _id \
|
1278
|
+
--drilldown tag \
|
1279
|
+
--drilldown_sortby -_nsubrecs,_key
|
1280
|
+
# [
|
1281
|
+
# [
|
1282
|
+
# 0,
|
1283
|
+
# 1337566253.89858,
|
1284
|
+
# 0.000355720520019531
|
1285
|
+
# ],
|
1286
|
+
# [
|
1287
|
+
# [
|
1288
|
+
# [
|
1289
|
+
# 5
|
1290
|
+
# ],
|
1291
|
+
# [
|
1292
|
+
# [
|
1293
|
+
# "_id",
|
1294
|
+
# "UInt32"
|
1295
|
+
# ]
|
1296
|
+
# ]
|
1297
|
+
# ],
|
1298
|
+
# [
|
1299
|
+
# [
|
1300
|
+
# 3
|
1301
|
+
# ],
|
1302
|
+
# [
|
1303
|
+
# [
|
1304
|
+
# "_key",
|
1305
|
+
# "ShortText"
|
1306
|
+
# ],
|
1307
|
+
# [
|
1308
|
+
# "_nsubrecs",
|
1309
|
+
# "Int32"
|
1310
|
+
# ]
|
1311
|
+
# ],
|
1312
|
+
# [
|
1313
|
+
# "Groonga",
|
1314
|
+
# 2
|
1315
|
+
# ],
|
1316
|
+
# [
|
1317
|
+
# "Senna",
|
1318
|
+
# 2
|
1319
|
+
# ],
|
1320
|
+
# [
|
1321
|
+
# "Hello",
|
1322
|
+
# 1
|
1323
|
+
# ]
|
1324
|
+
# ]
|
1325
|
+
# ]
|
1326
|
+
# ]
|
1327
|
+
</pre></div>
|
1328
|
+
</div>
|
1329
|
+
</div>
|
1330
|
+
<div class="section" id="drilldown-output-columns">
|
1331
|
+
<span id="logical-select-drilldown-output-columns"></span><h4>7.3.27.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
|
1332
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> in
|
1333
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> for details.</p>
|
1334
|
+
<p>Here is an example:</p>
|
1335
|
+
<p>Execution example:</p>
|
1336
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1337
|
+
--logical_table Entries \
|
1338
|
+
--shard_key created_at \
|
1339
|
+
--limit 0 \
|
1340
|
+
--output_columns _id \
|
1341
|
+
--drilldown tag \
|
1342
|
+
--drilldown_output_columns _key
|
1343
|
+
# [
|
1344
|
+
# [
|
1345
|
+
# 0,
|
1346
|
+
# 1337566253.89858,
|
1347
|
+
# 0.000355720520019531
|
1348
|
+
# ],
|
1349
|
+
# [
|
1350
|
+
# [
|
1351
|
+
# [
|
1352
|
+
# 5
|
1353
|
+
# ],
|
1354
|
+
# [
|
1355
|
+
# [
|
1356
|
+
# "_id",
|
1357
|
+
# "UInt32"
|
1358
|
+
# ]
|
1359
|
+
# ]
|
1360
|
+
# ],
|
1361
|
+
# [
|
1362
|
+
# [
|
1363
|
+
# 3
|
1364
|
+
# ],
|
1365
|
+
# [
|
1366
|
+
# [
|
1367
|
+
# "_key",
|
1368
|
+
# "ShortText"
|
1369
|
+
# ]
|
1370
|
+
# ],
|
1371
|
+
# [
|
1372
|
+
# "Hello"
|
1373
|
+
# ],
|
1374
|
+
# [
|
1375
|
+
# "Groonga"
|
1376
|
+
# ],
|
1377
|
+
# [
|
1378
|
+
# "Senna"
|
1379
|
+
# ]
|
1380
|
+
# ]
|
1381
|
+
# ]
|
1382
|
+
# ]
|
1383
|
+
</pre></div>
|
1384
|
+
</div>
|
1385
|
+
</div>
|
1386
|
+
<div class="section" id="drilldown-offset">
|
1387
|
+
<span id="logical-select-drilldown-offset"></span><h4>7.3.27.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
|
1388
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1389
|
+
<a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> for details.</p>
|
1390
|
+
<p>Here is an example:</p>
|
1391
|
+
<p>Execution example:</p>
|
1392
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1393
|
+
--logical_table Entries \
|
1394
|
+
--shard_key created_at \
|
1395
|
+
--limit 0 \
|
1396
|
+
--output_columns _id \
|
1397
|
+
--drilldown tag \
|
1398
|
+
--drilldown_offset 1
|
1399
|
+
# [
|
1400
|
+
# [
|
1401
|
+
# 0,
|
1402
|
+
# 1337566253.89858,
|
1403
|
+
# 0.000355720520019531
|
1404
|
+
# ],
|
1405
|
+
# [
|
1406
|
+
# [
|
1407
|
+
# [
|
1408
|
+
# 5
|
1409
|
+
# ],
|
1410
|
+
# [
|
1411
|
+
# [
|
1412
|
+
# "_id",
|
1413
|
+
# "UInt32"
|
1414
|
+
# ]
|
1415
|
+
# ]
|
1416
|
+
# ],
|
1417
|
+
# [
|
1418
|
+
# [
|
1419
|
+
# 3
|
1420
|
+
# ],
|
1421
|
+
# [
|
1422
|
+
# [
|
1423
|
+
# "_key",
|
1424
|
+
# "ShortText"
|
1425
|
+
# ],
|
1426
|
+
# [
|
1427
|
+
# "_nsubrecs",
|
1428
|
+
# "Int32"
|
1429
|
+
# ]
|
1430
|
+
# ],
|
1431
|
+
# [
|
1432
|
+
# "Groonga",
|
1433
|
+
# 2
|
1434
|
+
# ],
|
1435
|
+
# [
|
1436
|
+
# "Senna",
|
1437
|
+
# 2
|
1438
|
+
# ]
|
1439
|
+
# ]
|
1440
|
+
# ]
|
1441
|
+
# ]
|
1442
|
+
</pre></div>
|
1443
|
+
</div>
|
1444
|
+
</div>
|
1445
|
+
<div class="section" id="drilldown-limit">
|
1446
|
+
<span id="logical-select-drilldown-limit"></span><h4>7.3.27.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
|
1447
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
|
1448
|
+
<a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> for details.</p>
|
1449
|
+
<p>Here is an example:</p>
|
1450
|
+
<p>Execution example:</p>
|
1451
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1452
|
+
--logical_table Entries \
|
1453
|
+
--shard_key created_at \
|
1454
|
+
--limit 0 \
|
1455
|
+
--output_columns _id \
|
1456
|
+
--drilldown tag \
|
1457
|
+
--drilldown_limit 2
|
1458
|
+
# [
|
1459
|
+
# [
|
1460
|
+
# 0,
|
1461
|
+
# 1337566253.89858,
|
1462
|
+
# 0.000355720520019531
|
1463
|
+
# ],
|
1464
|
+
# [
|
1465
|
+
# [
|
1466
|
+
# [
|
1467
|
+
# 5
|
1468
|
+
# ],
|
1469
|
+
# [
|
1470
|
+
# [
|
1471
|
+
# "_id",
|
1472
|
+
# "UInt32"
|
1473
|
+
# ]
|
1474
|
+
# ]
|
1475
|
+
# ],
|
1476
|
+
# [
|
1477
|
+
# [
|
1478
|
+
# 3
|
1479
|
+
# ],
|
1480
|
+
# [
|
1481
|
+
# [
|
1482
|
+
# "_key",
|
1483
|
+
# "ShortText"
|
1484
|
+
# ],
|
1485
|
+
# [
|
1486
|
+
# "_nsubrecs",
|
1487
|
+
# "Int32"
|
1488
|
+
# ]
|
1489
|
+
# ],
|
1490
|
+
# [
|
1491
|
+
# "Hello",
|
1492
|
+
# 1
|
1493
|
+
# ],
|
1494
|
+
# [
|
1495
|
+
# "Groonga",
|
1496
|
+
# 2
|
1497
|
+
# ]
|
1498
|
+
# ]
|
1499
|
+
# ]
|
1500
|
+
# ]
|
1501
|
+
</pre></div>
|
1502
|
+
</div>
|
1503
|
+
</div>
|
1504
|
+
<div class="section" id="drilldown-calc-types">
|
1505
|
+
<span id="logical-select-drilldown-calc-types"></span><h4>7.3.27.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="Permalink to this headline">¶</a></h4>
|
1506
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> in
|
1507
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> for details.</p>
|
1508
|
+
<p>Here is an example:</p>
|
1509
|
+
<p>Execution example:</p>
|
1510
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1511
|
+
--logical_table Entries \
|
1512
|
+
--shard_key created_at \
|
1513
|
+
--limit -1 \
|
1514
|
+
--output_columns tag,n_likes \
|
1515
|
+
--drilldown tag \
|
1516
|
+
--drilldown_calc_types MAX,MIN,SUM,AVG \
|
1517
|
+
--drilldown_calc_target n_likes \
|
1518
|
+
--drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
1519
|
+
# [
|
1520
|
+
# [
|
1521
|
+
# 0,
|
1522
|
+
# 1337566253.89858,
|
1523
|
+
# 0.000355720520019531
|
1524
|
+
# ],
|
1525
|
+
# [
|
1526
|
+
# [
|
1527
|
+
# [
|
1528
|
+
# 5
|
1529
|
+
# ],
|
1530
|
+
# [
|
1531
|
+
# [
|
1532
|
+
# "tag",
|
1533
|
+
# "ShortText"
|
1534
|
+
# ],
|
1535
|
+
# [
|
1536
|
+
# "n_likes",
|
1537
|
+
# "UInt32"
|
1538
|
+
# ]
|
1539
|
+
# ],
|
1540
|
+
# [
|
1541
|
+
# "Hello",
|
1542
|
+
# 5
|
1543
|
+
# ],
|
1544
|
+
# [
|
1545
|
+
# "Groonga",
|
1546
|
+
# 10
|
1547
|
+
# ],
|
1548
|
+
# [
|
1549
|
+
# "Groonga",
|
1550
|
+
# 15
|
1551
|
+
# ],
|
1552
|
+
# [
|
1553
|
+
# "Senna",
|
1554
|
+
# 3
|
1555
|
+
# ],
|
1556
|
+
# [
|
1557
|
+
# "Senna",
|
1558
|
+
# 3
|
1559
|
+
# ]
|
1560
|
+
# ],
|
1561
|
+
# [
|
1562
|
+
# [
|
1563
|
+
# 3
|
1564
|
+
# ],
|
1565
|
+
# [
|
1566
|
+
# [
|
1567
|
+
# "_key",
|
1568
|
+
# "ShortText"
|
1569
|
+
# ],
|
1570
|
+
# [
|
1571
|
+
# "_nsubrecs",
|
1572
|
+
# "Int32"
|
1573
|
+
# ],
|
1574
|
+
# [
|
1575
|
+
# "_max",
|
1576
|
+
# "Int64"
|
1577
|
+
# ],
|
1578
|
+
# [
|
1579
|
+
# "_min",
|
1580
|
+
# "Int64"
|
1581
|
+
# ],
|
1582
|
+
# [
|
1583
|
+
# "_sum",
|
1584
|
+
# "Int64"
|
1585
|
+
# ],
|
1586
|
+
# [
|
1587
|
+
# "_avg",
|
1588
|
+
# "Float"
|
1589
|
+
# ]
|
1590
|
+
# ],
|
1591
|
+
# [
|
1592
|
+
# "Hello",
|
1593
|
+
# 1,
|
1594
|
+
# 5,
|
1595
|
+
# 5,
|
1596
|
+
# 5,
|
1597
|
+
# 5.0
|
1598
|
+
# ],
|
1599
|
+
# [
|
1600
|
+
# "Groonga",
|
1601
|
+
# 2,
|
1602
|
+
# 15,
|
1603
|
+
# 10,
|
1604
|
+
# 25,
|
1605
|
+
# 12.5
|
1606
|
+
# ],
|
1607
|
+
# [
|
1608
|
+
# "Senna",
|
1609
|
+
# 2,
|
1610
|
+
# 3,
|
1611
|
+
# 3,
|
1612
|
+
# 6,
|
1613
|
+
# 3.0
|
1614
|
+
# ]
|
1615
|
+
# ]
|
1616
|
+
# ]
|
1617
|
+
# ]
|
1618
|
+
</pre></div>
|
1619
|
+
</div>
|
1620
|
+
</div>
|
1621
|
+
<div class="section" id="drilldown-calc-target">
|
1622
|
+
<span id="logical-select-drilldown-calc-target"></span><h4>7.3.27.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="Permalink to this headline">¶</a></h4>
|
1623
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> in
|
1624
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> for details.</p>
|
1625
|
+
<p>See also <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> for an example.</p>
|
1626
|
+
</div>
|
1627
|
+
</div>
|
1628
|
+
<div class="section" id="advanced-drilldown-related-parameters">
|
1629
|
+
<span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.27.5.7. Advanced drilldown related parameters<a class="headerlink" href="#advanced-drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1630
|
+
<p>All advanced drilldown related parameters in <a class="reference internal" href="select.html"><em>select</em></a> are
|
1631
|
+
supported. See <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span>Advanced drilldown related parameters</span></a> for
|
1632
|
+
details.</p>
|
1633
|
+
<p>There are some limitations:</p>
|
1634
|
+
<blockquote>
|
1635
|
+
<div><ul class="simple">
|
1636
|
+
<li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
|
1637
|
+
work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
|
1638
|
+
<code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
|
1639
|
+
</ul>
|
1640
|
+
</div></blockquote>
|
1641
|
+
<div class="section" id="drilldown-label-keys">
|
1642
|
+
<span id="logical-select-drilldown-label-keys"></span><h4>7.3.27.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code><a class="headerlink" href="#drilldown-label-keys" title="Permalink to this headline">¶</a></h4>
|
1643
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> in
|
1644
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> for details.</p>
|
1645
|
+
<p>Here is an example:</p>
|
1646
|
+
<p>Execution example:</p>
|
1647
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1648
|
+
--logical_table Entries \
|
1649
|
+
--shard_key created_at \
|
1650
|
+
--limit 0 \
|
1651
|
+
--output_columns _id \
|
1652
|
+
--drilldown[tag.n_likes].keys tag,n_likes \
|
1653
|
+
--drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
|
1654
|
+
# [
|
1655
|
+
# [
|
1656
|
+
# 0,
|
1657
|
+
# 1337566253.89858,
|
1658
|
+
# 0.000355720520019531
|
1659
|
+
# ],
|
1660
|
+
# [
|
1661
|
+
# [
|
1662
|
+
# [
|
1663
|
+
# 5
|
1664
|
+
# ],
|
1665
|
+
# [
|
1666
|
+
# [
|
1667
|
+
# "_id",
|
1668
|
+
# "UInt32"
|
1669
|
+
# ]
|
1670
|
+
# ]
|
1671
|
+
# ],
|
1672
|
+
# {
|
1673
|
+
# "tag.n_likes": [
|
1674
|
+
# [
|
1675
|
+
# 4
|
1676
|
+
# ],
|
1677
|
+
# [
|
1678
|
+
# [
|
1679
|
+
# "tag",
|
1680
|
+
# "ShortText"
|
1681
|
+
# ],
|
1682
|
+
# [
|
1683
|
+
# "n_likes",
|
1684
|
+
# "UInt32"
|
1685
|
+
# ],
|
1686
|
+
# [
|
1687
|
+
# "_nsubrecs",
|
1688
|
+
# "Int32"
|
1689
|
+
# ]
|
1690
|
+
# ],
|
1691
|
+
# [
|
1692
|
+
# "Hello",
|
1693
|
+
# 5,
|
1694
|
+
# 1
|
1695
|
+
# ],
|
1696
|
+
# [
|
1697
|
+
# "Groonga",
|
1698
|
+
# 10,
|
1699
|
+
# 1
|
1700
|
+
# ],
|
1701
|
+
# [
|
1702
|
+
# "Groonga",
|
1703
|
+
# 15,
|
1704
|
+
# 1
|
1705
|
+
# ],
|
1706
|
+
# [
|
1707
|
+
# "Senna",
|
1708
|
+
# 3,
|
1709
|
+
# 2
|
1710
|
+
# ]
|
1711
|
+
# ]
|
1712
|
+
# }
|
1713
|
+
# ]
|
1714
|
+
# ]
|
1715
|
+
</pre></div>
|
1716
|
+
</div>
|
1717
|
+
</div>
|
1718
|
+
<div class="section" id="drilldown-label-output-columns">
|
1719
|
+
<span id="logical-select-drilldown-label-output-columns"></span><h4>7.3.27.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldown-label-output-columns" title="Permalink to this headline">¶</a></h4>
|
1720
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> in
|
1721
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> for
|
1722
|
+
details.</p>
|
1723
|
+
<p>Here is an example:</p>
|
1724
|
+
<p>Execution example:</p>
|
1725
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1726
|
+
--logical_table Entries \
|
1727
|
+
--shard_key created_at \
|
1728
|
+
--limit 0 \
|
1729
|
+
--output_columns _id \
|
1730
|
+
--drilldown[tag].keys tag \
|
1731
|
+
--drilldown[tag].output_columns _key,_nsubrecs
|
1732
|
+
# [
|
1733
|
+
# [
|
1734
|
+
# 0,
|
1735
|
+
# 1337566253.89858,
|
1736
|
+
# 0.000355720520019531
|
1737
|
+
# ],
|
1738
|
+
# [
|
1739
|
+
# [
|
1740
|
+
# [
|
1741
|
+
# 5
|
1742
|
+
# ],
|
1743
|
+
# [
|
1744
|
+
# [
|
1745
|
+
# "_id",
|
1746
|
+
# "UInt32"
|
1747
|
+
# ]
|
1748
|
+
# ]
|
1749
|
+
# ],
|
1750
|
+
# {
|
1751
|
+
# "tag": [
|
1752
|
+
# [
|
1753
|
+
# 3
|
1754
|
+
# ],
|
1755
|
+
# [
|
1756
|
+
# [
|
1757
|
+
# "_key",
|
1758
|
+
# "ShortText"
|
1759
|
+
# ],
|
1760
|
+
# [
|
1761
|
+
# "_nsubrecs",
|
1762
|
+
# "Int32"
|
1763
|
+
# ]
|
1764
|
+
# ],
|
1765
|
+
# [
|
1766
|
+
# "Hello",
|
1767
|
+
# 1
|
1768
|
+
# ],
|
1769
|
+
# [
|
1770
|
+
# "Groonga",
|
1771
|
+
# 2
|
1772
|
+
# ],
|
1773
|
+
# [
|
1774
|
+
# "Senna",
|
1775
|
+
# 2
|
1776
|
+
# ]
|
1777
|
+
# ]
|
1778
|
+
# }
|
1779
|
+
# ]
|
1780
|
+
# ]
|
1781
|
+
</pre></div>
|
1782
|
+
</div>
|
1783
|
+
</div>
|
1784
|
+
<div class="section" id="drilldown-label-sortby">
|
1785
|
+
<span id="logical-select-drilldown-label-sortby"></span><h4>7.3.27.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldown-label-sortby" title="Permalink to this headline">¶</a></h4>
|
1786
|
+
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-sortby"><span>drilldown_sortby</span></a> in not labeled
|
1787
|
+
drilldown.</p>
|
1788
|
+
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> has a limitation.</p>
|
1789
|
+
<p><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't work
|
1790
|
+
with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
|
1791
|
+
<code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</p>
|
1792
|
+
<p>Here is an example that uses <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> with only one
|
1793
|
+
shard:</p>
|
1794
|
+
<p>Execution example:</p>
|
1795
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1796
|
+
--logical_table Entries \
|
1797
|
+
--shard_key created_at \
|
1798
|
+
--min "2015/07/08 00:00:00" \
|
1799
|
+
--min_border "include" \
|
1800
|
+
--max "2015/07/09 00:00:00" \
|
1801
|
+
--max_border "exclude" \
|
1802
|
+
--limit 0 \
|
1803
|
+
--output_columns _id \
|
1804
|
+
--drilldown[tag.n_likes].keys tag,n_likes \
|
1805
|
+
--drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
|
1806
|
+
--drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
|
1807
|
+
# [
|
1808
|
+
# [
|
1809
|
+
# 0,
|
1810
|
+
# 1337566253.89858,
|
1811
|
+
# 0.000355720520019531
|
1812
|
+
# ],
|
1813
|
+
# [
|
1814
|
+
# [
|
1815
|
+
# [
|
1816
|
+
# 3
|
1817
|
+
# ],
|
1818
|
+
# [
|
1819
|
+
# [
|
1820
|
+
# "_id",
|
1821
|
+
# "UInt32"
|
1822
|
+
# ]
|
1823
|
+
# ]
|
1824
|
+
# ],
|
1825
|
+
# {
|
1826
|
+
# "tag.n_likes": [
|
1827
|
+
# [
|
1828
|
+
# 3
|
1829
|
+
# ],
|
1830
|
+
# [
|
1831
|
+
# [
|
1832
|
+
# "_nsubrecs",
|
1833
|
+
# "Int32"
|
1834
|
+
# ],
|
1835
|
+
# [
|
1836
|
+
# "n_likes",
|
1837
|
+
# "UInt32"
|
1838
|
+
# ],
|
1839
|
+
# [
|
1840
|
+
# "tag",
|
1841
|
+
# "ShortText"
|
1842
|
+
# ]
|
1843
|
+
# ],
|
1844
|
+
# [
|
1845
|
+
# 1,
|
1846
|
+
# 5,
|
1847
|
+
# "Hello"
|
1848
|
+
# ],
|
1849
|
+
# [
|
1850
|
+
# 1,
|
1851
|
+
# 10,
|
1852
|
+
# "Groonga"
|
1853
|
+
# ],
|
1854
|
+
# [
|
1855
|
+
# 1,
|
1856
|
+
# 15,
|
1857
|
+
# "Groonga"
|
1858
|
+
# ]
|
1859
|
+
# ]
|
1860
|
+
# }
|
1861
|
+
# ]
|
1862
|
+
# ]
|
1863
|
+
</pre></div>
|
1864
|
+
</div>
|
1865
|
+
</div>
|
1866
|
+
<div class="section" id="drilldown-label-offset">
|
1867
|
+
<span id="logical-select-drilldown-label-offset"></span><h4>7.3.27.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code><a class="headerlink" href="#drilldown-label-offset" title="Permalink to this headline">¶</a></h4>
|
1868
|
+
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-offset"><span>drilldown_offset</span></a> in not labeled
|
1869
|
+
drilldown.</p>
|
1870
|
+
<p>Here is an example:</p>
|
1871
|
+
<p>Execution example:</p>
|
1872
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1873
|
+
--logical_table Entries \
|
1874
|
+
--shard_key created_at \
|
1875
|
+
--limit 0 \
|
1876
|
+
--output_columns _id \
|
1877
|
+
--drilldown[tag.n_likes].keys tag \
|
1878
|
+
--drilldown[tag.n_likes].offset 1
|
1879
|
+
# [
|
1880
|
+
# [
|
1881
|
+
# 0,
|
1882
|
+
# 1337566253.89858,
|
1883
|
+
# 0.000355720520019531
|
1884
|
+
# ],
|
1885
|
+
# [
|
1886
|
+
# [
|
1887
|
+
# [
|
1888
|
+
# 5
|
1889
|
+
# ],
|
1890
|
+
# [
|
1891
|
+
# [
|
1892
|
+
# "_id",
|
1893
|
+
# "UInt32"
|
1894
|
+
# ]
|
1895
|
+
# ]
|
1896
|
+
# ],
|
1897
|
+
# {
|
1898
|
+
# "tag.n_likes": [
|
1899
|
+
# [
|
1900
|
+
# 3
|
1901
|
+
# ],
|
1902
|
+
# [
|
1903
|
+
# [
|
1904
|
+
# "_key",
|
1905
|
+
# "ShortText"
|
1906
|
+
# ],
|
1907
|
+
# [
|
1908
|
+
# "_nsubrecs",
|
1909
|
+
# "Int32"
|
1910
|
+
# ]
|
1911
|
+
# ],
|
1912
|
+
# [
|
1913
|
+
# "Groonga",
|
1914
|
+
# 2
|
1915
|
+
# ],
|
1916
|
+
# [
|
1917
|
+
# "Senna",
|
1918
|
+
# 2
|
1919
|
+
# ]
|
1920
|
+
# ]
|
1921
|
+
# }
|
1922
|
+
# ]
|
1923
|
+
# ]
|
1924
|
+
</pre></div>
|
1925
|
+
</div>
|
1926
|
+
</div>
|
1927
|
+
<div class="section" id="drilldown-label-limit">
|
1928
|
+
<span id="logical-select-drilldown-label-limit"></span><h4>7.3.27.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code><a class="headerlink" href="#drilldown-label-limit" title="Permalink to this headline">¶</a></h4>
|
1929
|
+
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-limit"><span>drilldown_limit</span></a> in not labeled
|
1930
|
+
drilldown.</p>
|
1931
|
+
<p>Here is an example:</p>
|
1932
|
+
<p>Execution example:</p>
|
1933
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1934
|
+
--logical_table Entries \
|
1935
|
+
--shard_key created_at \
|
1936
|
+
--limit 0 \
|
1937
|
+
--output_columns _id \
|
1938
|
+
--drilldown[tag.n_likes].keys tag \
|
1939
|
+
--drilldown[tag.n_likes].limit 2
|
1940
|
+
# [
|
1941
|
+
# [
|
1942
|
+
# 0,
|
1943
|
+
# 1337566253.89858,
|
1944
|
+
# 0.000355720520019531
|
1945
|
+
# ],
|
1946
|
+
# [
|
1947
|
+
# [
|
1948
|
+
# [
|
1949
|
+
# 5
|
1950
|
+
# ],
|
1951
|
+
# [
|
1952
|
+
# [
|
1953
|
+
# "_id",
|
1954
|
+
# "UInt32"
|
1955
|
+
# ]
|
1956
|
+
# ]
|
1957
|
+
# ],
|
1958
|
+
# {
|
1959
|
+
# "tag.n_likes": [
|
1960
|
+
# [
|
1961
|
+
# 3
|
1962
|
+
# ],
|
1963
|
+
# [
|
1964
|
+
# [
|
1965
|
+
# "_key",
|
1966
|
+
# "ShortText"
|
1967
|
+
# ],
|
1968
|
+
# [
|
1969
|
+
# "_nsubrecs",
|
1970
|
+
# "Int32"
|
1971
|
+
# ]
|
1972
|
+
# ],
|
1973
|
+
# [
|
1974
|
+
# "Hello",
|
1975
|
+
# 1
|
1976
|
+
# ],
|
1977
|
+
# [
|
1978
|
+
# "Groonga",
|
1979
|
+
# 2
|
1980
|
+
# ]
|
1981
|
+
# ]
|
1982
|
+
# }
|
1983
|
+
# ]
|
1984
|
+
# ]
|
1985
|
+
</pre></div>
|
1986
|
+
</div>
|
1987
|
+
</div>
|
1988
|
+
<div class="section" id="drilldown-label-calc-types">
|
1989
|
+
<span id="logical-select-drilldown-label-calc-types"></span><h4>7.3.27.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldown-label-calc-types" title="Permalink to this headline">¶</a></h4>
|
1990
|
+
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> in not
|
1991
|
+
labeled drilldown.</p>
|
1992
|
+
<p>Here is an example:</p>
|
1993
|
+
<p>Execution example:</p>
|
1994
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1995
|
+
--logical_table Entries \
|
1996
|
+
--shard_key created_at \
|
1997
|
+
--limit 0 \
|
1998
|
+
--output_columns _id \
|
1999
|
+
--drilldown[tag].keys tag \
|
2000
|
+
--drilldown[tag].calc_types MAX,MIN,SUM,AVG \
|
2001
|
+
--drilldown[tag].calc_target n_likes \
|
2002
|
+
--drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
2003
|
+
# [
|
2004
|
+
# [
|
2005
|
+
# 0,
|
2006
|
+
# 1337566253.89858,
|
2007
|
+
# 0.000355720520019531
|
2008
|
+
# ],
|
2009
|
+
# [
|
2010
|
+
# [
|
2011
|
+
# [
|
2012
|
+
# 5
|
2013
|
+
# ],
|
2014
|
+
# [
|
2015
|
+
# [
|
2016
|
+
# "_id",
|
2017
|
+
# "UInt32"
|
2018
|
+
# ]
|
2019
|
+
# ]
|
2020
|
+
# ],
|
2021
|
+
# {
|
2022
|
+
# "tag": [
|
2023
|
+
# [
|
2024
|
+
# 3
|
2025
|
+
# ],
|
2026
|
+
# [
|
2027
|
+
# [
|
2028
|
+
# "_key",
|
2029
|
+
# "ShortText"
|
2030
|
+
# ],
|
2031
|
+
# [
|
2032
|
+
# "_nsubrecs",
|
2033
|
+
# "Int32"
|
2034
|
+
# ],
|
2035
|
+
# [
|
2036
|
+
# "_max",
|
2037
|
+
# "Int64"
|
2038
|
+
# ],
|
2039
|
+
# [
|
2040
|
+
# "_min",
|
2041
|
+
# "Int64"
|
2042
|
+
# ],
|
2043
|
+
# [
|
2044
|
+
# "_sum",
|
2045
|
+
# "Int64"
|
2046
|
+
# ],
|
2047
|
+
# [
|
2048
|
+
# "_avg",
|
2049
|
+
# "Float"
|
2050
|
+
# ]
|
2051
|
+
# ],
|
2052
|
+
# [
|
2053
|
+
# "Hello",
|
2054
|
+
# 1,
|
2055
|
+
# 5,
|
2056
|
+
# 5,
|
2057
|
+
# 5,
|
2058
|
+
# 5.0
|
2059
|
+
# ],
|
2060
|
+
# [
|
2061
|
+
# "Groonga",
|
2062
|
+
# 2,
|
2063
|
+
# 15,
|
2064
|
+
# 10,
|
2065
|
+
# 25,
|
2066
|
+
# 12.5
|
2067
|
+
# ],
|
2068
|
+
# [
|
2069
|
+
# "Senna",
|
2070
|
+
# 2,
|
2071
|
+
# 3,
|
2072
|
+
# 3,
|
2073
|
+
# 6,
|
2074
|
+
# 3.0
|
2075
|
+
# ]
|
2076
|
+
# ]
|
2077
|
+
# }
|
2078
|
+
# ]
|
2079
|
+
# ]
|
2080
|
+
</pre></div>
|
2081
|
+
</div>
|
2082
|
+
</div>
|
2083
|
+
<div class="section" id="drilldown-label-calc-target">
|
2084
|
+
<span id="logical-select-drilldown-label-calc-target"></span><h4>7.3.27.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldown-label-calc-target" title="Permalink to this headline">¶</a></h4>
|
2085
|
+
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-target"><span>drilldown_calc_target</span></a> in not
|
2086
|
+
labeled drilldown.</p>
|
2087
|
+
<p>See also <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span>drilldown[${LABEL}].calc_types</span></a>
|
2088
|
+
for an example.</p>
|
2089
|
+
</div>
|
2090
|
+
</div>
|
2091
|
+
</div>
|
2092
|
+
<div class="section" id="return-value">
|
2093
|
+
<h2>7.3.27.6. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
2094
|
+
<p>The return value format of <code class="docutils literal"><span class="pre">logical_select</span></code> is compatible with
|
2095
|
+
<a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-return-value"><span>Return value</span></a> for details.</p>
|
2096
|
+
</div>
|
154
2097
|
</div>
|
155
2098
|
|
156
2099
|
|
157
2100
|
</div>
|
158
2101
|
</div>
|
159
2102
|
</div>
|
160
|
-
<div class="sphinxsidebar">
|
2103
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
161
2104
|
<div class="sphinxsidebarwrapper">
|
162
2105
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
163
2106
|
<ul>
|
164
|
-
<li><a class="reference internal" href="#">7.3.
|
165
|
-
<li><a class="reference internal" href="#summary">7.3.
|
166
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
167
|
-
<li><a class="reference internal" href="#
|
168
|
-
<li><a class="reference internal" href="#
|
169
|
-
<li><a class="reference internal" href="#
|
170
|
-
<li><a class="reference internal" href="#logical-table">7.3.24.4.1.1. <tt class="docutils literal"><span class="pre">logical_table</span></tt></a></li>
|
171
|
-
<li><a class="reference internal" href="#shard-key">7.3.24.4.1.2. <tt class="docutils literal"><span class="pre">shard_key</span></tt></a></li>
|
2107
|
+
<li><a class="reference internal" href="#">7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
|
2108
|
+
<li><a class="reference internal" href="#summary">7.3.27.1. Summary</a></li>
|
2109
|
+
<li><a class="reference internal" href="#syntax">7.3.27.2. Syntax</a></li>
|
2110
|
+
<li><a class="reference internal" href="#differences-from-select">7.3.27.3. Differences from <code class="docutils literal"><span class="pre">select</span></code></a></li>
|
2111
|
+
<li><a class="reference internal" href="#usage">7.3.27.4. Usage</a><ul>
|
2112
|
+
<li><a class="reference internal" href="#simple-usage">7.3.27.4.1. Simple usage</a></li>
|
172
2113
|
</ul>
|
173
2114
|
</li>
|
174
|
-
<li><a class="reference internal" href="#
|
175
|
-
<li><a class="reference internal" href="#
|
176
|
-
<li><a class="reference internal" href="#
|
177
|
-
<li><a class="reference internal" href="#
|
178
|
-
<li><a class="reference internal" href="#max-border">7.3.24.4.2.4. <tt class="docutils literal"><span class="pre">max_border</span></tt></a></li>
|
179
|
-
<li><a class="reference internal" href="#filter">7.3.24.4.2.5. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2115
|
+
<li><a class="reference internal" href="#parameters">7.3.27.5. Parameters</a><ul>
|
2116
|
+
<li><a class="reference internal" href="#required-parameter">7.3.27.5.1. Required parameter</a><ul>
|
2117
|
+
<li><a class="reference internal" href="#logical-table">7.3.27.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
|
2118
|
+
<li><a class="reference internal" href="#shard-key">7.3.27.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
|
180
2119
|
</ul>
|
181
2120
|
</li>
|
2121
|
+
<li><a class="reference internal" href="#optional-parameters">7.3.27.5.2. Optional parameters</a><ul>
|
2122
|
+
<li><a class="reference internal" href="#min">7.3.27.5.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
|
2123
|
+
<li><a class="reference internal" href="#min-border">7.3.27.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
|
2124
|
+
<li><a class="reference internal" href="#max">7.3.27.5.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
|
2125
|
+
<li><a class="reference internal" href="#max-border">7.3.27.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
|
182
2126
|
</ul>
|
183
2127
|
</li>
|
184
|
-
<li><a class="reference internal" href="#
|
2128
|
+
<li><a class="reference internal" href="#search-related-parameters">7.3.27.5.3. Search related parameters</a><ul>
|
2129
|
+
<li><a class="reference internal" href="#match-columns">7.3.27.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
|
2130
|
+
<li><a class="reference internal" href="#query">7.3.27.5.3.2. <code class="docutils literal"><span class="pre">query</span></code></a></li>
|
2131
|
+
<li><a class="reference internal" href="#filter">7.3.27.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
2132
|
+
</ul>
|
2133
|
+
</li>
|
2134
|
+
<li><a class="reference internal" href="#advanced-search-parameters">7.3.27.5.4. Advanced search parameters</a><ul>
|
2135
|
+
<li><a class="reference internal" href="#match-escalation-threshold">7.3.27.5.4.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code></a></li>
|
2136
|
+
<li><a class="reference internal" href="#query-flags">7.3.27.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code></a></li>
|
2137
|
+
<li><a class="reference internal" href="#query-expander">7.3.27.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
|
2138
|
+
</ul>
|
2139
|
+
</li>
|
2140
|
+
<li><a class="reference internal" href="#output-related-parameters">7.3.27.5.5. Output related parameters</a><ul>
|
2141
|
+
<li><a class="reference internal" href="#output-columns">7.3.27.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
|
2142
|
+
<li><a class="reference internal" href="#sortby">7.3.27.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
|
2143
|
+
<li><a class="reference internal" href="#offset">7.3.27.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
|
2144
|
+
<li><a class="reference internal" href="#limit">7.3.27.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
|
2145
|
+
<li><a class="reference internal" href="#scorer">7.3.27.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
|
2146
|
+
</ul>
|
2147
|
+
</li>
|
2148
|
+
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.27.5.6. Drilldown related parameters</a><ul>
|
2149
|
+
<li><a class="reference internal" href="#drilldown">7.3.27.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
|
2150
|
+
<li><a class="reference internal" href="#drilldown-sortby">7.3.27.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
|
2151
|
+
<li><a class="reference internal" href="#drilldown-output-columns">7.3.27.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
|
2152
|
+
<li><a class="reference internal" href="#drilldown-offset">7.3.27.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
|
2153
|
+
<li><a class="reference internal" href="#drilldown-limit">7.3.27.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
|
2154
|
+
<li><a class="reference internal" href="#drilldown-calc-types">7.3.27.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
|
2155
|
+
<li><a class="reference internal" href="#drilldown-calc-target">7.3.27.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
|
2156
|
+
</ul>
|
2157
|
+
</li>
|
2158
|
+
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.27.5.7. Advanced drilldown related parameters</a><ul>
|
2159
|
+
<li><a class="reference internal" href="#drilldown-label-keys">7.3.27.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code></a></li>
|
2160
|
+
<li><a class="reference internal" href="#drilldown-label-output-columns">7.3.27.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code></a></li>
|
2161
|
+
<li><a class="reference internal" href="#drilldown-label-sortby">7.3.27.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code></a></li>
|
2162
|
+
<li><a class="reference internal" href="#drilldown-label-offset">7.3.27.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code></a></li>
|
2163
|
+
<li><a class="reference internal" href="#drilldown-label-limit">7.3.27.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code></a></li>
|
2164
|
+
<li><a class="reference internal" href="#drilldown-label-calc-types">7.3.27.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code></a></li>
|
2165
|
+
<li><a class="reference internal" href="#drilldown-label-calc-target">7.3.27.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code></a></li>
|
2166
|
+
</ul>
|
2167
|
+
</li>
|
2168
|
+
</ul>
|
2169
|
+
</li>
|
2170
|
+
<li><a class="reference internal" href="#return-value">7.3.27.6. Return value</a></li>
|
185
2171
|
</ul>
|
186
2172
|
</li>
|
187
2173
|
</ul>
|
188
2174
|
|
189
2175
|
<h4>Previous topic</h4>
|
190
2176
|
<p class="topless"><a href="logical_range_filter.html"
|
191
|
-
title="previous chapter">7.3.
|
2177
|
+
title="previous chapter">7.3.26. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
192
2178
|
<h4>Next topic</h4>
|
193
|
-
<p class="topless"><a href="
|
194
|
-
title="next chapter">7.3.
|
195
|
-
<
|
196
|
-
|
197
|
-
<
|
198
|
-
|
199
|
-
|
200
|
-
|
2179
|
+
<p class="topless"><a href="logical_shard_list.html"
|
2180
|
+
title="next chapter">7.3.28. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
|
2181
|
+
<div role="note" aria-label="source link">
|
2182
|
+
<h3>This Page</h3>
|
2183
|
+
<ul class="this-page-menu">
|
2184
|
+
<li><a href="../../_sources/reference/commands/logical_select.txt"
|
2185
|
+
rel="nofollow">Show Source</a></li>
|
2186
|
+
</ul>
|
2187
|
+
</div>
|
2188
|
+
<div id="searchbox" style="display: none" role="search">
|
201
2189
|
<h3>Quick search</h3>
|
202
2190
|
<form class="search" action="../../search.html" method="get">
|
203
2191
|
<input type="text" name="q" />
|
@@ -214,24 +2202,24 @@ Specify <tt class="docutils literal"><span class="pre">include</span></tt> or <t
|
|
214
2202
|
</div>
|
215
2203
|
<div class="clearer"></div>
|
216
2204
|
</div>
|
217
|
-
<div class="related">
|
2205
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
218
2206
|
<h3>Navigation</h3>
|
219
2207
|
<ul>
|
220
2208
|
<li class="right" style="margin-right: 10px">
|
221
2209
|
<a href="../../genindex.html" title="General Index"
|
222
2210
|
>index</a></li>
|
223
2211
|
<li class="right" >
|
224
|
-
<a href="
|
2212
|
+
<a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
|
225
2213
|
>next</a> |</li>
|
226
2214
|
<li class="right" >
|
227
|
-
<a href="logical_range_filter.html" title="7.3.
|
2215
|
+
<a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
|
228
2216
|
>previous</a> |</li>
|
229
|
-
<li><a href="../../index.html">Groonga v5.0.
|
230
|
-
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
231
|
-
<li><a href="../
|
2217
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> »</li>
|
2218
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
2219
|
+
<li class="nav-item nav-item-2"><a href="../sharding.html" >7.18. Sharding</a> »</li>
|
232
2220
|
</ul>
|
233
2221
|
</div>
|
234
|
-
<div class="footer">
|
2222
|
+
<div class="footer" role="contentinfo">
|
235
2223
|
© Copyright 2009-2015, Brazil, Inc.
|
236
2224
|
</div>
|
237
2225
|
</body>
|