rroonga 7.1.1-x64-mingw32 → 9.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +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 +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/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/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 +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/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/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 +0 -808
@@ -1,35 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.34. logical_select — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.34. logical_select — Groonga v9.0.2ドキュメント</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
25
17
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
18
|
+
|
26
19
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
27
20
|
<link rel="index" title="索引" href="../../genindex.html" />
|
28
21
|
<link rel="search" title="検索" href="../../search.html" />
|
29
22
|
<link rel="next" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
|
30
23
|
<link rel="prev" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
31
|
-
</head>
|
32
|
-
<body>
|
24
|
+
</head><body>
|
33
25
|
<div class="header">
|
34
26
|
<h1 class="title">
|
35
27
|
<a id="top-link" href="../../index.html">
|
@@ -59,7 +51,7 @@
|
|
59
51
|
<li class="right" >
|
60
52
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
61
53
|
accesskey="P">前へ</a> |</li>
|
62
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
54
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
63
55
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
64
56
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
65
57
|
</ul>
|
@@ -71,20 +63,20 @@
|
|
71
63
|
<div class="body" role="main">
|
72
64
|
|
73
65
|
<div class="section" id="logical-select">
|
74
|
-
<h1>7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
66
|
+
<h1>7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
75
67
|
<div class="section" id="summary">
|
76
68
|
<h2>7.3.34.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
77
69
|
<div class="versionadded">
|
78
|
-
<p><span class="versionmodified">バージョン 5.0.5 で追加.</span></p>
|
70
|
+
<p><span class="versionmodified added">バージョン 5.0.5 で追加.</span></p>
|
79
71
|
</div>
|
80
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><span class="doc">select</span></a> のシャーディングバージョンです。 <code class="docutils literal"><span class="pre">logical_select</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
|
81
|
-
<p>このコマンド は <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"><span class="doc">plugin_register</span></a> する必要があります。</p>
|
72
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><span class="doc">select</span></a> のシャーディングバージョンです。 <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
|
73
|
+
<p>このコマンド は <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインに含まれているので、 <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインを <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> する必要があります。</p>
|
82
74
|
</div>
|
83
75
|
<div class="section" id="syntax">
|
84
76
|
<h2>7.3.34.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
85
77
|
<p>このコマンドにはたくさんの引数があります。</p>
|
86
|
-
<p>必須の引数は <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。それ以外の引数は省略可能です:</p>
|
87
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select logical_table
|
78
|
+
<p>必須の引数は <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> です。それ以外の引数は省略可能です:</p>
|
79
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select logical_table
|
88
80
|
shard_key
|
89
81
|
[min=null]
|
90
82
|
[min_border="include"]
|
@@ -107,119 +99,124 @@
|
|
107
99
|
[match_columns=null]
|
108
100
|
[query=null]
|
109
101
|
[drilldown_filter=null]
|
102
|
+
[post_filter=null]
|
103
|
+
[load_table=null]
|
104
|
+
[load_columns=null]
|
105
|
+
[load_values=null]
|
110
106
|
</pre></div>
|
111
107
|
</div>
|
112
108
|
<p>いくつか名前付き引数としてしか使えない引数があります。これらの引数を「○番目の引数」として使うことはできません。必ず名前を指定する必要があります。</p>
|
113
109
|
<p>名前付き引数としてしか使えない引数は次の通りです。</p>
|
114
110
|
<blockquote>
|
115
111
|
<div><ul class="simple">
|
116
|
-
<li><code class="docutils literal"><span class="pre">cache=no</span></code></li>
|
112
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">cache=no</span></code></p></li>
|
117
113
|
</ul>
|
118
114
|
</div></blockquote>
|
119
115
|
<p>以下の名前付き引数で動的カラム機能を使うことができます。</p>
|
120
116
|
<blockquote>
|
121
117
|
<div><ul class="simple">
|
122
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
123
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
124
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
125
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
126
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
127
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
118
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage=null</span></code></p></li>
|
119
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
120
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type=null</span></code></p></li>
|
121
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value=null</span></code></p></li>
|
122
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
123
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></p></li>
|
128
124
|
</ul>
|
129
125
|
</div></blockquote>
|
130
|
-
<p><code class="docutils literal"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">column1</span></code> は有効な <code class="docutils literal"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
|
131
|
-
<p>同じ <code class="docutils literal"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
|
126
|
+
<p><code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal notranslate"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal notranslate"><span class="pre">column1</span></code> は有効な <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
|
127
|
+
<p>同じ <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
|
132
128
|
<p>たとえば、以下の引数は1つの動的カラムを指定しています。</p>
|
133
129
|
<blockquote>
|
134
130
|
<div><ul class="simple">
|
135
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
136
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
137
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
131
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></p></li>
|
132
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></p></li>
|
133
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></p></li>
|
138
134
|
</ul>
|
139
135
|
</div></blockquote>
|
140
136
|
<p>以下の引数は2つの動的カラムを指定しています。</p>
|
141
137
|
<blockquote>
|
142
138
|
<div><ul class="simple">
|
143
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
144
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
145
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
146
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
|
147
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
148
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].value</span> <span class="pre">'_score</span> <span class="pre">*</span> <span class="pre">0.1'</span></code></li>
|
139
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></p></li>
|
140
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></p></li>
|
141
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></p></li>
|
142
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></p></li>
|
143
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></p></li>
|
144
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].value</span> <span class="pre">'_score</span> <span class="pre">*</span> <span class="pre">0.1'</span></code></p></li>
|
149
145
|
</ul>
|
150
146
|
</div></blockquote>
|
151
147
|
<p>このコマンドには高度なドリルダウン機能のために以下の名前付き引数があります。</p>
|
152
148
|
<blockquote>
|
153
149
|
<div><ul class="simple">
|
154
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></li>
|
155
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></li>
|
156
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></li>
|
157
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></li>
|
158
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></li>
|
159
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></li>
|
160
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></li>
|
161
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></li>
|
162
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></li>
|
163
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
164
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></li>
|
165
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></li>
|
166
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></li>
|
167
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></li>
|
150
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></p></li>
|
151
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></p></li>
|
152
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></p></li>
|
153
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></p></li>
|
154
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></p></li>
|
155
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></p></li>
|
156
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></p></li>
|
157
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></p></li>
|
158
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></p></li>
|
159
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
160
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></p></li>
|
161
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></p></li>
|
162
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
163
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></p></li>
|
168
164
|
</ul>
|
169
165
|
</div></blockquote>
|
170
166
|
<div class="deprecated">
|
171
|
-
<p><span class="versionmodified">バージョン 6.1.4
|
167
|
+
<p><span class="versionmodified deprecated">バージョン 6.1.4 で非推奨: </span><code class="docutils literal notranslate"><span class="pre">drilldown[...]</span></code> 構文は非推奨になりました。代わりに <code class="docutils literal notranslate"><span class="pre">drilldowns[...]</span></code> を使用してください。</p>
|
172
168
|
</div>
|
173
169
|
<div class="deprecated">
|
174
|
-
<p><span class="versionmodified">バージョン 6.1.5
|
170
|
+
<p><span class="versionmodified deprecated">バージョン 6.1.5 で非推奨: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> は非推奨になりました。代わりに <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を使ってください。</p>
|
175
171
|
</div>
|
176
|
-
<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>
|
177
|
-
<p>同じ <code class="docutils literal"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
|
172
|
+
<p><code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal notranslate"><span class="pre">_</span></code> 、 <code class="docutils literal notranslate"><span class="pre">.</span></code> を使うことができます。たとえば、 <code class="docutils literal notranslate"><span class="pre">parent.sub1</span></code> は有効な <code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code> です。</p>
|
173
|
+
<p>同じ <code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
|
178
174
|
<p>たとえば、以下の引数は1つのドリルダウンを指定しています。</p>
|
179
175
|
<blockquote>
|
180
176
|
<div><ul class="simple">
|
181
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></li>
|
182
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
177
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></p></li>
|
178
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></p></li>
|
183
179
|
</ul>
|
184
180
|
</div></blockquote>
|
185
181
|
<p>以下の引数は2つのドリルダウンを指定しています。</p>
|
186
182
|
<blockquote>
|
187
183
|
<div><ul class="simple">
|
188
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></li>
|
189
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
190
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></li>
|
191
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></li>
|
184
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></p></li>
|
185
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></p></li>
|
186
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></p></li>
|
187
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></p></li>
|
192
188
|
</ul>
|
193
189
|
</div></blockquote>
|
194
190
|
</div>
|
195
191
|
<div class="section" id="differences-from-select">
|
196
|
-
<h2>7.3.34.3. <code class="docutils literal"><span class="pre">select</span></code> との違い<a class="headerlink" href="#differences-from-select" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
197
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> の多くの機能は <a class="reference internal" href="select.html"><span class="doc">select</span></a> の機能と対応しています。たとえば、引数名は同じですし、出力フォーマットも同じです。</p>
|
192
|
+
<h2>7.3.34.3. <code class="docutils literal notranslate"><span class="pre">select</span></code> との違い<a class="headerlink" href="#differences-from-select" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
193
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の多くの機能は <a class="reference internal" href="select.html"><span class="doc">select</span></a> の機能と対応しています。たとえば、引数名は同じですし、出力フォーマットも同じです。</p>
|
198
194
|
<p>しかし、いくつか <a class="reference internal" href="select.html"><span class="doc">select</span></a> と違うところもあります。</p>
|
199
195
|
<blockquote>
|
200
196
|
<div><ul class="simple">
|
201
|
-
<li><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> 引数が必須です。</li>
|
202
|
-
<li>複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sort_keys</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。複数のシャードについては1つ例外があります。<code class="docutils literal"><span class="pre">shard_key</span></code> と <code class="docutils literal"><span class="pre">sort_keys</span></code> が同じ場合です。その場合はサポートしています。詳細は <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> を参照してください。)</li>
|
203
|
-
<li>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1
|
204
|
-
<li><code class="docutils literal"><span class="pre">
|
205
|
-
<li><code class="docutils literal"><span class="pre">
|
206
|
-
<li><code class="docutils literal"><span class="pre">
|
207
|
-
<li><code class="docutils literal"><span class="pre">
|
197
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">table</span></code> 引数ではなく、 <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> 引数が必須です。</p></li>
|
198
|
+
<li><p>複数のシャードを使った場合の <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。複数のシャードについては1つ例外があります。<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> と <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> が同じ場合です。その場合はサポートしています。詳細は <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> を参照してください。)</p></li>
|
199
|
+
<li><p>複数のシャードを使った場合、 <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。複数のシャードを使った場合、<code class="docutils literal notranslate"><span class="pre">_key</span></code> は、<code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で使えます。</p></li>
|
200
|
+
<li><p>複数のシャードを使った場合、 <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code> の中でも <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p></li>
|
201
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code> はまだサポートしていません。</p></li>
|
202
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">query_flags</span></code> はまだサポートしていません。</p></li>
|
203
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">query_expander</span></code> はまだサポートしていません。</p></li>
|
204
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">adjuster</span></code> はまだサポートしていません。</p></li>
|
208
205
|
</ul>
|
209
206
|
</div></blockquote>
|
210
207
|
</div>
|
211
208
|
<div class="section" id="usage">
|
212
209
|
<h2>7.3.34.4. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
213
210
|
<p>例を使いながら使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
|
214
|
-
<p>このコマンドは <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
|
211
|
+
<p>このコマンドは <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
|
215
212
|
<p>実行例:</p>
|
216
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
213
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
217
214
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
218
215
|
</pre></div>
|
219
216
|
</div>
|
220
217
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
221
218
|
<p>実行例:</p>
|
222
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
219
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
223
220
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
224
221
|
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
225
222
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -290,31 +287,116 @@ load --table Entries_20150709
|
|
290
287
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
291
288
|
</pre></div>
|
292
289
|
</div>
|
293
|
-
<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>
|
290
|
+
<p>ブログエントリー用に <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> の2つのテーブルがあります。</p>
|
294
291
|
<div class="admonition note">
|
295
|
-
<p class="
|
296
|
-
<p
|
292
|
+
<p class="admonition-title">注釈</p>
|
293
|
+
<p>テーブル名には <code class="docutils literal notranslate"><span class="pre">${論理テーブル名}_${YYYYMMDD}</span></code> という命名規則を使う必要があります。この例では、 <code class="docutils literal notranslate"><span class="pre">論理テーブル名</span></code> は <code class="docutils literal notranslate"><span class="pre">Entries</span></code> で <code class="docutils literal notranslate"><span class="pre">YYYYMMDD</span></code> は <code class="docutils literal notranslate"><span class="pre">20150708</span></code> または <code class="docutils literal notranslate"><span class="pre">20150709</span></code> です。</p>
|
297
294
|
</div>
|
298
|
-
<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>
|
299
|
-
<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>
|
295
|
+
<p>各エントリはタイトルと作成日時と内容と「いいね!」数、タグを持っています。タイトルは <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code> のキーとします。作成日時は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.created_at</span></code> カラムの値とします。内容は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムの値とします。「いいね!」数は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> カラムの値とします。タグは <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.tag</span></code> カラムの値とします。</p>
|
296
|
+
<p><code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> カラムと <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムには <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> と <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> は両方とも全文検索できます。</p>
|
300
297
|
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
301
298
|
<div class="section" id="simple-usage">
|
302
299
|
<h3>7.3.34.4.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
303
|
-
<p
|
300
|
+
<p>以下は必須のパラメータのみを指定した例です。</p>
|
301
|
+
<p>実行例:</p>
|
302
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
303
|
+
# [
|
304
|
+
# [
|
305
|
+
# 0,
|
306
|
+
# 1337566253.89858,
|
307
|
+
# 0.000355720520019531
|
308
|
+
# ],
|
309
|
+
# [
|
310
|
+
# [
|
311
|
+
# [
|
312
|
+
# 5
|
313
|
+
# ],
|
314
|
+
# [
|
315
|
+
# [
|
316
|
+
# "_id",
|
317
|
+
# "UInt32"
|
318
|
+
# ],
|
319
|
+
# [
|
320
|
+
# "_key",
|
321
|
+
# "ShortText"
|
322
|
+
# ],
|
323
|
+
# [
|
324
|
+
# "content",
|
325
|
+
# "Text"
|
326
|
+
# ],
|
327
|
+
# [
|
328
|
+
# "created_at",
|
329
|
+
# "Time"
|
330
|
+
# ],
|
331
|
+
# [
|
332
|
+
# "n_likes",
|
333
|
+
# "UInt32"
|
334
|
+
# ],
|
335
|
+
# [
|
336
|
+
# "tag",
|
337
|
+
# "ShortText"
|
338
|
+
# ]
|
339
|
+
# ],
|
340
|
+
# [
|
341
|
+
# 1,
|
342
|
+
# "The first post!",
|
343
|
+
# "Welcome! This is my first post!",
|
344
|
+
# 1436281200.0,
|
345
|
+
# 5,
|
346
|
+
# "Hello"
|
347
|
+
# ],
|
348
|
+
# [
|
349
|
+
# 2,
|
350
|
+
# "Groonga",
|
351
|
+
# "I started to use Groonga. It's very fast!",
|
352
|
+
# 1436284800.0,
|
353
|
+
# 10,
|
354
|
+
# "Groonga"
|
355
|
+
# ],
|
356
|
+
# [
|
357
|
+
# 3,
|
358
|
+
# "Mroonga",
|
359
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
360
|
+
# 1436288400.0,
|
361
|
+
# 15,
|
362
|
+
# "Groonga"
|
363
|
+
# ],
|
364
|
+
# [
|
365
|
+
# 1,
|
366
|
+
# "Good-bye Senna",
|
367
|
+
# "I migrated all Senna system!",
|
368
|
+
# 1436367600.0,
|
369
|
+
# 3,
|
370
|
+
# "Senna"
|
371
|
+
# ],
|
372
|
+
# [
|
373
|
+
# 2,
|
374
|
+
# "Good-bye Tritonn",
|
375
|
+
# "I also migrated all Tritonn system!",
|
376
|
+
# 1436371200.0,
|
377
|
+
# 3,
|
378
|
+
# "Senna"
|
379
|
+
# ]
|
380
|
+
# ]
|
381
|
+
# ]
|
382
|
+
# ]
|
383
|
+
</pre></div>
|
384
|
+
</div>
|
385
|
+
<p>上記の例では、 <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> から検索されていることがわかります。</p>
|
304
386
|
</div>
|
305
387
|
</div>
|
306
388
|
<div class="section" id="parameters">
|
307
389
|
<h2>7.3.34.5. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
308
|
-
<p>このセクションでは <code class="docutils literal"><span class="pre">logical_select</span></code> の引数について説明します。</p>
|
390
|
+
<p>このセクションでは <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の引数について説明します。</p>
|
309
391
|
<div class="section" id="required-parameters">
|
310
392
|
<h3>7.3.34.5.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
311
|
-
<p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
|
393
|
+
<p>必須引数は二つあります。 <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> です。</p>
|
312
394
|
<div class="section" id="logical-table">
|
313
|
-
<span id="logical-select-logical-table"></span><h4>7.3.34.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
314
|
-
<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>
|
315
|
-
<p><code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数を指定すると
|
395
|
+
<span id="logical-select-logical-table"></span><h4>7.3.34.5.1.1. <code class="docutils literal notranslate"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
396
|
+
<p>論理テーブル名を指定します。これは <code class="docutils literal notranslate"><span class="pre">_YYYYMMDD</span></code> をテーブル名からのぞいたものです。実際のテーブルが <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> や <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> といったものなら、論理テーブル名は <code class="docutils literal notranslate"><span class="pre">Entries</span></code> です。</p>
|
397
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> 引数を指定すると5レコード表示できます。これらの引数は必須の引数です。</p>
|
316
398
|
<p>実行例:</p>
|
317
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
399
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
318
400
|
# [
|
319
401
|
# [
|
320
402
|
# 0,
|
@@ -399,7 +481,7 @@ load --table Entries_20150709
|
|
399
481
|
</div>
|
400
482
|
<p>存在しないテーブルを指定するとエラーが返ります。</p>
|
401
483
|
<p>実行例:</p>
|
402
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select --logical_table Nonexistent --shard_key created_at
|
484
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Nonexistent --shard_key created_at
|
403
485
|
# [
|
404
486
|
# [
|
405
487
|
# -22,
|
@@ -419,22 +501,22 @@ load --table Entries_20150709
|
|
419
501
|
</div>
|
420
502
|
</div>
|
421
503
|
<div class="section" id="shard-key">
|
422
|
-
<span id="logical-select-shard-key"></span><h4>7.3.34.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
504
|
+
<span id="logical-select-shard-key"></span><h4>7.3.34.5.1.2. <code class="docutils literal notranslate"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
423
505
|
<p>シャードキーとして使うカラム名を指定します。シャードキーは適切なシャードへレコードを分配するために使う値を保存しているカラムです。</p>
|
424
|
-
<p>今のところ、シャードキーは <code class="docutils literal"><span class="pre">Time</span></code> 型でなければいけません。</p>
|
425
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code> の指定方法は <a class="reference internal" href="#logical-select-logical-table"><span class="std std-ref">logical_table</span></a> を見てください。</p>
|
506
|
+
<p>今のところ、シャードキーは <code class="docutils literal notranslate"><span class="pre">Time</span></code> 型でなければいけません。</p>
|
507
|
+
<p><code class="docutils literal notranslate"><span class="pre">shard_key</span></code> の指定方法は <a class="reference internal" href="#logical-select-logical-table"><span class="std std-ref">logical_table</span></a> を見てください。</p>
|
426
508
|
</div>
|
427
509
|
</div>
|
428
510
|
<div class="section" id="optional-parameters">
|
429
511
|
<h3>7.3.34.5.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
430
512
|
<p>いくつか省略可能な引数があります。</p>
|
431
513
|
<div class="section" id="min">
|
432
|
-
<span id="logical-select-min"></span><h4>7.3.34.5.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
433
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最小値を指定します。シャードにマッチするレコードがない場合は、そのシャードは検索対象外になります。</p>
|
434
|
-
<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>
|
435
|
-
<p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150709</span></code> テーブルだけを使う例です。 <code class="docutils literal"><span class="pre">Entry_20150708</span></code> は使われません。</p>
|
514
|
+
<span id="logical-select-min"></span><h4>7.3.34.5.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
515
|
+
<p><code class="docutils literal notranslate"><span class="pre">shard_key</span></code> カラムの最小値を指定します。シャードにマッチするレコードがない場合は、そのシャードは検索対象外になります。</p>
|
516
|
+
<p>たとえば、 <code class="docutils literal notranslate"><span class="pre">min</span></code> が <code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code> なら、 <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> は検索対象外です。なぜなら、 <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> は <code class="docutils literal notranslate"><span class="pre">"2015/07/08"</span></code> のレコードしかないからです。</p>
|
517
|
+
<p>以下の例は <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> テーブルだけを使う例です。 <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> は使われません。</p>
|
436
518
|
<p>実行例:</p>
|
437
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
519
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
438
520
|
--logical_table Entries \
|
439
521
|
--shard_key created_at \
|
440
522
|
--min "2015/07/09 00:00:00"
|
@@ -498,30 +580,30 @@ load --table Entries_20150709
|
|
498
580
|
</div>
|
499
581
|
</div>
|
500
582
|
<div class="section" id="min-border">
|
501
|
-
<span id="logical-select-min-border"></span><h4>7.3.34.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
583
|
+
<span id="logical-select-min-border"></span><h4>7.3.34.5.2.2. <code class="docutils literal notranslate"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
502
584
|
<p>最小値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
|
503
|
-
<table
|
585
|
+
<table class="docutils align-center">
|
504
586
|
<colgroup>
|
505
|
-
<col
|
506
|
-
<col
|
587
|
+
<col style="width: 50%" />
|
588
|
+
<col style="width: 50%" />
|
507
589
|
</colgroup>
|
508
|
-
<thead
|
509
|
-
<tr class="row-odd"><th class="head"
|
510
|
-
<th class="head">説明</th>
|
590
|
+
<thead>
|
591
|
+
<tr class="row-odd"><th class="head"><p>値</p></th>
|
592
|
+
<th class="head"><p>説明</p></th>
|
511
593
|
</tr>
|
512
594
|
</thead>
|
513
|
-
<tbody
|
514
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
515
|
-
<td><code class="docutils literal"><span class="pre">min</span></code> の値を含みます。これがデフォルト値です。</td>
|
595
|
+
<tbody>
|
596
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
597
|
+
<td><p><code class="docutils literal notranslate"><span class="pre">min</span></code> の値を含みます。これがデフォルト値です。</p></td>
|
516
598
|
</tr>
|
517
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
518
|
-
<td><code class="docutils literal"><span class="pre">min</span></code> の値を含みません。</td>
|
599
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
600
|
+
<td><p><code class="docutils literal notranslate"><span class="pre">min</span></code> の値を含みません。</p></td>
|
519
601
|
</tr>
|
520
602
|
</tbody>
|
521
603
|
</table>
|
522
|
-
<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>
|
604
|
+
<p>次の例は <code class="docutils literal notranslate"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> レコードは含まれません。このレコードの <code class="docutils literal notranslate"><span class="pre">created_at</span></code> の値が <code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code> だからです。</p>
|
523
605
|
<p>実行例:</p>
|
524
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
606
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
525
607
|
--logical_table Entries \
|
526
608
|
--shard_key created_at \
|
527
609
|
--min "2015/07/09 00:00:00" \
|
@@ -578,12 +660,12 @@ load --table Entries_20150709
|
|
578
660
|
</div>
|
579
661
|
</div>
|
580
662
|
<div class="section" id="max">
|
581
|
-
<span id="logical-select-max"></span><h4>7.3.34.5.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
582
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最大値を指定します。シャードにマッチするレコードがない場合、そのシャードは検索対象外になります。</p>
|
583
|
-
<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>
|
584
|
-
<p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150708</span></code> テーブルだけを使います。 <code class="docutils literal"><span class="pre">Entry_20150709</span></code> は使いません。</p>
|
663
|
+
<span id="logical-select-max"></span><h4>7.3.34.5.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
664
|
+
<p><code class="docutils literal notranslate"><span class="pre">shard_key</span></code> カラムの最大値を指定します。シャードにマッチするレコードがない場合、そのシャードは検索対象外になります。</p>
|
665
|
+
<p>たとえば、 <code class="docutils literal notranslate"><span class="pre">max</span></code> が <code class="docutils literal notranslate"><span class="pre">"2015/07/08</span> <span class="pre">23:59:59"</span></code> なら <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> は検索対象外です。なぜなら <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> には <code class="docutils literal notranslate"><span class="pre">""2015/07/09"</span></code> のレコードしかないからです。</p>
|
666
|
+
<p>以下の例は <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> テーブルだけを使います。 <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> は使いません。</p>
|
585
667
|
<p>実行例:</p>
|
586
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
668
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
587
669
|
--logical_table Entries \
|
588
670
|
--shard_key created_at \
|
589
671
|
--max "2015/07/08 23:59:59"
|
@@ -655,30 +737,30 @@ load --table Entries_20150709
|
|
655
737
|
</div>
|
656
738
|
</div>
|
657
739
|
<div class="section" id="max-border">
|
658
|
-
<span id="logical-select-max-border"></span><h4>7.3.34.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
740
|
+
<span id="logical-select-max-border"></span><h4>7.3.34.5.2.4. <code class="docutils literal notranslate"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
659
741
|
<p>最大値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
|
660
|
-
<table
|
742
|
+
<table class="docutils align-center">
|
661
743
|
<colgroup>
|
662
|
-
<col
|
663
|
-
<col
|
744
|
+
<col style="width: 50%" />
|
745
|
+
<col style="width: 50%" />
|
664
746
|
</colgroup>
|
665
|
-
<thead
|
666
|
-
<tr class="row-odd"><th class="head"
|
667
|
-
<th class="head">説明</th>
|
747
|
+
<thead>
|
748
|
+
<tr class="row-odd"><th class="head"><p>値</p></th>
|
749
|
+
<th class="head"><p>説明</p></th>
|
668
750
|
</tr>
|
669
751
|
</thead>
|
670
|
-
<tbody
|
671
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
672
|
-
<td><code class="docutils literal"><span class="pre">max</span></code> の値を含みます。これがデフォルト値です。</td>
|
752
|
+
<tbody>
|
753
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
754
|
+
<td><p><code class="docutils literal notranslate"><span class="pre">max</span></code> の値を含みます。これがデフォルト値です。</p></td>
|
673
755
|
</tr>
|
674
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
675
|
-
<td><code class="docutils literal"><span class="pre">max</span></code> の値を含みません。</td>
|
756
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
757
|
+
<td><p><code class="docutils literal notranslate"><span class="pre">max</span></code> の値を含みません。</p></td>
|
676
758
|
</tr>
|
677
759
|
</tbody>
|
678
760
|
</table>
|
679
|
-
<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>
|
761
|
+
<p>次の例は <code class="docutils literal notranslate"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> レコードは含まれません。このレコードの <code class="docutils literal notranslate"><span class="pre">created_at</span></code> の値が <code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code> だからです。</p>
|
680
762
|
<p>実行例:</p>
|
681
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
763
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
682
764
|
--logical_table Entries \
|
683
765
|
--shard_key created_at \
|
684
766
|
--max "2015/07/09 00:00:00" \
|
@@ -755,14 +837,14 @@ load --table Entries_20150709
|
|
755
837
|
<span id="logical-select-search-related-parameters"></span><h3>7.3.34.5.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
756
838
|
<p>このコマンドは <a class="reference internal" href="select.html"><span class="doc">select</span></a> 互換の検索関連パラメーターをサポートしています。</p>
|
757
839
|
<div class="section" id="match-columns">
|
758
|
-
<span id="logical-select-match-columns"></span><h4>7.3.34.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
840
|
+
<span id="logical-select-match-columns"></span><h4>7.3.34.5.3.1. <code class="docutils literal notranslate"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
759
841
|
<div class="versionadded">
|
760
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
842
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
761
843
|
</div>
|
762
844
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> を見てください。</p>
|
763
|
-
<p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
845
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">content</span></code> カラムに <code class="docutils literal notranslate"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
764
846
|
<p>実行例:</p>
|
765
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
847
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
766
848
|
--logical_table Entries \
|
767
849
|
--shard_key created_at \
|
768
850
|
--match_columns content \
|
@@ -827,14 +909,14 @@ load --table Entries_20150709
|
|
827
909
|
</div>
|
828
910
|
</div>
|
829
911
|
<div class="section" id="query">
|
830
|
-
<span id="logical-select-query"></span><h4>7.3.34.5.3.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
912
|
+
<span id="logical-select-query"></span><h4>7.3.34.5.3.2. <code class="docutils literal notranslate"><span class="pre">query</span></code><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
831
913
|
<div class="versionadded">
|
832
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
914
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
833
915
|
</div>
|
834
916
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> を見てください。</p>
|
835
|
-
<p>以下は <code class="docutils literal"><span class="pre">content</span></code> カラムに <code class="docutils literal"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
917
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">content</span></code> カラムに <code class="docutils literal notranslate"><span class="pre">"fast"</span></code> というテキストを含むレコードを検索する例です。</p>
|
836
918
|
<p>実行例:</p>
|
837
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
919
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
838
920
|
--logical_table Entries \
|
839
921
|
--shard_key created_at \
|
840
922
|
--query "content:@fast"
|
@@ -899,11 +981,11 @@ load --table Entries_20150709
|
|
899
981
|
<p><a class="reference internal" href="#logical-select-match-columns"><span class="std std-ref">match_columns</span></a> も参照してください。</p>
|
900
982
|
</div>
|
901
983
|
<div class="section" id="filter">
|
902
|
-
<span id="logical-select-filter"></span><h4>7.3.34.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
984
|
+
<span id="logical-select-filter"></span><h4>7.3.34.5.3.3. <code class="docutils literal notranslate"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
903
985
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> を見てください。</p>
|
904
986
|
<p>以下は例です。</p>
|
905
987
|
<p>実行例:</p>
|
906
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
988
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
907
989
|
--logical_table Entries \
|
908
990
|
--shard_key created_at \
|
909
991
|
--filter "n_likes <= 5"
|
@@ -974,31 +1056,248 @@ load --table Entries_20150709
|
|
974
1056
|
</pre></div>
|
975
1057
|
</div>
|
976
1058
|
</div>
|
1059
|
+
<div class="section" id="post-filter">
|
1060
|
+
<span id="logical-select-post-filter"></span><h4>7.3.34.5.3.4. <code class="docutils literal notranslate"><span class="pre">post_filter</span></code><a class="headerlink" href="#post-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1061
|
+
<div class="versionadded">
|
1062
|
+
<p><span class="versionmodified added">バージョン 8.0.1 で追加.</span></p>
|
1063
|
+
</div>
|
1064
|
+
<p><code class="docutils literal notranslate"><span class="pre">filtered</span></code> ステージの動的カラムが生成されてから実行するフィルターを指定します。 <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> を使うと <code class="docutils literal notranslate"><span class="pre">filtered</span></code> ステージの動的カラムを使って絞り込むことができます。他は <a class="reference internal" href="#logical-select-filter"><span class="std std-ref">filter</span></a> と同じです。</p>
|
1065
|
+
<p>以下は人気のあるタグのエントリーだけを表示する例です。対象となるすべてのエントリーには <code class="docutils literal notranslate"><span class="pre">system</span></code> または <code class="docutils literal notranslate"><span class="pre">use</span></code> という単語が含まれています。</p>
|
1066
|
+
<p>実行例:</p>
|
1067
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1068
|
+
--logical_table Entries \
|
1069
|
+
--shard_key created_at \
|
1070
|
+
--columns[n_likes_sum_per_tag].stage filtered \
|
1071
|
+
--columns[n_likes_sum_per_tag].type UInt32 \
|
1072
|
+
--columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
|
1073
|
+
--columns[n_likes_sum_per_tag].window.group_keys 'tag' \
|
1074
|
+
--filter 'content @ "system" || content @ "use"' \
|
1075
|
+
--post_filter 'n_likes_sum_per_tag > 10' \
|
1076
|
+
--output_columns _key,n_likes,n_likes_sum_per_tag
|
1077
|
+
# [
|
1078
|
+
# [
|
1079
|
+
# 0,
|
1080
|
+
# 1519030779.410312,
|
1081
|
+
# 0.04758048057556152
|
1082
|
+
# ],
|
1083
|
+
# [
|
1084
|
+
# [
|
1085
|
+
# [
|
1086
|
+
# 2
|
1087
|
+
# ],
|
1088
|
+
# [
|
1089
|
+
# [
|
1090
|
+
# "_key",
|
1091
|
+
# "ShortText"
|
1092
|
+
# ],
|
1093
|
+
# [
|
1094
|
+
# "n_likes",
|
1095
|
+
# "UInt32"
|
1096
|
+
# ],
|
1097
|
+
# [
|
1098
|
+
# "n_likes_sum_per_tag",
|
1099
|
+
# "UInt32"
|
1100
|
+
# ]
|
1101
|
+
# ]
|
1102
|
+
# [
|
1103
|
+
# "Groonga",
|
1104
|
+
# 10,
|
1105
|
+
# 25
|
1106
|
+
# ],
|
1107
|
+
# [
|
1108
|
+
# "Mroonga",
|
1109
|
+
# 15,
|
1110
|
+
# 25
|
1111
|
+
# ]
|
1112
|
+
# ]
|
1113
|
+
# ]
|
1114
|
+
# ]
|
1115
|
+
</pre></div>
|
1116
|
+
</div>
|
1117
|
+
</div>
|
1118
|
+
<div class="section" id="load-table">
|
1119
|
+
<span id="logical-select-load-table"></span><h4>7.3.34.5.3.5. Invalid section title or transition marker.<a class="headerlink" href="#load-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1120
|
+
<div class="versionadded">
|
1121
|
+
<p><span class="versionmodified added">バージョン 8.1.1 で追加.</span></p>
|
1122
|
+
</div>
|
1123
|
+
<p><code class="docutils literal notranslate"><span class="pre">--load_table</span></code> 、 <code class="docutils literal notranslate"><span class="pre">--load_columns</span></code> 、 <code class="docutils literal notranslate"><span class="pre">--load_values</span></code> を使って、<code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の結果を指定したテーブルに格納できます。 <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> は、<code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の結果を格納するテーブルの名前を指定します。</p>
|
1124
|
+
<p>既に存在するテーブルを指定する必要があります。</p>
|
1125
|
+
<p>この引数は、 <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a> と <a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a> と一緒に使う必要があります。</p>
|
1126
|
+
<p>以下は、 <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> で指定したLogsテーブルに <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の結果である <code class="docutils literal notranslate"><span class="pre">_id</span></code> と <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> を格納する例です。</p>
|
1127
|
+
<p>実行例:</p>
|
1128
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Logs_20150203 TABLE_HASH_KEY ShortText
|
1129
|
+
column_create Logs_20150203 timestamp COLUMN_SCALAR Time
|
1130
|
+
table_create Logs_20150204 TABLE_HASH_KEY ShortText
|
1131
|
+
column_create Logs_20150204 timestamp COLUMN_SCALAR Time
|
1132
|
+
|
1133
|
+
table_create Logs TABLE_HASH_KEY ShortText
|
1134
|
+
column_create Logs original_id COLUMN_SCALAR UInt32
|
1135
|
+
column_create Logs timestamp_text COLUMN_SCALAR ShortText
|
1136
|
+
|
1137
|
+
load --table Logs_20150203
|
1138
|
+
[
|
1139
|
+
{
|
1140
|
+
"_key": "2015-02-03:1",
|
1141
|
+
"timestamp": "2015-02-03 10:49:00"
|
1142
|
+
},
|
1143
|
+
{
|
1144
|
+
"_key": "2015-02-03:2",
|
1145
|
+
"timestamp": "2015-02-03 12:49:00"
|
1146
|
+
}
|
1147
|
+
]
|
1148
|
+
load --table Logs_20150204
|
1149
|
+
[
|
1150
|
+
{
|
1151
|
+
"_key": "2015-02-04:1",
|
1152
|
+
"timestamp": "2015-02-04 00:00:00"
|
1153
|
+
}
|
1154
|
+
]
|
1155
|
+
logical_select \
|
1156
|
+
--logical_table Logs \
|
1157
|
+
--shard_key timestamp \
|
1158
|
+
--load_table Logs \
|
1159
|
+
--load_columns "original_id, timestamp_text" \
|
1160
|
+
--load_values "_id, timestamp"
|
1161
|
+
# [
|
1162
|
+
# [
|
1163
|
+
# 0,
|
1164
|
+
# 0.0,
|
1165
|
+
# 0.0
|
1166
|
+
# ],
|
1167
|
+
# [
|
1168
|
+
# [
|
1169
|
+
# [
|
1170
|
+
# 3
|
1171
|
+
# ],
|
1172
|
+
# [
|
1173
|
+
# [
|
1174
|
+
# "_id",
|
1175
|
+
# "UInt32"
|
1176
|
+
# ],
|
1177
|
+
# [
|
1178
|
+
# "_key",
|
1179
|
+
# "ShortText"
|
1180
|
+
# ],
|
1181
|
+
# [
|
1182
|
+
# "timestamp",
|
1183
|
+
# "Time"
|
1184
|
+
# ]
|
1185
|
+
# ],
|
1186
|
+
# [
|
1187
|
+
# 1,
|
1188
|
+
# "2015-02-03:1",
|
1189
|
+
# 1422928140.0
|
1190
|
+
# ],
|
1191
|
+
# [
|
1192
|
+
# 2,
|
1193
|
+
# "2015-02-03:2",
|
1194
|
+
# 1422935340.0
|
1195
|
+
# ],
|
1196
|
+
# [
|
1197
|
+
# 1,
|
1198
|
+
# "2015-02-04:1",
|
1199
|
+
# 1422975600.0
|
1200
|
+
# ]
|
1201
|
+
# ]
|
1202
|
+
# ]
|
1203
|
+
# ]
|
1204
|
+
select --table Logs
|
1205
|
+
# [
|
1206
|
+
# [
|
1207
|
+
# 0,
|
1208
|
+
# 0.0,
|
1209
|
+
# 0.0
|
1210
|
+
# ],
|
1211
|
+
# [
|
1212
|
+
# [
|
1213
|
+
# [
|
1214
|
+
# 3
|
1215
|
+
# ],
|
1216
|
+
# [
|
1217
|
+
# [
|
1218
|
+
# "_id",
|
1219
|
+
# "UInt32"
|
1220
|
+
# ],
|
1221
|
+
# [
|
1222
|
+
# "_key",
|
1223
|
+
# "ShortText"
|
1224
|
+
# ],
|
1225
|
+
# [
|
1226
|
+
# "original_id",
|
1227
|
+
# "UInt32"
|
1228
|
+
# ],
|
1229
|
+
# [
|
1230
|
+
# "timestamp_text",
|
1231
|
+
# "ShortText"
|
1232
|
+
# ]
|
1233
|
+
# ],
|
1234
|
+
# [
|
1235
|
+
# 1,
|
1236
|
+
# "2015-02-03:1",
|
1237
|
+
# 1,
|
1238
|
+
# "1422928140000000"
|
1239
|
+
# ],
|
1240
|
+
# [
|
1241
|
+
# 2,
|
1242
|
+
# "2015-02-03:2",
|
1243
|
+
# 2,
|
1244
|
+
# "1422935340000000"
|
1245
|
+
# ],
|
1246
|
+
# [
|
1247
|
+
# 3,
|
1248
|
+
# "2015-02-04:1",
|
1249
|
+
# 1,
|
1250
|
+
# "1422975600000000"
|
1251
|
+
# ]
|
1252
|
+
# ]
|
1253
|
+
# ]
|
1254
|
+
# ]
|
1255
|
+
</pre></div>
|
1256
|
+
</div>
|
1257
|
+
</div>
|
1258
|
+
<div class="section" id="load-columns">
|
1259
|
+
<span id="logical-select-load-columns"></span><h4>7.3.34.5.3.6. <code class="docutils literal notranslate"><span class="pre">load_columns</span></code><a class="headerlink" href="#load-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1260
|
+
<div class="versionadded">
|
1261
|
+
<p><span class="versionmodified added">バージョン 8.1.1 で追加.</span></p>
|
1262
|
+
</div>
|
1263
|
+
<p><code class="docutils literal notranslate"><span class="pre">--load_table</span></code> で指定したテーブルのカラムを指定します。<a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a> で指定したカラムの値をこの引数で指定したカラムに格納します。既に存在するカラムを指定する必要があります。</p>
|
1264
|
+
<p>この引数は、 <a class="reference internal" href="#logical-select-load-table"><span class="std std-ref">Invalid section title or transition marker.</span></a> と <a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a> と一緒に使う必要があります。</p>
|
1265
|
+
<p>この引数の使い方は、 <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> の例を参照してください。</p>
|
1266
|
+
</div>
|
1267
|
+
<div class="section" id="load-values">
|
1268
|
+
<span id="logical-select-load-values"></span><h4>7.3.34.5.3.7. <code class="docutils literal notranslate"><span class="pre">load_values</span></code><a class="headerlink" href="#load-values" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1269
|
+
<div class="versionadded">
|
1270
|
+
<p><span class="versionmodified added">バージョン 8.1.1 で追加.</span></p>
|
1271
|
+
</div>
|
1272
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の結果のカラムを指定します。 <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a> で指定したカラムに値を格納するカラムを指定します。既に存在するカラムを指定する必要があります。</p>
|
1273
|
+
<p>この引数は、 <a class="reference internal" href="#logical-select-load-table"><span class="std std-ref">Invalid section title or transition marker.</span></a> と <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a> と一緒に使う必要があります。</p>
|
1274
|
+
<p>この引数の使い方は、 <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> の例を参照してください。</p>
|
1275
|
+
</div>
|
977
1276
|
</div>
|
978
1277
|
<div class="section" id="advanced-search-parameters">
|
979
1278
|
<span id="logical-select-advanced-search-parameters"></span><h3>7.3.34.5.4. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
980
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> は高度な検索パラメーターをまだ実装していません。</p>
|
1279
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> は高度な検索パラメーターをまだ実装していません。</p>
|
981
1280
|
<div class="section" id="match-escalation-threshold">
|
982
|
-
<span id="logical-select-match-escalation-threshold"></span><h4>7.3.34.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>
|
1281
|
+
<span id="logical-select-match-escalation-threshold"></span><h4>7.3.34.5.4.1. <code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code><a class="headerlink" href="#match-escalation-threshold" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
983
1282
|
<p>未実装です。</p>
|
984
1283
|
</div>
|
985
1284
|
<div class="section" id="query-flags">
|
986
|
-
<span id="logical-select-query-flags"></span><h4>7.3.34.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1285
|
+
<span id="logical-select-query-flags"></span><h4>7.3.34.5.4.2. <code class="docutils literal notranslate"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
987
1286
|
<p>未実装です。</p>
|
988
1287
|
</div>
|
989
1288
|
<div class="section" id="query-expander">
|
990
|
-
<span id="logical-select-query-expander"></span><h4>7.3.34.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1289
|
+
<span id="logical-select-query-expander"></span><h4>7.3.34.5.4.3. <code class="docutils literal notranslate"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
991
1290
|
<p>未実装です。</p>
|
992
1291
|
</div>
|
993
1292
|
</div>
|
994
1293
|
<div class="section" id="output-related-parameters">
|
995
1294
|
<h3>7.3.34.5.5. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
996
1295
|
<div class="section" id="output-columns">
|
997
|
-
<span id="logical-select-output-columns"></span><h4>7.3.34.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1296
|
+
<span id="logical-select-output-columns"></span><h4>7.3.34.5.5.1. <code class="docutils literal notranslate"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
998
1297
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> を見てください。</p>
|
999
1298
|
<p>以下は例です。</p>
|
1000
1299
|
<p>実行例:</p>
|
1001
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1300
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1002
1301
|
--logical_table Entries \
|
1003
1302
|
--shard_key created_at \
|
1004
1303
|
--output_columns '_key, *'
|
@@ -1077,22 +1376,22 @@ load --table Entries_20150709
|
|
1077
1376
|
</div>
|
1078
1377
|
</div>
|
1079
1378
|
<div class="section" id="sortby">
|
1080
|
-
<span id="logical-select-sortby"></span><h4>7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1379
|
+
<span id="logical-select-sortby"></span><h4>7.3.34.5.5.2. <code class="docutils literal notranslate"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1081
1380
|
<div class="deprecated">
|
1082
|
-
<p><span class="versionmodified">バージョン 6.1.5
|
1381
|
+
<p><span class="versionmodified deprecated">バージョン 6.1.5 で非推奨: </span>代わりに <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> を使ってください。</p>
|
1083
1382
|
</div>
|
1084
1383
|
</div>
|
1085
1384
|
<div class="section" id="sort-keys">
|
1086
|
-
<span id="logical-select-sort-keys"></span><h4>7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code><a class="headerlink" href="#sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1385
|
+
<span id="logical-select-sort-keys"></span><h4>7.3.34.5.5.3. <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code><a class="headerlink" href="#sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1087
1386
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> を見てください。</p>
|
1088
|
-
<p><code class="docutils literal"><span class="pre">sort_keys</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sort_keys</span></code> は正常な動作をしません。</p>
|
1387
|
+
<p><code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> は正常な動作をしません。</p>
|
1089
1388
|
<div class="admonition note">
|
1090
|
-
<p class="
|
1091
|
-
<p
|
1389
|
+
<p class="admonition-title">注釈</p>
|
1390
|
+
<p>複数のシャードに関して例外があります。<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> と <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> に同じ値が指定された場合です。その場合はサポートしています。このコマンドはシャードを昇順で順番に処理します。そのため、<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> の大小関係は保たれるので、正しくソートできます。</p>
|
1092
1391
|
</div>
|
1093
1392
|
<p>以下は1つのシャードのみを使っている例です。</p>
|
1094
1393
|
<p>実行例:</p>
|
1095
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1394
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1096
1395
|
--logical_table Entries \
|
1097
1396
|
--shard_key created_at \
|
1098
1397
|
--min "2015/07/08 00:00:00" \
|
@@ -1168,11 +1467,11 @@ load --table Entries_20150709
|
|
1168
1467
|
</div>
|
1169
1468
|
</div>
|
1170
1469
|
<div class="section" id="offset">
|
1171
|
-
<span id="logical-select-offset"></span><h4>7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1470
|
+
<span id="logical-select-offset"></span><h4>7.3.34.5.5.4. <code class="docutils literal notranslate"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1172
1471
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> を見てください。</p>
|
1173
1472
|
<p>以下は例です。</p>
|
1174
1473
|
<p>実行例:</p>
|
1175
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1474
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1176
1475
|
--logical_table Entries \
|
1177
1476
|
--shard_key created_at \
|
1178
1477
|
--offset 2
|
@@ -1244,11 +1543,11 @@ load --table Entries_20150709
|
|
1244
1543
|
</div>
|
1245
1544
|
</div>
|
1246
1545
|
<div class="section" id="limit">
|
1247
|
-
<span id="logical-select-limit"></span><h4>7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1546
|
+
<span id="logical-select-limit"></span><h4>7.3.34.5.5.5. <code class="docutils literal notranslate"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1248
1547
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> を見てください。</p>
|
1249
1548
|
<p>以下は例です。</p>
|
1250
1549
|
<p>実行例:</p>
|
1251
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1550
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1252
1551
|
--logical_table Entries \
|
1253
1552
|
--shard_key created_at \
|
1254
1553
|
--limit 2
|
@@ -1312,26 +1611,26 @@ load --table Entries_20150709
|
|
1312
1611
|
</div>
|
1313
1612
|
</div>
|
1314
1613
|
<div class="section" id="scorer">
|
1315
|
-
<span id="logical-select-scorer"></span><h4>7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1614
|
+
<span id="logical-select-scorer"></span><h4>7.3.34.5.5.6. <code class="docutils literal notranslate"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1316
1615
|
<p>未実装です。</p>
|
1317
1616
|
</div>
|
1318
1617
|
</div>
|
1319
1618
|
<div class="section" id="dynamic-column-related-parameters">
|
1320
1619
|
<span id="logical-select-dynamic-column-related-parameters"></span><h3>7.3.34.5.6. 動的カラム関連の引数<a class="headerlink" href="#dynamic-column-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1321
1620
|
<div class="versionadded">
|
1322
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1621
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1323
1622
|
</div>
|
1324
1623
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての動的カラム関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> を見てください。</p>
|
1325
1624
|
<div class="section" id="columns-name-stage">
|
1326
|
-
<span id="logical-select-columns-name-stage"></span><h4>7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1625
|
+
<span id="logical-select-columns-name-stage"></span><h4>7.3.34.5.6.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1327
1626
|
<div class="versionadded">
|
1328
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1627
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1329
1628
|
</div>
|
1330
1629
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> を見てください。</p>
|
1331
1630
|
<p>必須の引数です。</p>
|
1332
|
-
<p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで <code class="docutils literal"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal"><span class="pre">filter</span></code> や <code class="docutils literal"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
|
1631
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">initial</span></code> ステージで <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal notranslate"><span class="pre">filter</span></code> や <code class="docutils literal notranslate"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
|
1333
1632
|
<p>実行例:</p>
|
1334
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1633
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1335
1634
|
--logical_table Entries \
|
1336
1635
|
--shard_key created_at \
|
1337
1636
|
--columns[is_popular].stage initial \
|
@@ -1381,15 +1680,15 @@ load --table Entries_20150709
|
|
1381
1680
|
</div>
|
1382
1681
|
</div>
|
1383
1682
|
<div class="section" id="columns-name-flags">
|
1384
|
-
<span id="logical-select-columns-name-flags"></span><h4>7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1683
|
+
<span id="logical-select-columns-name-flags"></span><h4>7.3.34.5.6.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1385
1684
|
<div class="versionadded">
|
1386
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1685
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1387
1686
|
</div>
|
1388
1687
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> を見てください。</p>
|
1389
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
1390
|
-
<p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
1688
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
1689
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
1391
1690
|
<p>実行例:</p>
|
1392
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
1691
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
1393
1692
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1394
1693
|
logical_select \
|
1395
1694
|
--logical_table Entries \
|
@@ -1467,15 +1766,15 @@ logical_select \
|
|
1467
1766
|
</div>
|
1468
1767
|
</div>
|
1469
1768
|
<div class="section" id="columns-name-type">
|
1470
|
-
<span id="logical-select-columns-name-type"></span><h4>7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1769
|
+
<span id="logical-select-columns-name-type"></span><h4>7.3.34.5.6.3. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1471
1770
|
<div class="versionadded">
|
1472
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1771
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1473
1772
|
</div>
|
1474
1773
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> を見てください。</p>
|
1475
1774
|
<p>必須の引数です。</p>
|
1476
|
-
<p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
1775
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
1477
1776
|
<p>実行例:</p>
|
1478
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1777
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1479
1778
|
--logical_table Entries \
|
1480
1779
|
--shard_key created_at \
|
1481
1780
|
--columns[n_likes_string].stage initial \
|
@@ -1539,16 +1838,16 @@ logical_select \
|
|
1539
1838
|
</div>
|
1540
1839
|
</div>
|
1541
1840
|
<div class="section" id="columns-name-value">
|
1542
|
-
<span id="logical-select-columns-name-value"></span><h4>7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1841
|
+
<span id="logical-select-columns-name-value"></span><h4>7.3.34.5.6.4. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1543
1842
|
<div class="versionadded">
|
1544
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1843
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1545
1844
|
</div>
|
1546
1845
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> を見てください。</p>
|
1547
|
-
<p>ウィンドウ関数を使う場合は、 <code class="docutils literal"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
1846
|
+
<p>ウィンドウ関数を使う場合は、 <code class="docutils literal notranslate"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
1548
1847
|
<p>必須の引数です。</p>
|
1549
|
-
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
1848
|
+
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
1550
1849
|
<p>実行例:</p>
|
1551
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1850
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1552
1851
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1553
1852
|
logical_select \
|
1554
1853
|
--logical_table Entries \
|
@@ -1617,23 +1916,110 @@ logical_select \
|
|
1617
1916
|
<div class="section" id="window-function-related-parameters">
|
1618
1917
|
<span id="logical-select-window-function-related-parameters"></span><h3>7.3.34.5.7. ウィンドウ関数関連の引数<a class="headerlink" href="#window-function-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1619
1918
|
<div class="versionadded">
|
1620
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
1919
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1621
1920
|
</div>
|
1622
1921
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのウィンドウ関数関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
1623
1922
|
<div class="admonition note">
|
1624
|
-
<p class="
|
1625
|
-
<p
|
1923
|
+
<p class="admonition-title">注釈</p>
|
1924
|
+
<p>バージョン9.0.1以前では、複数のテーブルをまたがったウィンドウ関数はサポートしていません。バージョン9.0.2以降ではサポートしていますが、先頭のグループキーまたは、ソートキーがシャードキーと同じ順序で並んでいる必要があります。</p>
|
1925
|
+
<p>例えば、以下のようなケースでは、複数のテーブルをまたいでウインドウ関数を適用できます。以下の例では、先頭のグループキーがシャードキーと同じ順序で並んでいるからです。</p>
|
1926
|
+
<p>以下の例では、先頭のグループキーは <code class="docutils literal notranslate"><span class="pre">price</span></code> でシャードキーは <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> です。 <code class="docutils literal notranslate"><span class="pre">price</span></code> と <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> は同じ順序で並んでいるため、複数のテーブルをまたいでウインドウ関数を適用できます。</p>
|
1927
|
+
</div>
|
1928
|
+
<p>実行例:</p>
|
1929
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
1930
|
+
|
1931
|
+
table_create Logs_20170415 TABLE_NO_KEY
|
1932
|
+
column_create Logs_20170415 timestamp COLUMN_SCALAR Time
|
1933
|
+
column_create Logs_20170415 price COLUMN_SCALAR UInt32
|
1934
|
+
column_create Logs_20170415 n_likes COLUMN_SCALAR UInt32
|
1935
|
+
|
1936
|
+
table_create Logs_20170416 TABLE_NO_KEY
|
1937
|
+
column_create Logs_20170416 timestamp COLUMN_SCALAR Time
|
1938
|
+
column_create Logs_20170416 price COLUMN_SCALAR UInt32
|
1939
|
+
column_create Logs_20170416 n_likes COLUMN_SCALAR UInt32
|
1940
|
+
|
1941
|
+
load --table Logs_20170415
|
1942
|
+
[
|
1943
|
+
{"timestamp": "2017/04/15 00:00:00", "n_likes": 2, "price": 100},
|
1944
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 1, "price": 100},
|
1945
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 2, "price": 200}
|
1946
|
+
]
|
1947
|
+
|
1948
|
+
load --table Logs_20170416
|
1949
|
+
[
|
1950
|
+
{"timestamp": "2017/04/16 10:00:00", "n_likes": 1, "price": 200},
|
1951
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 2, "price": 300},
|
1952
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 1, "price": 300}
|
1953
|
+
]
|
1954
|
+
|
1955
|
+
logical_select Logs \
|
1956
|
+
--shard_key timestamp \
|
1957
|
+
--columns[count].stage initial \
|
1958
|
+
--columns[count].type UInt32 \
|
1959
|
+
--columns[count].flags COLUMN_SCALAR \
|
1960
|
+
--columns[count].value 'window_count()' \
|
1961
|
+
--columns[count].window.group_keys price \
|
1962
|
+
--output_columns price,count
|
1963
|
+
# [
|
1964
|
+
# [
|
1965
|
+
# 0,
|
1966
|
+
# 0.0,
|
1967
|
+
# 0.0
|
1968
|
+
# ],
|
1969
|
+
# [
|
1970
|
+
# [
|
1971
|
+
# [
|
1972
|
+
# 6
|
1973
|
+
# ],
|
1974
|
+
# [
|
1975
|
+
# [
|
1976
|
+
# "price",
|
1977
|
+
# "UInt32"
|
1978
|
+
# ],
|
1979
|
+
# [
|
1980
|
+
# "count",
|
1981
|
+
# "UInt32"
|
1982
|
+
# ]
|
1983
|
+
# ],
|
1984
|
+
# [
|
1985
|
+
# 100,
|
1986
|
+
# 2
|
1987
|
+
# ],
|
1988
|
+
# [
|
1989
|
+
# 100,
|
1990
|
+
# 2
|
1991
|
+
# ],
|
1992
|
+
# [
|
1993
|
+
# 200,
|
1994
|
+
# 2
|
1995
|
+
# ],
|
1996
|
+
# [
|
1997
|
+
# 200,
|
1998
|
+
# 2
|
1999
|
+
# ],
|
2000
|
+
# [
|
2001
|
+
# 300,
|
2002
|
+
# 2
|
2003
|
+
# ],
|
2004
|
+
# [
|
2005
|
+
# 300,
|
2006
|
+
# 2
|
2007
|
+
# ]
|
2008
|
+
# ]
|
2009
|
+
# ]
|
2010
|
+
# ]
|
2011
|
+
</pre></div>
|
1626
2012
|
</div>
|
1627
2013
|
<div class="section" id="columns-name-window-sort-keys">
|
1628
|
-
<span id="logical-select-columns-name-window-sort-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2014
|
+
<span id="logical-select-columns-name-window-sort-keys"></span><h4>7.3.34.5.7.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1629
2015
|
<div class="versionadded">
|
1630
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2016
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1631
2017
|
</div>
|
1632
2018
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> を見てください。</p>
|
1633
2019
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
1634
|
-
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal"><span class="pre">Entries._key</span></code> でソートします。</p>
|
2020
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal notranslate"><span class="pre">Entries._key</span></code> でソートします。</p>
|
1635
2021
|
<p>実行例:</p>
|
1636
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2022
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1637
2023
|
--logical_table Entries \
|
1638
2024
|
--shard_key created_at \
|
1639
2025
|
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
@@ -1709,15 +2095,15 @@ logical_select \
|
|
1709
2095
|
</div>
|
1710
2096
|
</div>
|
1711
2097
|
<div class="section" id="columns-name-window-group-keys">
|
1712
|
-
<span id="logical-select-columns-name-window-group-keys"></span><h4>7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2098
|
+
<span id="logical-select-columns-name-window-group-keys"></span><h4>7.3.34.5.7.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1713
2099
|
<div class="versionadded">
|
1714
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2100
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
1715
2101
|
</div>
|
1716
2102
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を見てください。</p>
|
1717
2103
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
1718
|
-
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
|
2104
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
|
1719
2105
|
<p>実行例:</p>
|
1720
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2106
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1721
2107
|
--logical_table Entries \
|
1722
2108
|
--shard_key created_at \
|
1723
2109
|
--columns[n_likes_sum_per_tag].stage initial \
|
@@ -1796,11 +2182,11 @@ logical_select \
|
|
1796
2182
|
<span id="logical-select-drilldown-related-parameters"></span><h3>7.3.34.5.8. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1797
2183
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">ドリルダウン関連の引数</span></a> を見てください。</p>
|
1798
2184
|
<div class="section" id="drilldown">
|
1799
|
-
<span id="logical-select-drilldown"></span><h4>7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2185
|
+
<span id="logical-select-drilldown"></span><h4>7.3.34.5.8.1. <code class="docutils literal notranslate"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1800
2186
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> を見てください。</p>
|
1801
2187
|
<p>以下は例です。</p>
|
1802
2188
|
<p>実行例:</p>
|
1803
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2189
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1804
2190
|
--logical_table Entries \
|
1805
2191
|
--shard_key created_at \
|
1806
2192
|
--output_columns _key,tag \
|
@@ -1880,17 +2266,17 @@ logical_select \
|
|
1880
2266
|
</div>
|
1881
2267
|
</div>
|
1882
2268
|
<div class="section" id="drilldown-sortby">
|
1883
|
-
<span id="logical-select-drilldown-sortby"></span><h4>7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2269
|
+
<span id="logical-select-drilldown-sortby"></span><h4>7.3.34.5.8.2. <code class="docutils literal notranslate"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1884
2270
|
<div class="deprecated">
|
1885
|
-
<p><span class="versionmodified">バージョン 6.1.5
|
2271
|
+
<p><span class="versionmodified deprecated">バージョン 6.1.5 で非推奨: </span><a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を代わりに使ってください</p>
|
1886
2272
|
</div>
|
1887
2273
|
</div>
|
1888
2274
|
<div class="section" id="drilldown-sort-keys">
|
1889
|
-
<span id="logical-select-drilldown-sort-keys"></span><h4>7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code><a class="headerlink" href="#drilldown-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2275
|
+
<span id="logical-select-drilldown-sort-keys"></span><h4>7.3.34.5.8.3. <code class="docutils literal notranslate"><span class="pre">drilldown_sort_keys</span></code><a class="headerlink" href="#drilldown-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1890
2276
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> を見てください。</p>
|
1891
2277
|
<p>以下は例です。</p>
|
1892
2278
|
<p>実行例:</p>
|
1893
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2279
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1894
2280
|
--logical_table Entries \
|
1895
2281
|
--shard_key created_at \
|
1896
2282
|
--limit 0 \
|
@@ -1948,11 +2334,11 @@ logical_select \
|
|
1948
2334
|
</div>
|
1949
2335
|
</div>
|
1950
2336
|
<div class="section" id="drilldown-output-columns">
|
1951
|
-
<span id="logical-select-drilldown-output-columns"></span><h4>7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2337
|
+
<span id="logical-select-drilldown-output-columns"></span><h4>7.3.34.5.8.4. <code class="docutils literal notranslate"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1952
2338
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> を見てください。</p>
|
1953
2339
|
<p>以下は例です。</p>
|
1954
2340
|
<p>実行例:</p>
|
1955
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2341
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1956
2342
|
--logical_table Entries \
|
1957
2343
|
--shard_key created_at \
|
1958
2344
|
--limit 0 \
|
@@ -2003,11 +2389,11 @@ logical_select \
|
|
2003
2389
|
</div>
|
2004
2390
|
</div>
|
2005
2391
|
<div class="section" id="drilldown-offset">
|
2006
|
-
<span id="logical-select-drilldown-offset"></span><h4>7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2392
|
+
<span id="logical-select-drilldown-offset"></span><h4>7.3.34.5.8.5. <code class="docutils literal notranslate"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2007
2393
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> を見てください。</p>
|
2008
2394
|
<p>以下は例です。</p>
|
2009
2395
|
<p>実行例:</p>
|
2010
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2396
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2011
2397
|
--logical_table Entries \
|
2012
2398
|
--shard_key created_at \
|
2013
2399
|
--limit 0 \
|
@@ -2061,11 +2447,11 @@ logical_select \
|
|
2061
2447
|
</div>
|
2062
2448
|
</div>
|
2063
2449
|
<div class="section" id="drilldown-limit">
|
2064
|
-
<span id="logical-select-drilldown-limit"></span><h4>7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2450
|
+
<span id="logical-select-drilldown-limit"></span><h4>7.3.34.5.8.6. <code class="docutils literal notranslate"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2065
2451
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> を見てください。</p>
|
2066
2452
|
<p>以下は例です。</p>
|
2067
2453
|
<p>実行例:</p>
|
2068
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2454
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2069
2455
|
--logical_table Entries \
|
2070
2456
|
--shard_key created_at \
|
2071
2457
|
--limit 0 \
|
@@ -2119,11 +2505,11 @@ logical_select \
|
|
2119
2505
|
</div>
|
2120
2506
|
</div>
|
2121
2507
|
<div class="section" id="drilldown-calc-types">
|
2122
|
-
<span id="logical-select-drilldown-calc-types"></span><h4>7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2508
|
+
<span id="logical-select-drilldown-calc-types"></span><h4>7.3.34.5.8.7. <code class="docutils literal notranslate"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2123
2509
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
|
2124
2510
|
<p>以下は例です。</p>
|
2125
2511
|
<p>実行例:</p>
|
2126
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2512
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2127
2513
|
--logical_table Entries \
|
2128
2514
|
--shard_key created_at \
|
2129
2515
|
--limit -1 \
|
@@ -2235,19 +2621,19 @@ logical_select \
|
|
2235
2621
|
</div>
|
2236
2622
|
</div>
|
2237
2623
|
<div class="section" id="drilldown-calc-target">
|
2238
|
-
<span id="logical-select-drilldown-calc-target"></span><h4>7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2624
|
+
<span id="logical-select-drilldown-calc-target"></span><h4>7.3.34.5.8.8. <code class="docutils literal notranslate"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2239
2625
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> を見てください。</p>
|
2240
2626
|
<p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> を見てください。</p>
|
2241
2627
|
</div>
|
2242
2628
|
<div class="section" id="drilldown-filter">
|
2243
|
-
<span id="logical-select-drilldown-filter"></span><h4>7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code><a class="headerlink" href="#drilldown-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2629
|
+
<span id="logical-select-drilldown-filter"></span><h4>7.3.34.5.8.9. <code class="docutils literal notranslate"><span class="pre">drilldown_filter</span></code><a class="headerlink" href="#drilldown-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2244
2630
|
<div class="versionadded">
|
2245
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
2631
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
2246
2632
|
</div>
|
2247
2633
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> を見てください。</p>
|
2248
2634
|
<p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
|
2249
2635
|
<p>実行例:</p>
|
2250
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2636
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2251
2637
|
--logical_table Entries \
|
2252
2638
|
--shard_key created_at \
|
2253
2639
|
--limit 0 \
|
@@ -2308,15 +2694,15 @@ logical_select \
|
|
2308
2694
|
<p>いくつか制限があります。</p>
|
2309
2695
|
<blockquote>
|
2310
2696
|
<div><ul class="simple">
|
2311
|
-
<li>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</li>
|
2697
|
+
<li><p>複数のシャードを使った場合、 <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p></li>
|
2312
2698
|
</ul>
|
2313
2699
|
</div></blockquote>
|
2314
2700
|
<div class="section" id="drilldowns-label-keys">
|
2315
|
-
<span id="logical-select-drilldowns-label-keys"></span><h4>7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code><a class="headerlink" href="#drilldowns-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2701
|
+
<span id="logical-select-drilldowns-label-keys"></span><h4>7.3.34.5.9.1. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].keys</span></code><a class="headerlink" href="#drilldowns-label-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2316
2702
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> を見てください。</p>
|
2317
2703
|
<p>以下は例です。</p>
|
2318
2704
|
<p>実行例:</p>
|
2319
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2705
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2320
2706
|
--logical_table Entries \
|
2321
2707
|
--shard_key created_at \
|
2322
2708
|
--limit 0 \
|
@@ -2388,11 +2774,13 @@ logical_select \
|
|
2388
2774
|
</div>
|
2389
2775
|
</div>
|
2390
2776
|
<div class="section" id="drilldowns-label-output-columns">
|
2391
|
-
<span id="logical-select-drilldowns-label-output-columns"></span><h4>7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldowns-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2777
|
+
<span id="logical-select-drilldowns-label-output-columns"></span><h4>7.3.34.5.9.2. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldowns-label-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2392
2778
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> を見てください。</p>
|
2779
|
+
<p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code> には制限があります。</p>
|
2780
|
+
<p>複数のシャードを使った場合、 <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code> の中で <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
|
2393
2781
|
<p>以下は例です。</p>
|
2394
2782
|
<p>実行例:</p>
|
2395
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2783
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2396
2784
|
--logical_table Entries \
|
2397
2785
|
--shard_key created_at \
|
2398
2786
|
--limit 0 \
|
@@ -2452,19 +2840,19 @@ logical_select \
|
|
2452
2840
|
</div>
|
2453
2841
|
</div>
|
2454
2842
|
<div class="section" id="drilldowns-label-sortby">
|
2455
|
-
<span id="logical-select-drilldowns-label-sortby"></span><h4>7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldowns-label-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2843
|
+
<span id="logical-select-drilldowns-label-sortby"></span><h4>7.3.34.5.9.3. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldowns-label-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2456
2844
|
<div class="deprecated">
|
2457
|
-
<p><span class="versionmodified">バージョン 6.1.5
|
2845
|
+
<p><span class="versionmodified deprecated">バージョン 6.1.5 で非推奨: </span><a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> を代わりに使ってください</p>
|
2458
2846
|
</div>
|
2459
2847
|
</div>
|
2460
2848
|
<div class="section" id="drilldowns-label-sort-keys">
|
2461
|
-
<span id="logical-select-drilldowns-label-sort-keys"></span><h4>7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code><a class="headerlink" href="#drilldowns-label-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2849
|
+
<span id="logical-select-drilldowns-label-sort-keys"></span><h4>7.3.34.5.9.4. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code><a class="headerlink" href="#drilldowns-label-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2462
2850
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> に対応しています。</p>
|
2463
|
-
<p><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> には制限があります。</p>
|
2464
|
-
<p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1
|
2465
|
-
<p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
|
2851
|
+
<p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> には制限があります。</p>
|
2852
|
+
<p>複数のシャードを使った場合、 <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。複数のシャードを使った場合、<code class="docutils literal notranslate"><span class="pre">_key</span></code> は、<code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> の中で使えます。</p>
|
2853
|
+
<p>以下は1つのシャードに対して <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
|
2466
2854
|
<p>実行例:</p>
|
2467
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2855
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2468
2856
|
--logical_table Entries \
|
2469
2857
|
--shard_key created_at \
|
2470
2858
|
--min "2015/07/08 00:00:00" \
|
@@ -2536,11 +2924,11 @@ logical_select \
|
|
2536
2924
|
</div>
|
2537
2925
|
</div>
|
2538
2926
|
<div class="section" id="drilldowns-label-offset">
|
2539
|
-
<span id="logical-select-drilldowns-label-offset"></span><h4>7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code><a class="headerlink" href="#drilldowns-label-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2927
|
+
<span id="logical-select-drilldowns-label-offset"></span><h4>7.3.34.5.9.5. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].offset</span></code><a class="headerlink" href="#drilldowns-label-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2540
2928
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> に対応しています。</p>
|
2541
2929
|
<p>以下は例です。</p>
|
2542
2930
|
<p>実行例:</p>
|
2543
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2931
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2544
2932
|
--logical_table Entries \
|
2545
2933
|
--shard_key created_at \
|
2546
2934
|
--limit 0 \
|
@@ -2596,11 +2984,11 @@ logical_select \
|
|
2596
2984
|
</div>
|
2597
2985
|
</div>
|
2598
2986
|
<div class="section" id="drilldowns-label-limit">
|
2599
|
-
<span id="logical-select-drilldowns-label-limit"></span><h4>7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code><a class="headerlink" href="#drilldowns-label-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2987
|
+
<span id="logical-select-drilldowns-label-limit"></span><h4>7.3.34.5.9.6. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].limit</span></code><a class="headerlink" href="#drilldowns-label-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2600
2988
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> に対応しています。</p>
|
2601
2989
|
<p>以下は例です。</p>
|
2602
2990
|
<p>実行例:</p>
|
2603
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2991
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2604
2992
|
--logical_table Entries \
|
2605
2993
|
--shard_key created_at \
|
2606
2994
|
--limit 0 \
|
@@ -2656,11 +3044,11 @@ logical_select \
|
|
2656
3044
|
</div>
|
2657
3045
|
</div>
|
2658
3046
|
<div class="section" id="drilldowns-label-calc-types">
|
2659
|
-
<span id="logical-select-drilldowns-label-calc-types"></span><h4>7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldowns-label-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3047
|
+
<span id="logical-select-drilldowns-label-calc-types"></span><h4>7.3.34.5.9.7. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldowns-label-calc-types" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2660
3048
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> に対応しています。</p>
|
2661
3049
|
<p>以下は例です。</p>
|
2662
3050
|
<p>実行例:</p>
|
2663
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3051
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2664
3052
|
--logical_table Entries \
|
2665
3053
|
--shard_key created_at \
|
2666
3054
|
--limit 0 \
|
@@ -2750,19 +3138,19 @@ logical_select \
|
|
2750
3138
|
</div>
|
2751
3139
|
</div>
|
2752
3140
|
<div class="section" id="drilldowns-label-calc-target">
|
2753
|
-
<span id="logical-select-drilldowns-label-calc-target"></span><h4>7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldowns-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3141
|
+
<span id="logical-select-drilldowns-label-calc-target"></span><h4>7.3.34.5.9.8. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldowns-label-calc-target" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2754
3142
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> に対応しています。</p>
|
2755
3143
|
<p>例は <a class="reference internal" href="#logical-select-drilldowns-label-calc-types"><span class="std std-ref">drilldowns[${LABEL}].calc_types</span></a> を参照してください。</p>
|
2756
3144
|
</div>
|
2757
3145
|
<div class="section" id="drilldowns-label-filter">
|
2758
|
-
<span id="logical-select-drilldowns-label-filter"></span><h4>7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code><a class="headerlink" href="#drilldowns-label-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3146
|
+
<span id="logical-select-drilldowns-label-filter"></span><h4>7.3.34.5.9.9. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].filter</span></code><a class="headerlink" href="#drilldowns-label-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2759
3147
|
<div class="versionadded">
|
2760
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3148
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
2761
3149
|
</div>
|
2762
3150
|
<p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> に対応しています。</p>
|
2763
3151
|
<p>以下は1度しか出現していないタグをドリルダウン結果から除く例です。</p>
|
2764
3152
|
<p>実行例:</p>
|
2765
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3153
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2766
3154
|
--logical_table Entries \
|
2767
3155
|
--shard_key created_at \
|
2768
3156
|
--limit 0 \
|
@@ -2819,14 +3207,14 @@ logical_select \
|
|
2819
3207
|
</div>
|
2820
3208
|
</div>
|
2821
3209
|
<div class="section" id="drilldowns-label-columns-name-stage">
|
2822
|
-
<span id="logical-select-drilldowns-label-columns-name-stage"></span><h4>7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code><a class="headerlink" href="#drilldowns-label-columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3210
|
+
<span id="logical-select-drilldowns-label-columns-name-stage"></span><h4>7.3.34.5.9.10. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code><a class="headerlink" href="#drilldowns-label-columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2823
3211
|
<div class="versionadded">
|
2824
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3212
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
2825
3213
|
</div>
|
2826
3214
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldowns-label-columns-name-stage"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].stage</span></a> を見てください。</p>
|
2827
|
-
<p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで動的カラムを作る例です。この例ではドリルダウンした各タグが1回だけ出現したかどうかを保存する動的カラムを1つ作っています。</p>
|
3215
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">initial</span></code> ステージで動的カラムを作る例です。この例ではドリルダウンした各タグが1回だけ出現したかどうかを保存する動的カラムを1つ作っています。</p>
|
2828
3216
|
<p>実行例:</p>
|
2829
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3217
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2830
3218
|
--logical_table Entries \
|
2831
3219
|
--shard_key created_at \
|
2832
3220
|
--limit 0 \
|
@@ -2896,15 +3284,15 @@ logical_select \
|
|
2896
3284
|
</div>
|
2897
3285
|
</div>
|
2898
3286
|
<div class="section" id="drilldowns-label-columns-name-flags">
|
2899
|
-
<span id="logical-select-drilldowns-label-columns-name-flags"></span><h4>7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code><a class="headerlink" href="#drilldowns-label-columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3287
|
+
<span id="logical-select-drilldowns-label-columns-name-flags"></span><h4>7.3.34.5.9.11. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code><a class="headerlink" href="#drilldowns-label-columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2900
3288
|
<div class="versionadded">
|
2901
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3289
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
2902
3290
|
</div>
|
2903
3291
|
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。</p>
|
2904
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
2905
|
-
<p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
3292
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
3293
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
2906
3294
|
<p>実行例:</p>
|
2907
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3295
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2908
3296
|
--logical_table Entries \
|
2909
3297
|
--shard_key created_at \
|
2910
3298
|
--limit 0 \
|
@@ -2980,15 +3368,15 @@ logical_select \
|
|
2980
3368
|
</div>
|
2981
3369
|
</div>
|
2982
3370
|
<div class="section" id="drilldowns-label-columns-name-type">
|
2983
|
-
<span id="logical-select-drilldowns-label-columns-name-type"></span><h4>7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code><a class="headerlink" href="#drilldowns-label-columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3371
|
+
<span id="logical-select-drilldowns-label-columns-name-type"></span><h4>7.3.34.5.9.12. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code><a class="headerlink" href="#drilldowns-label-columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
2984
3372
|
<div class="versionadded">
|
2985
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3373
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
2986
3374
|
</div>
|
2987
3375
|
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。</p>
|
2988
3376
|
<p>必須の引数です。</p>
|
2989
|
-
<p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
3377
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
2990
3378
|
<p>実行例:</p>
|
2991
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3379
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2992
3380
|
--logical_table Entries \
|
2993
3381
|
--shard_key created_at \
|
2994
3382
|
--limit 0 \
|
@@ -3058,15 +3446,15 @@ logical_select \
|
|
3058
3446
|
</div>
|
3059
3447
|
</div>
|
3060
3448
|
<div class="section" id="drilldowns-label-columns-name-value">
|
3061
|
-
<span id="logical-select-drilldowns-label-columns-name-value"></span><h4>7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code><a class="headerlink" href="#drilldowns-label-columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3449
|
+
<span id="logical-select-drilldowns-label-columns-name-value"></span><h4>7.3.34.5.9.13. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code><a class="headerlink" href="#drilldowns-label-columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3062
3450
|
<div class="versionadded">
|
3063
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3451
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
3064
3452
|
</div>
|
3065
3453
|
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。</p>
|
3066
3454
|
<p>必須の引数です。</p>
|
3067
|
-
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
3455
|
+
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
3068
3456
|
<p>実行例:</p>
|
3069
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string \
|
3457
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string \
|
3070
3458
|
logical_select \
|
3071
3459
|
--logical_table Entries \
|
3072
3460
|
--shard_key created_at \
|
@@ -3082,15 +3470,15 @@ logical_select \
|
|
3082
3470
|
</div>
|
3083
3471
|
</div>
|
3084
3472
|
<div class="section" id="drilldowns-label-columns-name-window-sort-keys">
|
3085
|
-
<span id="logical-select-drilldowns-label-columns-name-window-sort-keys"></span><h4>7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3473
|
+
<span id="logical-select-drilldowns-label-columns-name-window-sort-keys"></span><h4>7.3.34.5.9.14. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3086
3474
|
<div class="versionadded">
|
3087
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3475
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
3088
3476
|
</div>
|
3089
3477
|
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。</p>
|
3090
3478
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
3091
3479
|
<p>以下はサブレコード数順で何番目のレコードかを計算する例です。</p>
|
3092
3480
|
<p>実行例:</p>
|
3093
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3481
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3094
3482
|
--logical_table Entries \
|
3095
3483
|
--shard_key created_at \
|
3096
3484
|
--limit 0 \
|
@@ -3162,15 +3550,15 @@ logical_select \
|
|
3162
3550
|
</div>
|
3163
3551
|
</div>
|
3164
3552
|
<div class="section" id="drilldowns-label-columns-name-window-group-keys">
|
3165
|
-
<span id="logical-select-drilldowns-label-columns-name-window-group-keys"></span><h4>7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3553
|
+
<span id="logical-select-drilldowns-label-columns-name-window-group-keys"></span><h4>7.3.34.5.9.15. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#drilldowns-label-columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3166
3554
|
<div class="versionadded">
|
3167
|
-
<p><span class="versionmodified">バージョン 7.0.1 で追加.</span></p>
|
3555
|
+
<p><span class="versionmodified added">バージョン 7.0.1 で追加.</span></p>
|
3168
3556
|
</div>
|
3169
3557
|
<p>メインの検索の <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。</p>
|
3170
3558
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
3171
3559
|
<p>以下はサブレコード数が同じグループ毎にタグ名順で何番目のレコードかを計算する例です。</p>
|
3172
3560
|
<p>実行例:</p>
|
3173
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3561
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3174
3562
|
--logical_table Entries \
|
3175
3563
|
--shard_key created_at \
|
3176
3564
|
--limit 0 \
|
@@ -3246,33 +3634,33 @@ logical_select \
|
|
3246
3634
|
<div class="section" id="cache-related-parameter">
|
3247
3635
|
<h3>7.3.34.5.10. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
3248
3636
|
<div class="section" id="cache">
|
3249
|
-
<span id="logical-select-cache"></span><h4>7.3.34.5.10.1. <code class="docutils literal"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3637
|
+
<span id="logical-select-cache"></span><h4>7.3.34.5.10.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
3250
3638
|
<p>このクエリーの結果をキャッシュするかどうかを指定します。</p>
|
3251
3639
|
<p>このクエリーの結果がキャッシュしてあると、次に同じクエリーを実行するときはキャッシュを使って高速にレスポンスを返すことができます。</p>
|
3252
3640
|
<p>これは既存のキャッシュされた結果を使うかどうかを指定するものではありません。</p>
|
3253
3641
|
<p>指定可能な値は以下の通りです。</p>
|
3254
|
-
<table
|
3642
|
+
<table class="docutils align-center">
|
3255
3643
|
<colgroup>
|
3256
|
-
<col
|
3257
|
-
<col
|
3644
|
+
<col style="width: 50%" />
|
3645
|
+
<col style="width: 50%" />
|
3258
3646
|
</colgroup>
|
3259
|
-
<thead
|
3260
|
-
<tr class="row-odd"><th class="head"
|
3261
|
-
<th class="head">説明</th>
|
3647
|
+
<thead>
|
3648
|
+
<tr class="row-odd"><th class="head"><p>値</p></th>
|
3649
|
+
<th class="head"><p>説明</p></th>
|
3262
3650
|
</tr>
|
3263
3651
|
</thead>
|
3264
|
-
<tbody
|
3265
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">no</span></code></td>
|
3266
|
-
<td>このクエリーの出力をキャッシュしない。</td>
|
3652
|
+
<tbody>
|
3653
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">no</span></code></p></td>
|
3654
|
+
<td><p>このクエリーの出力をキャッシュしない。</p></td>
|
3267
3655
|
</tr>
|
3268
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">yes</span></code></td>
|
3269
|
-
<td>このクエリーの出力をキャッシュする。デフォルト値。</td>
|
3656
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">yes</span></code></p></td>
|
3657
|
+
<td><p>このクエリーの出力をキャッシュする。デフォルト値。</p></td>
|
3270
3658
|
</tr>
|
3271
3659
|
</tbody>
|
3272
3660
|
</table>
|
3273
3661
|
<p>このクエリーの結果をキャッシュしないようにする例です。</p>
|
3274
3662
|
<p>実行例:</p>
|
3275
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3663
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3276
3664
|
--logical_table Entries \
|
3277
3665
|
--shard_key created_at \
|
3278
3666
|
--cache no
|
@@ -3358,13 +3746,13 @@ logical_select \
|
|
3358
3746
|
# ]
|
3359
3747
|
</pre></div>
|
3360
3748
|
</div>
|
3361
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">yes</span></code> です。</p>
|
3749
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">yes</span></code> です。</p>
|
3362
3750
|
</div>
|
3363
3751
|
</div>
|
3364
3752
|
</div>
|
3365
3753
|
<div class="section" id="return-value">
|
3366
3754
|
<h2>7.3.34.6. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
3367
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> の戻り値のフォーマットは <a class="reference internal" href="select.html"><span class="doc">select</span></a> と同じです。詳細は <a class="reference internal" href="select.html#select-return-value"><span class="std std-ref">戻り値</span></a> を見てください。</p>
|
3755
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> の戻り値のフォーマットは <a class="reference internal" href="select.html"><span class="doc">select</span></a> と同じです。詳細は <a class="reference internal" href="select.html#select-return-value"><span class="std std-ref">戻り値</span></a> を見てください。</p>
|
3368
3756
|
</div>
|
3369
3757
|
</div>
|
3370
3758
|
|
@@ -3376,92 +3764,96 @@ logical_select \
|
|
3376
3764
|
<div class="sphinxsidebarwrapper">
|
3377
3765
|
<h3><a href="../../index.html">目次</a></h3>
|
3378
3766
|
<ul>
|
3379
|
-
<li><a class="reference internal" href="#">7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
|
3767
|
+
<li><a class="reference internal" href="#">7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a><ul>
|
3380
3768
|
<li><a class="reference internal" href="#summary">7.3.34.1. 概要</a></li>
|
3381
3769
|
<li><a class="reference internal" href="#syntax">7.3.34.2. 構文</a></li>
|
3382
|
-
<li><a class="reference internal" href="#differences-from-select">7.3.34.3. <code class="docutils literal"><span class="pre">select</span></code> との違い</a></li>
|
3770
|
+
<li><a class="reference internal" href="#differences-from-select">7.3.34.3. <code class="docutils literal notranslate"><span class="pre">select</span></code> との違い</a></li>
|
3383
3771
|
<li><a class="reference internal" href="#usage">7.3.34.4. 使い方</a><ul>
|
3384
3772
|
<li><a class="reference internal" href="#simple-usage">7.3.34.4.1. 簡単な使い方</a></li>
|
3385
3773
|
</ul>
|
3386
3774
|
</li>
|
3387
3775
|
<li><a class="reference internal" href="#parameters">7.3.34.5. 引数</a><ul>
|
3388
3776
|
<li><a class="reference internal" href="#required-parameters">7.3.34.5.1. 必須引数</a><ul>
|
3389
|
-
<li><a class="reference internal" href="#logical-table">7.3.34.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
|
3390
|
-
<li><a class="reference internal" href="#shard-key">7.3.34.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
|
3777
|
+
<li><a class="reference internal" href="#logical-table">7.3.34.5.1.1. <code class="docutils literal notranslate"><span class="pre">logical_table</span></code></a></li>
|
3778
|
+
<li><a class="reference internal" href="#shard-key">7.3.34.5.1.2. <code class="docutils literal notranslate"><span class="pre">shard_key</span></code></a></li>
|
3391
3779
|
</ul>
|
3392
3780
|
</li>
|
3393
3781
|
<li><a class="reference internal" href="#optional-parameters">7.3.34.5.2. 省略可能引数</a><ul>
|
3394
|
-
<li><a class="reference internal" href="#min">7.3.34.5.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
|
3395
|
-
<li><a class="reference internal" href="#min-border">7.3.34.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
|
3396
|
-
<li><a class="reference internal" href="#max">7.3.34.5.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
|
3397
|
-
<li><a class="reference internal" href="#max-border">7.3.34.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
|
3782
|
+
<li><a class="reference internal" href="#min">7.3.34.5.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code></a></li>
|
3783
|
+
<li><a class="reference internal" href="#min-border">7.3.34.5.2.2. <code class="docutils literal notranslate"><span class="pre">min_border</span></code></a></li>
|
3784
|
+
<li><a class="reference internal" href="#max">7.3.34.5.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code></a></li>
|
3785
|
+
<li><a class="reference internal" href="#max-border">7.3.34.5.2.4. <code class="docutils literal notranslate"><span class="pre">max_border</span></code></a></li>
|
3398
3786
|
</ul>
|
3399
3787
|
</li>
|
3400
3788
|
<li><a class="reference internal" href="#search-related-parameters">7.3.34.5.3. 検索関係の引数</a><ul>
|
3401
|
-
<li><a class="reference internal" href="#match-columns">7.3.34.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
|
3402
|
-
<li><a class="reference internal" href="#query">7.3.34.5.3.2. <code class="docutils literal"><span class="pre">query</span></code></a></li>
|
3403
|
-
<li><a class="reference internal" href="#filter">7.3.34.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
3789
|
+
<li><a class="reference internal" href="#match-columns">7.3.34.5.3.1. <code class="docutils literal notranslate"><span class="pre">match_columns</span></code></a></li>
|
3790
|
+
<li><a class="reference internal" href="#query">7.3.34.5.3.2. <code class="docutils literal notranslate"><span class="pre">query</span></code></a></li>
|
3791
|
+
<li><a class="reference internal" href="#filter">7.3.34.5.3.3. <code class="docutils literal notranslate"><span class="pre">filter</span></code></a></li>
|
3792
|
+
<li><a class="reference internal" href="#post-filter">7.3.34.5.3.4. <code class="docutils literal notranslate"><span class="pre">post_filter</span></code></a></li>
|
3793
|
+
<li><a class="reference internal" href="#load-table">7.3.34.5.3.5. Invalid section title or transition marker.</a></li>
|
3794
|
+
<li><a class="reference internal" href="#load-columns">7.3.34.5.3.6. <code class="docutils literal notranslate"><span class="pre">load_columns</span></code></a></li>
|
3795
|
+
<li><a class="reference internal" href="#load-values">7.3.34.5.3.7. <code class="docutils literal notranslate"><span class="pre">load_values</span></code></a></li>
|
3404
3796
|
</ul>
|
3405
3797
|
</li>
|
3406
3798
|
<li><a class="reference internal" href="#advanced-search-parameters">7.3.34.5.4. 高度な検索のための引数</a><ul>
|
3407
|
-
<li><a class="reference internal" href="#match-escalation-threshold">7.3.34.5.4.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code></a></li>
|
3408
|
-
<li><a class="reference internal" href="#query-flags">7.3.34.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code></a></li>
|
3409
|
-
<li><a class="reference internal" href="#query-expander">7.3.34.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
|
3799
|
+
<li><a class="reference internal" href="#match-escalation-threshold">7.3.34.5.4.1. <code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code></a></li>
|
3800
|
+
<li><a class="reference internal" href="#query-flags">7.3.34.5.4.2. <code class="docutils literal notranslate"><span class="pre">query_flags</span></code></a></li>
|
3801
|
+
<li><a class="reference internal" href="#query-expander">7.3.34.5.4.3. <code class="docutils literal notranslate"><span class="pre">query_expander</span></code></a></li>
|
3410
3802
|
</ul>
|
3411
3803
|
</li>
|
3412
3804
|
<li><a class="reference internal" href="#output-related-parameters">7.3.34.5.5. 出力関連の引数</a><ul>
|
3413
|
-
<li><a class="reference internal" href="#output-columns">7.3.34.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
|
3414
|
-
<li><a class="reference internal" href="#sortby">7.3.34.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
|
3415
|
-
<li><a class="reference internal" href="#sort-keys">7.3.34.5.5.3. <code class="docutils literal"><span class="pre">sort_keys</span></code></a></li>
|
3416
|
-
<li><a class="reference internal" href="#offset">7.3.34.5.5.4. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
|
3417
|
-
<li><a class="reference internal" href="#limit">7.3.34.5.5.5. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
|
3418
|
-
<li><a class="reference internal" href="#scorer">7.3.34.5.5.6. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
|
3805
|
+
<li><a class="reference internal" href="#output-columns">7.3.34.5.5.1. <code class="docutils literal notranslate"><span class="pre">output_columns</span></code></a></li>
|
3806
|
+
<li><a class="reference internal" href="#sortby">7.3.34.5.5.2. <code class="docutils literal notranslate"><span class="pre">sortby</span></code></a></li>
|
3807
|
+
<li><a class="reference internal" href="#sort-keys">7.3.34.5.5.3. <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code></a></li>
|
3808
|
+
<li><a class="reference internal" href="#offset">7.3.34.5.5.4. <code class="docutils literal notranslate"><span class="pre">offset</span></code></a></li>
|
3809
|
+
<li><a class="reference internal" href="#limit">7.3.34.5.5.5. <code class="docutils literal notranslate"><span class="pre">limit</span></code></a></li>
|
3810
|
+
<li><a class="reference internal" href="#scorer">7.3.34.5.5.6. <code class="docutils literal notranslate"><span class="pre">scorer</span></code></a></li>
|
3419
3811
|
</ul>
|
3420
3812
|
</li>
|
3421
3813
|
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.34.5.6. 動的カラム関連の引数</a><ul>
|
3422
|
-
<li><a class="reference internal" href="#columns-name-stage">7.3.34.5.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
3423
|
-
<li><a class="reference internal" href="#columns-name-flags">7.3.34.5.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
3424
|
-
<li><a class="reference internal" href="#columns-name-type">7.3.34.5.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
3425
|
-
<li><a class="reference internal" href="#columns-name-value">7.3.34.5.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
3814
|
+
<li><a class="reference internal" href="#columns-name-stage">7.3.34.5.6.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
3815
|
+
<li><a class="reference internal" href="#columns-name-flags">7.3.34.5.6.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
3816
|
+
<li><a class="reference internal" href="#columns-name-type">7.3.34.5.6.3. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
3817
|
+
<li><a class="reference internal" href="#columns-name-value">7.3.34.5.6.4. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
3426
3818
|
</ul>
|
3427
3819
|
</li>
|
3428
3820
|
<li><a class="reference internal" href="#window-function-related-parameters">7.3.34.5.7. ウィンドウ関数関連の引数</a><ul>
|
3429
|
-
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.34.5.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
3430
|
-
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.34.5.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
3821
|
+
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.34.5.7.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
3822
|
+
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.34.5.7.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
3431
3823
|
</ul>
|
3432
3824
|
</li>
|
3433
3825
|
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.8. ドリルダウン関連の引数</a><ul>
|
3434
|
-
<li><a class="reference internal" href="#drilldown">7.3.34.5.8.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
|
3435
|
-
<li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.8.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
|
3436
|
-
<li><a class="reference internal" href="#drilldown-sort-keys">7.3.34.5.8.3. <code class="docutils literal"><span class="pre">drilldown_sort_keys</span></code></a></li>
|
3437
|
-
<li><a class="reference internal" href="#drilldown-output-columns">7.3.34.5.8.4. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
|
3438
|
-
<li><a class="reference internal" href="#drilldown-offset">7.3.34.5.8.5. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
|
3439
|
-
<li><a class="reference internal" href="#drilldown-limit">7.3.34.5.8.6. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
|
3440
|
-
<li><a class="reference internal" href="#drilldown-calc-types">7.3.34.5.8.7. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
|
3441
|
-
<li><a class="reference internal" href="#drilldown-calc-target">7.3.34.5.8.8. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
|
3442
|
-
<li><a class="reference internal" href="#drilldown-filter">7.3.34.5.8.9. <code class="docutils literal"><span class="pre">drilldown_filter</span></code></a></li>
|
3826
|
+
<li><a class="reference internal" href="#drilldown">7.3.34.5.8.1. <code class="docutils literal notranslate"><span class="pre">drilldown</span></code></a></li>
|
3827
|
+
<li><a class="reference internal" href="#drilldown-sortby">7.3.34.5.8.2. <code class="docutils literal notranslate"><span class="pre">drilldown_sortby</span></code></a></li>
|
3828
|
+
<li><a class="reference internal" href="#drilldown-sort-keys">7.3.34.5.8.3. <code class="docutils literal notranslate"><span class="pre">drilldown_sort_keys</span></code></a></li>
|
3829
|
+
<li><a class="reference internal" href="#drilldown-output-columns">7.3.34.5.8.4. <code class="docutils literal notranslate"><span class="pre">drilldown_output_columns</span></code></a></li>
|
3830
|
+
<li><a class="reference internal" href="#drilldown-offset">7.3.34.5.8.5. <code class="docutils literal notranslate"><span class="pre">drilldown_offset</span></code></a></li>
|
3831
|
+
<li><a class="reference internal" href="#drilldown-limit">7.3.34.5.8.6. <code class="docutils literal notranslate"><span class="pre">drilldown_limit</span></code></a></li>
|
3832
|
+
<li><a class="reference internal" href="#drilldown-calc-types">7.3.34.5.8.7. <code class="docutils literal notranslate"><span class="pre">drilldown_calc_types</span></code></a></li>
|
3833
|
+
<li><a class="reference internal" href="#drilldown-calc-target">7.3.34.5.8.8. <code class="docutils literal notranslate"><span class="pre">drilldown_calc_target</span></code></a></li>
|
3834
|
+
<li><a class="reference internal" href="#drilldown-filter">7.3.34.5.8.9. <code class="docutils literal notranslate"><span class="pre">drilldown_filter</span></code></a></li>
|
3443
3835
|
</ul>
|
3444
3836
|
</li>
|
3445
3837
|
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.9. 高度なドリルダウン関連のパラメーター</a><ul>
|
3446
|
-
<li><a class="reference internal" href="#drilldowns-label-keys">7.3.34.5.9.1. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys</span></code></a></li>
|
3447
|
-
<li><a class="reference internal" href="#drilldowns-label-output-columns">7.3.34.5.9.2. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns</span></code></a></li>
|
3448
|
-
<li><a class="reference internal" href="#drilldowns-label-sortby">7.3.34.5.9.3. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sortby</span></code></a></li>
|
3449
|
-
<li><a class="reference internal" href="#drilldowns-label-sort-keys">7.3.34.5.9.4. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code></a></li>
|
3450
|
-
<li><a class="reference internal" href="#drilldowns-label-offset">7.3.34.5.9.5. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset</span></code></a></li>
|
3451
|
-
<li><a class="reference internal" href="#drilldowns-label-limit">7.3.34.5.9.6. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit</span></code></a></li>
|
3452
|
-
<li><a class="reference internal" href="#drilldowns-label-calc-types">7.3.34.5.9.7. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types</span></code></a></li>
|
3453
|
-
<li><a class="reference internal" href="#drilldowns-label-calc-target">7.3.34.5.9.8. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target</span></code></a></li>
|
3454
|
-
<li><a class="reference internal" href="#drilldowns-label-filter">7.3.34.5.9.9. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter</span></code></a></li>
|
3455
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-stage">7.3.34.5.9.10. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code></a></li>
|
3456
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-flags">7.3.34.5.9.11. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code></a></li>
|
3457
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-type">7.3.34.5.9.12. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code></a></li>
|
3458
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-value">7.3.34.5.9.13. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code></a></li>
|
3459
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-sort-keys">7.3.34.5.9.14. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code></a></li>
|
3460
|
-
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-group-keys">7.3.34.5.9.15. <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code></a></li>
|
3838
|
+
<li><a class="reference internal" href="#drilldowns-label-keys">7.3.34.5.9.1. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].keys</span></code></a></li>
|
3839
|
+
<li><a class="reference internal" href="#drilldowns-label-output-columns">7.3.34.5.9.2. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code></a></li>
|
3840
|
+
<li><a class="reference internal" href="#drilldowns-label-sortby">7.3.34.5.9.3. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sortby</span></code></a></li>
|
3841
|
+
<li><a class="reference internal" href="#drilldowns-label-sort-keys">7.3.34.5.9.4. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code></a></li>
|
3842
|
+
<li><a class="reference internal" href="#drilldowns-label-offset">7.3.34.5.9.5. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].offset</span></code></a></li>
|
3843
|
+
<li><a class="reference internal" href="#drilldowns-label-limit">7.3.34.5.9.6. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].limit</span></code></a></li>
|
3844
|
+
<li><a class="reference internal" href="#drilldowns-label-calc-types">7.3.34.5.9.7. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_types</span></code></a></li>
|
3845
|
+
<li><a class="reference internal" href="#drilldowns-label-calc-target">7.3.34.5.9.8. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_target</span></code></a></li>
|
3846
|
+
<li><a class="reference internal" href="#drilldowns-label-filter">7.3.34.5.9.9. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].filter</span></code></a></li>
|
3847
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-stage">7.3.34.5.9.10. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage</span></code></a></li>
|
3848
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-flags">7.3.34.5.9.11. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags</span></code></a></li>
|
3849
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-type">7.3.34.5.9.12. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type</span></code></a></li>
|
3850
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-value">7.3.34.5.9.13. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value</span></code></a></li>
|
3851
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-sort-keys">7.3.34.5.9.14. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></code></a></li>
|
3852
|
+
<li><a class="reference internal" href="#drilldowns-label-columns-name-window-group-keys">7.3.34.5.9.15. <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></code></a></li>
|
3461
3853
|
</ul>
|
3462
3854
|
</li>
|
3463
3855
|
<li><a class="reference internal" href="#cache-related-parameter">7.3.34.5.10. キャッシュ関連の引数</a><ul>
|
3464
|
-
<li><a class="reference internal" href="#cache">7.3.34.5.10.1. <code class="docutils literal"><span class="pre">cache</span></code></a></li>
|
3856
|
+
<li><a class="reference internal" href="#cache">7.3.34.5.10.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code></a></li>
|
3465
3857
|
</ul>
|
3466
3858
|
</li>
|
3467
3859
|
</ul>
|
@@ -3473,18 +3865,18 @@ logical_select \
|
|
3473
3865
|
|
3474
3866
|
<h4>前のトピックへ</h4>
|
3475
3867
|
<p class="topless"><a href="logical_range_filter.html"
|
3476
|
-
title="前の章へ">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
3868
|
+
title="前の章へ">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></p>
|
3477
3869
|
<h4>次のトピックへ</h4>
|
3478
3870
|
<p class="topless"><a href="logical_shard_list.html"
|
3479
|
-
title="次の章へ">7.3.35. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
|
3871
|
+
title="次の章へ">7.3.35. <code class="docutils literal notranslate"><span class="pre">logical_shard_list</span></code></a></p>
|
3480
3872
|
<div id="searchbox" style="display: none" role="search">
|
3481
3873
|
<h3>クイック検索</h3>
|
3874
|
+
<div class="searchformwrapper">
|
3482
3875
|
<form class="search" action="../../search.html" method="get">
|
3483
|
-
<
|
3484
|
-
<
|
3485
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
3486
|
-
<input type="hidden" name="area" value="default" />
|
3876
|
+
<input type="text" name="q" />
|
3877
|
+
<input type="submit" value="検索" />
|
3487
3878
|
</form>
|
3879
|
+
</div>
|
3488
3880
|
</div>
|
3489
3881
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
3490
3882
|
</div>
|
@@ -3503,13 +3895,13 @@ logical_select \
|
|
3503
3895
|
<li class="right" >
|
3504
3896
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
3505
3897
|
>前へ</a> |</li>
|
3506
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
3898
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
3507
3899
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
3508
3900
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
3509
3901
|
</ul>
|
3510
3902
|
</div>
|
3511
3903
|
<div class="footer" role="contentinfo">
|
3512
|
-
© Copyright 2009-
|
3904
|
+
© Copyright 2009-2019, Brazil, Inc.
|
3513
3905
|
</div>
|
3514
3906
|
</body>
|
3515
3907
|
</html>
|