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ドキュメント</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
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.3.
|
32
|
-
<link rel="prev" title="7.3.
|
29
|
+
<link rel="top" title="Groonga v5.0.6-226-gd7da7e7ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.18. シャーディング" href="../sharding.html" />
|
31
|
+
<link rel="next" title="7.3.28. logical_shard_list" href="logical_shard_list.html" />
|
32
|
+
<link rel="prev" title="7.3.26. logical_range_filter" href="logical_range_filter.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,33 +49,33 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="
|
59
|
+
<a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="logical_range_filter.html" title="7.3.
|
62
|
+
<a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
65
|
-
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../
|
64
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> »</li>
|
65
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li class="nav-item nav-item-2"><a href="../sharding.html" accesskey="U">7.18. シャーディング</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="logical-select">
|
76
|
-
<h1>7.3.
|
76
|
+
<h1>7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.3.
|
78
|
+
<h2>7.3.27.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<div class="admonition note">
|
80
80
|
<p class="first admonition-title">注釈</p>
|
81
81
|
<p class="last">このコマンドは実験的な機能です。</p>
|
@@ -83,119 +83,2047 @@
|
|
83
83
|
<div class="versionadded">
|
84
84
|
<p><span class="versionmodified">バージョン 5.0.5 で追加.</span></p>
|
85
85
|
</div>
|
86
|
-
<p>
|
86
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><em>select</em></a> のシャーディングバージョンです。 <code class="docutils literal"><span class="pre">logical_select</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
|
87
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので、 <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを <a class="reference internal" href="plugin_register.html"><em>plugin_register</em></a> する必要があります。</p>
|
87
88
|
</div>
|
88
89
|
<div class="section" id="syntax">
|
89
|
-
<h2>7.3.
|
90
|
-
<p
|
91
|
-
<p
|
90
|
+
<h2>7.3.27.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
|
+
<p>このコマンドにはたくさんの引数があります。</p>
|
92
|
+
<p>必須の引数は <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。それ以外の引数は省略可能です:</p>
|
92
93
|
<div class="highlight-none"><div class="highlight"><pre>logical_select logical_table
|
93
94
|
shard_key
|
94
|
-
[min]
|
95
|
-
[min_border]
|
96
|
-
[max]
|
97
|
-
[max_border]
|
98
|
-
[filter]
|
95
|
+
[min=null]
|
96
|
+
[min_border="include"]
|
97
|
+
[max=null]
|
98
|
+
[max_border="include"]
|
99
|
+
[filter=null]
|
100
|
+
[sortby=null]
|
101
|
+
[output_columns="_id, _key, *"]
|
102
|
+
[offset=0]
|
103
|
+
[limit=10]
|
104
|
+
[drilldown=null]
|
105
|
+
[drilldown_sortby=null]
|
106
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
107
|
+
[drilldown_offset=0]
|
108
|
+
[drilldown_limit=10]
|
109
|
+
[drilldown_calc_types=NONE]
|
110
|
+
[drilldown_calc_target=null]
|
99
111
|
</pre></div>
|
100
112
|
</div>
|
113
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> には高度なドリルダウン機能のために以下の名前付き引数があります。</p>
|
114
|
+
<blockquote>
|
115
|
+
<div><ul class="simple">
|
116
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
|
117
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
|
118
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></li>
|
119
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
|
120
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
|
121
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
|
122
|
+
<li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
|
123
|
+
</ul>
|
124
|
+
</div></blockquote>
|
125
|
+
<p><code class="docutils literal"><span class="pre">${LABEL}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> 、 <code class="docutils literal"><span class="pre">.</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">parent.sub1</span></code> は有効な <code class="docutils literal"><span class="pre">${LABEL}</span></code> です。</p>
|
126
|
+
<p>同じ <code class="docutils literal"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
|
127
|
+
<p>たとえば、以下の引数は1つのドリルダウンを指定しています。</p>
|
128
|
+
<blockquote>
|
129
|
+
<div><ul class="simple">
|
130
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
|
131
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
|
132
|
+
</ul>
|
133
|
+
</div></blockquote>
|
134
|
+
<p>以下の引数は2つのドリルダウンを指定しています。</p>
|
135
|
+
<blockquote>
|
136
|
+
<div><ul class="simple">
|
137
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
|
138
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
|
139
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
|
140
|
+
<li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
|
141
|
+
</ul>
|
142
|
+
</div></blockquote>
|
143
|
+
</div>
|
144
|
+
<div class="section" id="differences-from-select">
|
145
|
+
<h2>7.3.27.3. <code class="docutils literal"><span class="pre">select</span></code> との違い<a class="headerlink" href="#differences-from-select" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
146
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> の多くの機能は <a class="reference internal" href="select.html"><em>select</em></a> の機能と対応しています。たとえば、引数名は同じですし、出力フォーマットも同じです。</p>
|
147
|
+
<p>しかし、いくつか <a class="reference internal" href="select.html"><em>select</em></a> と違うところもあります。</p>
|
148
|
+
<blockquote>
|
149
|
+
<div><ul class="simple">
|
150
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">table</span></code> 引数ではなく、 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数が必須です。</p>
|
151
|
+
</li>
|
152
|
+
<li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sortby</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。)</p>
|
153
|
+
</li>
|
154
|
+
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
155
|
+
</li>
|
156
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。</p>
|
157
|
+
</li>
|
158
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">cache</span></code> はまだサポートしていません。</p>
|
159
|
+
</li>
|
160
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> はまだサポートしていません。</p>
|
161
|
+
</li>
|
162
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">query_flags</span></code> はまだサポートしていません。</p>
|
163
|
+
</li>
|
164
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">query_expander</span></code> はまだサポートしていません。</p>
|
165
|
+
</li>
|
166
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">adjuster</span></code> はまだサポートしていません。</p>
|
167
|
+
</li>
|
168
|
+
</ul>
|
169
|
+
</div></blockquote>
|
101
170
|
</div>
|
102
171
|
<div class="section" id="usage">
|
103
|
-
<h2>7.3.
|
172
|
+
<h2>7.3.27.4. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
173
|
+
<p>例を使いながら <code class="docutils literal"><span class="pre">logical_select</span></code> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
|
174
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
|
175
|
+
<p>実行例:</p>
|
176
|
+
<div class="highlight-none"><div class="highlight"><pre>plugin_register sharding
|
177
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
178
|
+
</pre></div>
|
179
|
+
</div>
|
180
|
+
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
181
|
+
<p>実行例:</p>
|
182
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
183
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
184
|
+
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
185
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
186
|
+
column_create Entries_20150708 content COLUMN_SCALAR Text
|
187
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
188
|
+
column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
|
189
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
190
|
+
column_create Entries_20150708 tag COLUMN_SCALAR ShortText
|
191
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
192
|
+
table_create Entries_20150709 TABLE_HASH_KEY ShortText
|
193
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
194
|
+
column_create Entries_20150709 created_at COLUMN_SCALAR Time
|
195
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
196
|
+
column_create Entries_20150709 content COLUMN_SCALAR Text
|
197
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
198
|
+
column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
|
199
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
200
|
+
column_create Entries_20150709 tag COLUMN_SCALAR ShortText
|
201
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
202
|
+
table_create Terms TABLE_PAT_KEY ShortText \
|
203
|
+
--default_tokenizer TokenBigram \
|
204
|
+
--normalizer NormalizerAuto
|
205
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
206
|
+
column_create Terms entries_key_index_20150708 \
|
207
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
|
208
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
209
|
+
column_create Terms entries_content_index_20150708 \
|
210
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150708 content
|
211
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
212
|
+
column_create Terms entries_key_index_20150709 \
|
213
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
|
214
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
215
|
+
column_create Terms entries_content_index_20150709 \
|
216
|
+
COLUMN_INDEX|WITH_POSITION Entries_20150709 content
|
217
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
218
|
+
load --table Entries_20150708
|
219
|
+
[
|
220
|
+
{"_key": "The first post!",
|
221
|
+
"created_at": "2015/07/08 00:00:00",
|
222
|
+
"content": "Welcome! This is my first post!",
|
223
|
+
"n_likes": 5,
|
224
|
+
"tag": "Hello"},
|
225
|
+
{"_key": "Groonga",
|
226
|
+
"created_at": "2015/07/08 01:00:00",
|
227
|
+
"content": "I started to use Groonga. It's very fast!",
|
228
|
+
"n_likes": 10,
|
229
|
+
"tag": "Groonga"},
|
230
|
+
{"_key": "Mroonga",
|
231
|
+
"created_at": "2015/07/08 02:00:00",
|
232
|
+
"content": "I also started to use Mroonga. It's also very fast! Really fast!",
|
233
|
+
"n_likes": 15,
|
234
|
+
"tag": "Groonga"}
|
235
|
+
]
|
236
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
237
|
+
load --table Entries_20150709
|
238
|
+
[
|
239
|
+
{"_key": "Good-bye Senna",
|
240
|
+
"created_at": "2015/07/09 00:00:00",
|
241
|
+
"content": "I migrated all Senna system!",
|
242
|
+
"n_likes": 3,
|
243
|
+
"tag": "Senna"},
|
244
|
+
{"_key": "Good-bye Tritonn",
|
245
|
+
"created_at": "2015/07/09 01:00:00",
|
246
|
+
"content": "I also migrated all Tritonn system!",
|
247
|
+
"n_likes": 3,
|
248
|
+
"tag": "Senna"}
|
249
|
+
]
|
250
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
251
|
+
</pre></div>
|
252
|
+
</div>
|
253
|
+
<p>ブログエントリー用に <code class="docutils literal"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal"><span class="pre">Entries_20150709</span></code> の2つのテーブルがあります。</p>
|
254
|
+
<div class="admonition note">
|
255
|
+
<p class="first admonition-title">注釈</p>
|
256
|
+
<p class="last">テーブル名には <code class="docutils literal"><span class="pre">${論理テーブル名}_${YYYYMMDD}</span></code> という命名規則を使う必要があります。この例では、 <code class="docutils literal"><span class="pre">論理テーブル名</span></code> は <code class="docutils literal"><span class="pre">Entries</span></code> で <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> は <code class="docutils literal"><span class="pre">20150708</span></code> または <code class="docutils literal"><span class="pre">20150709</span></code> です。</p>
|
257
|
+
</div>
|
258
|
+
<p>各エントリはタイトルと作成日時と内容と「いいね!」数、タグを持っています。タイトルは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code> のキーとします。作成日時は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> カラムの値とします。内容は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムの値とします。「いいね!」数は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> カラムの値とします。タグは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> カラムの値とします。</p>
|
259
|
+
<p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> カラムと <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムには <code class="docutils literal"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> と <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> は両方とも全文検索できます。</p>
|
260
|
+
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
261
|
+
<div class="section" id="simple-usage">
|
262
|
+
<h3>7.3.27.4.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
104
263
|
<p>TODO</p>
|
105
264
|
</div>
|
265
|
+
</div>
|
106
266
|
<div class="section" id="parameters">
|
107
|
-
<h2>7.3.
|
108
|
-
<p>このセクションでは <
|
267
|
+
<h2>7.3.27.5. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
268
|
+
<p>このセクションでは <code class="docutils literal"><span class="pre">logical_select</span></code> の引数について説明します。</p>
|
109
269
|
<div class="section" id="required-parameter">
|
110
|
-
<h3>7.3.
|
111
|
-
<p>必須引数は二つあります。 <
|
270
|
+
<h3>7.3.27.5.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
271
|
+
<p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
|
112
272
|
<div class="section" id="logical-table">
|
113
|
-
<h4>7.3.
|
114
|
-
<p>論理テーブル名を指定します。これは
|
273
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
274
|
+
<p>論理テーブル名を指定します。これは <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> をテーブル名からのぞいたものです。実際のテーブルが <code class="docutils literal"><span class="pre">Entries_20150708</span></code> や <code class="docutils literal"><span class="pre">Entries_20150709</span></code> といったものなら、論理テーブル名は <code class="docutils literal"><span class="pre">Entries</span></code> です。</p>
|
275
|
+
<p><code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数を指定すると10レコード表示できます。これらの引数は必須の引数です。</p>
|
276
|
+
<p>実行例:</p>
|
277
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Entries --shard_key created_at
|
278
|
+
# [
|
279
|
+
# [
|
280
|
+
# 0,
|
281
|
+
# 1337566253.89858,
|
282
|
+
# 0.000355720520019531
|
283
|
+
# ],
|
284
|
+
# [
|
285
|
+
# [
|
286
|
+
# [
|
287
|
+
# 5
|
288
|
+
# ],
|
289
|
+
# [
|
290
|
+
# [
|
291
|
+
# "_id",
|
292
|
+
# "UInt32"
|
293
|
+
# ],
|
294
|
+
# [
|
295
|
+
# "_key",
|
296
|
+
# "ShortText"
|
297
|
+
# ],
|
298
|
+
# [
|
299
|
+
# "content",
|
300
|
+
# "Text"
|
301
|
+
# ],
|
302
|
+
# [
|
303
|
+
# "created_at",
|
304
|
+
# "Time"
|
305
|
+
# ],
|
306
|
+
# [
|
307
|
+
# "n_likes",
|
308
|
+
# "UInt32"
|
309
|
+
# ],
|
310
|
+
# [
|
311
|
+
# "tag",
|
312
|
+
# "ShortText"
|
313
|
+
# ]
|
314
|
+
# ],
|
315
|
+
# [
|
316
|
+
# 1,
|
317
|
+
# "The first post!",
|
318
|
+
# "Welcome! This is my first post!",
|
319
|
+
# 1436281200.0,
|
320
|
+
# 5,
|
321
|
+
# "Hello"
|
322
|
+
# ],
|
323
|
+
# [
|
324
|
+
# 2,
|
325
|
+
# "Groonga",
|
326
|
+
# "I started to use Groonga. It's very fast!",
|
327
|
+
# 1436284800.0,
|
328
|
+
# 10,
|
329
|
+
# "Groonga"
|
330
|
+
# ],
|
331
|
+
# [
|
332
|
+
# 3,
|
333
|
+
# "Mroonga",
|
334
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
335
|
+
# 1436288400.0,
|
336
|
+
# 15,
|
337
|
+
# "Groonga"
|
338
|
+
# ],
|
339
|
+
# [
|
340
|
+
# 1,
|
341
|
+
# "Good-bye Senna",
|
342
|
+
# "I migrated all Senna system!",
|
343
|
+
# 1436367600.0,
|
344
|
+
# 3,
|
345
|
+
# "Senna"
|
346
|
+
# ],
|
347
|
+
# [
|
348
|
+
# 2,
|
349
|
+
# "Good-bye Tritonn",
|
350
|
+
# "I also migrated all Tritonn system!",
|
351
|
+
# 1436371200.0,
|
352
|
+
# 3,
|
353
|
+
# "Senna"
|
354
|
+
# ]
|
355
|
+
# ]
|
356
|
+
# ]
|
357
|
+
# ]
|
358
|
+
</pre></div>
|
359
|
+
</div>
|
360
|
+
<p>存在しないテーブルを指定するとエラーが返ります。</p>
|
361
|
+
<p>実行例:</p>
|
362
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Nonexistent --shard_key created_at
|
363
|
+
# [
|
364
|
+
# [
|
365
|
+
# -22,
|
366
|
+
# 1337566253.89858,
|
367
|
+
# 0.000355720520019531,
|
368
|
+
# "[logical_select] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
|
369
|
+
# [
|
370
|
+
# [
|
371
|
+
# "Groonga::Context.set_groonga_error",
|
372
|
+
# "lib/mrb/scripts/context.rb",
|
373
|
+
# 27
|
374
|
+
# ]
|
375
|
+
# ]
|
376
|
+
# ]
|
377
|
+
# ]
|
378
|
+
</pre></div>
|
379
|
+
</div>
|
115
380
|
</div>
|
116
381
|
<div class="section" id="shard-key">
|
117
|
-
<h4>7.3.
|
118
|
-
<p
|
382
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
383
|
+
<p>シャードキーとして使うカラム名を指定します。シャードキーは適切なシャードへレコードを分配するために使う値を保存しているカラムです。</p>
|
384
|
+
<p>今のところ、シャードキーは <code class="docutils literal"><span class="pre">Time</span></code> 型でなければいけません。</p>
|
385
|
+
<p><code class="docutils literal"><span class="pre">shard_key</span></code> の指定方法は <a class="reference internal" href="#logical-select-logical-table"><span>logical_table</span></a> を見てください。</p>
|
119
386
|
</div>
|
120
387
|
</div>
|
121
388
|
<div class="section" id="optional-parameters">
|
122
|
-
<h3>7.3.
|
389
|
+
<h3>7.3.27.5.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
123
390
|
<p>いくつか省略可能な引数があります。</p>
|
124
391
|
<div class="section" id="min">
|
125
|
-
<h4>7.3.
|
126
|
-
<p><
|
392
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
393
|
+
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最小値を指定します。シャードにマッチするレコードがない場合は、そのシャードは検索対象外になります。</p>
|
394
|
+
<p>たとえば、 <code class="docutils literal"><span class="pre">min</span></code> が <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> は検索対象外です。なぜなら、 <code class="docutils literal"><span class="pre">Entry_20150708</span></code> は <code class="docutils literal"><span class="pre">"2015/07/08"</span></code> のレコードしかないからです。</p>
|
395
|
+
<p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150709</span></code> テーブルだけを使う例です。 <code class="docutils literal"><span class="pre">Entry_20150708</span></code> は使われません。</p>
|
396
|
+
<p>実行例:</p>
|
397
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
398
|
+
--logical_table Entries \
|
399
|
+
--shard_key created_at \
|
400
|
+
--min "2015/07/09 00:00:00"
|
401
|
+
# [
|
402
|
+
# [
|
403
|
+
# 0,
|
404
|
+
# 1337566253.89858,
|
405
|
+
# 0.000355720520019531
|
406
|
+
# ],
|
407
|
+
# [
|
408
|
+
# [
|
409
|
+
# [
|
410
|
+
# 2
|
411
|
+
# ],
|
412
|
+
# [
|
413
|
+
# [
|
414
|
+
# "_id",
|
415
|
+
# "UInt32"
|
416
|
+
# ],
|
417
|
+
# [
|
418
|
+
# "_key",
|
419
|
+
# "ShortText"
|
420
|
+
# ],
|
421
|
+
# [
|
422
|
+
# "content",
|
423
|
+
# "Text"
|
424
|
+
# ],
|
425
|
+
# [
|
426
|
+
# "created_at",
|
427
|
+
# "Time"
|
428
|
+
# ],
|
429
|
+
# [
|
430
|
+
# "n_likes",
|
431
|
+
# "UInt32"
|
432
|
+
# ],
|
433
|
+
# [
|
434
|
+
# "tag",
|
435
|
+
# "ShortText"
|
436
|
+
# ]
|
437
|
+
# ],
|
438
|
+
# [
|
439
|
+
# 1,
|
440
|
+
# "Good-bye Senna",
|
441
|
+
# "I migrated all Senna system!",
|
442
|
+
# 1436367600.0,
|
443
|
+
# 3,
|
444
|
+
# "Senna"
|
445
|
+
# ],
|
446
|
+
# [
|
447
|
+
# 2,
|
448
|
+
# "Good-bye Tritonn",
|
449
|
+
# "I also migrated all Tritonn system!",
|
450
|
+
# 1436371200.0,
|
451
|
+
# 3,
|
452
|
+
# "Senna"
|
453
|
+
# ]
|
454
|
+
# ]
|
455
|
+
# ]
|
456
|
+
# ]
|
457
|
+
</pre></div>
|
458
|
+
</div>
|
127
459
|
</div>
|
128
460
|
<div class="section" id="min-border">
|
129
|
-
<h4>7.3.
|
130
|
-
<p
|
461
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
462
|
+
<p>最小値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
|
463
|
+
<table border="1" class="docutils">
|
464
|
+
<colgroup>
|
465
|
+
<col width="50%" />
|
466
|
+
<col width="50%" />
|
467
|
+
</colgroup>
|
468
|
+
<thead valign="bottom">
|
469
|
+
<tr class="row-odd"><th class="head">Value</th>
|
470
|
+
<th class="head"><p class="first last">説明</p>
|
471
|
+
</th>
|
472
|
+
</tr>
|
473
|
+
</thead>
|
474
|
+
<tbody valign="top">
|
475
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
476
|
+
<td><p class="first last"><code class="docutils literal"><span class="pre">min</span></code> の値を含みます。これがデフォルト値です。</p>
|
477
|
+
</td>
|
478
|
+
</tr>
|
479
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
480
|
+
<td><p class="first last"><code class="docutils literal"><span class="pre">min</span></code> の値を含みません。</p>
|
481
|
+
</td>
|
482
|
+
</tr>
|
483
|
+
</tbody>
|
484
|
+
</table>
|
485
|
+
<p>次の例は <code class="docutils literal"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> レコードは含まれません。このレコードの <code class="docutils literal"><span class="pre">created_at</span></code> の値が <code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code> だからです。</p>
|
486
|
+
<p>実行例:</p>
|
487
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
488
|
+
--logical_table Entries \
|
489
|
+
--shard_key created_at \
|
490
|
+
--min "2015/07/09 00:00:00" \
|
491
|
+
--min_border "exclude"
|
492
|
+
# [
|
493
|
+
# [
|
494
|
+
# 0,
|
495
|
+
# 1337566253.89858,
|
496
|
+
# 0.000355720520019531
|
497
|
+
# ],
|
498
|
+
# [
|
499
|
+
# [
|
500
|
+
# [
|
501
|
+
# 1
|
502
|
+
# ],
|
503
|
+
# [
|
504
|
+
# [
|
505
|
+
# "_id",
|
506
|
+
# "UInt32"
|
507
|
+
# ],
|
508
|
+
# [
|
509
|
+
# "_key",
|
510
|
+
# "ShortText"
|
511
|
+
# ],
|
512
|
+
# [
|
513
|
+
# "content",
|
514
|
+
# "Text"
|
515
|
+
# ],
|
516
|
+
# [
|
517
|
+
# "created_at",
|
518
|
+
# "Time"
|
519
|
+
# ],
|
520
|
+
# [
|
521
|
+
# "n_likes",
|
522
|
+
# "UInt32"
|
523
|
+
# ],
|
524
|
+
# [
|
525
|
+
# "tag",
|
526
|
+
# "ShortText"
|
527
|
+
# ]
|
528
|
+
# ],
|
529
|
+
# [
|
530
|
+
# 2,
|
531
|
+
# "Good-bye Tritonn",
|
532
|
+
# "I also migrated all Tritonn system!",
|
533
|
+
# 1436371200.0,
|
534
|
+
# 3,
|
535
|
+
# "Senna"
|
536
|
+
# ]
|
537
|
+
# ]
|
538
|
+
# ]
|
539
|
+
# ]
|
540
|
+
</pre></div>
|
541
|
+
</div>
|
131
542
|
</div>
|
132
543
|
<div class="section" id="max">
|
133
|
-
<h4>7.3.
|
134
|
-
<p><
|
544
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
545
|
+
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最大値を指定します。シャードにマッチするレコードがない場合、そのシャードは検索対象外になります。</p>
|
546
|
+
<p>たとえば、 <code class="docutils literal"><span class="pre">max</span></code> が <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> は検索対象外です。なぜなら <code class="docutils literal"><span class="pre">Entry_20150709</span></code> には <code class="docutils literal"><span class="pre">""2015/07/09"</span></code> のレコードしかないからです。</p>
|
547
|
+
<p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150708</span></code> テーブルだけを使います。 <code class="docutils literal"><span class="pre">Entry_20150709</span></code> は使いません。</p>
|
548
|
+
<p>実行例:</p>
|
549
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
550
|
+
--logical_table Entries \
|
551
|
+
--shard_key created_at \
|
552
|
+
--max "2015/07/08 23:59:59"
|
553
|
+
# [
|
554
|
+
# [
|
555
|
+
# 0,
|
556
|
+
# 1337566253.89858,
|
557
|
+
# 0.000355720520019531
|
558
|
+
# ],
|
559
|
+
# [
|
560
|
+
# [
|
561
|
+
# [
|
562
|
+
# 3
|
563
|
+
# ],
|
564
|
+
# [
|
565
|
+
# [
|
566
|
+
# "_id",
|
567
|
+
# "UInt32"
|
568
|
+
# ],
|
569
|
+
# [
|
570
|
+
# "_key",
|
571
|
+
# "ShortText"
|
572
|
+
# ],
|
573
|
+
# [
|
574
|
+
# "content",
|
575
|
+
# "Text"
|
576
|
+
# ],
|
577
|
+
# [
|
578
|
+
# "created_at",
|
579
|
+
# "Time"
|
580
|
+
# ],
|
581
|
+
# [
|
582
|
+
# "n_likes",
|
583
|
+
# "UInt32"
|
584
|
+
# ],
|
585
|
+
# [
|
586
|
+
# "tag",
|
587
|
+
# "ShortText"
|
588
|
+
# ]
|
589
|
+
# ],
|
590
|
+
# [
|
591
|
+
# 1,
|
592
|
+
# "The first post!",
|
593
|
+
# "Welcome! This is my first post!",
|
594
|
+
# 1436281200.0,
|
595
|
+
# 5,
|
596
|
+
# "Hello"
|
597
|
+
# ],
|
598
|
+
# [
|
599
|
+
# 2,
|
600
|
+
# "Groonga",
|
601
|
+
# "I started to use Groonga. It's very fast!",
|
602
|
+
# 1436284800.0,
|
603
|
+
# 10,
|
604
|
+
# "Groonga"
|
605
|
+
# ],
|
606
|
+
# [
|
607
|
+
# 3,
|
608
|
+
# "Mroonga",
|
609
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
610
|
+
# 1436288400.0,
|
611
|
+
# 15,
|
612
|
+
# "Groonga"
|
613
|
+
# ]
|
614
|
+
# ]
|
615
|
+
# ]
|
616
|
+
# ]
|
617
|
+
</pre></div>
|
618
|
+
</div>
|
135
619
|
</div>
|
136
620
|
<div class="section" id="max-border">
|
137
|
-
<h4>7.3.
|
138
|
-
<p
|
621
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
622
|
+
<p>最大値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
|
623
|
+
<table border="1" class="docutils">
|
624
|
+
<colgroup>
|
625
|
+
<col width="50%" />
|
626
|
+
<col width="50%" />
|
627
|
+
</colgroup>
|
628
|
+
<thead valign="bottom">
|
629
|
+
<tr class="row-odd"><th class="head">Value</th>
|
630
|
+
<th class="head"><p class="first last">説明</p>
|
631
|
+
</th>
|
632
|
+
</tr>
|
633
|
+
</thead>
|
634
|
+
<tbody valign="top">
|
635
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
636
|
+
<td><p class="first last"><code class="docutils literal"><span class="pre">max</span></code> の値を含みます。これがデフォルト値です。</p>
|
637
|
+
</td>
|
638
|
+
</tr>
|
639
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
640
|
+
<td><p class="first last"><code class="docutils literal"><span class="pre">max</span></code> の値を含みません。</p>
|
641
|
+
</td>
|
642
|
+
</tr>
|
643
|
+
</tbody>
|
644
|
+
</table>
|
645
|
+
<p>次の例は <code class="docutils literal"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> レコードは含まれません。このレコードの <code class="docutils literal"><span class="pre">created_at</span></code> の値が <code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code> だからです。</p>
|
646
|
+
<p>実行例:</p>
|
647
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
648
|
+
--logical_table Entries \
|
649
|
+
--shard_key created_at \
|
650
|
+
--max "2015/07/09 00:00:00" \
|
651
|
+
--max_border "exclude"
|
652
|
+
# [
|
653
|
+
# [
|
654
|
+
# 0,
|
655
|
+
# 1337566253.89858,
|
656
|
+
# 0.000355720520019531
|
657
|
+
# ],
|
658
|
+
# [
|
659
|
+
# [
|
660
|
+
# [
|
661
|
+
# 3
|
662
|
+
# ],
|
663
|
+
# [
|
664
|
+
# [
|
665
|
+
# "_id",
|
666
|
+
# "UInt32"
|
667
|
+
# ],
|
668
|
+
# [
|
669
|
+
# "_key",
|
670
|
+
# "ShortText"
|
671
|
+
# ],
|
672
|
+
# [
|
673
|
+
# "content",
|
674
|
+
# "Text"
|
675
|
+
# ],
|
676
|
+
# [
|
677
|
+
# "created_at",
|
678
|
+
# "Time"
|
679
|
+
# ],
|
680
|
+
# [
|
681
|
+
# "n_likes",
|
682
|
+
# "UInt32"
|
683
|
+
# ],
|
684
|
+
# [
|
685
|
+
# "tag",
|
686
|
+
# "ShortText"
|
687
|
+
# ]
|
688
|
+
# ],
|
689
|
+
# [
|
690
|
+
# 1,
|
691
|
+
# "The first post!",
|
692
|
+
# "Welcome! This is my first post!",
|
693
|
+
# 1436281200.0,
|
694
|
+
# 5,
|
695
|
+
# "Hello"
|
696
|
+
# ],
|
697
|
+
# [
|
698
|
+
# 2,
|
699
|
+
# "Groonga",
|
700
|
+
# "I started to use Groonga. It's very fast!",
|
701
|
+
# 1436284800.0,
|
702
|
+
# 10,
|
703
|
+
# "Groonga"
|
704
|
+
# ],
|
705
|
+
# [
|
706
|
+
# 3,
|
707
|
+
# "Mroonga",
|
708
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
709
|
+
# 1436288400.0,
|
710
|
+
# 15,
|
711
|
+
# "Groonga"
|
712
|
+
# ]
|
713
|
+
# ]
|
714
|
+
# ]
|
715
|
+
# ]
|
716
|
+
</pre></div>
|
717
|
+
</div>
|
718
|
+
</div>
|
719
|
+
</div>
|
720
|
+
<div class="section" id="search-related-parameters">
|
721
|
+
<span id="logical-select-search-related-parameters"></span><h3>7.3.27.5.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
722
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><em>select</em></a> 互換の検索関連パラメーターをサポートしています。</p>
|
723
|
+
<p><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。今のところ、 <code class="docutils literal"><span class="pre">filter</span></code> だけサポートしています。</p>
|
724
|
+
<div class="section" id="match-columns">
|
725
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
726
|
+
<p>未実装です。</p>
|
727
|
+
</div>
|
728
|
+
<div class="section" id="query">
|
729
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
730
|
+
<p>未実装です。</p>
|
139
731
|
</div>
|
140
732
|
<div class="section" id="filter">
|
141
|
-
<h4>7.3.
|
733
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
734
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> を見てください。</p>
|
735
|
+
<p>以下は例です。</p>
|
736
|
+
<p>実行例:</p>
|
737
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
738
|
+
--logical_table Entries \
|
739
|
+
--shard_key created_at \
|
740
|
+
--filter "n_likes <= 5"
|
741
|
+
# [
|
742
|
+
# [
|
743
|
+
# 0,
|
744
|
+
# 1337566253.89858,
|
745
|
+
# 0.000355720520019531
|
746
|
+
# ],
|
747
|
+
# [
|
748
|
+
# [
|
749
|
+
# [
|
750
|
+
# 3
|
751
|
+
# ],
|
752
|
+
# [
|
753
|
+
# [
|
754
|
+
# "_id",
|
755
|
+
# "UInt32"
|
756
|
+
# ],
|
757
|
+
# [
|
758
|
+
# "_key",
|
759
|
+
# "ShortText"
|
760
|
+
# ],
|
761
|
+
# [
|
762
|
+
# "content",
|
763
|
+
# "Text"
|
764
|
+
# ],
|
765
|
+
# [
|
766
|
+
# "created_at",
|
767
|
+
# "Time"
|
768
|
+
# ],
|
769
|
+
# [
|
770
|
+
# "n_likes",
|
771
|
+
# "UInt32"
|
772
|
+
# ],
|
773
|
+
# [
|
774
|
+
# "tag",
|
775
|
+
# "ShortText"
|
776
|
+
# ]
|
777
|
+
# ],
|
778
|
+
# [
|
779
|
+
# 1,
|
780
|
+
# "The first post!",
|
781
|
+
# "Welcome! This is my first post!",
|
782
|
+
# 1436281200.0,
|
783
|
+
# 5,
|
784
|
+
# "Hello"
|
785
|
+
# ],
|
786
|
+
# [
|
787
|
+
# 1,
|
788
|
+
# "Good-bye Senna",
|
789
|
+
# "I migrated all Senna system!",
|
790
|
+
# 1436367600.0,
|
791
|
+
# 3,
|
792
|
+
# "Senna"
|
793
|
+
# ],
|
794
|
+
# [
|
795
|
+
# 2,
|
796
|
+
# "Good-bye Tritonn",
|
797
|
+
# "I also migrated all Tritonn system!",
|
798
|
+
# 1436371200.0,
|
799
|
+
# 3,
|
800
|
+
# "Senna"
|
801
|
+
# ]
|
802
|
+
# ]
|
803
|
+
# ]
|
804
|
+
# ]
|
805
|
+
</pre></div>
|
142
806
|
</div>
|
143
807
|
</div>
|
144
808
|
</div>
|
145
|
-
<div class="section" id="
|
146
|
-
<
|
147
|
-
<p
|
148
|
-
<div class="
|
809
|
+
<div class="section" id="advanced-search-parameters">
|
810
|
+
<span id="logical-select-advanced-search-parameters"></span><h3>7.3.27.5.4. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
811
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は高度な検索パラメーターをまだ実装していません。</p>
|
812
|
+
<div class="section" id="match-escalation-threshold">
|
813
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
814
|
+
<p>未実装です。</p>
|
815
|
+
</div>
|
816
|
+
<div class="section" id="query-flags">
|
817
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
818
|
+
<p>未実装です。</p>
|
819
|
+
</div>
|
820
|
+
<div class="section" id="query-expander">
|
821
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
822
|
+
<p>未実装です。</p>
|
823
|
+
</div>
|
824
|
+
</div>
|
825
|
+
<div class="section" id="output-related-parameters">
|
826
|
+
<h3>7.3.27.5.5. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
827
|
+
<div class="section" id="output-columns">
|
828
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
829
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> を見てください。</p>
|
830
|
+
<p>以下は例です。</p>
|
831
|
+
<p>実行例:</p>
|
832
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
833
|
+
--logical_table Entries \
|
834
|
+
--shard_key created_at \
|
835
|
+
--output_columns '_key, *'
|
836
|
+
# [
|
837
|
+
# [
|
838
|
+
# 0,
|
839
|
+
# 1337566253.89858,
|
840
|
+
# 0.000355720520019531
|
841
|
+
# ],
|
842
|
+
# [
|
843
|
+
# [
|
844
|
+
# [
|
845
|
+
# 5
|
846
|
+
# ],
|
847
|
+
# [
|
848
|
+
# [
|
849
|
+
# "_key",
|
850
|
+
# "ShortText"
|
851
|
+
# ],
|
852
|
+
# [
|
853
|
+
# "content",
|
854
|
+
# "Text"
|
855
|
+
# ],
|
856
|
+
# [
|
857
|
+
# "created_at",
|
858
|
+
# "Time"
|
859
|
+
# ],
|
860
|
+
# [
|
861
|
+
# "n_likes",
|
862
|
+
# "UInt32"
|
863
|
+
# ],
|
864
|
+
# [
|
865
|
+
# "tag",
|
866
|
+
# "ShortText"
|
867
|
+
# ]
|
868
|
+
# ],
|
869
|
+
# [
|
870
|
+
# "The first post!",
|
871
|
+
# "Welcome! This is my first post!",
|
872
|
+
# 1436281200.0,
|
873
|
+
# 5,
|
874
|
+
# "Hello"
|
875
|
+
# ],
|
876
|
+
# [
|
877
|
+
# "Groonga",
|
878
|
+
# "I started to use Groonga. It's very fast!",
|
879
|
+
# 1436284800.0,
|
880
|
+
# 10,
|
881
|
+
# "Groonga"
|
882
|
+
# ],
|
883
|
+
# [
|
884
|
+
# "Mroonga",
|
885
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
886
|
+
# 1436288400.0,
|
887
|
+
# 15,
|
888
|
+
# "Groonga"
|
889
|
+
# ],
|
890
|
+
# [
|
891
|
+
# "Good-bye Senna",
|
892
|
+
# "I migrated all Senna system!",
|
893
|
+
# 1436367600.0,
|
894
|
+
# 3,
|
895
|
+
# "Senna"
|
896
|
+
# ],
|
897
|
+
# [
|
898
|
+
# "Good-bye Tritonn",
|
899
|
+
# "I also migrated all Tritonn system!",
|
900
|
+
# 1436371200.0,
|
901
|
+
# 3,
|
902
|
+
# "Senna"
|
903
|
+
# ]
|
904
|
+
# ]
|
905
|
+
# ]
|
906
|
+
# ]
|
907
|
+
</pre></div>
|
908
|
+
</div>
|
909
|
+
</div>
|
910
|
+
<div class="section" id="sortby">
|
911
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
912
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> を見てください。</p>
|
913
|
+
<p><code class="docutils literal"><span class="pre">sortby</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sortby</span></code> は正常な動作をしません。</p>
|
914
|
+
<p>以下は1つのシャードのみを使っている例です。</p>
|
915
|
+
<p>実行例:</p>
|
916
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
917
|
+
--logical_table Entries \
|
918
|
+
--shard_key created_at \
|
919
|
+
--min "2015/07/08 00:00:00" \
|
920
|
+
--min_border "include" \
|
921
|
+
--max "2015/07/09 00:00:00" \
|
922
|
+
--max_border "exclude" \
|
923
|
+
--sortby _key
|
924
|
+
# [
|
925
|
+
# [
|
926
|
+
# 0,
|
927
|
+
# 1337566253.89858,
|
928
|
+
# 0.000355720520019531
|
929
|
+
# ],
|
930
|
+
# [
|
931
|
+
# [
|
932
|
+
# [
|
933
|
+
# 3
|
934
|
+
# ],
|
935
|
+
# [
|
936
|
+
# [
|
937
|
+
# "_id",
|
938
|
+
# "UInt32"
|
939
|
+
# ],
|
940
|
+
# [
|
941
|
+
# "_key",
|
942
|
+
# "ShortText"
|
943
|
+
# ],
|
944
|
+
# [
|
945
|
+
# "content",
|
946
|
+
# "Text"
|
947
|
+
# ],
|
948
|
+
# [
|
949
|
+
# "created_at",
|
950
|
+
# "Time"
|
951
|
+
# ],
|
952
|
+
# [
|
953
|
+
# "n_likes",
|
954
|
+
# "UInt32"
|
955
|
+
# ],
|
956
|
+
# [
|
957
|
+
# "tag",
|
958
|
+
# "ShortText"
|
959
|
+
# ]
|
960
|
+
# ],
|
961
|
+
# [
|
962
|
+
# 2,
|
963
|
+
# "Groonga",
|
964
|
+
# "I started to use Groonga. It's very fast!",
|
965
|
+
# 1436284800.0,
|
966
|
+
# 10,
|
967
|
+
# "Groonga"
|
968
|
+
# ],
|
969
|
+
# [
|
970
|
+
# 3,
|
971
|
+
# "Mroonga",
|
972
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
973
|
+
# 1436288400.0,
|
974
|
+
# 15,
|
975
|
+
# "Groonga"
|
976
|
+
# ],
|
977
|
+
# [
|
978
|
+
# 1,
|
979
|
+
# "The first post!",
|
980
|
+
# "Welcome! This is my first post!",
|
981
|
+
# 1436281200.0,
|
982
|
+
# 5,
|
983
|
+
# "Hello"
|
984
|
+
# ]
|
985
|
+
# ]
|
986
|
+
# ]
|
987
|
+
# ]
|
988
|
+
</pre></div>
|
989
|
+
</div>
|
990
|
+
</div>
|
991
|
+
<div class="section" id="offset">
|
992
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
993
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> を見てください。</p>
|
994
|
+
<p>以下は例です。</p>
|
995
|
+
<p>実行例:</p>
|
996
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
997
|
+
--logical_table Entries \
|
998
|
+
--shard_key created_at \
|
999
|
+
--offset 2
|
1000
|
+
# [
|
1001
|
+
# [
|
1002
|
+
# 0,
|
1003
|
+
# 1337566253.89858,
|
1004
|
+
# 0.000355720520019531
|
1005
|
+
# ],
|
1006
|
+
# [
|
1007
|
+
# [
|
1008
|
+
# [
|
1009
|
+
# 5
|
1010
|
+
# ],
|
1011
|
+
# [
|
1012
|
+
# [
|
1013
|
+
# "_id",
|
1014
|
+
# "UInt32"
|
1015
|
+
# ],
|
1016
|
+
# [
|
1017
|
+
# "_key",
|
1018
|
+
# "ShortText"
|
1019
|
+
# ],
|
1020
|
+
# [
|
1021
|
+
# "content",
|
1022
|
+
# "Text"
|
1023
|
+
# ],
|
1024
|
+
# [
|
1025
|
+
# "created_at",
|
1026
|
+
# "Time"
|
1027
|
+
# ],
|
1028
|
+
# [
|
1029
|
+
# "n_likes",
|
1030
|
+
# "UInt32"
|
1031
|
+
# ],
|
1032
|
+
# [
|
1033
|
+
# "tag",
|
1034
|
+
# "ShortText"
|
1035
|
+
# ]
|
1036
|
+
# ],
|
1037
|
+
# [
|
1038
|
+
# 3,
|
1039
|
+
# "Mroonga",
|
1040
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
1041
|
+
# 1436288400.0,
|
1042
|
+
# 15,
|
1043
|
+
# "Groonga"
|
1044
|
+
# ],
|
1045
|
+
# [
|
1046
|
+
# 1,
|
1047
|
+
# "Good-bye Senna",
|
1048
|
+
# "I migrated all Senna system!",
|
1049
|
+
# 1436367600.0,
|
1050
|
+
# 3,
|
1051
|
+
# "Senna"
|
1052
|
+
# ],
|
1053
|
+
# [
|
1054
|
+
# 2,
|
1055
|
+
# "Good-bye Tritonn",
|
1056
|
+
# "I also migrated all Tritonn system!",
|
1057
|
+
# 1436371200.0,
|
1058
|
+
# 3,
|
1059
|
+
# "Senna"
|
1060
|
+
# ]
|
1061
|
+
# ]
|
1062
|
+
# ]
|
1063
|
+
# ]
|
149
1064
|
</pre></div>
|
150
1065
|
</div>
|
151
1066
|
</div>
|
1067
|
+
<div class="section" id="limit">
|
1068
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1069
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> を見てください。</p>
|
1070
|
+
<p>以下は例です。</p>
|
1071
|
+
<p>実行例:</p>
|
1072
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1073
|
+
--logical_table Entries \
|
1074
|
+
--shard_key created_at \
|
1075
|
+
--limit 2
|
1076
|
+
# [
|
1077
|
+
# [
|
1078
|
+
# 0,
|
1079
|
+
# 1337566253.89858,
|
1080
|
+
# 0.000355720520019531
|
1081
|
+
# ],
|
1082
|
+
# [
|
1083
|
+
# [
|
1084
|
+
# [
|
1085
|
+
# 5
|
1086
|
+
# ],
|
1087
|
+
# [
|
1088
|
+
# [
|
1089
|
+
# "_id",
|
1090
|
+
# "UInt32"
|
1091
|
+
# ],
|
1092
|
+
# [
|
1093
|
+
# "_key",
|
1094
|
+
# "ShortText"
|
1095
|
+
# ],
|
1096
|
+
# [
|
1097
|
+
# "content",
|
1098
|
+
# "Text"
|
1099
|
+
# ],
|
1100
|
+
# [
|
1101
|
+
# "created_at",
|
1102
|
+
# "Time"
|
1103
|
+
# ],
|
1104
|
+
# [
|
1105
|
+
# "n_likes",
|
1106
|
+
# "UInt32"
|
1107
|
+
# ],
|
1108
|
+
# [
|
1109
|
+
# "tag",
|
1110
|
+
# "ShortText"
|
1111
|
+
# ]
|
1112
|
+
# ],
|
1113
|
+
# [
|
1114
|
+
# 1,
|
1115
|
+
# "The first post!",
|
1116
|
+
# "Welcome! This is my first post!",
|
1117
|
+
# 1436281200.0,
|
1118
|
+
# 5,
|
1119
|
+
# "Hello"
|
1120
|
+
# ],
|
1121
|
+
# [
|
1122
|
+
# 2,
|
1123
|
+
# "Groonga",
|
1124
|
+
# "I started to use Groonga. It's very fast!",
|
1125
|
+
# 1436284800.0,
|
1126
|
+
# 10,
|
1127
|
+
# "Groonga"
|
1128
|
+
# ]
|
1129
|
+
# ]
|
1130
|
+
# ]
|
1131
|
+
# ]
|
1132
|
+
</pre></div>
|
1133
|
+
</div>
|
1134
|
+
</div>
|
1135
|
+
<div class="section" id="scorer">
|
1136
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1137
|
+
<p>未実装です。</p>
|
1138
|
+
</div>
|
1139
|
+
</div>
|
1140
|
+
<div class="section" id="drilldown-related-parameters">
|
1141
|
+
<span id="logical-select-drilldown-related-parameters"></span><h3>7.3.27.5.6. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1142
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span>ドリルダウン関連の引数</span></a> を見てください。</p>
|
1143
|
+
<div class="section" id="drilldown">
|
1144
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1145
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> を見てください。</p>
|
1146
|
+
<p>以下は例です。</p>
|
1147
|
+
<p>実行例:</p>
|
1148
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1149
|
+
--logical_table Entries \
|
1150
|
+
--shard_key created_at \
|
1151
|
+
--output_columns _key,tag \
|
1152
|
+
--drilldown tag
|
1153
|
+
# [
|
1154
|
+
# [
|
1155
|
+
# 0,
|
1156
|
+
# 1337566253.89858,
|
1157
|
+
# 0.000355720520019531
|
1158
|
+
# ],
|
1159
|
+
# [
|
1160
|
+
# [
|
1161
|
+
# [
|
1162
|
+
# 5
|
1163
|
+
# ],
|
1164
|
+
# [
|
1165
|
+
# [
|
1166
|
+
# "_key",
|
1167
|
+
# "ShortText"
|
1168
|
+
# ],
|
1169
|
+
# [
|
1170
|
+
# "tag",
|
1171
|
+
# "ShortText"
|
1172
|
+
# ]
|
1173
|
+
# ],
|
1174
|
+
# [
|
1175
|
+
# "The first post!",
|
1176
|
+
# "Hello"
|
1177
|
+
# ],
|
1178
|
+
# [
|
1179
|
+
# "Groonga",
|
1180
|
+
# "Groonga"
|
1181
|
+
# ],
|
1182
|
+
# [
|
1183
|
+
# "Mroonga",
|
1184
|
+
# "Groonga"
|
1185
|
+
# ],
|
1186
|
+
# [
|
1187
|
+
# "Good-bye Senna",
|
1188
|
+
# "Senna"
|
1189
|
+
# ],
|
1190
|
+
# [
|
1191
|
+
# "Good-bye Tritonn",
|
1192
|
+
# "Senna"
|
1193
|
+
# ]
|
1194
|
+
# ],
|
1195
|
+
# [
|
1196
|
+
# [
|
1197
|
+
# 3
|
1198
|
+
# ],
|
1199
|
+
# [
|
1200
|
+
# [
|
1201
|
+
# "_key",
|
1202
|
+
# "ShortText"
|
1203
|
+
# ],
|
1204
|
+
# [
|
1205
|
+
# "_nsubrecs",
|
1206
|
+
# "Int32"
|
1207
|
+
# ]
|
1208
|
+
# ],
|
1209
|
+
# [
|
1210
|
+
# "Hello",
|
1211
|
+
# 1
|
1212
|
+
# ],
|
1213
|
+
# [
|
1214
|
+
# "Groonga",
|
1215
|
+
# 2
|
1216
|
+
# ],
|
1217
|
+
# [
|
1218
|
+
# "Senna",
|
1219
|
+
# 2
|
1220
|
+
# ]
|
1221
|
+
# ]
|
1222
|
+
# ]
|
1223
|
+
# ]
|
1224
|
+
</pre></div>
|
1225
|
+
</div>
|
1226
|
+
</div>
|
1227
|
+
<div class="section" id="drilldown-sortby">
|
1228
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1229
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> を見てください。</p>
|
1230
|
+
<p>以下は例です。</p>
|
1231
|
+
<p>実行例:</p>
|
1232
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1233
|
+
--logical_table Entries \
|
1234
|
+
--shard_key created_at \
|
1235
|
+
--limit 0 \
|
1236
|
+
--output_columns _id \
|
1237
|
+
--drilldown tag \
|
1238
|
+
--drilldown_sortby -_nsubrecs,_key
|
1239
|
+
# [
|
1240
|
+
# [
|
1241
|
+
# 0,
|
1242
|
+
# 1337566253.89858,
|
1243
|
+
# 0.000355720520019531
|
1244
|
+
# ],
|
1245
|
+
# [
|
1246
|
+
# [
|
1247
|
+
# [
|
1248
|
+
# 5
|
1249
|
+
# ],
|
1250
|
+
# [
|
1251
|
+
# [
|
1252
|
+
# "_id",
|
1253
|
+
# "UInt32"
|
1254
|
+
# ]
|
1255
|
+
# ]
|
1256
|
+
# ],
|
1257
|
+
# [
|
1258
|
+
# [
|
1259
|
+
# 3
|
1260
|
+
# ],
|
1261
|
+
# [
|
1262
|
+
# [
|
1263
|
+
# "_key",
|
1264
|
+
# "ShortText"
|
1265
|
+
# ],
|
1266
|
+
# [
|
1267
|
+
# "_nsubrecs",
|
1268
|
+
# "Int32"
|
1269
|
+
# ]
|
1270
|
+
# ],
|
1271
|
+
# [
|
1272
|
+
# "Groonga",
|
1273
|
+
# 2
|
1274
|
+
# ],
|
1275
|
+
# [
|
1276
|
+
# "Senna",
|
1277
|
+
# 2
|
1278
|
+
# ],
|
1279
|
+
# [
|
1280
|
+
# "Hello",
|
1281
|
+
# 1
|
1282
|
+
# ]
|
1283
|
+
# ]
|
1284
|
+
# ]
|
1285
|
+
# ]
|
1286
|
+
</pre></div>
|
1287
|
+
</div>
|
1288
|
+
</div>
|
1289
|
+
<div class="section" id="drilldown-output-columns">
|
1290
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1291
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> を見てください。</p>
|
1292
|
+
<p>以下は例です。</p>
|
1293
|
+
<p>実行例:</p>
|
1294
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1295
|
+
--logical_table Entries \
|
1296
|
+
--shard_key created_at \
|
1297
|
+
--limit 0 \
|
1298
|
+
--output_columns _id \
|
1299
|
+
--drilldown tag \
|
1300
|
+
--drilldown_output_columns _key
|
1301
|
+
# [
|
1302
|
+
# [
|
1303
|
+
# 0,
|
1304
|
+
# 1337566253.89858,
|
1305
|
+
# 0.000355720520019531
|
1306
|
+
# ],
|
1307
|
+
# [
|
1308
|
+
# [
|
1309
|
+
# [
|
1310
|
+
# 5
|
1311
|
+
# ],
|
1312
|
+
# [
|
1313
|
+
# [
|
1314
|
+
# "_id",
|
1315
|
+
# "UInt32"
|
1316
|
+
# ]
|
1317
|
+
# ]
|
1318
|
+
# ],
|
1319
|
+
# [
|
1320
|
+
# [
|
1321
|
+
# 3
|
1322
|
+
# ],
|
1323
|
+
# [
|
1324
|
+
# [
|
1325
|
+
# "_key",
|
1326
|
+
# "ShortText"
|
1327
|
+
# ]
|
1328
|
+
# ],
|
1329
|
+
# [
|
1330
|
+
# "Hello"
|
1331
|
+
# ],
|
1332
|
+
# [
|
1333
|
+
# "Groonga"
|
1334
|
+
# ],
|
1335
|
+
# [
|
1336
|
+
# "Senna"
|
1337
|
+
# ]
|
1338
|
+
# ]
|
1339
|
+
# ]
|
1340
|
+
# ]
|
1341
|
+
</pre></div>
|
1342
|
+
</div>
|
1343
|
+
</div>
|
1344
|
+
<div class="section" id="drilldown-offset">
|
1345
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1346
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> を見てください。</p>
|
1347
|
+
<p>以下は例です。</p>
|
1348
|
+
<p>実行例:</p>
|
1349
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1350
|
+
--logical_table Entries \
|
1351
|
+
--shard_key created_at \
|
1352
|
+
--limit 0 \
|
1353
|
+
--output_columns _id \
|
1354
|
+
--drilldown tag \
|
1355
|
+
--drilldown_offset 1
|
1356
|
+
# [
|
1357
|
+
# [
|
1358
|
+
# 0,
|
1359
|
+
# 1337566253.89858,
|
1360
|
+
# 0.000355720520019531
|
1361
|
+
# ],
|
1362
|
+
# [
|
1363
|
+
# [
|
1364
|
+
# [
|
1365
|
+
# 5
|
1366
|
+
# ],
|
1367
|
+
# [
|
1368
|
+
# [
|
1369
|
+
# "_id",
|
1370
|
+
# "UInt32"
|
1371
|
+
# ]
|
1372
|
+
# ]
|
1373
|
+
# ],
|
1374
|
+
# [
|
1375
|
+
# [
|
1376
|
+
# 3
|
1377
|
+
# ],
|
1378
|
+
# [
|
1379
|
+
# [
|
1380
|
+
# "_key",
|
1381
|
+
# "ShortText"
|
1382
|
+
# ],
|
1383
|
+
# [
|
1384
|
+
# "_nsubrecs",
|
1385
|
+
# "Int32"
|
1386
|
+
# ]
|
1387
|
+
# ],
|
1388
|
+
# [
|
1389
|
+
# "Groonga",
|
1390
|
+
# 2
|
1391
|
+
# ],
|
1392
|
+
# [
|
1393
|
+
# "Senna",
|
1394
|
+
# 2
|
1395
|
+
# ]
|
1396
|
+
# ]
|
1397
|
+
# ]
|
1398
|
+
# ]
|
1399
|
+
</pre></div>
|
1400
|
+
</div>
|
1401
|
+
</div>
|
1402
|
+
<div class="section" id="drilldown-limit">
|
1403
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1404
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> を見てください。</p>
|
1405
|
+
<p>以下は例です。</p>
|
1406
|
+
<p>実行例:</p>
|
1407
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1408
|
+
--logical_table Entries \
|
1409
|
+
--shard_key created_at \
|
1410
|
+
--limit 0 \
|
1411
|
+
--output_columns _id \
|
1412
|
+
--drilldown tag \
|
1413
|
+
--drilldown_limit 2
|
1414
|
+
# [
|
1415
|
+
# [
|
1416
|
+
# 0,
|
1417
|
+
# 1337566253.89858,
|
1418
|
+
# 0.000355720520019531
|
1419
|
+
# ],
|
1420
|
+
# [
|
1421
|
+
# [
|
1422
|
+
# [
|
1423
|
+
# 5
|
1424
|
+
# ],
|
1425
|
+
# [
|
1426
|
+
# [
|
1427
|
+
# "_id",
|
1428
|
+
# "UInt32"
|
1429
|
+
# ]
|
1430
|
+
# ]
|
1431
|
+
# ],
|
1432
|
+
# [
|
1433
|
+
# [
|
1434
|
+
# 3
|
1435
|
+
# ],
|
1436
|
+
# [
|
1437
|
+
# [
|
1438
|
+
# "_key",
|
1439
|
+
# "ShortText"
|
1440
|
+
# ],
|
1441
|
+
# [
|
1442
|
+
# "_nsubrecs",
|
1443
|
+
# "Int32"
|
1444
|
+
# ]
|
1445
|
+
# ],
|
1446
|
+
# [
|
1447
|
+
# "Hello",
|
1448
|
+
# 1
|
1449
|
+
# ],
|
1450
|
+
# [
|
1451
|
+
# "Groonga",
|
1452
|
+
# 2
|
1453
|
+
# ]
|
1454
|
+
# ]
|
1455
|
+
# ]
|
1456
|
+
# ]
|
1457
|
+
</pre></div>
|
1458
|
+
</div>
|
1459
|
+
</div>
|
1460
|
+
<div class="section" id="drilldown-calc-types">
|
1461
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1462
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> を見てください。</p>
|
1463
|
+
<p>以下は例です。</p>
|
1464
|
+
<p>実行例:</p>
|
1465
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1466
|
+
--logical_table Entries \
|
1467
|
+
--shard_key created_at \
|
1468
|
+
--limit -1 \
|
1469
|
+
--output_columns tag,n_likes \
|
1470
|
+
--drilldown tag \
|
1471
|
+
--drilldown_calc_types MAX,MIN,SUM,AVG \
|
1472
|
+
--drilldown_calc_target n_likes \
|
1473
|
+
--drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
1474
|
+
# [
|
1475
|
+
# [
|
1476
|
+
# 0,
|
1477
|
+
# 1337566253.89858,
|
1478
|
+
# 0.000355720520019531
|
1479
|
+
# ],
|
1480
|
+
# [
|
1481
|
+
# [
|
1482
|
+
# [
|
1483
|
+
# 5
|
1484
|
+
# ],
|
1485
|
+
# [
|
1486
|
+
# [
|
1487
|
+
# "tag",
|
1488
|
+
# "ShortText"
|
1489
|
+
# ],
|
1490
|
+
# [
|
1491
|
+
# "n_likes",
|
1492
|
+
# "UInt32"
|
1493
|
+
# ]
|
1494
|
+
# ],
|
1495
|
+
# [
|
1496
|
+
# "Hello",
|
1497
|
+
# 5
|
1498
|
+
# ],
|
1499
|
+
# [
|
1500
|
+
# "Groonga",
|
1501
|
+
# 10
|
1502
|
+
# ],
|
1503
|
+
# [
|
1504
|
+
# "Groonga",
|
1505
|
+
# 15
|
1506
|
+
# ],
|
1507
|
+
# [
|
1508
|
+
# "Senna",
|
1509
|
+
# 3
|
1510
|
+
# ],
|
1511
|
+
# [
|
1512
|
+
# "Senna",
|
1513
|
+
# 3
|
1514
|
+
# ]
|
1515
|
+
# ],
|
1516
|
+
# [
|
1517
|
+
# [
|
1518
|
+
# 3
|
1519
|
+
# ],
|
1520
|
+
# [
|
1521
|
+
# [
|
1522
|
+
# "_key",
|
1523
|
+
# "ShortText"
|
1524
|
+
# ],
|
1525
|
+
# [
|
1526
|
+
# "_nsubrecs",
|
1527
|
+
# "Int32"
|
1528
|
+
# ],
|
1529
|
+
# [
|
1530
|
+
# "_max",
|
1531
|
+
# "Int64"
|
1532
|
+
# ],
|
1533
|
+
# [
|
1534
|
+
# "_min",
|
1535
|
+
# "Int64"
|
1536
|
+
# ],
|
1537
|
+
# [
|
1538
|
+
# "_sum",
|
1539
|
+
# "Int64"
|
1540
|
+
# ],
|
1541
|
+
# [
|
1542
|
+
# "_avg",
|
1543
|
+
# "Float"
|
1544
|
+
# ]
|
1545
|
+
# ],
|
1546
|
+
# [
|
1547
|
+
# "Hello",
|
1548
|
+
# 1,
|
1549
|
+
# 5,
|
1550
|
+
# 5,
|
1551
|
+
# 5,
|
1552
|
+
# 5.0
|
1553
|
+
# ],
|
1554
|
+
# [
|
1555
|
+
# "Groonga",
|
1556
|
+
# 2,
|
1557
|
+
# 15,
|
1558
|
+
# 10,
|
1559
|
+
# 25,
|
1560
|
+
# 12.5
|
1561
|
+
# ],
|
1562
|
+
# [
|
1563
|
+
# "Senna",
|
1564
|
+
# 2,
|
1565
|
+
# 3,
|
1566
|
+
# 3,
|
1567
|
+
# 6,
|
1568
|
+
# 3.0
|
1569
|
+
# ]
|
1570
|
+
# ]
|
1571
|
+
# ]
|
1572
|
+
# ]
|
1573
|
+
</pre></div>
|
1574
|
+
</div>
|
1575
|
+
</div>
|
1576
|
+
<div class="section" id="drilldown-calc-target">
|
1577
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1578
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> を見てください。</p>
|
1579
|
+
<p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> を見てください。</p>
|
1580
|
+
</div>
|
1581
|
+
</div>
|
1582
|
+
<div class="section" id="advanced-drilldown-related-parameters">
|
1583
|
+
<span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.27.5.7. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1584
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span>高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
|
1585
|
+
<p>いくつか制限があります。</p>
|
1586
|
+
<blockquote>
|
1587
|
+
<div><ul class="simple">
|
1588
|
+
<li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
1589
|
+
</li>
|
1590
|
+
</ul>
|
1591
|
+
</div></blockquote>
|
1592
|
+
<div class="section" id="drilldown-label-keys">
|
1593
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1594
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> を見てください。</p>
|
1595
|
+
<p>以下は例です。</p>
|
1596
|
+
<p>実行例:</p>
|
1597
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1598
|
+
--logical_table Entries \
|
1599
|
+
--shard_key created_at \
|
1600
|
+
--limit 0 \
|
1601
|
+
--output_columns _id \
|
1602
|
+
--drilldown[tag.n_likes].keys tag,n_likes \
|
1603
|
+
--drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
|
1604
|
+
# [
|
1605
|
+
# [
|
1606
|
+
# 0,
|
1607
|
+
# 1337566253.89858,
|
1608
|
+
# 0.000355720520019531
|
1609
|
+
# ],
|
1610
|
+
# [
|
1611
|
+
# [
|
1612
|
+
# [
|
1613
|
+
# 5
|
1614
|
+
# ],
|
1615
|
+
# [
|
1616
|
+
# [
|
1617
|
+
# "_id",
|
1618
|
+
# "UInt32"
|
1619
|
+
# ]
|
1620
|
+
# ]
|
1621
|
+
# ],
|
1622
|
+
# {
|
1623
|
+
# "tag.n_likes": [
|
1624
|
+
# [
|
1625
|
+
# 4
|
1626
|
+
# ],
|
1627
|
+
# [
|
1628
|
+
# [
|
1629
|
+
# "tag",
|
1630
|
+
# "ShortText"
|
1631
|
+
# ],
|
1632
|
+
# [
|
1633
|
+
# "n_likes",
|
1634
|
+
# "UInt32"
|
1635
|
+
# ],
|
1636
|
+
# [
|
1637
|
+
# "_nsubrecs",
|
1638
|
+
# "Int32"
|
1639
|
+
# ]
|
1640
|
+
# ],
|
1641
|
+
# [
|
1642
|
+
# "Hello",
|
1643
|
+
# 5,
|
1644
|
+
# 1
|
1645
|
+
# ],
|
1646
|
+
# [
|
1647
|
+
# "Groonga",
|
1648
|
+
# 10,
|
1649
|
+
# 1
|
1650
|
+
# ],
|
1651
|
+
# [
|
1652
|
+
# "Groonga",
|
1653
|
+
# 15,
|
1654
|
+
# 1
|
1655
|
+
# ],
|
1656
|
+
# [
|
1657
|
+
# "Senna",
|
1658
|
+
# 3,
|
1659
|
+
# 2
|
1660
|
+
# ]
|
1661
|
+
# ]
|
1662
|
+
# }
|
1663
|
+
# ]
|
1664
|
+
# ]
|
1665
|
+
</pre></div>
|
1666
|
+
</div>
|
1667
|
+
</div>
|
1668
|
+
<div class="section" id="drilldown-label-output-columns">
|
1669
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1670
|
+
<p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> を見てください。</p>
|
1671
|
+
<p>以下は例です。</p>
|
1672
|
+
<p>実行例:</p>
|
1673
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1674
|
+
--logical_table Entries \
|
1675
|
+
--shard_key created_at \
|
1676
|
+
--limit 0 \
|
1677
|
+
--output_columns _id \
|
1678
|
+
--drilldown[tag].keys tag \
|
1679
|
+
--drilldown[tag].output_columns _key,_nsubrecs
|
1680
|
+
# [
|
1681
|
+
# [
|
1682
|
+
# 0,
|
1683
|
+
# 1337566253.89858,
|
1684
|
+
# 0.000355720520019531
|
1685
|
+
# ],
|
1686
|
+
# [
|
1687
|
+
# [
|
1688
|
+
# [
|
1689
|
+
# 5
|
1690
|
+
# ],
|
1691
|
+
# [
|
1692
|
+
# [
|
1693
|
+
# "_id",
|
1694
|
+
# "UInt32"
|
1695
|
+
# ]
|
1696
|
+
# ]
|
1697
|
+
# ],
|
1698
|
+
# {
|
1699
|
+
# "tag": [
|
1700
|
+
# [
|
1701
|
+
# 3
|
1702
|
+
# ],
|
1703
|
+
# [
|
1704
|
+
# [
|
1705
|
+
# "_key",
|
1706
|
+
# "ShortText"
|
1707
|
+
# ],
|
1708
|
+
# [
|
1709
|
+
# "_nsubrecs",
|
1710
|
+
# "Int32"
|
1711
|
+
# ]
|
1712
|
+
# ],
|
1713
|
+
# [
|
1714
|
+
# "Hello",
|
1715
|
+
# 1
|
1716
|
+
# ],
|
1717
|
+
# [
|
1718
|
+
# "Groonga",
|
1719
|
+
# 2
|
1720
|
+
# ],
|
1721
|
+
# [
|
1722
|
+
# "Senna",
|
1723
|
+
# 2
|
1724
|
+
# ]
|
1725
|
+
# ]
|
1726
|
+
# }
|
1727
|
+
# ]
|
1728
|
+
# ]
|
1729
|
+
</pre></div>
|
1730
|
+
</div>
|
1731
|
+
</div>
|
1732
|
+
<div class="section" id="drilldown-label-sortby">
|
1733
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1734
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sortby"><span>drilldown_sortby</span></a> に対応しています。</p>
|
1735
|
+
<p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> には制限があります。</p>
|
1736
|
+
<p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
1737
|
+
<p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
|
1738
|
+
<p>実行例:</p>
|
1739
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1740
|
+
--logical_table Entries \
|
1741
|
+
--shard_key created_at \
|
1742
|
+
--min "2015/07/08 00:00:00" \
|
1743
|
+
--min_border "include" \
|
1744
|
+
--max "2015/07/09 00:00:00" \
|
1745
|
+
--max_border "exclude" \
|
1746
|
+
--limit 0 \
|
1747
|
+
--output_columns _id \
|
1748
|
+
--drilldown[tag.n_likes].keys tag,n_likes \
|
1749
|
+
--drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
|
1750
|
+
--drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
|
1751
|
+
# [
|
1752
|
+
# [
|
1753
|
+
# 0,
|
1754
|
+
# 1337566253.89858,
|
1755
|
+
# 0.000355720520019531
|
1756
|
+
# ],
|
1757
|
+
# [
|
1758
|
+
# [
|
1759
|
+
# [
|
1760
|
+
# 3
|
1761
|
+
# ],
|
1762
|
+
# [
|
1763
|
+
# [
|
1764
|
+
# "_id",
|
1765
|
+
# "UInt32"
|
1766
|
+
# ]
|
1767
|
+
# ]
|
1768
|
+
# ],
|
1769
|
+
# {
|
1770
|
+
# "tag.n_likes": [
|
1771
|
+
# [
|
1772
|
+
# 3
|
1773
|
+
# ],
|
1774
|
+
# [
|
1775
|
+
# [
|
1776
|
+
# "_nsubrecs",
|
1777
|
+
# "Int32"
|
1778
|
+
# ],
|
1779
|
+
# [
|
1780
|
+
# "n_likes",
|
1781
|
+
# "UInt32"
|
1782
|
+
# ],
|
1783
|
+
# [
|
1784
|
+
# "tag",
|
1785
|
+
# "ShortText"
|
1786
|
+
# ]
|
1787
|
+
# ],
|
1788
|
+
# [
|
1789
|
+
# 1,
|
1790
|
+
# 5,
|
1791
|
+
# "Hello"
|
1792
|
+
# ],
|
1793
|
+
# [
|
1794
|
+
# 1,
|
1795
|
+
# 10,
|
1796
|
+
# "Groonga"
|
1797
|
+
# ],
|
1798
|
+
# [
|
1799
|
+
# 1,
|
1800
|
+
# 15,
|
1801
|
+
# "Groonga"
|
1802
|
+
# ]
|
1803
|
+
# ]
|
1804
|
+
# }
|
1805
|
+
# ]
|
1806
|
+
# ]
|
1807
|
+
</pre></div>
|
1808
|
+
</div>
|
1809
|
+
</div>
|
1810
|
+
<div class="section" id="drilldown-label-offset">
|
1811
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1812
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span>drilldown_offset</span></a> に対応しています。</p>
|
1813
|
+
<p>以下は例です。</p>
|
1814
|
+
<p>実行例:</p>
|
1815
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1816
|
+
--logical_table Entries \
|
1817
|
+
--shard_key created_at \
|
1818
|
+
--limit 0 \
|
1819
|
+
--output_columns _id \
|
1820
|
+
--drilldown[tag.n_likes].keys tag \
|
1821
|
+
--drilldown[tag.n_likes].offset 1
|
1822
|
+
# [
|
1823
|
+
# [
|
1824
|
+
# 0,
|
1825
|
+
# 1337566253.89858,
|
1826
|
+
# 0.000355720520019531
|
1827
|
+
# ],
|
1828
|
+
# [
|
1829
|
+
# [
|
1830
|
+
# [
|
1831
|
+
# 5
|
1832
|
+
# ],
|
1833
|
+
# [
|
1834
|
+
# [
|
1835
|
+
# "_id",
|
1836
|
+
# "UInt32"
|
1837
|
+
# ]
|
1838
|
+
# ]
|
1839
|
+
# ],
|
1840
|
+
# {
|
1841
|
+
# "tag.n_likes": [
|
1842
|
+
# [
|
1843
|
+
# 3
|
1844
|
+
# ],
|
1845
|
+
# [
|
1846
|
+
# [
|
1847
|
+
# "_key",
|
1848
|
+
# "ShortText"
|
1849
|
+
# ],
|
1850
|
+
# [
|
1851
|
+
# "_nsubrecs",
|
1852
|
+
# "Int32"
|
1853
|
+
# ]
|
1854
|
+
# ],
|
1855
|
+
# [
|
1856
|
+
# "Groonga",
|
1857
|
+
# 2
|
1858
|
+
# ],
|
1859
|
+
# [
|
1860
|
+
# "Senna",
|
1861
|
+
# 2
|
1862
|
+
# ]
|
1863
|
+
# ]
|
1864
|
+
# }
|
1865
|
+
# ]
|
1866
|
+
# ]
|
1867
|
+
</pre></div>
|
1868
|
+
</div>
|
1869
|
+
</div>
|
1870
|
+
<div class="section" id="drilldown-label-limit">
|
1871
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1872
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span>drilldown_limit</span></a> に対応しています。</p>
|
1873
|
+
<p>以下は例です。</p>
|
1874
|
+
<p>実行例:</p>
|
1875
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1876
|
+
--logical_table Entries \
|
1877
|
+
--shard_key created_at \
|
1878
|
+
--limit 0 \
|
1879
|
+
--output_columns _id \
|
1880
|
+
--drilldown[tag.n_likes].keys tag \
|
1881
|
+
--drilldown[tag.n_likes].limit 2
|
1882
|
+
# [
|
1883
|
+
# [
|
1884
|
+
# 0,
|
1885
|
+
# 1337566253.89858,
|
1886
|
+
# 0.000355720520019531
|
1887
|
+
# ],
|
1888
|
+
# [
|
1889
|
+
# [
|
1890
|
+
# [
|
1891
|
+
# 5
|
1892
|
+
# ],
|
1893
|
+
# [
|
1894
|
+
# [
|
1895
|
+
# "_id",
|
1896
|
+
# "UInt32"
|
1897
|
+
# ]
|
1898
|
+
# ]
|
1899
|
+
# ],
|
1900
|
+
# {
|
1901
|
+
# "tag.n_likes": [
|
1902
|
+
# [
|
1903
|
+
# 3
|
1904
|
+
# ],
|
1905
|
+
# [
|
1906
|
+
# [
|
1907
|
+
# "_key",
|
1908
|
+
# "ShortText"
|
1909
|
+
# ],
|
1910
|
+
# [
|
1911
|
+
# "_nsubrecs",
|
1912
|
+
# "Int32"
|
1913
|
+
# ]
|
1914
|
+
# ],
|
1915
|
+
# [
|
1916
|
+
# "Hello",
|
1917
|
+
# 1
|
1918
|
+
# ],
|
1919
|
+
# [
|
1920
|
+
# "Groonga",
|
1921
|
+
# 2
|
1922
|
+
# ]
|
1923
|
+
# ]
|
1924
|
+
# }
|
1925
|
+
# ]
|
1926
|
+
# ]
|
1927
|
+
</pre></div>
|
1928
|
+
</div>
|
1929
|
+
</div>
|
1930
|
+
<div class="section" id="drilldown-label-calc-types">
|
1931
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
1932
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> に対応しています。</p>
|
1933
|
+
<p>以下は例です。</p>
|
1934
|
+
<p>実行例:</p>
|
1935
|
+
<div class="highlight-none"><div class="highlight"><pre>logical_select \
|
1936
|
+
--logical_table Entries \
|
1937
|
+
--shard_key created_at \
|
1938
|
+
--limit 0 \
|
1939
|
+
--output_columns _id \
|
1940
|
+
--drilldown[tag].keys tag \
|
1941
|
+
--drilldown[tag].calc_types MAX,MIN,SUM,AVG \
|
1942
|
+
--drilldown[tag].calc_target n_likes \
|
1943
|
+
--drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
|
1944
|
+
# [
|
1945
|
+
# [
|
1946
|
+
# 0,
|
1947
|
+
# 1337566253.89858,
|
1948
|
+
# 0.000355720520019531
|
1949
|
+
# ],
|
1950
|
+
# [
|
1951
|
+
# [
|
1952
|
+
# [
|
1953
|
+
# 5
|
1954
|
+
# ],
|
1955
|
+
# [
|
1956
|
+
# [
|
1957
|
+
# "_id",
|
1958
|
+
# "UInt32"
|
1959
|
+
# ]
|
1960
|
+
# ]
|
1961
|
+
# ],
|
1962
|
+
# {
|
1963
|
+
# "tag": [
|
1964
|
+
# [
|
1965
|
+
# 3
|
1966
|
+
# ],
|
1967
|
+
# [
|
1968
|
+
# [
|
1969
|
+
# "_key",
|
1970
|
+
# "ShortText"
|
1971
|
+
# ],
|
1972
|
+
# [
|
1973
|
+
# "_nsubrecs",
|
1974
|
+
# "Int32"
|
1975
|
+
# ],
|
1976
|
+
# [
|
1977
|
+
# "_max",
|
1978
|
+
# "Int64"
|
1979
|
+
# ],
|
1980
|
+
# [
|
1981
|
+
# "_min",
|
1982
|
+
# "Int64"
|
1983
|
+
# ],
|
1984
|
+
# [
|
1985
|
+
# "_sum",
|
1986
|
+
# "Int64"
|
1987
|
+
# ],
|
1988
|
+
# [
|
1989
|
+
# "_avg",
|
1990
|
+
# "Float"
|
1991
|
+
# ]
|
1992
|
+
# ],
|
1993
|
+
# [
|
1994
|
+
# "Hello",
|
1995
|
+
# 1,
|
1996
|
+
# 5,
|
1997
|
+
# 5,
|
1998
|
+
# 5,
|
1999
|
+
# 5.0
|
2000
|
+
# ],
|
2001
|
+
# [
|
2002
|
+
# "Groonga",
|
2003
|
+
# 2,
|
2004
|
+
# 15,
|
2005
|
+
# 10,
|
2006
|
+
# 25,
|
2007
|
+
# 12.5
|
2008
|
+
# ],
|
2009
|
+
# [
|
2010
|
+
# "Senna",
|
2011
|
+
# 2,
|
2012
|
+
# 3,
|
2013
|
+
# 3,
|
2014
|
+
# 6,
|
2015
|
+
# 3.0
|
2016
|
+
# ]
|
2017
|
+
# ]
|
2018
|
+
# }
|
2019
|
+
# ]
|
2020
|
+
# ]
|
2021
|
+
</pre></div>
|
2022
|
+
</div>
|
2023
|
+
</div>
|
2024
|
+
<div class="section" id="drilldown-label-calc-target">
|
2025
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
2026
|
+
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span>drilldown_calc_target</span></a> に対応しています。</p>
|
2027
|
+
<p>例は <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span>drilldown[${LABEL}].calc_types</span></a> を参照してください。</p>
|
2028
|
+
</div>
|
2029
|
+
</div>
|
2030
|
+
</div>
|
2031
|
+
<div class="section" id="return-value">
|
2032
|
+
<h2>7.3.27.6. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
2033
|
+
<p><code class="docutils literal"><span class="pre">logical_select</span></code> の戻り値のフォーマットは <a class="reference internal" href="select.html"><em>select</em></a> と同じです。詳細は <a class="reference internal" href="select.html#select-return-value"><span>戻り値</span></a> を見てください。</p>
|
2034
|
+
</div>
|
152
2035
|
</div>
|
153
2036
|
|
154
2037
|
|
155
2038
|
</div>
|
156
2039
|
</div>
|
157
2040
|
</div>
|
158
|
-
<div class="sphinxsidebar">
|
2041
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
159
2042
|
<div class="sphinxsidebarwrapper">
|
160
2043
|
<h3><a href="../../index.html">目次</a></h3>
|
161
2044
|
<ul>
|
162
|
-
<li><a class="reference internal" href="#">7.3.
|
163
|
-
<li><a class="reference internal" href="#summary">7.3.
|
164
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
165
|
-
<li><a class="reference internal" href="#
|
166
|
-
<li><a class="reference internal" href="#
|
167
|
-
<li><a class="reference internal" href="#
|
168
|
-
|
169
|
-
|
2045
|
+
<li><a class="reference internal" href="#">7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
|
2046
|
+
<li><a class="reference internal" href="#summary">7.3.27.1. 概要</a></li>
|
2047
|
+
<li><a class="reference internal" href="#syntax">7.3.27.2. 構文</a></li>
|
2048
|
+
<li><a class="reference internal" href="#differences-from-select">7.3.27.3. <code class="docutils literal"><span class="pre">select</span></code> との違い</a></li>
|
2049
|
+
<li><a class="reference internal" href="#usage">7.3.27.4. 使い方</a><ul>
|
2050
|
+
<li><a class="reference internal" href="#simple-usage">7.3.27.4.1. 簡単な使い方</a></li>
|
2051
|
+
</ul>
|
2052
|
+
</li>
|
2053
|
+
<li><a class="reference internal" href="#parameters">7.3.27.5. 引数</a><ul>
|
2054
|
+
<li><a class="reference internal" href="#required-parameter">7.3.27.5.1. 必須引数</a><ul>
|
2055
|
+
<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>
|
2056
|
+
<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>
|
2057
|
+
</ul>
|
2058
|
+
</li>
|
2059
|
+
<li><a class="reference internal" href="#optional-parameters">7.3.27.5.2. 省略可能引数</a><ul>
|
2060
|
+
<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>
|
2061
|
+
<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>
|
2062
|
+
<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>
|
2063
|
+
<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>
|
2064
|
+
</ul>
|
2065
|
+
</li>
|
2066
|
+
<li><a class="reference internal" href="#search-related-parameters">7.3.27.5.3. 検索関係の引数</a><ul>
|
2067
|
+
<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>
|
2068
|
+
<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>
|
2069
|
+
<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>
|
170
2070
|
</ul>
|
171
2071
|
</li>
|
172
|
-
<li><a class="reference internal" href="#
|
173
|
-
<li><a class="reference internal" href="#
|
174
|
-
<li><a class="reference internal" href="#
|
175
|
-
<li><a class="reference internal" href="#
|
176
|
-
<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>
|
177
|
-
<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>
|
2072
|
+
<li><a class="reference internal" href="#advanced-search-parameters">7.3.27.5.4. 高度な検索のための引数</a><ul>
|
2073
|
+
<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>
|
2074
|
+
<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>
|
2075
|
+
<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>
|
178
2076
|
</ul>
|
179
2077
|
</li>
|
2078
|
+
<li><a class="reference internal" href="#output-related-parameters">7.3.27.5.5. 出力関連の引数</a><ul>
|
2079
|
+
<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>
|
2080
|
+
<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>
|
2081
|
+
<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>
|
2082
|
+
<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>
|
2083
|
+
<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>
|
180
2084
|
</ul>
|
181
2085
|
</li>
|
182
|
-
<li><a class="reference internal" href="#
|
2086
|
+
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.27.5.6. ドリルダウン関連の引数</a><ul>
|
2087
|
+
<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>
|
2088
|
+
<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>
|
2089
|
+
<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>
|
2090
|
+
<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>
|
2091
|
+
<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>
|
2092
|
+
<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>
|
2093
|
+
<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>
|
2094
|
+
</ul>
|
2095
|
+
</li>
|
2096
|
+
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.27.5.7. 高度なドリルダウン関連のパラメーター</a><ul>
|
2097
|
+
<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>
|
2098
|
+
<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>
|
2099
|
+
<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>
|
2100
|
+
<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>
|
2101
|
+
<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>
|
2102
|
+
<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>
|
2103
|
+
<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>
|
2104
|
+
</ul>
|
2105
|
+
</li>
|
2106
|
+
</ul>
|
2107
|
+
</li>
|
2108
|
+
<li><a class="reference internal" href="#return-value">7.3.27.6. 戻り値</a></li>
|
183
2109
|
</ul>
|
184
2110
|
</li>
|
185
2111
|
</ul>
|
186
2112
|
|
187
2113
|
<h4>前のトピックへ</h4>
|
188
2114
|
<p class="topless"><a href="logical_range_filter.html"
|
189
|
-
title="前の章へ">7.3.
|
2115
|
+
title="前の章へ">7.3.26. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
190
2116
|
<h4>次のトピックへ</h4>
|
191
|
-
<p class="topless"><a href="
|
192
|
-
title="次の章へ">7.3.
|
193
|
-
<
|
194
|
-
|
195
|
-
<
|
196
|
-
|
197
|
-
|
198
|
-
|
2117
|
+
<p class="topless"><a href="logical_shard_list.html"
|
2118
|
+
title="次の章へ">7.3.28. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
|
2119
|
+
<div role="note" aria-label="source link">
|
2120
|
+
<h3>このページ</h3>
|
2121
|
+
<ul class="this-page-menu">
|
2122
|
+
<li><a href="../../_sources/reference/commands/logical_select.txt"
|
2123
|
+
rel="nofollow">ソースコードを表示</a></li>
|
2124
|
+
</ul>
|
2125
|
+
</div>
|
2126
|
+
<div id="searchbox" style="display: none" role="search">
|
199
2127
|
<h3>クイック検索</h3>
|
200
2128
|
<form class="search" action="../../search.html" method="get">
|
201
2129
|
<input type="text" name="q" />
|
@@ -212,24 +2140,24 @@
|
|
212
2140
|
</div>
|
213
2141
|
<div class="clearer"></div>
|
214
2142
|
</div>
|
215
|
-
<div class="related">
|
2143
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
216
2144
|
<h3>ナビゲーション</h3>
|
217
2145
|
<ul>
|
218
2146
|
<li class="right" style="margin-right: 10px">
|
219
2147
|
<a href="../../genindex.html" title="総合索引"
|
220
2148
|
>索引</a></li>
|
221
2149
|
<li class="right" >
|
222
|
-
<a href="
|
2150
|
+
<a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
|
223
2151
|
>次へ</a> |</li>
|
224
2152
|
<li class="right" >
|
225
|
-
<a href="logical_range_filter.html" title="7.3.
|
2153
|
+
<a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
|
226
2154
|
>前へ</a> |</li>
|
227
|
-
<li><a href="../../index.html">Groonga v5.0.
|
228
|
-
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
229
|
-
<li><a href="../
|
2155
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> »</li>
|
2156
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
2157
|
+
<li class="nav-item nav-item-2"><a href="../sharding.html" >7.18. シャーディング</a> »</li>
|
230
2158
|
</ul>
|
231
2159
|
</div>
|
232
|
-
<div class="footer">
|
2160
|
+
<div class="footer" role="contentinfo">
|
233
2161
|
© Copyright 2009-2015, Brazil, Inc.
|
234
2162
|
</div>
|
235
2163
|
</body>
|