rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-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,34 +1,26 @@
|
|
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="en">
|
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 documentation</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>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../../search.html" />
|
28
21
|
<link rel="next" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
|
29
22
|
<link rel="prev" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../../index.html">
|
@@ -58,7 +50,7 @@
|
|
58
50
|
<li class="right" >
|
59
51
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
60
52
|
accesskey="P">previous</a> |</li>
|
61
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
53
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
62
54
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
63
55
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
64
56
|
</ul>
|
@@ -70,24 +62,24 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="logical-select">
|
73
|
-
<h1>7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.34.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
68
|
<div class="versionadded">
|
77
|
-
<p><span class="versionmodified">New in version 5.0.5.</span></p>
|
69
|
+
<p><span class="versionmodified added">New in version 5.0.5.</span></p>
|
78
70
|
</div>
|
79
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> is a sharding version of
|
80
|
-
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. <code class="docutils literal"><span class="pre">logical_select</span></code> searches records from multiple
|
71
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> is a sharding version of
|
72
|
+
<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> searches records from multiple
|
81
73
|
tables and outputs them.</p>
|
82
|
-
<p>You need to <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> <code class="docutils literal"><span class="pre">sharding</span></code> plugin because
|
83
|
-
this command is included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
74
|
+
<p>You need to <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because
|
75
|
+
this command is included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
84
76
|
</div>
|
85
77
|
<div class="section" id="syntax">
|
86
78
|
<h2>7.3.34.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
87
79
|
<p>This command takes many parameters.</p>
|
88
|
-
<p>The required parameters are <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>. Other
|
80
|
+
<p>The required parameters are <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>. Other
|
89
81
|
parameters are optional:</p>
|
90
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select logical_table
|
82
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select logical_table
|
91
83
|
shard_key
|
92
84
|
[min=null]
|
93
85
|
[min_border="include"]
|
@@ -110,139 +102,146 @@ parameters are optional:</p>
|
|
110
102
|
[match_columns=null]
|
111
103
|
[query=null]
|
112
104
|
[drilldown_filter=null]
|
105
|
+
[post_filter=null]
|
106
|
+
[load_table=null]
|
107
|
+
[load_columns=null]
|
108
|
+
[load_values=null]
|
113
109
|
</pre></div>
|
114
110
|
</div>
|
115
111
|
<p>There are some parameters that can be only used as named
|
116
|
-
parameters. You can
|
112
|
+
parameters. You can’t use these parameters as ordered parameters. You
|
117
113
|
must specify parameter name.</p>
|
118
114
|
<p>Here are parameters that can be only used as named parameters:</p>
|
119
115
|
<blockquote>
|
120
116
|
<div><ul class="simple">
|
121
|
-
<li><code class="docutils literal"><span class="pre">cache=no</span></code></li>
|
117
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">cache=no</span></code></p></li>
|
122
118
|
</ul>
|
123
119
|
</div></blockquote>
|
124
120
|
<p>This command has the following named parameters for dynamic columns:</p>
|
125
121
|
<blockquote>
|
126
122
|
<div><ul class="simple">
|
127
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
128
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
129
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
130
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
131
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
132
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
123
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage=null</span></code></p></li>
|
124
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
125
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type=null</span></code></p></li>
|
126
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value=null</span></code></p></li>
|
127
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
128
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></p></li>
|
133
129
|
</ul>
|
134
130
|
</div></blockquote>
|
135
|
-
<p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> for <code class="docutils literal"><span class="pre">${NAME}</span></code>. For
|
136
|
-
example, <code class="docutils literal"><span class="pre">column1</span></code> is a valid <code class="docutils literal"><span class="pre">${NAME}</span></code>. This is the same rule as
|
131
|
+
<p>You can use one or more alphabets, digits, <code class="docutils literal notranslate"><span class="pre">_</span></code> for <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code>. For
|
132
|
+
example, <code class="docutils literal notranslate"><span class="pre">column1</span></code> is a valid <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code>. This is the same rule as
|
137
133
|
normal column. See also <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a>.</p>
|
138
|
-
<p>Parameters that have the same <code class="docutils literal"><span class="pre">${NAME}</span></code> are grouped.</p>
|
134
|
+
<p>Parameters that have the same <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> are grouped.</p>
|
139
135
|
<p>For example, the following parameters specify one dynamic column:</p>
|
140
136
|
<blockquote>
|
141
137
|
<div><ul class="simple">
|
142
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
143
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
144
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
138
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></p></li>
|
139
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></p></li>
|
140
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></p></li>
|
145
141
|
</ul>
|
146
142
|
</div></blockquote>
|
147
143
|
<p>The following parameters specify two dynamic columns:</p>
|
148
144
|
<blockquote>
|
149
145
|
<div><ul class="simple">
|
150
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
151
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
152
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
153
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
|
154
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
155
|
-
<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>
|
146
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></p></li>
|
147
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></p></li>
|
148
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></p></li>
|
149
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></p></li>
|
150
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></p></li>
|
151
|
+
<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>
|
156
152
|
</ul>
|
157
153
|
</div></blockquote>
|
158
154
|
<p>This command has the following named parameters for advanced
|
159
155
|
drilldown:</p>
|
160
156
|
<blockquote>
|
161
157
|
<div><ul class="simple">
|
162
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></li>
|
163
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></li>
|
164
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></li>
|
165
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></li>
|
166
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></li>
|
167
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></li>
|
168
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></li>
|
169
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></li>
|
170
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></li>
|
171
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
172
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></li>
|
173
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></li>
|
174
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></li>
|
175
|
-
<li><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></li>
|
158
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].keys=null</span></code></p></li>
|
159
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys=null</span></code></p></li>
|
160
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns="_key,</span> <span class="pre">_nsubrecs"</span></code></p></li>
|
161
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].offset=0</span></code></p></li>
|
162
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].limit=10</span></code></p></li>
|
163
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_types=NONE</span></code></p></li>
|
164
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].calc_target=null</span></code></p></li>
|
165
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].filter=null</span></code></p></li>
|
166
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].stage=null</span></code></p></li>
|
167
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
168
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].type=null</span></code></p></li>
|
169
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].value=null</span></code></p></li>
|
170
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
171
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null</span></code></p></li>
|
176
172
|
</ul>
|
177
173
|
</div></blockquote>
|
178
174
|
<div class="deprecated">
|
179
|
-
<p><span class="versionmodified">Deprecated since version 6.1.4: </span><code class="docutils literal"><span class="pre">drilldown[...]</span></code> syntax is deprecated. Use <code class="docutils literal"><span class="pre">drilldowns[...]</span></code>
|
175
|
+
<p><span class="versionmodified deprecated">Deprecated since version 6.1.4: </span><code class="docutils literal notranslate"><span class="pre">drilldown[...]</span></code> syntax is deprecated. Use <code class="docutils literal notranslate"><span class="pre">drilldowns[...]</span></code>
|
180
176
|
instead.</p>
|
181
177
|
</div>
|
182
178
|
<div class="deprecated">
|
183
|
-
<p><span class="versionmodified">Deprecated since version 6.1.5: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> is deprecated.
|
179
|
+
<p><span class="versionmodified deprecated">Deprecated since version 6.1.5: </span><a class="reference internal" href="#logical-select-drilldowns-label-sortby"><span class="std std-ref">drilldowns[${LABEL}].sortby</span></a> is deprecated.
|
184
180
|
Use <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> instead.</p>
|
185
181
|
</div>
|
186
|
-
<p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> and <code class="docutils literal"><span class="pre">.</span></code> for
|
187
|
-
<code class="docutils literal"><span class="pre">${LABEL}</span></code>. For example, <code class="docutils literal"><span class="pre">parent.sub1</span></code> is a valid <code class="docutils literal"><span class="pre">${LABEL}</span></code>.</p>
|
188
|
-
<p>Parameters that have the same <code class="docutils literal"><span class="pre">${LABEL}</span></code> are grouped.</p>
|
182
|
+
<p>You can use one or more alphabets, digits, <code class="docutils literal notranslate"><span class="pre">_</span></code> and <code class="docutils literal notranslate"><span class="pre">.</span></code> for
|
183
|
+
<code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code>. For example, <code class="docutils literal notranslate"><span class="pre">parent.sub1</span></code> is a valid <code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code>.</p>
|
184
|
+
<p>Parameters that have the same <code class="docutils literal notranslate"><span class="pre">${LABEL}</span></code> are grouped.</p>
|
189
185
|
<p>For example, the following parameters specify one drilldown:</p>
|
190
186
|
<blockquote>
|
191
187
|
<div><ul class="simple">
|
192
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></li>
|
193
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
188
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label].keys</span> <span class="pre">column</span></code></p></li>
|
189
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label].sort_keys</span> <span class="pre">-_nsubrecs</span></code></p></li>
|
194
190
|
</ul>
|
195
191
|
</div></blockquote>
|
196
192
|
<p>The following parameters specify two drilldowns:</p>
|
197
193
|
<blockquote>
|
198
194
|
<div><ul class="simple">
|
199
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></li>
|
200
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></li>
|
201
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></li>
|
202
|
-
<li><code class="docutils literal"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></li>
|
195
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label1].keys</span> <span class="pre">column1</span></code></p></li>
|
196
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label1].sort_keys</span> <span class="pre">-_nsubrecs</span></code></p></li>
|
197
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label2].keys</span> <span class="pre">column2</span></code></p></li>
|
198
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--drilldowns[label2].sort_keys</span> <span class="pre">_key</span></code></p></li>
|
203
199
|
</ul>
|
204
200
|
</div></blockquote>
|
205
201
|
</div>
|
206
202
|
<div class="section" id="differences-from-select">
|
207
|
-
<h2>7.3.34.3. Differences from <code class="docutils literal"><span class="pre">select</span></code><a class="headerlink" href="#differences-from-select" title="Permalink to this headline">¶</a></h2>
|
208
|
-
<p>Most of <code class="docutils literal"><span class="pre">logical_select</span></code> features can be used like corresponding
|
203
|
+
<h2>7.3.34.3. Differences from <code class="docutils literal notranslate"><span class="pre">select</span></code><a class="headerlink" href="#differences-from-select" title="Permalink to this headline">¶</a></h2>
|
204
|
+
<p>Most of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> features can be used like corresponding
|
209
205
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a> features. For example, parameter name is same, output
|
210
206
|
format is same and so on.</p>
|
211
207
|
<p>But there are some differences from <a class="reference internal" href="select.html"><span class="doc">select</span></a>:</p>
|
212
208
|
<blockquote>
|
213
209
|
<div><ul class="simple">
|
214
|
-
<li><code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code> parameters are required
|
215
|
-
instead of <code class="docutils literal"><span class="pre">table</span></code> parameter.</li>
|
216
|
-
<li><code class="docutils literal"><span class="pre">sort_keys</span></code> isn
|
210
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> parameters are required
|
211
|
+
instead of <code class="docutils literal notranslate"><span class="pre">table</span></code> parameter.</p></li>
|
212
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> isn’t supported when multiple shards are used. (Only
|
217
213
|
one shard is used, they are supported. There is one exception
|
218
|
-
about <code class="docutils literal"><span class="pre">sort_keys</span></code> for multiple shards. When <code class="docutils literal"><span class="pre">shard_keys</span></code> and
|
219
|
-
<code class="docutils literal"><span class="pre">sort_keys</span></code> are same, they are supported. See
|
220
|
-
<a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> about details)</li>
|
221
|
-
<li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
|
222
|
-
doesn
|
223
|
-
shard. <code class="docutils literal"><span class="pre">_key</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with
|
224
|
-
multiple shards.</li>
|
225
|
-
<li><code class="docutils literal"><span class="pre">
|
226
|
-
|
227
|
-
|
228
|
-
<li><code class="docutils literal"><span class="pre">
|
214
|
+
about <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> for multiple shards. When <code class="docutils literal notranslate"><span class="pre">shard_keys</span></code> and
|
215
|
+
<code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> are same, they are supported. See
|
216
|
+
<a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> about details)</p></li>
|
217
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
|
218
|
+
doesn’t work with multiple shards. It works with one
|
219
|
+
shard. <code class="docutils literal notranslate"><span class="pre">_key</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with
|
220
|
+
multiple shards.</p></li>
|
221
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code>
|
222
|
+
also doesn’t work with multiple shards either. It works with one
|
223
|
+
shard.</p></li>
|
224
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code> isn’t supported yet.</p></li>
|
225
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">query_flags</span></code> isn’t supported yet.</p></li>
|
226
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">query_expander</span></code> isn’t supported yet.</p></li>
|
227
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">adjuster</span></code> isn’t supported yet.</p></li>
|
229
228
|
</ul>
|
230
229
|
</div></blockquote>
|
231
230
|
</div>
|
232
231
|
<div class="section" id="usage">
|
233
232
|
<h2>7.3.34.4. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
234
|
-
<p>Let
|
233
|
+
<p>Let’s learn about usage with examples. This section shows many popular
|
235
234
|
usages.</p>
|
236
|
-
<p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin because this command is
|
237
|
-
included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
235
|
+
<p>You need to register <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because this command is
|
236
|
+
included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
238
237
|
<p>Execution example:</p>
|
239
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
238
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
240
239
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
241
240
|
</pre></div>
|
242
241
|
</div>
|
243
242
|
<p>Here are a schema definition and sample data to show usage.</p>
|
244
243
|
<p>Execution example:</p>
|
245
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
244
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
246
245
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
247
246
|
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
248
247
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -313,46 +312,131 @@ load --table Entries_20150709
|
|
313
312
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
314
313
|
</pre></div>
|
315
314
|
</div>
|
316
|
-
<p>There are two tables, <code class="docutils literal"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal"><span class="pre">Entries_20150709</span></code>,
|
315
|
+
<p>There are two tables, <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code>,
|
317
316
|
for blog entries.</p>
|
318
317
|
<div class="admonition note">
|
319
|
-
<p class="
|
320
|
-
<p
|
321
|
-
for table names. In this example, <code class="docutils literal"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
322
|
-
<code class="docutils literal"><span class="pre">Entries</span></code> and <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal"><span class="pre">20150708</span></code> or <code class="docutils literal"><span class="pre">20150709</span></code>.</p>
|
318
|
+
<p class="admonition-title">Note</p>
|
319
|
+
<p>You need to use <code class="docutils literal notranslate"><span class="pre">${LOGICAL_TABLE_NAME}_${YYYYMMDD}</span></code> naming rule
|
320
|
+
for table names. In this example, <code class="docutils literal notranslate"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
321
|
+
<code class="docutils literal notranslate"><span class="pre">Entries</span></code> and <code class="docutils literal notranslate"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal notranslate"><span class="pre">20150708</span></code> or <code class="docutils literal notranslate"><span class="pre">20150709</span></code>.</p>
|
323
322
|
</div>
|
324
323
|
<p>An entry has title, created time, content, the number of likes for the
|
325
|
-
entry and tag. Title is key of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
326
|
-
value of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
327
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
328
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
329
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
330
|
-
<p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code>
|
331
|
-
column are indexed using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
332
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> are
|
324
|
+
entry and tag. Title is key of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
325
|
+
value of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
326
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
327
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
328
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
329
|
+
<p><code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code>
|
330
|
+
column are indexed using <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
331
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> are
|
333
332
|
fulltext search ready.</p>
|
334
333
|
<p>OK. The schema and data for examples are ready.</p>
|
335
334
|
<div class="section" id="simple-usage">
|
336
335
|
<h3>7.3.34.4.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
337
|
-
<p>
|
336
|
+
<p>Here is an example that specifies only required parameters.</p>
|
337
|
+
<p>Execution example:</p>
|
338
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
339
|
+
# [
|
340
|
+
# [
|
341
|
+
# 0,
|
342
|
+
# 1337566253.89858,
|
343
|
+
# 0.000355720520019531
|
344
|
+
# ],
|
345
|
+
# [
|
346
|
+
# [
|
347
|
+
# [
|
348
|
+
# 5
|
349
|
+
# ],
|
350
|
+
# [
|
351
|
+
# [
|
352
|
+
# "_id",
|
353
|
+
# "UInt32"
|
354
|
+
# ],
|
355
|
+
# [
|
356
|
+
# "_key",
|
357
|
+
# "ShortText"
|
358
|
+
# ],
|
359
|
+
# [
|
360
|
+
# "content",
|
361
|
+
# "Text"
|
362
|
+
# ],
|
363
|
+
# [
|
364
|
+
# "created_at",
|
365
|
+
# "Time"
|
366
|
+
# ],
|
367
|
+
# [
|
368
|
+
# "n_likes",
|
369
|
+
# "UInt32"
|
370
|
+
# ],
|
371
|
+
# [
|
372
|
+
# "tag",
|
373
|
+
# "ShortText"
|
374
|
+
# ]
|
375
|
+
# ],
|
376
|
+
# [
|
377
|
+
# 1,
|
378
|
+
# "The first post!",
|
379
|
+
# "Welcome! This is my first post!",
|
380
|
+
# 1436281200.0,
|
381
|
+
# 5,
|
382
|
+
# "Hello"
|
383
|
+
# ],
|
384
|
+
# [
|
385
|
+
# 2,
|
386
|
+
# "Groonga",
|
387
|
+
# "I started to use Groonga. It's very fast!",
|
388
|
+
# 1436284800.0,
|
389
|
+
# 10,
|
390
|
+
# "Groonga"
|
391
|
+
# ],
|
392
|
+
# [
|
393
|
+
# 3,
|
394
|
+
# "Mroonga",
|
395
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
396
|
+
# 1436288400.0,
|
397
|
+
# 15,
|
398
|
+
# "Groonga"
|
399
|
+
# ],
|
400
|
+
# [
|
401
|
+
# 1,
|
402
|
+
# "Good-bye Senna",
|
403
|
+
# "I migrated all Senna system!",
|
404
|
+
# 1436367600.0,
|
405
|
+
# 3,
|
406
|
+
# "Senna"
|
407
|
+
# ],
|
408
|
+
# [
|
409
|
+
# 2,
|
410
|
+
# "Good-bye Tritonn",
|
411
|
+
# "I also migrated all Tritonn system!",
|
412
|
+
# 1436371200.0,
|
413
|
+
# 3,
|
414
|
+
# "Senna"
|
415
|
+
# ]
|
416
|
+
# ]
|
417
|
+
# ]
|
418
|
+
# ]
|
419
|
+
</pre></div>
|
420
|
+
</div>
|
421
|
+
<p>It is shown that is searched from Entries_20150708 and Entries_20150709 in above example.</p>
|
338
422
|
</div>
|
339
423
|
</div>
|
340
424
|
<div class="section" id="parameters">
|
341
425
|
<h2>7.3.34.5. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
342
|
-
<p>This section describes parameters of <code class="docutils literal"><span class="pre">logical_select</span></code>.</p>
|
426
|
+
<p>This section describes parameters of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.</p>
|
343
427
|
<div class="section" id="required-parameters">
|
344
428
|
<h3>7.3.34.5.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
345
|
-
<p>There are required parameters, <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
429
|
+
<p>There are required parameters, <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>.</p>
|
346
430
|
<div class="section" id="logical-table">
|
347
|
-
<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="Permalink to this headline">¶</a></h4>
|
431
|
+
<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="Permalink to this headline">¶</a></h4>
|
348
432
|
<p>Specifies logical table name. It means table name without
|
349
|
-
<code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
350
|
-
<code class="docutils literal"><span class="pre">Entries_20150708</span></code>, <code class="docutils literal"><span class="pre">Entries_20150709</span></code> and so on, logical table
|
351
|
-
name is <code class="docutils literal"><span class="pre">Entries</span></code>.</p>
|
352
|
-
<p>You can show
|
353
|
-
<code class="docutils literal"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
|
433
|
+
<code class="docutils literal notranslate"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
434
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code>, <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> and so on, logical table
|
435
|
+
name is <code class="docutils literal notranslate"><span class="pre">Entries</span></code>.</p>
|
436
|
+
<p>You can show 5 records by specifying <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and
|
437
|
+
<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
|
354
438
|
<p>Execution example:</p>
|
355
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
439
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Entries --shard_key created_at
|
356
440
|
# [
|
357
441
|
# [
|
358
442
|
# 0,
|
@@ -437,7 +521,7 @@ name is <code class="docutils literal"><span class="pre">Entries</span></code>.<
|
|
437
521
|
</div>
|
438
522
|
<p>If nonexistent table is specified, an error is returned.</p>
|
439
523
|
<p>Execution example:</p>
|
440
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select --logical_table Nonexistent --shard_key created_at
|
524
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select --logical_table Nonexistent --shard_key created_at
|
441
525
|
# [
|
442
526
|
# [
|
443
527
|
# -22,
|
@@ -457,28 +541,28 @@ name is <code class="docutils literal"><span class="pre">Entries</span></code>.<
|
|
457
541
|
</div>
|
458
542
|
</div>
|
459
543
|
<div class="section" id="shard-key">
|
460
|
-
<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="Permalink to this headline">¶</a></h4>
|
544
|
+
<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="Permalink to this headline">¶</a></h4>
|
461
545
|
<p>Specifies column name which is treated as shared key. Shard key is a
|
462
546
|
column that stores data that is used for distributing records to
|
463
547
|
suitable shards.</p>
|
464
|
-
<p>Shard key must be <code class="docutils literal"><span class="pre">Time</span></code> type for now.</p>
|
465
|
-
<p>See <a class="reference internal" href="#logical-select-logical-table"><span class="std std-ref">logical_table</span></a> how to specify <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
548
|
+
<p>Shard key must be <code class="docutils literal notranslate"><span class="pre">Time</span></code> type for now.</p>
|
549
|
+
<p>See <a class="reference internal" href="#logical-select-logical-table"><span class="std std-ref">logical_table</span></a> how to specify <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>.</p>
|
466
550
|
</div>
|
467
551
|
</div>
|
468
552
|
<div class="section" id="optional-parameters">
|
469
553
|
<h3>7.3.34.5.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
470
554
|
<p>There are optional parameters.</p>
|
471
555
|
<div class="section" id="min">
|
472
|
-
<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="Permalink to this headline">¶</a></h4>
|
473
|
-
<p>Specifies the minimum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn
|
474
|
-
have any matched records, the shard isn
|
475
|
-
<p>For example, <code class="docutils literal"><span class="pre">min</span></code> is <code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
476
|
-
isn
|
477
|
-
<code class="docutils literal"><span class="pre">"2015/07/08"</span></code>.</p>
|
478
|
-
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
479
|
-
table. <code class="docutils literal"><span class="pre">Entry_20150708</span></code> isn
|
556
|
+
<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="Permalink to this headline">¶</a></h4>
|
557
|
+
<p>Specifies the minimum value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> column. If shard doesn’t
|
558
|
+
have any matched records, the shard isn’t searched.</p>
|
559
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">min</span></code> is <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>
|
560
|
+
isn’t searched. Because <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> has only records for
|
561
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/08"</span></code>.</p>
|
562
|
+
<p>The following example only uses <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code>
|
563
|
+
table. <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> isn’t used.</p>
|
480
564
|
<p>Execution example:</p>
|
481
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
565
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
482
566
|
--logical_table Entries \
|
483
567
|
--shard_key created_at \
|
484
568
|
--min "2015/07/09 00:00:00"
|
@@ -542,33 +626,33 @@ table. <code class="docutils literal"><span class="pre">Entry_20150708</span></c
|
|
542
626
|
</div>
|
543
627
|
</div>
|
544
628
|
<div class="section" id="min-border">
|
545
|
-
<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="Permalink to this headline">¶</a></h4>
|
629
|
+
<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="Permalink to this headline">¶</a></h4>
|
546
630
|
<p>Specifies whether the minimum value is included or not. Here is
|
547
631
|
available values.</p>
|
548
|
-
<table
|
632
|
+
<table class="docutils align-center">
|
549
633
|
<colgroup>
|
550
|
-
<col
|
551
|
-
<col
|
634
|
+
<col style="width: 50%" />
|
635
|
+
<col style="width: 50%" />
|
552
636
|
</colgroup>
|
553
|
-
<thead
|
554
|
-
<tr class="row-odd"><th class="head">Value</th>
|
555
|
-
<th class="head">Description</th>
|
637
|
+
<thead>
|
638
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
639
|
+
<th class="head"><p>Description</p></th>
|
556
640
|
</tr>
|
557
641
|
</thead>
|
558
|
-
<tbody
|
559
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
560
|
-
<td>Includes <code class="docutils literal"><span class="pre">min</span></code> value. This is the default.</td>
|
642
|
+
<tbody>
|
643
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
644
|
+
<td><p>Includes <code class="docutils literal notranslate"><span class="pre">min</span></code> value. This is the default.</p></td>
|
561
645
|
</tr>
|
562
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
563
|
-
<td>Doesn
|
646
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
647
|
+
<td><p>Doesn’t include <code class="docutils literal notranslate"><span class="pre">min</span></code> value.</p></td>
|
564
648
|
</tr>
|
565
649
|
</tbody>
|
566
650
|
</table>
|
567
|
-
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn
|
568
|
-
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
569
|
-
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
651
|
+
<p>Here is an example for <code class="docutils literal notranslate"><span class="pre">exclude</span></code>. The result doesn’t include the
|
652
|
+
<code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal notranslate"><span class="pre">created_at</span></code> value is
|
653
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
570
654
|
<p>Execution example:</p>
|
571
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
655
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
572
656
|
--logical_table Entries \
|
573
657
|
--shard_key created_at \
|
574
658
|
--min "2015/07/09 00:00:00" \
|
@@ -625,16 +709,16 @@ available values.</p>
|
|
625
709
|
</div>
|
626
710
|
</div>
|
627
711
|
<div class="section" id="max">
|
628
|
-
<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="Permalink to this headline">¶</a></h4>
|
629
|
-
<p>Specifies the maximum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn
|
630
|
-
have any matched records, the shard isn
|
631
|
-
<p>For example, <code class="docutils literal"><span class="pre">max</span></code> is <code class="docutils literal"><span class="pre">"2015/07/08</span> <span class="pre">23:59:59"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
632
|
-
isn
|
633
|
-
<code class="docutils literal"><span class="pre">""2015/07/09"</span></code>.</p>
|
634
|
-
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
635
|
-
table. <code class="docutils literal"><span class="pre">Entry_20150709</span></code> isn
|
712
|
+
<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="Permalink to this headline">¶</a></h4>
|
713
|
+
<p>Specifies the maximum value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> column. If shard doesn’t
|
714
|
+
have any matched records, the shard isn’t searched.</p>
|
715
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">max</span></code> is <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>
|
716
|
+
isn’t searched. Because <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> has only records for
|
717
|
+
<code class="docutils literal notranslate"><span class="pre">""2015/07/09"</span></code>.</p>
|
718
|
+
<p>The following example only uses <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code>
|
719
|
+
table. <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> isn’t used.</p>
|
636
720
|
<p>Execution example:</p>
|
637
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
721
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
638
722
|
--logical_table Entries \
|
639
723
|
--shard_key created_at \
|
640
724
|
--max "2015/07/08 23:59:59"
|
@@ -706,33 +790,33 @@ table. <code class="docutils literal"><span class="pre">Entry_20150709</span></c
|
|
706
790
|
</div>
|
707
791
|
</div>
|
708
792
|
<div class="section" id="max-border">
|
709
|
-
<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="Permalink to this headline">¶</a></h4>
|
793
|
+
<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="Permalink to this headline">¶</a></h4>
|
710
794
|
<p>Specifies whether the maximum value is included or not. Here is
|
711
795
|
available values.</p>
|
712
|
-
<table
|
796
|
+
<table class="docutils align-center">
|
713
797
|
<colgroup>
|
714
|
-
<col
|
715
|
-
<col
|
798
|
+
<col style="width: 50%" />
|
799
|
+
<col style="width: 50%" />
|
716
800
|
</colgroup>
|
717
|
-
<thead
|
718
|
-
<tr class="row-odd"><th class="head">Value</th>
|
719
|
-
<th class="head">Description</th>
|
801
|
+
<thead>
|
802
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
803
|
+
<th class="head"><p>Description</p></th>
|
720
804
|
</tr>
|
721
805
|
</thead>
|
722
|
-
<tbody
|
723
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
724
|
-
<td>Includes <code class="docutils literal"><span class="pre">max</span></code> value. This is the default.</td>
|
806
|
+
<tbody>
|
807
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
808
|
+
<td><p>Includes <code class="docutils literal notranslate"><span class="pre">max</span></code> value. This is the default.</p></td>
|
725
809
|
</tr>
|
726
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
727
|
-
<td>Doesn
|
810
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
811
|
+
<td><p>Doesn’t include <code class="docutils literal notranslate"><span class="pre">max</span></code> value.</p></td>
|
728
812
|
</tr>
|
729
813
|
</tbody>
|
730
814
|
</table>
|
731
|
-
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn
|
732
|
-
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
733
|
-
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
815
|
+
<p>Here is an example for <code class="docutils literal notranslate"><span class="pre">exclude</span></code>. The result doesn’t include the
|
816
|
+
<code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal notranslate"><span class="pre">created_at</span></code> value is
|
817
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
734
818
|
<p>Execution example:</p>
|
735
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
819
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
736
820
|
--logical_table Entries \
|
737
821
|
--shard_key created_at \
|
738
822
|
--max "2015/07/09 00:00:00" \
|
@@ -810,16 +894,16 @@ available values.</p>
|
|
810
894
|
<p>This command provides <a class="reference internal" href="select.html"><span class="doc">select</span></a> compatible search related
|
811
895
|
parameters.</p>
|
812
896
|
<div class="section" id="match-columns">
|
813
|
-
<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="Permalink to this headline">¶</a></h4>
|
897
|
+
<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="Permalink to this headline">¶</a></h4>
|
814
898
|
<div class="versionadded">
|
815
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
899
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
816
900
|
</div>
|
817
901
|
<p>Corresponds to <a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
818
902
|
<a class="reference internal" href="select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> for details.</p>
|
819
|
-
<p>Here is an example to find records that include <code class="docutils literal"><span class="pre">"fast"</span></code> text in
|
820
|
-
<code class="docutils literal"><span class="pre">content</span></code> column:</p>
|
903
|
+
<p>Here is an example to find records that include <code class="docutils literal notranslate"><span class="pre">"fast"</span></code> text in
|
904
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column:</p>
|
821
905
|
<p>Execution example:</p>
|
822
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
906
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
823
907
|
--logical_table Entries \
|
824
908
|
--shard_key created_at \
|
825
909
|
--match_columns content \
|
@@ -884,16 +968,16 @@ parameters.</p>
|
|
884
968
|
</div>
|
885
969
|
</div>
|
886
970
|
<div class="section" id="query">
|
887
|
-
<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="Permalink to this headline">¶</a></h4>
|
971
|
+
<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="Permalink to this headline">¶</a></h4>
|
888
972
|
<div class="versionadded">
|
889
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
973
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
890
974
|
</div>
|
891
975
|
<p>Corresponds to <a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
892
976
|
<a class="reference internal" href="select.html#select-query"><span class="std std-ref">query</span></a> for details.</p>
|
893
|
-
<p>Here is an example to find records that include <code class="docutils literal"><span class="pre">"fast"</span></code> text in
|
894
|
-
<code class="docutils literal"><span class="pre">content</span></code> column:</p>
|
977
|
+
<p>Here is an example to find records that include <code class="docutils literal notranslate"><span class="pre">"fast"</span></code> text in
|
978
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column:</p>
|
895
979
|
<p>Execution example:</p>
|
896
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
980
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
897
981
|
--logical_table Entries \
|
898
982
|
--shard_key created_at \
|
899
983
|
--query "content:@fast"
|
@@ -958,12 +1042,12 @@ parameters.</p>
|
|
958
1042
|
<p>See also <a class="reference internal" href="#logical-select-match-columns"><span class="std std-ref">match_columns</span></a>.</p>
|
959
1043
|
</div>
|
960
1044
|
<div class="section" id="filter">
|
961
|
-
<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="Permalink to this headline">¶</a></h4>
|
1045
|
+
<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="Permalink to this headline">¶</a></h4>
|
962
1046
|
<p>Corresponds to <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
963
1047
|
<a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> for details.</p>
|
964
1048
|
<p>Here is an example:</p>
|
965
1049
|
<p>Execution example:</p>
|
966
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1050
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
967
1051
|
--logical_table Entries \
|
968
1052
|
--shard_key created_at \
|
969
1053
|
--filter "n_likes <= 5"
|
@@ -1034,32 +1118,258 @@ parameters.</p>
|
|
1034
1118
|
</pre></div>
|
1035
1119
|
</div>
|
1036
1120
|
</div>
|
1121
|
+
<div class="section" id="post-filter">
|
1122
|
+
<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="Permalink to this headline">¶</a></h4>
|
1123
|
+
<div class="versionadded">
|
1124
|
+
<p><span class="versionmodified added">New in version 8.0.1.</span></p>
|
1125
|
+
</div>
|
1126
|
+
<p>Specifies the filter text that is processed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage
|
1127
|
+
dynamic columns are generated. You can use <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> to filter
|
1128
|
+
by <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage dynamic columns. Others are the same as
|
1129
|
+
<a class="reference internal" href="#logical-select-filter"><span class="std std-ref">filter</span></a>.</p>
|
1130
|
+
<p>Here is an example that shows entries only in popular tag. All target
|
1131
|
+
entries have <code class="docutils literal notranslate"><span class="pre">system</span></code> or <code class="docutils literal notranslate"><span class="pre">use</span></code> words:</p>
|
1132
|
+
<p>Execution example:</p>
|
1133
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1134
|
+
--logical_table Entries \
|
1135
|
+
--shard_key created_at \
|
1136
|
+
--columns[n_likes_sum_per_tag].stage filtered \
|
1137
|
+
--columns[n_likes_sum_per_tag].type UInt32 \
|
1138
|
+
--columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
|
1139
|
+
--columns[n_likes_sum_per_tag].window.group_keys 'tag' \
|
1140
|
+
--filter 'content @ "system" || content @ "use"' \
|
1141
|
+
--post_filter 'n_likes_sum_per_tag > 10' \
|
1142
|
+
--output_columns _key,n_likes,n_likes_sum_per_tag
|
1143
|
+
# [
|
1144
|
+
# [
|
1145
|
+
# 0,
|
1146
|
+
# 1519030779.410312,
|
1147
|
+
# 0.04758048057556152
|
1148
|
+
# ],
|
1149
|
+
# [
|
1150
|
+
# [
|
1151
|
+
# [
|
1152
|
+
# 2
|
1153
|
+
# ],
|
1154
|
+
# [
|
1155
|
+
# [
|
1156
|
+
# "_key",
|
1157
|
+
# "ShortText"
|
1158
|
+
# ],
|
1159
|
+
# [
|
1160
|
+
# "n_likes",
|
1161
|
+
# "UInt32"
|
1162
|
+
# ],
|
1163
|
+
# [
|
1164
|
+
# "n_likes_sum_per_tag",
|
1165
|
+
# "UInt32"
|
1166
|
+
# ]
|
1167
|
+
# ]
|
1168
|
+
# [
|
1169
|
+
# "Groonga",
|
1170
|
+
# 10,
|
1171
|
+
# 25
|
1172
|
+
# ],
|
1173
|
+
# [
|
1174
|
+
# "Mroonga",
|
1175
|
+
# 15,
|
1176
|
+
# 25
|
1177
|
+
# ]
|
1178
|
+
# ]
|
1179
|
+
# ]
|
1180
|
+
# ]
|
1181
|
+
</pre></div>
|
1182
|
+
</div>
|
1183
|
+
</div>
|
1184
|
+
<div class="section" id="load-table">
|
1185
|
+
<span id="logical-select-load-table"></span><h4>7.3.34.5.3.5. <code class="docutils literal notranslate"><span class="pre">load_table</span></code><a class="headerlink" href="#load-table" title="Permalink to this headline">¶</a></h4>
|
1186
|
+
<div class="versionadded">
|
1187
|
+
<p><span class="versionmodified added">New in version 8.1.1.</span></p>
|
1188
|
+
</div>
|
1189
|
+
<p>You can store specified a table a result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> with <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>, <code class="docutils literal notranslate"><span class="pre">--load-columns</span></code> and <code class="docutils literal notranslate"><span class="pre">--load_values</span></code> arguments.
|
1190
|
+
<code class="docutils literal notranslate"><span class="pre">--load_table</span></code> specifies a table name for storing a result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.</p>
|
1191
|
+
<p>You must specify a table that already exists.</p>
|
1192
|
+
<p>This argument must use with <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a> and <a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a>.</p>
|
1193
|
+
<p>Here is an example that can store <code class="docutils literal notranslate"><span class="pre">_id</span></code> and <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> that a result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> in a Logs table specified by <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p>
|
1194
|
+
<p>Execution example:</p>
|
1195
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Logs_20150203 TABLE_HASH_KEY ShortText
|
1196
|
+
column_create Logs_20150203 timestamp COLUMN_SCALAR Time
|
1197
|
+
table_create Logs_20150204 TABLE_HASH_KEY ShortText
|
1198
|
+
column_create Logs_20150204 timestamp COLUMN_SCALAR Time
|
1199
|
+
|
1200
|
+
table_create Logs TABLE_HASH_KEY ShortText
|
1201
|
+
column_create Logs original_id COLUMN_SCALAR UInt32
|
1202
|
+
column_create Logs timestamp_text COLUMN_SCALAR ShortText
|
1203
|
+
|
1204
|
+
load --table Logs_20150203
|
1205
|
+
[
|
1206
|
+
{
|
1207
|
+
"_key": "2015-02-03:1",
|
1208
|
+
"timestamp": "2015-02-03 10:49:00"
|
1209
|
+
},
|
1210
|
+
{
|
1211
|
+
"_key": "2015-02-03:2",
|
1212
|
+
"timestamp": "2015-02-03 12:49:00"
|
1213
|
+
}
|
1214
|
+
]
|
1215
|
+
load --table Logs_20150204
|
1216
|
+
[
|
1217
|
+
{
|
1218
|
+
"_key": "2015-02-04:1",
|
1219
|
+
"timestamp": "2015-02-04 00:00:00"
|
1220
|
+
}
|
1221
|
+
]
|
1222
|
+
logical_select \
|
1223
|
+
--logical_table Logs \
|
1224
|
+
--shard_key timestamp \
|
1225
|
+
--load_table Logs \
|
1226
|
+
--load_columns "original_id, timestamp_text" \
|
1227
|
+
--load_values "_id, timestamp"
|
1228
|
+
# [
|
1229
|
+
# [
|
1230
|
+
# 0,
|
1231
|
+
# 0.0,
|
1232
|
+
# 0.0
|
1233
|
+
# ],
|
1234
|
+
# [
|
1235
|
+
# [
|
1236
|
+
# [
|
1237
|
+
# 3
|
1238
|
+
# ],
|
1239
|
+
# [
|
1240
|
+
# [
|
1241
|
+
# "_id",
|
1242
|
+
# "UInt32"
|
1243
|
+
# ],
|
1244
|
+
# [
|
1245
|
+
# "_key",
|
1246
|
+
# "ShortText"
|
1247
|
+
# ],
|
1248
|
+
# [
|
1249
|
+
# "timestamp",
|
1250
|
+
# "Time"
|
1251
|
+
# ]
|
1252
|
+
# ],
|
1253
|
+
# [
|
1254
|
+
# 1,
|
1255
|
+
# "2015-02-03:1",
|
1256
|
+
# 1422928140.0
|
1257
|
+
# ],
|
1258
|
+
# [
|
1259
|
+
# 2,
|
1260
|
+
# "2015-02-03:2",
|
1261
|
+
# 1422935340.0
|
1262
|
+
# ],
|
1263
|
+
# [
|
1264
|
+
# 1,
|
1265
|
+
# "2015-02-04:1",
|
1266
|
+
# 1422975600.0
|
1267
|
+
# ]
|
1268
|
+
# ]
|
1269
|
+
# ]
|
1270
|
+
# ]
|
1271
|
+
select --table Logs
|
1272
|
+
# [
|
1273
|
+
# [
|
1274
|
+
# 0,
|
1275
|
+
# 0.0,
|
1276
|
+
# 0.0
|
1277
|
+
# ],
|
1278
|
+
# [
|
1279
|
+
# [
|
1280
|
+
# [
|
1281
|
+
# 3
|
1282
|
+
# ],
|
1283
|
+
# [
|
1284
|
+
# [
|
1285
|
+
# "_id",
|
1286
|
+
# "UInt32"
|
1287
|
+
# ],
|
1288
|
+
# [
|
1289
|
+
# "_key",
|
1290
|
+
# "ShortText"
|
1291
|
+
# ],
|
1292
|
+
# [
|
1293
|
+
# "original_id",
|
1294
|
+
# "UInt32"
|
1295
|
+
# ],
|
1296
|
+
# [
|
1297
|
+
# "timestamp_text",
|
1298
|
+
# "ShortText"
|
1299
|
+
# ]
|
1300
|
+
# ],
|
1301
|
+
# [
|
1302
|
+
# 1,
|
1303
|
+
# "2015-02-03:1",
|
1304
|
+
# 1,
|
1305
|
+
# "1422928140000000"
|
1306
|
+
# ],
|
1307
|
+
# [
|
1308
|
+
# 2,
|
1309
|
+
# "2015-02-03:2",
|
1310
|
+
# 2,
|
1311
|
+
# "1422935340000000"
|
1312
|
+
# ],
|
1313
|
+
# [
|
1314
|
+
# 3,
|
1315
|
+
# "2015-02-04:1",
|
1316
|
+
# 1,
|
1317
|
+
# "1422975600000000"
|
1318
|
+
# ]
|
1319
|
+
# ]
|
1320
|
+
# ]
|
1321
|
+
# ]
|
1322
|
+
</pre></div>
|
1323
|
+
</div>
|
1324
|
+
</div>
|
1325
|
+
<div class="section" id="load-columns">
|
1326
|
+
<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="Permalink to this headline">¶</a></h4>
|
1327
|
+
<div class="versionadded">
|
1328
|
+
<p><span class="versionmodified added">New in version 8.1.1.</span></p>
|
1329
|
+
</div>
|
1330
|
+
<p>Specifies columns of a table that specifying <code class="docutils literal notranslate"><span class="pre">--load-table</span></code>.
|
1331
|
+
Stores value of columns that specified with <a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a> in columns that specified with this argument.
|
1332
|
+
You must specify columns that already exists.</p>
|
1333
|
+
<p>This argument must use with <a class="reference internal" href="#logical-select-load-table"><span class="std std-ref">load_table</span></a> and <a class="reference internal" href="#logical-select-load-values"><span class="std std-ref">load_values</span></a>.</p>
|
1334
|
+
<p>See example of <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> for how to use this argument.</p>
|
1335
|
+
</div>
|
1336
|
+
<div class="section" id="load-values">
|
1337
|
+
<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="Permalink to this headline">¶</a></h4>
|
1338
|
+
<div class="versionadded">
|
1339
|
+
<p><span class="versionmodified added">New in version 8.1.1.</span></p>
|
1340
|
+
</div>
|
1341
|
+
<p>Specifies columns of result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.
|
1342
|
+
Specifies columns for storing values into columns that specified with <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a>.
|
1343
|
+
You must specify columns that already exists.</p>
|
1344
|
+
<p>This argument must use with <a class="reference internal" href="#logical-select-load-table"><span class="std std-ref">load_table</span></a> and <a class="reference internal" href="#logical-select-load-columns"><span class="std std-ref">load_columns</span></a>.</p>
|
1345
|
+
<p>See example of <code class="docutils literal notranslate"><span class="pre">--load_table</span></code> for how to use this argument.</p>
|
1346
|
+
</div>
|
1037
1347
|
</div>
|
1038
1348
|
<div class="section" id="advanced-search-parameters">
|
1039
1349
|
<span id="logical-select-advanced-search-parameters"></span><h3>7.3.34.5.4. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
1040
|
-
<p><code class="docutils literal"><span class="pre">logical_select</span></code> doesn
|
1350
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> doesn’t implement advanced search parameters yet.</p>
|
1041
1351
|
<div class="section" id="match-escalation-threshold">
|
1042
|
-
<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="Permalink to this headline">¶</a></h4>
|
1352
|
+
<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="Permalink to this headline">¶</a></h4>
|
1043
1353
|
<p>Not implemented yet.</p>
|
1044
1354
|
</div>
|
1045
1355
|
<div class="section" id="query-flags">
|
1046
|
-
<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="Permalink to this headline">¶</a></h4>
|
1356
|
+
<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="Permalink to this headline">¶</a></h4>
|
1047
1357
|
<p>Not implemented yet.</p>
|
1048
1358
|
</div>
|
1049
1359
|
<div class="section" id="query-expander">
|
1050
|
-
<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="Permalink to this headline">¶</a></h4>
|
1360
|
+
<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="Permalink to this headline">¶</a></h4>
|
1051
1361
|
<p>Not implemented yet.</p>
|
1052
1362
|
</div>
|
1053
1363
|
</div>
|
1054
1364
|
<div class="section" id="output-related-parameters">
|
1055
1365
|
<h3>7.3.34.5.5. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1056
1366
|
<div class="section" id="output-columns">
|
1057
|
-
<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="Permalink to this headline">¶</a></h4>
|
1367
|
+
<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="Permalink to this headline">¶</a></h4>
|
1058
1368
|
<p>Corresponds to <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1059
1369
|
<a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> for details.</p>
|
1060
1370
|
<p>Here is an example:</p>
|
1061
1371
|
<p>Execution example:</p>
|
1062
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1372
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1063
1373
|
--logical_table Entries \
|
1064
1374
|
--shard_key created_at \
|
1065
1375
|
--output_columns '_key, *'
|
@@ -1138,30 +1448,30 @@ parameters.</p>
|
|
1138
1448
|
</div>
|
1139
1449
|
</div>
|
1140
1450
|
<div class="section" id="sortby">
|
1141
|
-
<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="Permalink to this headline">¶</a></h4>
|
1451
|
+
<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="Permalink to this headline">¶</a></h4>
|
1142
1452
|
<div class="deprecated">
|
1143
|
-
<p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> instead.</p>
|
1453
|
+
<p><span class="versionmodified deprecated">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-sort-keys"><span class="std std-ref">sort_keys</span></a> instead.</p>
|
1144
1454
|
</div>
|
1145
1455
|
</div>
|
1146
1456
|
<div class="section" id="sort-keys">
|
1147
|
-
<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="Permalink to this headline">¶</a></h4>
|
1457
|
+
<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="Permalink to this headline">¶</a></h4>
|
1148
1458
|
<p>Corresponds to <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1149
1459
|
<a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> for details.</p>
|
1150
|
-
<p><code class="docutils literal"><span class="pre">sort_keys</span></code> has a limitation. It works only when the number of
|
1460
|
+
<p><code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> has a limitation. It works only when the number of
|
1151
1461
|
search target shards is one. If the number of search target shards is
|
1152
|
-
larger than one, <code class="docutils literal"><span class="pre">sort_keys</span></code> doesn
|
1462
|
+
larger than one, <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> doesn’t work.</p>
|
1153
1463
|
<div class="admonition note">
|
1154
|
-
<p class="
|
1155
|
-
<p
|
1156
|
-
specified for <code class="docutils literal"><span class="pre">shard_key</span></code> and <code class="docutils literal"><span class="pre">sort_keys</span></code>, they are supported.
|
1157
|
-
|
1464
|
+
<p class="admonition-title">Note</p>
|
1465
|
+
<p>There is one exception for multiple shards. When the same value is
|
1466
|
+
specified for <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> and <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code>, they are supported.
|
1467
|
+
This command processes target shards one by one by ascending
|
1158
1468
|
order. Thus, in this process, magnitude correlation about the value
|
1159
|
-
of <code class="docutils literal"><span class="pre">shard_key</span></code> is kept among them. This is because <code class="docutils literal"><span class="pre">sort_keys</span></code>
|
1160
|
-
is supported when <code class="docutils literal"><span class="pre">shard_key</span></code> and <code class="docutils literal"><span class="pre">sort_keys</span></code> is same.</p>
|
1469
|
+
of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> is kept among them. This is because <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code>
|
1470
|
+
is supported when <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> and <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> is same.</p>
|
1161
1471
|
</div>
|
1162
1472
|
<p>Here is an example that uses only one shard:</p>
|
1163
1473
|
<p>Execution example:</p>
|
1164
|
-
<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 \
|
1165
1475
|
--logical_table Entries \
|
1166
1476
|
--shard_key created_at \
|
1167
1477
|
--min "2015/07/08 00:00:00" \
|
@@ -1237,12 +1547,12 @@ is supported when <code class="docutils literal"><span class="pre">shard_key</sp
|
|
1237
1547
|
</div>
|
1238
1548
|
</div>
|
1239
1549
|
<div class="section" id="offset">
|
1240
|
-
<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="Permalink to this headline">¶</a></h4>
|
1550
|
+
<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="Permalink to this headline">¶</a></h4>
|
1241
1551
|
<p>Corresponds to <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1242
1552
|
<a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> for details.</p>
|
1243
1553
|
<p>Here is an example:</p>
|
1244
1554
|
<p>Execution example:</p>
|
1245
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1555
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1246
1556
|
--logical_table Entries \
|
1247
1557
|
--shard_key created_at \
|
1248
1558
|
--offset 2
|
@@ -1314,12 +1624,12 @@ is supported when <code class="docutils literal"><span class="pre">shard_key</sp
|
|
1314
1624
|
</div>
|
1315
1625
|
</div>
|
1316
1626
|
<div class="section" id="limit">
|
1317
|
-
<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="Permalink to this headline">¶</a></h4>
|
1627
|
+
<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="Permalink to this headline">¶</a></h4>
|
1318
1628
|
<p>Corresponds to <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1319
1629
|
<a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> for details.</p>
|
1320
1630
|
<p>Here is an example:</p>
|
1321
1631
|
<p>Execution example:</p>
|
1322
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1632
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1323
1633
|
--logical_table Entries \
|
1324
1634
|
--shard_key created_at \
|
1325
1635
|
--limit 2
|
@@ -1383,31 +1693,31 @@ is supported when <code class="docutils literal"><span class="pre">shard_key</sp
|
|
1383
1693
|
</div>
|
1384
1694
|
</div>
|
1385
1695
|
<div class="section" id="scorer">
|
1386
|
-
<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="Permalink to this headline">¶</a></h4>
|
1696
|
+
<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="Permalink to this headline">¶</a></h4>
|
1387
1697
|
<p>Not implemented yet.</p>
|
1388
1698
|
</div>
|
1389
1699
|
</div>
|
1390
1700
|
<div class="section" id="dynamic-column-related-parameters">
|
1391
1701
|
<span id="logical-select-dynamic-column-related-parameters"></span><h3>7.3.34.5.6. Dynamic column related parameters<a class="headerlink" href="#dynamic-column-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1392
1702
|
<div class="versionadded">
|
1393
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
1703
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1394
1704
|
</div>
|
1395
1705
|
<p>All dynamic column related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
1396
1706
|
supported. See <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">Dynamic column related parameters</span></a> for
|
1397
1707
|
details.</p>
|
1398
1708
|
<div class="section" id="columns-name-stage">
|
1399
|
-
<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="Permalink to this headline">¶</a></h4>
|
1709
|
+
<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="Permalink to this headline">¶</a></h4>
|
1400
1710
|
<div class="versionadded">
|
1401
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
1711
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1402
1712
|
</div>
|
1403
1713
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1404
1714
|
<a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> for details.</p>
|
1405
1715
|
<p>This is a required parameter.</p>
|
1406
|
-
<p>Here is an example that creates <code class="docutils literal"><span class="pre">is_popular</span></code> column at <code class="docutils literal"><span class="pre">initial</span></code>
|
1407
|
-
stage. You can use <code class="docutils literal"><span class="pre">is_popular</span></code> in all parameters such as <code class="docutils literal"><span class="pre">filter</span></code>
|
1408
|
-
and <code class="docutils literal"><span class="pre">output_columns</span></code>:</p>
|
1716
|
+
<p>Here is an example that creates <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> column at <code class="docutils literal notranslate"><span class="pre">initial</span></code>
|
1717
|
+
stage. You can use <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> in all parameters such as <code class="docutils literal notranslate"><span class="pre">filter</span></code>
|
1718
|
+
and <code class="docutils literal notranslate"><span class="pre">output_columns</span></code>:</p>
|
1409
1719
|
<p>Execution example:</p>
|
1410
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1720
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1411
1721
|
--logical_table Entries \
|
1412
1722
|
--shard_key created_at \
|
1413
1723
|
--columns[is_popular].stage initial \
|
@@ -1457,18 +1767,18 @@ and <code class="docutils literal"><span class="pre">output_columns</span></code
|
|
1457
1767
|
</div>
|
1458
1768
|
</div>
|
1459
1769
|
<div class="section" id="columns-name-flags">
|
1460
|
-
<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="Permalink to this headline">¶</a></h4>
|
1770
|
+
<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="Permalink to this headline">¶</a></h4>
|
1461
1771
|
<div class="versionadded">
|
1462
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
1772
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1463
1773
|
</div>
|
1464
1774
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1465
1775
|
<a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> for details.</p>
|
1466
|
-
<p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
1467
|
-
<p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
|
1468
|
-
flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
1776
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
1777
|
+
<p>Here is an example that creates a vector column by <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>
|
1778
|
+
flags. <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
1469
1779
|
<a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
|
1470
1780
|
<p>Execution example:</p>
|
1471
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
1781
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
1472
1782
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1473
1783
|
logical_select \
|
1474
1784
|
--logical_table Entries \
|
@@ -1546,18 +1856,18 @@ logical_select \
|
|
1546
1856
|
</div>
|
1547
1857
|
</div>
|
1548
1858
|
<div class="section" id="columns-name-type">
|
1549
|
-
<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="Permalink to this headline">¶</a></h4>
|
1859
|
+
<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="Permalink to this headline">¶</a></h4>
|
1550
1860
|
<div class="versionadded">
|
1551
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
1861
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1552
1862
|
</div>
|
1553
1863
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1554
1864
|
<a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> for details.</p>
|
1555
1865
|
<p>This is a required parameter.</p>
|
1556
|
-
<p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
|
1557
|
-
value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
|
1558
|
-
number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
|
1866
|
+
<p>Here is an example that creates a <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type column. Stored
|
1867
|
+
value is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> automatically. In this example,
|
1868
|
+
number is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>:</p>
|
1559
1869
|
<p>Execution example:</p>
|
1560
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
1870
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1561
1871
|
--logical_table Entries \
|
1562
1872
|
--shard_key created_at \
|
1563
1873
|
--columns[n_likes_string].stage initial \
|
@@ -1621,13 +1931,13 @@ number is casted to <code class="docutils literal"><span class="pre">ShortText</
|
|
1621
1931
|
</div>
|
1622
1932
|
</div>
|
1623
1933
|
<div class="section" id="columns-name-value">
|
1624
|
-
<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="Permalink to this headline">¶</a></h4>
|
1934
|
+
<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="Permalink to this headline">¶</a></h4>
|
1625
1935
|
<div class="versionadded">
|
1626
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
1936
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1627
1937
|
</div>
|
1628
1938
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1629
1939
|
<a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> for details.</p>
|
1630
|
-
<p>You need to specify <a class="reference internal" href="../window_function.html"><span class="doc">Window function</span></a> as <code class="docutils literal"><span class="pre">value</span></code>
|
1940
|
+
<p>You need to specify <a class="reference internal" href="../window_function.html"><span class="doc">Window function</span></a> as <code class="docutils literal notranslate"><span class="pre">value</span></code>
|
1631
1941
|
value and other window function related parameters when you use window
|
1632
1942
|
function. See <a class="reference internal" href="#logical-select-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a>
|
1633
1943
|
for details.</p>
|
@@ -1635,11 +1945,11 @@ for details.</p>
|
|
1635
1945
|
<p>Here is an example that creates a new dynamic column that stores the
|
1636
1946
|
number of characters of content. This example uses
|
1637
1947
|
<a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
|
1638
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
1948
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
1639
1949
|
string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
|
1640
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
|
1950
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin:</p>
|
1641
1951
|
<p>Execution example:</p>
|
1642
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1952
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1643
1953
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1644
1954
|
logical_select \
|
1645
1955
|
--logical_table Entries \
|
@@ -1708,19 +2018,111 @@ logical_select \
|
|
1708
2018
|
<div class="section" id="window-function-related-parameters">
|
1709
2019
|
<span id="logical-select-window-function-related-parameters"></span><h3>7.3.34.5.7. Window function related parameters<a class="headerlink" href="#window-function-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1710
2020
|
<div class="versionadded">
|
1711
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
2021
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1712
2022
|
</div>
|
1713
2023
|
<p>All window function related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
1714
2024
|
supported. See <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a> for
|
1715
2025
|
details.</p>
|
1716
2026
|
<div class="admonition note">
|
1717
|
-
<p class="
|
1718
|
-
<p
|
2027
|
+
<p class="admonition-title">Note</p>
|
2028
|
+
<p>Window function over multiple tables aren’t supported version 9.0.1 or before.
|
2029
|
+
Groonga supported it since version 9.0.2 or later.
|
2030
|
+
However, we need to align the same order for shard key and leading group key or sort key.</p>
|
2031
|
+
<p>For example, we can apply the window function to over multiple tables as below case.
|
2032
|
+
Because the below example aligns the same order for shard key and leading group key.</p>
|
2033
|
+
<p>The leading group key is <code class="docutils literal notranslate"><span class="pre">price</span></code> and shard key is <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> in the below example.
|
2034
|
+
We can apply the window function to over multiple tables in the below example.
|
2035
|
+
Because <code class="docutils literal notranslate"><span class="pre">price</span></code> and <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> aligns the same order.</p>
|
2036
|
+
</div>
|
2037
|
+
<p>Execution example:</p>
|
2038
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
2039
|
+
|
2040
|
+
table_create Logs_20170415 TABLE_NO_KEY
|
2041
|
+
column_create Logs_20170415 timestamp COLUMN_SCALAR Time
|
2042
|
+
column_create Logs_20170415 price COLUMN_SCALAR UInt32
|
2043
|
+
column_create Logs_20170415 n_likes COLUMN_SCALAR UInt32
|
2044
|
+
|
2045
|
+
table_create Logs_20170416 TABLE_NO_KEY
|
2046
|
+
column_create Logs_20170416 timestamp COLUMN_SCALAR Time
|
2047
|
+
column_create Logs_20170416 price COLUMN_SCALAR UInt32
|
2048
|
+
column_create Logs_20170416 n_likes COLUMN_SCALAR UInt32
|
2049
|
+
|
2050
|
+
load --table Logs_20170415
|
2051
|
+
[
|
2052
|
+
{"timestamp": "2017/04/15 00:00:00", "n_likes": 2, "price": 100},
|
2053
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 1, "price": 100},
|
2054
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 2, "price": 200}
|
2055
|
+
]
|
2056
|
+
|
2057
|
+
load --table Logs_20170416
|
2058
|
+
[
|
2059
|
+
{"timestamp": "2017/04/16 10:00:00", "n_likes": 1, "price": 200},
|
2060
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 2, "price": 300},
|
2061
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 1, "price": 300}
|
2062
|
+
]
|
2063
|
+
|
2064
|
+
logical_select Logs \
|
2065
|
+
--shard_key timestamp \
|
2066
|
+
--columns[count].stage initial \
|
2067
|
+
--columns[count].type UInt32 \
|
2068
|
+
--columns[count].flags COLUMN_SCALAR \
|
2069
|
+
--columns[count].value 'window_count()' \
|
2070
|
+
--columns[count].window.group_keys price \
|
2071
|
+
--output_columns price,count
|
2072
|
+
# [
|
2073
|
+
# [
|
2074
|
+
# 0,
|
2075
|
+
# 0.0,
|
2076
|
+
# 0.0
|
2077
|
+
# ],
|
2078
|
+
# [
|
2079
|
+
# [
|
2080
|
+
# [
|
2081
|
+
# 6
|
2082
|
+
# ],
|
2083
|
+
# [
|
2084
|
+
# [
|
2085
|
+
# "price",
|
2086
|
+
# "UInt32"
|
2087
|
+
# ],
|
2088
|
+
# [
|
2089
|
+
# "count",
|
2090
|
+
# "UInt32"
|
2091
|
+
# ]
|
2092
|
+
# ],
|
2093
|
+
# [
|
2094
|
+
# 100,
|
2095
|
+
# 2
|
2096
|
+
# ],
|
2097
|
+
# [
|
2098
|
+
# 100,
|
2099
|
+
# 2
|
2100
|
+
# ],
|
2101
|
+
# [
|
2102
|
+
# 200,
|
2103
|
+
# 2
|
2104
|
+
# ],
|
2105
|
+
# [
|
2106
|
+
# 200,
|
2107
|
+
# 2
|
2108
|
+
# ],
|
2109
|
+
# [
|
2110
|
+
# 300,
|
2111
|
+
# 2
|
2112
|
+
# ],
|
2113
|
+
# [
|
2114
|
+
# 300,
|
2115
|
+
# 2
|
2116
|
+
# ]
|
2117
|
+
# ]
|
2118
|
+
# ]
|
2119
|
+
# ]
|
2120
|
+
</pre></div>
|
1719
2121
|
</div>
|
1720
2122
|
<div class="section" id="columns-name-window-sort-keys">
|
1721
|
-
<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="Permalink to this headline">¶</a></h4>
|
2123
|
+
<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="Permalink to this headline">¶</a></h4>
|
1722
2124
|
<div class="versionadded">
|
1723
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
2125
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1724
2126
|
</div>
|
1725
2127
|
<p>Corresponds to <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> in
|
1726
2128
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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> for
|
@@ -1729,9 +2131,9 @@ details.</p>
|
|
1729
2131
|
or <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
|
1730
2132
|
function.</p>
|
1731
2133
|
<p>Here is an example that computes cumulative sum per
|
1732
|
-
<code class="docutils literal"><span class="pre">Entries.tag</span></code>. Each group is sorted by <code class="docutils literal"><span class="pre">Entries._key</span></code>:</p>
|
2134
|
+
<code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code>. Each group is sorted by <code class="docutils literal notranslate"><span class="pre">Entries._key</span></code>:</p>
|
1733
2135
|
<p>Execution example:</p>
|
1734
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2136
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1735
2137
|
--logical_table Entries \
|
1736
2138
|
--shard_key created_at \
|
1737
2139
|
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
@@ -1807,9 +2209,9 @@ function.</p>
|
|
1807
2209
|
</div>
|
1808
2210
|
</div>
|
1809
2211
|
<div class="section" id="columns-name-window-group-keys">
|
1810
|
-
<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="Permalink to this headline">¶</a></h4>
|
2212
|
+
<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="Permalink to this headline">¶</a></h4>
|
1811
2213
|
<div class="versionadded">
|
1812
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
2214
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
1813
2215
|
</div>
|
1814
2216
|
<p>Corresponds to <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> in
|
1815
2217
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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> for
|
@@ -1817,9 +2219,9 @@ details.</p>
|
|
1817
2219
|
<p>You must specify <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a>
|
1818
2220
|
or <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
|
1819
2221
|
function.</p>
|
1820
|
-
<p>Here is an example that computes sum per <code class="docutils literal"><span class="pre">Entries.tag</span></code>:</p>
|
2222
|
+
<p>Here is an example that computes sum per <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code>:</p>
|
1821
2223
|
<p>Execution example:</p>
|
1822
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2224
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1823
2225
|
--logical_table Entries \
|
1824
2226
|
--shard_key created_at \
|
1825
2227
|
--columns[n_likes_sum_per_tag].stage initial \
|
@@ -1899,12 +2301,12 @@ function.</p>
|
|
1899
2301
|
<p>All drilldown related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are supported. See
|
1900
2302
|
<a class="reference internal" href="select.html#select-drilldown-related-parameters"><span class="std std-ref">Drilldown related parameters</span></a> for details.</p>
|
1901
2303
|
<div class="section" id="drilldown">
|
1902
|
-
<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="Permalink to this headline">¶</a></h4>
|
2304
|
+
<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="Permalink to this headline">¶</a></h4>
|
1903
2305
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1904
2306
|
<a class="reference internal" href="select.html#select-drilldown"><span class="std std-ref">drilldown</span></a> for details.</p>
|
1905
2307
|
<p>Here is an example:</p>
|
1906
2308
|
<p>Execution example:</p>
|
1907
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2309
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1908
2310
|
--logical_table Entries \
|
1909
2311
|
--shard_key created_at \
|
1910
2312
|
--output_columns _key,tag \
|
@@ -1984,18 +2386,18 @@ function.</p>
|
|
1984
2386
|
</div>
|
1985
2387
|
</div>
|
1986
2388
|
<div class="section" id="drilldown-sortby">
|
1987
|
-
<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="Permalink to this headline">¶</a></h4>
|
2389
|
+
<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="Permalink to this headline">¶</a></h4>
|
1988
2390
|
<div class="deprecated">
|
1989
|
-
<p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> instead.</p>
|
2391
|
+
<p><span class="versionmodified deprecated">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> instead.</p>
|
1990
2392
|
</div>
|
1991
2393
|
</div>
|
1992
2394
|
<div class="section" id="drilldown-sort-keys">
|
1993
|
-
<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="Permalink to this headline">¶</a></h4>
|
2395
|
+
<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="Permalink to this headline">¶</a></h4>
|
1994
2396
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
1995
2397
|
<a class="reference internal" href="select.html#select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> for details.</p>
|
1996
2398
|
<p>Here is an example:</p>
|
1997
2399
|
<p>Execution example:</p>
|
1998
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2400
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
1999
2401
|
--logical_table Entries \
|
2000
2402
|
--shard_key created_at \
|
2001
2403
|
--limit 0 \
|
@@ -2053,12 +2455,12 @@ function.</p>
|
|
2053
2455
|
</div>
|
2054
2456
|
</div>
|
2055
2457
|
<div class="section" id="drilldown-output-columns">
|
2056
|
-
<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="Permalink to this headline">¶</a></h4>
|
2458
|
+
<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="Permalink to this headline">¶</a></h4>
|
2057
2459
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> in
|
2058
2460
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-output-columns"><span class="std std-ref">drilldown_output_columns</span></a> for details.</p>
|
2059
2461
|
<p>Here is an example:</p>
|
2060
2462
|
<p>Execution example:</p>
|
2061
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2463
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2062
2464
|
--logical_table Entries \
|
2063
2465
|
--shard_key created_at \
|
2064
2466
|
--limit 0 \
|
@@ -2109,12 +2511,12 @@ function.</p>
|
|
2109
2511
|
</div>
|
2110
2512
|
</div>
|
2111
2513
|
<div class="section" id="drilldown-offset">
|
2112
|
-
<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="Permalink to this headline">¶</a></h4>
|
2514
|
+
<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="Permalink to this headline">¶</a></h4>
|
2113
2515
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
2114
2516
|
<a class="reference internal" href="select.html#select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> for details.</p>
|
2115
2517
|
<p>Here is an example:</p>
|
2116
2518
|
<p>Execution example:</p>
|
2117
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2519
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2118
2520
|
--logical_table Entries \
|
2119
2521
|
--shard_key created_at \
|
2120
2522
|
--limit 0 \
|
@@ -2168,12 +2570,12 @@ function.</p>
|
|
2168
2570
|
</div>
|
2169
2571
|
</div>
|
2170
2572
|
<div class="section" id="drilldown-limit">
|
2171
|
-
<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="Permalink to this headline">¶</a></h4>
|
2573
|
+
<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="Permalink to this headline">¶</a></h4>
|
2172
2574
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
2173
2575
|
<a class="reference internal" href="select.html#select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> for details.</p>
|
2174
2576
|
<p>Here is an example:</p>
|
2175
2577
|
<p>Execution example:</p>
|
2176
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2578
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2177
2579
|
--logical_table Entries \
|
2178
2580
|
--shard_key created_at \
|
2179
2581
|
--limit 0 \
|
@@ -2227,12 +2629,12 @@ function.</p>
|
|
2227
2629
|
</div>
|
2228
2630
|
</div>
|
2229
2631
|
<div class="section" id="drilldown-calc-types">
|
2230
|
-
<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="Permalink to this headline">¶</a></h4>
|
2632
|
+
<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="Permalink to this headline">¶</a></h4>
|
2231
2633
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in
|
2232
2634
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for details.</p>
|
2233
2635
|
<p>Here is an example:</p>
|
2234
2636
|
<p>Execution example:</p>
|
2235
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2637
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2236
2638
|
--logical_table Entries \
|
2237
2639
|
--shard_key created_at \
|
2238
2640
|
--limit -1 \
|
@@ -2344,22 +2746,22 @@ function.</p>
|
|
2344
2746
|
</div>
|
2345
2747
|
</div>
|
2346
2748
|
<div class="section" id="drilldown-calc-target">
|
2347
|
-
<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="Permalink to this headline">¶</a></h4>
|
2749
|
+
<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="Permalink to this headline">¶</a></h4>
|
2348
2750
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in
|
2349
2751
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> for details.</p>
|
2350
2752
|
<p>See also <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> for an example.</p>
|
2351
2753
|
</div>
|
2352
2754
|
<div class="section" id="drilldown-filter">
|
2353
|
-
<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="Permalink to this headline">¶</a></h4>
|
2755
|
+
<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="Permalink to this headline">¶</a></h4>
|
2354
2756
|
<div class="versionadded">
|
2355
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
2757
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
2356
2758
|
</div>
|
2357
2759
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> in
|
2358
2760
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> for details.</p>
|
2359
2761
|
<p>Here is an example to suppress drilled down tags that are occurred
|
2360
2762
|
only once:</p>
|
2361
2763
|
<p>Execution example:</p>
|
2362
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2764
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2363
2765
|
--logical_table Entries \
|
2364
2766
|
--shard_key created_at \
|
2365
2767
|
--limit 0 \
|
@@ -2422,19 +2824,19 @@ details.</p>
|
|
2422
2824
|
<p>There are some limitations:</p>
|
2423
2825
|
<blockquote>
|
2424
2826
|
<div><ul class="simple">
|
2425
|
-
<li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
|
2426
|
-
doesn
|
2427
|
-
shard. <code class="docutils literal"><span class="pre">_key</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_key</span></code> work with
|
2428
|
-
multiple shards.</li>
|
2827
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code>
|
2828
|
+
doesn’t work with multiple shards. It works with one
|
2829
|
+
shard. <code class="docutils literal notranslate"><span class="pre">_key</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_key</span></code> work with
|
2830
|
+
multiple shards.</p></li>
|
2429
2831
|
</ul>
|
2430
2832
|
</div></blockquote>
|
2431
2833
|
<div class="section" id="drilldowns-label-keys">
|
2432
|
-
<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="Permalink to this headline">¶</a></h4>
|
2834
|
+
<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="Permalink to this headline">¶</a></h4>
|
2433
2835
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> in
|
2434
2836
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldowns-label-keys"><span class="std std-ref">drilldowns[${LABEL}].keys</span></a> for details.</p>
|
2435
2837
|
<p>Here is an example:</p>
|
2436
2838
|
<p>Execution example:</p>
|
2437
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2839
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2438
2840
|
--logical_table Entries \
|
2439
2841
|
--shard_key created_at \
|
2440
2842
|
--limit 0 \
|
@@ -2506,13 +2908,16 @@ multiple shards.</li>
|
|
2506
2908
|
</div>
|
2507
2909
|
</div>
|
2508
2910
|
<div class="section" id="drilldowns-label-output-columns">
|
2509
|
-
<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="Permalink to this headline">¶</a></h4>
|
2911
|
+
<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="Permalink to this headline">¶</a></h4>
|
2510
2912
|
<p>Corresponds to <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> in
|
2511
2913
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-drilldowns-label-output-columns"><span class="std std-ref">drilldowns[${LABEL}].output_columns</span></a> for
|
2512
2914
|
details.</p>
|
2915
|
+
<p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code> has a limitation.</p>
|
2916
|
+
<p><code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].output_columns</span></code> doesn’t
|
2917
|
+
work with multiple shards. It works with one shard.</p>
|
2513
2918
|
<p>Here is an example:</p>
|
2514
2919
|
<p>Execution example:</p>
|
2515
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2920
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2516
2921
|
--logical_table Entries \
|
2517
2922
|
--shard_key created_at \
|
2518
2923
|
--limit 0 \
|
@@ -2572,23 +2977,23 @@ details.</p>
|
|
2572
2977
|
</div>
|
2573
2978
|
</div>
|
2574
2979
|
<div class="section" id="drilldowns-label-sortby">
|
2575
|
-
<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="Permalink to this headline">¶</a></h4>
|
2980
|
+
<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="Permalink to this headline">¶</a></h4>
|
2576
2981
|
<div class="deprecated">
|
2577
|
-
<p><span class="versionmodified">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> instead.</p>
|
2982
|
+
<p><span class="versionmodified deprecated">Deprecated since version 6.1.5: </span>Use <a class="reference internal" href="#logical-select-drilldowns-label-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].sort_keys</span></a> instead.</p>
|
2578
2983
|
</div>
|
2579
2984
|
</div>
|
2580
2985
|
<div class="section" id="drilldowns-label-sort-keys">
|
2581
|
-
<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="Permalink to this headline">¶</a></h4>
|
2986
|
+
<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="Permalink to this headline">¶</a></h4>
|
2582
2987
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-sort-keys"><span class="std std-ref">drilldown_sort_keys</span></a> in not
|
2583
2988
|
labeled drilldown.</p>
|
2584
|
-
<p><code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> has a limitation.</p>
|
2585
|
-
<p><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> doesn
|
2586
|
-
work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
|
2587
|
-
<code class="docutils literal"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with multiple shards.</p>
|
2588
|
-
<p>Here is an example that uses <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> with only one
|
2989
|
+
<p><code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> has a limitation.</p>
|
2990
|
+
<p><code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> doesn’t
|
2991
|
+
work with multiple shards. It works with one shard. <code class="docutils literal notranslate"><span class="pre">_key</span></code> in
|
2992
|
+
<code class="docutils literal notranslate"><span class="pre">drilldowns[${LABEL}].sort_keys</span></code> work with multiple shards.</p>
|
2993
|
+
<p>Here is an example that uses <code class="docutils literal notranslate"><span class="pre">_value.${KEY_NAME}</span></code> with only one
|
2589
2994
|
shard:</p>
|
2590
2995
|
<p>Execution example:</p>
|
2591
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
2996
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2592
2997
|
--logical_table Entries \
|
2593
2998
|
--shard_key created_at \
|
2594
2999
|
--min "2015/07/08 00:00:00" \
|
@@ -2660,12 +3065,12 @@ shard:</p>
|
|
2660
3065
|
</div>
|
2661
3066
|
</div>
|
2662
3067
|
<div class="section" id="drilldowns-label-offset">
|
2663
|
-
<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="Permalink to this headline">¶</a></h4>
|
3068
|
+
<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="Permalink to this headline">¶</a></h4>
|
2664
3069
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-offset"><span class="std std-ref">drilldown_offset</span></a> in not labeled
|
2665
3070
|
drilldown.</p>
|
2666
3071
|
<p>Here is an example:</p>
|
2667
3072
|
<p>Execution example:</p>
|
2668
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3073
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2669
3074
|
--logical_table Entries \
|
2670
3075
|
--shard_key created_at \
|
2671
3076
|
--limit 0 \
|
@@ -2721,12 +3126,12 @@ drilldown.</p>
|
|
2721
3126
|
</div>
|
2722
3127
|
</div>
|
2723
3128
|
<div class="section" id="drilldowns-label-limit">
|
2724
|
-
<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="Permalink to this headline">¶</a></h4>
|
3129
|
+
<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="Permalink to this headline">¶</a></h4>
|
2725
3130
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-limit"><span class="std std-ref">drilldown_limit</span></a> in not labeled
|
2726
3131
|
drilldown.</p>
|
2727
3132
|
<p>Here is an example:</p>
|
2728
3133
|
<p>Execution example:</p>
|
2729
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3134
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2730
3135
|
--logical_table Entries \
|
2731
3136
|
--shard_key created_at \
|
2732
3137
|
--limit 0 \
|
@@ -2782,12 +3187,12 @@ drilldown.</p>
|
|
2782
3187
|
</div>
|
2783
3188
|
</div>
|
2784
3189
|
<div class="section" id="drilldowns-label-calc-types">
|
2785
|
-
<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="Permalink to this headline">¶</a></h4>
|
3190
|
+
<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="Permalink to this headline">¶</a></h4>
|
2786
3191
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-types"><span class="std std-ref">drilldown_calc_types</span></a> in not
|
2787
3192
|
labeled drilldown.</p>
|
2788
3193
|
<p>Here is an example:</p>
|
2789
3194
|
<p>Execution example:</p>
|
2790
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3195
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2791
3196
|
--logical_table Entries \
|
2792
3197
|
--shard_key created_at \
|
2793
3198
|
--limit 0 \
|
@@ -2877,23 +3282,23 @@ labeled drilldown.</p>
|
|
2877
3282
|
</div>
|
2878
3283
|
</div>
|
2879
3284
|
<div class="section" id="drilldowns-label-calc-target">
|
2880
|
-
<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="Permalink to this headline">¶</a></h4>
|
3285
|
+
<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="Permalink to this headline">¶</a></h4>
|
2881
3286
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-target"><span class="std std-ref">drilldown_calc_target</span></a> in not
|
2882
3287
|
labeled drilldown.</p>
|
2883
3288
|
<p>See also <a class="reference internal" href="#logical-select-drilldowns-label-calc-types"><span class="std std-ref">drilldowns[${LABEL}].calc_types</span></a>
|
2884
3289
|
for an example.</p>
|
2885
3290
|
</div>
|
2886
3291
|
<div class="section" id="drilldowns-label-filter">
|
2887
|
-
<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="Permalink to this headline">¶</a></h4>
|
3292
|
+
<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="Permalink to this headline">¶</a></h4>
|
2888
3293
|
<div class="versionadded">
|
2889
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3294
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
2890
3295
|
</div>
|
2891
3296
|
<p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-filter"><span class="std std-ref">drilldown_filter</span></a> in not labeled
|
2892
3297
|
drilldown.</p>
|
2893
3298
|
<p>Here is an example to suppress drilled down tags that are occurred
|
2894
3299
|
only once:</p>
|
2895
3300
|
<p>Execution example:</p>
|
2896
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3301
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2897
3302
|
--logical_table Entries \
|
2898
3303
|
--shard_key created_at \
|
2899
3304
|
--limit 0 \
|
@@ -2950,18 +3355,18 @@ only once:</p>
|
|
2950
3355
|
</div>
|
2951
3356
|
</div>
|
2952
3357
|
<div class="section" id="drilldowns-label-columns-name-stage">
|
2953
|
-
<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="Permalink to this headline">¶</a></h4>
|
3358
|
+
<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="Permalink to this headline">¶</a></h4>
|
2954
3359
|
<div class="versionadded">
|
2955
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3360
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
2956
3361
|
</div>
|
2957
3362
|
<p>Corresponds to <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> in
|
2958
3363
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <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>
|
2959
3364
|
for details.</p>
|
2960
|
-
<p>Here is an example that creates a dynamic column at <code class="docutils literal"><span class="pre">initial</span></code>
|
3365
|
+
<p>Here is an example that creates a dynamic column at <code class="docutils literal notranslate"><span class="pre">initial</span></code>
|
2961
3366
|
stage. This example creates a dynamic column that stores whether each
|
2962
3367
|
drilled down tag is occurred only once or not:</p>
|
2963
3368
|
<p>Execution example:</p>
|
2964
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3369
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
2965
3370
|
--logical_table Entries \
|
2966
3371
|
--shard_key created_at \
|
2967
3372
|
--limit 0 \
|
@@ -3031,18 +3436,18 @@ drilled down tag is occurred only once or not:</p>
|
|
3031
3436
|
</div>
|
3032
3437
|
</div>
|
3033
3438
|
<div class="section" id="drilldowns-label-columns-name-flags">
|
3034
|
-
<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="Permalink to this headline">¶</a></h4>
|
3439
|
+
<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="Permalink to this headline">¶</a></h4>
|
3035
3440
|
<div class="versionadded">
|
3036
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3441
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
3037
3442
|
</div>
|
3038
3443
|
<p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> in main
|
3039
3444
|
search.</p>
|
3040
|
-
<p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
3041
|
-
<p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
|
3042
|
-
flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
3445
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
3446
|
+
<p>Here is an example that creates a vector column by <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>
|
3447
|
+
flags. <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
3043
3448
|
<a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
|
3044
3449
|
<p>Execution example:</p>
|
3045
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3450
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3046
3451
|
--logical_table Entries \
|
3047
3452
|
--shard_key created_at \
|
3048
3453
|
--limit 0 \
|
@@ -3118,18 +3523,18 @@ flags. <code class="docutils literal"><span class="pre">plugin_register</span> <
|
|
3118
3523
|
</div>
|
3119
3524
|
</div>
|
3120
3525
|
<div class="section" id="drilldowns-label-columns-name-type">
|
3121
|
-
<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="Permalink to this headline">¶</a></h4>
|
3526
|
+
<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="Permalink to this headline">¶</a></h4>
|
3122
3527
|
<div class="versionadded">
|
3123
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3528
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
3124
3529
|
</div>
|
3125
3530
|
<p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> in main
|
3126
3531
|
search.</p>
|
3127
3532
|
<p>This is a required parameter.</p>
|
3128
|
-
<p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
|
3129
|
-
value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
|
3130
|
-
number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
|
3533
|
+
<p>Here is an example that creates a <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type column. Stored
|
3534
|
+
value is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> automatically. In this example,
|
3535
|
+
number is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>:</p>
|
3131
3536
|
<p>Execution example:</p>
|
3132
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3537
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3133
3538
|
--logical_table Entries \
|
3134
3539
|
--shard_key created_at \
|
3135
3540
|
--limit 0 \
|
@@ -3199,9 +3604,9 @@ number is casted to <code class="docutils literal"><span class="pre">ShortText</
|
|
3199
3604
|
</div>
|
3200
3605
|
</div>
|
3201
3606
|
<div class="section" id="drilldowns-label-columns-name-value">
|
3202
|
-
<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="Permalink to this headline">¶</a></h4>
|
3607
|
+
<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="Permalink to this headline">¶</a></h4>
|
3203
3608
|
<div class="versionadded">
|
3204
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3609
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
3205
3610
|
</div>
|
3206
3611
|
<p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> in main
|
3207
3612
|
search.</p>
|
@@ -3209,11 +3614,11 @@ search.</p>
|
|
3209
3614
|
<p>Here is an example that creates a new dynamic column that stores the
|
3210
3615
|
number of characters of content. This example uses
|
3211
3616
|
<a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
|
3212
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
3617
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
3213
3618
|
string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
|
3214
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
|
3619
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin:</p>
|
3215
3620
|
<p>Execution example:</p>
|
3216
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string \
|
3621
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string \
|
3217
3622
|
logical_select \
|
3218
3623
|
--logical_table Entries \
|
3219
3624
|
--shard_key created_at \
|
@@ -3229,9 +3634,9 @@ logical_select \
|
|
3229
3634
|
</div>
|
3230
3635
|
</div>
|
3231
3636
|
<div class="section" id="drilldowns-label-columns-name-window-sort-keys">
|
3232
|
-
<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="Permalink to this headline">¶</a></h4>
|
3637
|
+
<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="Permalink to this headline">¶</a></h4>
|
3233
3638
|
<div class="versionadded">
|
3234
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3639
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
3235
3640
|
</div>
|
3236
3641
|
<p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> in
|
3237
3642
|
main search.</p>
|
@@ -3243,7 +3648,7 @@ to use window function.</p>
|
|
3243
3648
|
<p>Here is an example that computes the Nth record in the number of sub
|
3244
3649
|
records order:</p>
|
3245
3650
|
<p>Execution example:</p>
|
3246
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3651
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3247
3652
|
--logical_table Entries \
|
3248
3653
|
--shard_key created_at \
|
3249
3654
|
--limit 0 \
|
@@ -3315,9 +3720,9 @@ records order:</p>
|
|
3315
3720
|
</div>
|
3316
3721
|
</div>
|
3317
3722
|
<div class="section" id="drilldowns-label-columns-name-window-group-keys">
|
3318
|
-
<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="Permalink to this headline">¶</a></h4>
|
3723
|
+
<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="Permalink to this headline">¶</a></h4>
|
3319
3724
|
<div class="versionadded">
|
3320
|
-
<p><span class="versionmodified">New in version 7.0.1.</span></p>
|
3725
|
+
<p><span class="versionmodified added">New in version 7.0.1.</span></p>
|
3321
3726
|
</div>
|
3322
3727
|
<p>Corresponds to <a class="reference internal" href="#logical-select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> in
|
3323
3728
|
main search.</p>
|
@@ -3329,7 +3734,7 @@ to use window function.</p>
|
|
3329
3734
|
<p>Here is an example that computes the Nth record ordered by tag name
|
3330
3735
|
for each the same number of sub records:</p>
|
3331
3736
|
<p>Execution example:</p>
|
3332
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3737
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3333
3738
|
--logical_table Entries \
|
3334
3739
|
--shard_key created_at \
|
3335
3740
|
--limit 0 \
|
@@ -3405,35 +3810,35 @@ for each the same number of sub records:</p>
|
|
3405
3810
|
<div class="section" id="cache-related-parameter">
|
3406
3811
|
<h3>7.3.34.5.10. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
3407
3812
|
<div class="section" id="cache">
|
3408
|
-
<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="Permalink to this headline">¶</a></h4>
|
3813
|
+
<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="Permalink to this headline">¶</a></h4>
|
3409
3814
|
<p>Specifies whether caching the result of this query or not.</p>
|
3410
3815
|
<p>If the result of this query is cached, the next same query returns
|
3411
3816
|
response quickly by using the cache.</p>
|
3412
|
-
<p>It doesn
|
3817
|
+
<p>It doesn’t control whether existing cached result is used or not.</p>
|
3413
3818
|
<p>Here are available values:</p>
|
3414
|
-
<table
|
3819
|
+
<table class="docutils align-center">
|
3415
3820
|
<colgroup>
|
3416
|
-
<col
|
3417
|
-
<col
|
3821
|
+
<col style="width: 50%" />
|
3822
|
+
<col style="width: 50%" />
|
3418
3823
|
</colgroup>
|
3419
|
-
<thead
|
3420
|
-
<tr class="row-odd"><th class="head">Value</th>
|
3421
|
-
<th class="head">Description</th>
|
3824
|
+
<thead>
|
3825
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
3826
|
+
<th class="head"><p>Description</p></th>
|
3422
3827
|
</tr>
|
3423
3828
|
</thead>
|
3424
|
-
<tbody
|
3425
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">no</span></code></td>
|
3426
|
-
<td>Don
|
3829
|
+
<tbody>
|
3830
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">no</span></code></p></td>
|
3831
|
+
<td><p>Don’t cache the output of this query.</p></td>
|
3427
3832
|
</tr>
|
3428
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">yes</span></code></td>
|
3429
|
-
<td>Cache the output of this query.
|
3430
|
-
It
|
3833
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">yes</span></code></p></td>
|
3834
|
+
<td><p>Cache the output of this query.
|
3835
|
+
It’s the default value.</p></td>
|
3431
3836
|
</tr>
|
3432
3837
|
</tbody>
|
3433
3838
|
</table>
|
3434
3839
|
<p>Here is an example to disable caching the result of this query:</p>
|
3435
3840
|
<p>Execution example:</p>
|
3436
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_select \
|
3841
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
3437
3842
|
--logical_table Entries \
|
3438
3843
|
--shard_key created_at \
|
3439
3844
|
--cache no
|
@@ -3519,13 +3924,13 @@ It's the default value.</td>
|
|
3519
3924
|
# ]
|
3520
3925
|
</pre></div>
|
3521
3926
|
</div>
|
3522
|
-
<p>The default value is <code class="docutils literal"><span class="pre">yes</span></code>.</p>
|
3927
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">yes</span></code>.</p>
|
3523
3928
|
</div>
|
3524
3929
|
</div>
|
3525
3930
|
</div>
|
3526
3931
|
<div class="section" id="return-value">
|
3527
3932
|
<h2>7.3.34.6. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
3528
|
-
<p>The return value format of <code class="docutils literal"><span class="pre">logical_select</span></code> is compatible with
|
3933
|
+
<p>The return value format of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> is compatible with
|
3529
3934
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-return-value"><span class="std std-ref">Return value</span></a> for details.</p>
|
3530
3935
|
</div>
|
3531
3936
|
</div>
|
@@ -3536,94 +3941,98 @@ It's the default value.</td>
|
|
3536
3941
|
</div>
|
3537
3942
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
3538
3943
|
<div class="sphinxsidebarwrapper">
|
3539
|
-
<h3><a href="../../index.html">Table
|
3944
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
3540
3945
|
<ul>
|
3541
|
-
<li><a class="reference internal" href="#">7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
|
3946
|
+
<li><a class="reference internal" href="#">7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a><ul>
|
3542
3947
|
<li><a class="reference internal" href="#summary">7.3.34.1. Summary</a></li>
|
3543
3948
|
<li><a class="reference internal" href="#syntax">7.3.34.2. Syntax</a></li>
|
3544
|
-
<li><a class="reference internal" href="#differences-from-select">7.3.34.3. Differences from <code class="docutils literal"><span class="pre">select</span></code></a></li>
|
3949
|
+
<li><a class="reference internal" href="#differences-from-select">7.3.34.3. Differences from <code class="docutils literal notranslate"><span class="pre">select</span></code></a></li>
|
3545
3950
|
<li><a class="reference internal" href="#usage">7.3.34.4. Usage</a><ul>
|
3546
3951
|
<li><a class="reference internal" href="#simple-usage">7.3.34.4.1. Simple usage</a></li>
|
3547
3952
|
</ul>
|
3548
3953
|
</li>
|
3549
3954
|
<li><a class="reference internal" href="#parameters">7.3.34.5. Parameters</a><ul>
|
3550
3955
|
<li><a class="reference internal" href="#required-parameters">7.3.34.5.1. Required parameters</a><ul>
|
3551
|
-
<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>
|
3552
|
-
<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>
|
3956
|
+
<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>
|
3957
|
+
<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>
|
3553
3958
|
</ul>
|
3554
3959
|
</li>
|
3555
3960
|
<li><a class="reference internal" href="#optional-parameters">7.3.34.5.2. Optional parameters</a><ul>
|
3556
|
-
<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>
|
3557
|
-
<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>
|
3558
|
-
<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>
|
3559
|
-
<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>
|
3961
|
+
<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>
|
3962
|
+
<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>
|
3963
|
+
<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>
|
3964
|
+
<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>
|
3560
3965
|
</ul>
|
3561
3966
|
</li>
|
3562
3967
|
<li><a class="reference internal" href="#search-related-parameters">7.3.34.5.3. Search related parameters</a><ul>
|
3563
|
-
<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>
|
3564
|
-
<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>
|
3565
|
-
<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>
|
3968
|
+
<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>
|
3969
|
+
<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>
|
3970
|
+
<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>
|
3971
|
+
<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>
|
3972
|
+
<li><a class="reference internal" href="#load-table">7.3.34.5.3.5. <code class="docutils literal notranslate"><span class="pre">load_table</span></code></a></li>
|
3973
|
+
<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>
|
3974
|
+
<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>
|
3566
3975
|
</ul>
|
3567
3976
|
</li>
|
3568
3977
|
<li><a class="reference internal" href="#advanced-search-parameters">7.3.34.5.4. Advanced search parameters</a><ul>
|
3569
|
-
<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>
|
3570
|
-
<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>
|
3571
|
-
<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>
|
3978
|
+
<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>
|
3979
|
+
<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>
|
3980
|
+
<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>
|
3572
3981
|
</ul>
|
3573
3982
|
</li>
|
3574
3983
|
<li><a class="reference internal" href="#output-related-parameters">7.3.34.5.5. Output related parameters</a><ul>
|
3575
|
-
<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>
|
3576
|
-
<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>
|
3577
|
-
<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>
|
3578
|
-
<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>
|
3579
|
-
<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>
|
3580
|
-
<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>
|
3984
|
+
<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>
|
3985
|
+
<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>
|
3986
|
+
<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>
|
3987
|
+
<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>
|
3988
|
+
<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>
|
3989
|
+
<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>
|
3581
3990
|
</ul>
|
3582
3991
|
</li>
|
3583
3992
|
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.34.5.6. Dynamic column related parameters</a><ul>
|
3584
|
-
<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>
|
3585
|
-
<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>
|
3586
|
-
<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>
|
3587
|
-
<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>
|
3993
|
+
<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>
|
3994
|
+
<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>
|
3995
|
+
<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>
|
3996
|
+
<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>
|
3588
3997
|
</ul>
|
3589
3998
|
</li>
|
3590
3999
|
<li><a class="reference internal" href="#window-function-related-parameters">7.3.34.5.7. Window function related parameters</a><ul>
|
3591
|
-
<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>
|
3592
|
-
<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>
|
4000
|
+
<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>
|
4001
|
+
<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>
|
3593
4002
|
</ul>
|
3594
4003
|
</li>
|
3595
4004
|
<li><a class="reference internal" href="#drilldown-related-parameters">7.3.34.5.8. Drilldown related parameters</a><ul>
|
3596
|
-
<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>
|
3597
|
-
<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>
|
3598
|
-
<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>
|
3599
|
-
<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>
|
3600
|
-
<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>
|
3601
|
-
<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>
|
3602
|
-
<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>
|
3603
|
-
<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>
|
3604
|
-
<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>
|
4005
|
+
<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>
|
4006
|
+
<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>
|
4007
|
+
<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>
|
4008
|
+
<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>
|
4009
|
+
<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>
|
4010
|
+
<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>
|
4011
|
+
<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>
|
4012
|
+
<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>
|
4013
|
+
<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>
|
3605
4014
|
</ul>
|
3606
4015
|
</li>
|
3607
4016
|
<li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.34.5.9. Advanced drilldown related parameters</a><ul>
|
3608
|
-
<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>
|
3609
|
-
<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>
|
3610
|
-
<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>
|
3611
|
-
<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>
|
3612
|
-
<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>
|
3613
|
-
<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>
|
3614
|
-
<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>
|
3615
|
-
<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>
|
3616
|
-
<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>
|
3617
|
-
<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>
|
3618
|
-
<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>
|
3619
|
-
<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>
|
3620
|
-
<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>
|
3621
|
-
<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>
|
3622
|
-
<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>
|
4017
|
+
<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>
|
4018
|
+
<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>
|
4019
|
+
<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>
|
4020
|
+
<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>
|
4021
|
+
<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>
|
4022
|
+
<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>
|
4023
|
+
<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>
|
4024
|
+
<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>
|
4025
|
+
<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>
|
4026
|
+
<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>
|
4027
|
+
<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>
|
4028
|
+
<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>
|
4029
|
+
<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>
|
4030
|
+
<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>
|
4031
|
+
<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>
|
3623
4032
|
</ul>
|
3624
4033
|
</li>
|
3625
4034
|
<li><a class="reference internal" href="#cache-related-parameter">7.3.34.5.10. Cache related parameter</a><ul>
|
3626
|
-
<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>
|
4035
|
+
<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>
|
3627
4036
|
</ul>
|
3628
4037
|
</li>
|
3629
4038
|
</ul>
|
@@ -3635,18 +4044,18 @@ It's the default value.</td>
|
|
3635
4044
|
|
3636
4045
|
<h4>Previous topic</h4>
|
3637
4046
|
<p class="topless"><a href="logical_range_filter.html"
|
3638
|
-
title="previous chapter">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
4047
|
+
title="previous chapter">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></p>
|
3639
4048
|
<h4>Next topic</h4>
|
3640
4049
|
<p class="topless"><a href="logical_shard_list.html"
|
3641
|
-
title="next chapter">7.3.35. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
|
4050
|
+
title="next chapter">7.3.35. <code class="docutils literal notranslate"><span class="pre">logical_shard_list</span></code></a></p>
|
3642
4051
|
<div id="searchbox" style="display: none" role="search">
|
3643
4052
|
<h3>Quick search</h3>
|
4053
|
+
<div class="searchformwrapper">
|
3644
4054
|
<form class="search" action="../../search.html" method="get">
|
3645
|
-
<
|
3646
|
-
<
|
3647
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
3648
|
-
<input type="hidden" name="area" value="default" />
|
4055
|
+
<input type="text" name="q" />
|
4056
|
+
<input type="submit" value="Go" />
|
3649
4057
|
</form>
|
4058
|
+
</div>
|
3650
4059
|
</div>
|
3651
4060
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
3652
4061
|
</div>
|
@@ -3665,13 +4074,13 @@ It's the default value.</td>
|
|
3665
4074
|
<li class="right" >
|
3666
4075
|
<a href="logical_range_filter.html" title="7.3.33. logical_range_filter"
|
3667
4076
|
>previous</a> |</li>
|
3668
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
4077
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
3669
4078
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
3670
4079
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
3671
4080
|
</ul>
|
3672
4081
|
</div>
|
3673
4082
|
<div class="footer" role="contentinfo">
|
3674
|
-
© Copyright 2009-
|
4083
|
+
© Copyright 2009-2019, Brazil, Inc.
|
3675
4084
|
</div>
|
3676
4085
|
</body>
|
3677
4086
|
</html>
|