rroonga 7.1.1-x64-mingw32 → 9.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,35 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.32. logical_parameters — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.32. logical_parameters — Groonga v9.0.2ドキュメント</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
25
17
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
18
|
+
|
26
19
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
27
20
|
<link rel="index" title="索引" href="../../genindex.html" />
|
28
21
|
<link rel="search" title="検索" href="../../search.html" />
|
29
22
|
<link rel="next" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
30
23
|
<link rel="prev" title="7.3.31. logical_count" href="logical_count.html" />
|
31
|
-
</head>
|
32
|
-
<body>
|
24
|
+
</head><body>
|
33
25
|
<div class="header">
|
34
26
|
<h1 class="title">
|
35
27
|
<a id="top-link" href="../../index.html">
|
@@ -59,7 +51,7 @@
|
|
59
51
|
<li class="right" >
|
60
52
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
61
53
|
accesskey="P">前へ</a> |</li>
|
62
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
54
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
63
55
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
64
56
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
65
57
|
</ul>
|
@@ -71,59 +63,59 @@
|
|
71
63
|
<div class="body" role="main">
|
72
64
|
|
73
65
|
<div class="section" id="logical-parameters">
|
74
|
-
<h1>7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code><a class="headerlink" href="#logical-parameters" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
66
|
+
<h1>7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code><a class="headerlink" href="#logical-parameters" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
75
67
|
<div class="section" id="summary">
|
76
68
|
<h2>7.3.32.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
77
69
|
<div class="versionadded">
|
78
|
-
<p><span class="versionmodified">バージョン 5.0.6 で追加.</span></p>
|
70
|
+
<p><span class="versionmodified added">バージョン 5.0.6 で追加.</span></p>
|
79
71
|
</div>
|
80
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> はテスト用のコマンドです。通常はこのコマンドを使う必要はありません。</p>
|
81
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> は次の2つの機能を提供します。</p>
|
72
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> はテスト用のコマンドです。通常はこのコマンドを使う必要はありません。</p>
|
73
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> は次の2つの機能を提供します。</p>
|
82
74
|
<blockquote>
|
83
75
|
<div><ul class="simple">
|
84
|
-
<li><code class="docutils literal"><span class="pre">logical_*</span></code> コマンドが使うパラメーターの現在値を返します。</li>
|
85
|
-
<li><code class="docutils literal"><span class="pre">logical_*</span></code> コマンドが使うパラメーターを新しく設定します。</li>
|
76
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">logical_*</span></code> コマンドが使うパラメーターの現在値を返します。</p></li>
|
77
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">logical_*</span></code> コマンドが使うパラメーターを新しく設定します。</p></li>
|
86
78
|
</ul>
|
87
79
|
</div></blockquote>
|
88
80
|
<p>以下はパラメーターのリストです。</p>
|
89
81
|
<blockquote>
|
90
82
|
<div><ul class="simple">
|
91
|
-
<li><a class="reference internal" href="#logical-parameters-range-index"><span class="std std-ref">range_index</span></a></li>
|
83
|
+
<li><p><a class="reference internal" href="#logical-parameters-range-index"><span class="std std-ref">range_index</span></a></p></li>
|
92
84
|
</ul>
|
93
85
|
</div></blockquote>
|
94
86
|
<div class="admonition note">
|
95
|
-
<p class="
|
96
|
-
<p
|
87
|
+
<p class="admonition-title">注釈</p>
|
88
|
+
<p>これらのパラメーターの値は各スレッドごとで独立しています。(正確に言うと、 <a class="reference internal" href="../api/grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal notranslate"><span class="pre">grn_ctx</span></code></a> 毎に独立しています。)これらのパラメーターを完全に制御したい場合は、これらのパラメーターを使っている間は <a class="reference internal" href="thread_limit.html"><span class="doc">thread_limit</span></a> を使って最大スレッド数を <code class="docutils literal notranslate"><span class="pre">1</span></code> にしてください。</p>
|
97
89
|
</div>
|
98
90
|
</div>
|
99
91
|
<div class="section" id="syntax">
|
100
92
|
<h2>7.3.32.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
101
93
|
<p>このコマンドの引数は1つで省略できます:</p>
|
102
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters [range_index=null]
|
94
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters [range_index=null]
|
103
95
|
</pre></div>
|
104
96
|
</div>
|
105
97
|
</div>
|
106
98
|
<div class="section" id="usage">
|
107
99
|
<h2>7.3.32.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
108
|
-
<p>このコマンドを使うには事前に <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録します。</p>
|
100
|
+
<p>このコマンドを使うには事前に <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインを登録します。</p>
|
109
101
|
<p>実行例:</p>
|
110
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
102
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
111
103
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
112
104
|
</pre></div>
|
113
105
|
</div>
|
114
106
|
<p>引数無しで呼び出すとすべてのパラメーターの現在の値を返します。</p>
|
115
107
|
<p>実行例:</p>
|
116
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters
|
108
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters
|
117
109
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
118
110
|
</pre></div>
|
119
111
|
</div>
|
120
112
|
<p>引数を指定して呼び出すと新しい値を設定できます。</p>
|
121
113
|
<p>実行例:</p>
|
122
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
114
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
123
115
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
124
116
|
</pre></div>
|
125
117
|
</div>
|
126
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> は、新しい値を設定するときは、新しい値を設定する前の値を返します。</p>
|
118
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> は、新しい値を設定するときは、新しい値を設定する前の値を返します。</p>
|
127
119
|
</div>
|
128
120
|
<div class="section" id="parameters">
|
129
121
|
<h2>7.3.32.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
@@ -136,31 +128,31 @@
|
|
136
128
|
<h3>7.3.32.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
137
129
|
<p>省略可能な引数が1つあります。</p>
|
138
130
|
<div class="section" id="range-index">
|
139
|
-
<span id="logical-parameters-range-index"></span><h4>7.3.32.4.2.1. <code class="docutils literal"><span class="pre">range_index</span></code><a class="headerlink" href="#range-index" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
131
|
+
<span id="logical-parameters-range-index"></span><h4>7.3.32.4.2.1. <code class="docutils literal notranslate"><span class="pre">range_index</span></code><a class="headerlink" href="#range-index" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
140
132
|
<p><a class="reference internal" href="logical_range_filter.html"><span class="doc">logical_range_filter</span></a> でどのように範囲インデックスを使うかをキーワードで指定します。</p>
|
141
133
|
<p>指定できるキーワードは以下の通りです。</p>
|
142
134
|
<blockquote>
|
143
135
|
<div><ul class="simple">
|
144
|
-
<li><code class="docutils literal"><span class="pre">auto</span></code> (デフォルト)</li>
|
145
|
-
<li><code class="docutils literal"><span class="pre">always</span></code></li>
|
146
|
-
<li><code class="docutils literal"><span class="pre">never</span></code></li>
|
136
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">auto</span></code> (デフォルト)</p></li>
|
137
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">always</span></code></p></li>
|
138
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">never</span></code></p></li>
|
147
139
|
</ul>
|
148
140
|
</div></blockquote>
|
149
|
-
<p><code class="docutils literal"><span class="pre">auto</span></code> を指定すると、効果がでそうなときだけ範囲インデックスを使います。これがデフォルトの値です。</p>
|
141
|
+
<p><code class="docutils literal notranslate"><span class="pre">auto</span></code> を指定すると、効果がでそうなときだけ範囲インデックスを使います。これがデフォルトの値です。</p>
|
150
142
|
<p>実行例:</p>
|
151
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index auto
|
143
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index auto
|
152
144
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "never"}]
|
153
145
|
</pre></div>
|
154
146
|
</div>
|
155
|
-
<p><code class="docutils literal"><span class="pre">always</span></code> を指定すると、常に範囲インデックスを使います。範囲インデックスが使われるケースをテストするときに便利です。</p>
|
147
|
+
<p><code class="docutils literal notranslate"><span class="pre">always</span></code> を指定すると、常に範囲インデックスを使います。範囲インデックスが使われるケースをテストするときに便利です。</p>
|
156
148
|
<p>実行例:</p>
|
157
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index always
|
149
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index always
|
158
150
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
159
151
|
</pre></div>
|
160
152
|
</div>
|
161
|
-
<p><code class="docutils literal"><span class="pre">never</span></code> を指定すると、範囲インデックスは使いません。範囲インデックスが使われないケースをテストするときに便利です。</p>
|
153
|
+
<p><code class="docutils literal notranslate"><span class="pre">never</span></code> を指定すると、範囲インデックスは使いません。範囲インデックスが使われないケースをテストするときに便利です。</p>
|
162
154
|
<p>実行例:</p>
|
163
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
155
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
164
156
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "always"}]
|
165
157
|
</pre></div>
|
166
158
|
</div>
|
@@ -169,22 +161,22 @@
|
|
169
161
|
</div>
|
170
162
|
<div class="section" id="return-value">
|
171
163
|
<h2>7.3.32.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
172
|
-
<p>このコマンドは <code class="docutils literal"><span class="pre">logical_*</span></code> コマンドが使うパラメーターの現在値を返します:</p>
|
173
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
164
|
+
<p>このコマンドは <code class="docutils literal notranslate"><span class="pre">logical_*</span></code> コマンドが使うパラメーターの現在値を返します:</p>
|
165
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
174
166
|
HEADER,
|
175
167
|
{"range_index": HOW_TO_USE_RANGE_INDEX}
|
176
168
|
]
|
177
169
|
</pre></div>
|
178
170
|
</div>
|
179
|
-
<p><code class="docutils literal"><span class="pre">HOW_TO_USE_RANGE_INDEX</span></code> の値は次のどれかです。</p>
|
171
|
+
<p><code class="docutils literal notranslate"><span class="pre">HOW_TO_USE_RANGE_INDEX</span></code> の値は次のどれかです。</p>
|
180
172
|
<blockquote>
|
181
173
|
<div><ul class="simple">
|
182
|
-
<li><code class="docutils literal"><span class="pre">"auto"</span></code></li>
|
183
|
-
<li><code class="docutils literal"><span class="pre">"always"</span></code></li>
|
184
|
-
<li><code class="docutils literal"><span class="pre">"never"</span></code></li>
|
174
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"auto"</span></code></p></li>
|
175
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"always"</span></code></p></li>
|
176
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"never"</span></code></p></li>
|
185
177
|
</ul>
|
186
178
|
</div></blockquote>
|
187
|
-
<p><code class="docutils literal"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
179
|
+
<p><code class="docutils literal notranslate"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
188
180
|
</div>
|
189
181
|
</div>
|
190
182
|
|
@@ -196,14 +188,14 @@
|
|
196
188
|
<div class="sphinxsidebarwrapper">
|
197
189
|
<h3><a href="../../index.html">目次</a></h3>
|
198
190
|
<ul>
|
199
|
-
<li><a class="reference internal" href="#">7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code></a><ul>
|
191
|
+
<li><a class="reference internal" href="#">7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a><ul>
|
200
192
|
<li><a class="reference internal" href="#summary">7.3.32.1. 概要</a></li>
|
201
193
|
<li><a class="reference internal" href="#syntax">7.3.32.2. 構文</a></li>
|
202
194
|
<li><a class="reference internal" href="#usage">7.3.32.3. 使い方</a></li>
|
203
195
|
<li><a class="reference internal" href="#parameters">7.3.32.4. 引数</a><ul>
|
204
196
|
<li><a class="reference internal" href="#required-parameters">7.3.32.4.1. 必須引数</a></li>
|
205
197
|
<li><a class="reference internal" href="#optional-parameters">7.3.32.4.2. 省略可能引数</a><ul>
|
206
|
-
<li><a class="reference internal" href="#range-index">7.3.32.4.2.1. <code class="docutils literal"><span class="pre">range_index</span></code></a></li>
|
198
|
+
<li><a class="reference internal" href="#range-index">7.3.32.4.2.1. <code class="docutils literal notranslate"><span class="pre">range_index</span></code></a></li>
|
207
199
|
</ul>
|
208
200
|
</li>
|
209
201
|
</ul>
|
@@ -215,18 +207,18 @@
|
|
215
207
|
|
216
208
|
<h4>前のトピックへ</h4>
|
217
209
|
<p class="topless"><a href="logical_count.html"
|
218
|
-
title="前の章へ">7.3.31. <code class="docutils literal"><span class="pre">logical_count</span></code></a></p>
|
210
|
+
title="前の章へ">7.3.31. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a></p>
|
219
211
|
<h4>次のトピックへ</h4>
|
220
212
|
<p class="topless"><a href="logical_range_filter.html"
|
221
|
-
title="次の章へ">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
213
|
+
title="次の章へ">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></p>
|
222
214
|
<div id="searchbox" style="display: none" role="search">
|
223
215
|
<h3>クイック検索</h3>
|
216
|
+
<div class="searchformwrapper">
|
224
217
|
<form class="search" action="../../search.html" method="get">
|
225
|
-
<
|
226
|
-
<
|
227
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
228
|
-
<input type="hidden" name="area" value="default" />
|
218
|
+
<input type="text" name="q" />
|
219
|
+
<input type="submit" value="検索" />
|
229
220
|
</form>
|
221
|
+
</div>
|
230
222
|
</div>
|
231
223
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
232
224
|
</div>
|
@@ -245,13 +237,13 @@
|
|
245
237
|
<li class="right" >
|
246
238
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
247
239
|
>前へ</a> |</li>
|
248
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
240
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
249
241
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
250
242
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
251
243
|
</ul>
|
252
244
|
</div>
|
253
245
|
<div class="footer" role="contentinfo">
|
254
|
-
© Copyright 2009-
|
246
|
+
© Copyright 2009-2019, Brazil, Inc.
|
255
247
|
</div>
|
256
248
|
</body>
|
257
249
|
</html>
|
@@ -1,35 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.33. logical_range_filter — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.33. logical_range_filter — Groonga v9.0.2ドキュメント</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
25
17
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
18
|
+
|
26
19
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
27
20
|
<link rel="index" title="索引" href="../../genindex.html" />
|
28
21
|
<link rel="search" title="検索" href="../../search.html" />
|
29
22
|
<link rel="next" title="7.3.34. logical_select" href="logical_select.html" />
|
30
23
|
<link rel="prev" title="7.3.32. logical_parameters" href="logical_parameters.html" />
|
31
|
-
</head>
|
32
|
-
<body>
|
24
|
+
</head><body>
|
33
25
|
<div class="header">
|
34
26
|
<h1 class="title">
|
35
27
|
<a id="top-link" href="../../index.html">
|
@@ -59,7 +51,7 @@
|
|
59
51
|
<li class="right" >
|
60
52
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
61
53
|
accesskey="P">前へ</a> |</li>
|
62
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
54
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
63
55
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
64
56
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
65
57
|
</ul>
|
@@ -71,25 +63,25 @@
|
|
71
63
|
<div class="body" role="main">
|
72
64
|
|
73
65
|
<div class="section" id="logical-range-filter">
|
74
|
-
<h1>7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code><a class="headerlink" href="#logical-range-filter" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
66
|
+
<h1>7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code><a class="headerlink" href="#logical-range-filter" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
75
67
|
<div class="section" id="summary">
|
76
68
|
<h2>7.3.33.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
77
69
|
<div class="versionadded">
|
78
|
-
<p><span class="versionmodified">バージョン 5.0.0 で追加.</span></p>
|
70
|
+
<p><span class="versionmodified added">バージョン 5.0.0 で追加.</span></p>
|
79
71
|
</div>
|
80
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> は <a class="reference internal" href="range_filter.html"><span class="doc">range_filter</span></a> のシャーディングバージョンです。 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
|
81
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> は <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> に似ています。どちらも複数のテーブルからレコードを検索し、見つかったレコードを出力します。 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> は要求されたレコード数分のレコードが見つかったらそこで検索を終了します。 <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> はすべてのレコードを検索し、必要なレコードだけ出力します。</p>
|
82
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> の方が性能面で有利ですがいくつか制約があります。</p>
|
83
|
-
<p>大量のレコードがマッチし、要求されているレコード数が小さい場合、 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> の方が <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> よりも速いです。</p>
|
84
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> はドリルダウンをサポートしていません。なぜなら、ドリルダウンをするためにはマッチしたレコードがすべて必要だからです。 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> はマッチするレコードをすべて検索しないかもしれません。そのため、 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> はドリルダウンをサポートしていません。</p>
|
85
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> はマッチしたレコードの総数を返しません。なぜなら、 <code class="docutils literal"><span class="pre">logical_range_filter</span></code> はマッチするレコードをすべて検索しないかもしれないからです。</p>
|
86
|
-
<p>このコマンド は <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので、 <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> する必要があります。</p>
|
72
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> は <a class="reference internal" href="range_filter.html"><span class="doc">range_filter</span></a> のシャーディングバージョンです。 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
|
73
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> は <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> に似ています。どちらも複数のテーブルからレコードを検索し、見つかったレコードを出力します。 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> は要求されたレコード数分のレコードが見つかったらそこで検索を終了します。 <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> はすべてのレコードを検索し、必要なレコードだけ出力します。</p>
|
74
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> の方が性能面で有利ですがいくつか制約があります。</p>
|
75
|
+
<p>大量のレコードがマッチし、要求されているレコード数が小さい場合、 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> の方が <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> よりも速いです。</p>
|
76
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> はドリルダウンをサポートしていません。なぜなら、ドリルダウンをするためにはマッチしたレコードがすべて必要だからです。 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> はマッチするレコードをすべて検索しないかもしれません。そのため、 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> はドリルダウンをサポートしていません。</p>
|
77
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> はマッチしたレコードの総数を返しません。なぜなら、 <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> はマッチするレコードをすべて検索しないかもしれないからです。</p>
|
78
|
+
<p>このコマンド は <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインに含まれているので、 <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインを <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> する必要があります。</p>
|
87
79
|
</div>
|
88
80
|
<div class="section" id="syntax">
|
89
81
|
<h2>7.3.33.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
82
|
<p>このコマンドにはたくさんの引数があります。</p>
|
91
|
-
<p>必須引数は2つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
|
92
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter
|
83
|
+
<p>必須引数は2つあります。 <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> です。</p>
|
84
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter
|
93
85
|
logical_table
|
94
86
|
shard_key
|
95
87
|
[min=null]
|
@@ -103,46 +95,47 @@
|
|
103
95
|
[output_columns="_key, *"]
|
104
96
|
[use_range_index=null]
|
105
97
|
[post_filter=null]
|
98
|
+
[sort_keys=null]
|
106
99
|
</pre></div>
|
107
100
|
</div>
|
108
101
|
<p>いくつか名前付き引数としてしか使えない引数があります。これらの引数を「○番目の引数」として使うことはできません。必ず名前を指定する必要があります。</p>
|
109
102
|
<p>名前付き引数としてしか使えない引数は次の通りです。</p>
|
110
103
|
<blockquote>
|
111
104
|
<div><ul class="simple">
|
112
|
-
<li><code class="docutils literal"><span class="pre">cache=no</span></code></li>
|
105
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">cache=no</span></code></p></li>
|
113
106
|
</ul>
|
114
107
|
</div></blockquote>
|
115
108
|
<div class="versionadded">
|
116
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加: </span>以下の名前付き引数で動的カラム機能を使うことができます。</p>
|
109
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加: </span>以下の名前付き引数で動的カラム機能を使うことができます。</p>
|
117
110
|
<blockquote>
|
118
111
|
<div><ul class="simple">
|
119
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
120
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
121
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
122
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
123
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
124
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
112
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage=null</span></code></p></li>
|
113
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
114
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type=null</span></code></p></li>
|
115
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value=null</span></code></p></li>
|
116
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
117
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></p></li>
|
125
118
|
</ul>
|
126
119
|
</div></blockquote>
|
127
|
-
<p><code class="docutils literal"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">column1</span></code> は有効な <code class="docutils literal"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
|
128
|
-
<p>同じ <code class="docutils literal"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
|
120
|
+
<p><code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal notranslate"><span class="pre">_</span></code> を使うことができます。たとえば、 <code class="docutils literal notranslate"><span class="pre">column1</span></code> は有効な <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> です。これは通常のカラムと同じルールです。 <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a> も見てください。</p>
|
121
|
+
<p>同じ <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> も持つ引数は同じグループになります。</p>
|
129
122
|
<p>たとえば、以下の引数は1つの動的カラムを指定しています。</p>
|
130
123
|
<blockquote>
|
131
124
|
<div><ul class="simple">
|
132
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
133
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
134
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
125
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></p></li>
|
126
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></p></li>
|
127
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></p></li>
|
135
128
|
</ul>
|
136
129
|
</div></blockquote>
|
137
130
|
<p>以下の引数は2つの動的カラムを指定しています。</p>
|
138
131
|
<blockquote>
|
139
132
|
<div><ul class="simple">
|
140
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
141
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
142
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
143
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
|
144
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
145
|
-
<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>
|
133
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></p></li>
|
134
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></p></li>
|
135
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></p></li>
|
136
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></p></li>
|
137
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></p></li>
|
138
|
+
<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>
|
146
139
|
</ul>
|
147
140
|
</div></blockquote>
|
148
141
|
</div>
|
@@ -150,15 +143,15 @@
|
|
150
143
|
<div class="section" id="usage">
|
151
144
|
<h2>7.3.33.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
152
145
|
<p>例を使いながら使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
|
153
|
-
<p>このコマンドは <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
|
146
|
+
<p>このコマンドは <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal notranslate"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
|
154
147
|
<p>実行例:</p>
|
155
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
148
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
156
149
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
157
150
|
</pre></div>
|
158
151
|
</div>
|
159
152
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
160
153
|
<p>実行例:</p>
|
161
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
154
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
162
155
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
163
156
|
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
164
157
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -229,13 +222,13 @@ load --table Entries_20150709
|
|
229
222
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
230
223
|
</pre></div>
|
231
224
|
</div>
|
232
|
-
<p>ブログエントリー用に <code class="docutils literal"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal"><span class="pre">Entries_20150709</span></code> の2つのテーブルがあります。</p>
|
225
|
+
<p>ブログエントリー用に <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> の2つのテーブルがあります。</p>
|
233
226
|
<div class="admonition note">
|
234
|
-
<p class="
|
235
|
-
<p
|
227
|
+
<p class="admonition-title">注釈</p>
|
228
|
+
<p>テーブル名には <code class="docutils literal notranslate"><span class="pre">${論理テーブル名}_${YYYYMMDD}</span></code> という命名規則を使う必要があります。この例では、 <code class="docutils literal notranslate"><span class="pre">論理テーブル名</span></code> は <code class="docutils literal notranslate"><span class="pre">Entries</span></code> で <code class="docutils literal notranslate"><span class="pre">YYYYMMDD</span></code> は <code class="docutils literal notranslate"><span class="pre">20150708</span></code> または <code class="docutils literal notranslate"><span class="pre">20150709</span></code> です。</p>
|
236
229
|
</div>
|
237
|
-
<p>各エントリはタイトルと作成日時と内容と「いいね!」数、タグを持っています。タイトルは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code> のキーとします。作成日時は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> カラムの値とします。内容は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムの値とします。「いいね!」数は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> カラムの値とします。タグは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> カラムの値とします。</p>
|
238
|
-
<p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> カラムと <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムには <code class="docutils literal"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> と <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> は両方とも全文検索できます。</p>
|
230
|
+
<p>各エントリはタイトルと作成日時と内容と「いいね!」数、タグを持っています。タイトルは <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code> のキーとします。作成日時は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.created_at</span></code> カラムの値とします。内容は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムの値とします。「いいね!」数は <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> カラムの値とします。タグは <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.tag</span></code> カラムの値とします。</p>
|
231
|
+
<p><code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> カラムと <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムには <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> と <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> は両方とも全文検索できます。</p>
|
239
232
|
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
240
233
|
<div class="section" id="simple-usage">
|
241
234
|
<h3>7.3.33.3.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
@@ -244,17 +237,107 @@ load --table Entries_20150709
|
|
244
237
|
</div>
|
245
238
|
<div class="section" id="parameters">
|
246
239
|
<h2>7.3.33.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
247
|
-
<p>このセクションでは <code class="docutils literal"><span class="pre">logical_range_filter</span></code> の引数について説明します。</p>
|
240
|
+
<p>このセクションでは <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> の引数について説明します。</p>
|
248
241
|
<div class="section" id="required-parameters">
|
249
242
|
<h3>7.3.33.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
250
|
-
<p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
|
243
|
+
<p>必須引数は二つあります。 <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> と <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> です。</p>
|
251
244
|
<div class="section" id="logical-table">
|
252
|
-
<h4>7.3.33.4.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
253
|
-
<p>論理テーブル名を指定します。これは <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code>
|
254
|
-
<p
|
245
|
+
<h4>7.3.33.4.1.1. <code class="docutils literal notranslate"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
246
|
+
<p>論理テーブル名を指定します。これは <code class="docutils literal notranslate"><span class="pre">_YYYYMMDD</span></code> をテーブル名からのぞいたものです。実際のテーブルが <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> や <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> といったものなら、論理テーブル名は <code class="docutils literal notranslate"><span class="pre">Entries</span></code> です。</p>
|
247
|
+
<p>実行例:</p>
|
248
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter --logical_table Entries --shard_key created_at
|
249
|
+
|
250
|
+
# [
|
251
|
+
# [
|
252
|
+
# 0,
|
253
|
+
# 1519131606.676006,
|
254
|
+
# 0.0006020069122314453
|
255
|
+
# ],
|
256
|
+
# [
|
257
|
+
# [
|
258
|
+
# [
|
259
|
+
# "_key",
|
260
|
+
# "ShortText"
|
261
|
+
# ],
|
262
|
+
# [
|
263
|
+
# "content",
|
264
|
+
# "Text"
|
265
|
+
# ],
|
266
|
+
# [
|
267
|
+
# "created_at",
|
268
|
+
# "Time"
|
269
|
+
# ],
|
270
|
+
# [
|
271
|
+
# "n_likes",
|
272
|
+
# "UInt32"
|
273
|
+
# ],
|
274
|
+
# [
|
275
|
+
# "tag",
|
276
|
+
# "ShortText"
|
277
|
+
# ]
|
278
|
+
# ],
|
279
|
+
# [
|
280
|
+
# "The first post!",
|
281
|
+
# "Welcome! This is my first post!",
|
282
|
+
# 1436281200.0,
|
283
|
+
# 5,
|
284
|
+
# "Hello"
|
285
|
+
# ],
|
286
|
+
# [
|
287
|
+
# "Groonga",
|
288
|
+
# "I started to use Groonga. It's very fast!",
|
289
|
+
# 1436284800.0,
|
290
|
+
# 10,
|
291
|
+
# "Groonga"
|
292
|
+
# ],
|
293
|
+
# [
|
294
|
+
# "Mroonga",
|
295
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
296
|
+
# 1436288400.0,
|
297
|
+
# 15,
|
298
|
+
# "Groonga"
|
299
|
+
# ],
|
300
|
+
# [
|
301
|
+
# "Good-bye Senna",
|
302
|
+
# "I migrated all Senna system!",
|
303
|
+
# 1436367600.0,
|
304
|
+
# 3,
|
305
|
+
# "Senna"
|
306
|
+
# ],
|
307
|
+
# [
|
308
|
+
# "Good-bye Tritonn",
|
309
|
+
# "I also migrated all Tritonn system!",
|
310
|
+
# 1436371200.0,
|
311
|
+
# 3,
|
312
|
+
# "Senna"
|
313
|
+
# ]
|
314
|
+
# ]
|
315
|
+
# ]
|
316
|
+
</pre></div>
|
317
|
+
</div>
|
318
|
+
<p>存在しないテーブルを指定するとエラーが返ります。</p>
|
319
|
+
<p>実行例:</p>
|
320
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter --logical_table Nonexistent --shard_key created_at
|
321
|
+
# [
|
322
|
+
# [
|
323
|
+
# -22,
|
324
|
+
# 1519132441.586192,
|
325
|
+
# 0.0005924701690673828,
|
326
|
+
# "[logical_range_filter] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
|
327
|
+
# [
|
328
|
+
# [
|
329
|
+
# "Groonga::Sharding::LogicalRangeFilterCommand::Executor.execute",
|
330
|
+
# "/tmp/local/lib/groonga/plugins/sharding/logical_range_filter.rb",
|
331
|
+
# 193
|
332
|
+
# ]
|
333
|
+
# ]
|
334
|
+
# ]
|
335
|
+
# ]
|
336
|
+
</pre></div>
|
337
|
+
</div>
|
255
338
|
</div>
|
256
339
|
<div class="section" id="shard-key">
|
257
|
-
<h4>7.3.33.4.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
340
|
+
<h4>7.3.33.4.1.2. <code class="docutils literal notranslate"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
258
341
|
<p>個々のテーブルで共通のキーとして扱うカラム名を指定します。</p>
|
259
342
|
<p>TODO: Add examples</p>
|
260
343
|
</div>
|
@@ -263,27 +346,27 @@ load --table Entries_20150709
|
|
263
346
|
<h3>7.3.33.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
264
347
|
<p>いくつか省略可能な引数があります。</p>
|
265
348
|
<div class="section" id="min">
|
266
|
-
<h4>7.3.33.4.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
267
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code> の最小値を指定します。</p>
|
349
|
+
<h4>7.3.33.4.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
350
|
+
<p><code class="docutils literal notranslate"><span class="pre">shard_key</span></code> の最小値を指定します。</p>
|
268
351
|
<p>TODO: Add examples</p>
|
269
352
|
</div>
|
270
353
|
<div class="section" id="min-border">
|
271
|
-
<h4>7.3.33.4.2.2. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
272
|
-
<p>最小値を境界値として含めるのか否かを指定します。 <code class="docutils literal"><span class="pre">include</span></code> もしくは <code class="docutils literal"><span class="pre">exclude</span></code> を指定します。</p>
|
354
|
+
<h4>7.3.33.4.2.2. <code class="docutils literal notranslate"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
355
|
+
<p>最小値を境界値として含めるのか否かを指定します。 <code class="docutils literal notranslate"><span class="pre">include</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">exclude</span></code> を指定します。</p>
|
273
356
|
<p>TODO: Add examples</p>
|
274
357
|
</div>
|
275
358
|
<div class="section" id="max">
|
276
|
-
<h4>7.3.33.4.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
277
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code> の最大値を指定します。</p>
|
359
|
+
<h4>7.3.33.4.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
360
|
+
<p><code class="docutils literal notranslate"><span class="pre">shard_key</span></code> の最大値を指定します。</p>
|
278
361
|
<p>TODO: Add examples</p>
|
279
362
|
</div>
|
280
363
|
<div class="section" id="max-border">
|
281
|
-
<h4>7.3.33.4.2.4. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
282
|
-
<p>最大値を境界値として含めるのか否かを指定します。 <code class="docutils literal"><span class="pre">include</span></code> もしくは <code class="docutils literal"><span class="pre">exclude</span></code> を指定します。</p>
|
364
|
+
<h4>7.3.33.4.2.4. <code class="docutils literal notranslate"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
365
|
+
<p>最大値を境界値として含めるのか否かを指定します。 <code class="docutils literal notranslate"><span class="pre">include</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">exclude</span></code> を指定します。</p>
|
283
366
|
<p>TODO: Add examples</p>
|
284
367
|
</div>
|
285
368
|
<div class="section" id="order">
|
286
|
-
<h4>7.3.33.4.2.5. <code class="docutils literal"><span class="pre">order</span></code><a class="headerlink" href="#order" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
369
|
+
<h4>7.3.33.4.2.5. <code class="docutils literal notranslate"><span class="pre">order</span></code><a class="headerlink" href="#order" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
287
370
|
<p>TODO</p>
|
288
371
|
</div>
|
289
372
|
</div>
|
@@ -291,21 +374,21 @@ load --table Entries_20150709
|
|
291
374
|
<span id="logical-range-filter-search-related-parameters"></span><h3>7.3.33.4.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
292
375
|
<p>このコマンドは <a class="reference internal" href="select.html"><span class="doc">select</span></a> 互換の検索関連パラメーターをサポートしています。</p>
|
293
376
|
<div class="section" id="filter">
|
294
|
-
<span id="logical-range-filter-filter"></span><h4>7.3.33.4.3.1. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
377
|
+
<span id="logical-range-filter-filter"></span><h4>7.3.33.4.3.1. <code class="docutils literal notranslate"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
295
378
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> を見てください。</p>
|
296
379
|
<p>以下は例です。</p>
|
297
380
|
<p>TODO</p>
|
298
381
|
</div>
|
299
382
|
<div class="section" id="post-filter">
|
300
|
-
<span id="logical-range-filter-post-filter"></span><h4>7.3.33.4.3.2. <code class="docutils literal"><span class="pre">post_filter</span></code><a class="headerlink" href="#post-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
383
|
+
<span id="logical-range-filter-post-filter"></span><h4>7.3.33.4.3.2. <code class="docutils literal notranslate"><span class="pre">post_filter</span></code><a class="headerlink" href="#post-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
301
384
|
<div class="versionadded">
|
302
|
-
<p><span class="versionmodified">バージョン 7.1.1 で追加.</span></p>
|
385
|
+
<p><span class="versionmodified added">バージョン 7.1.1 で追加.</span></p>
|
303
386
|
</div>
|
304
|
-
<p><code class="docutils literal"><span class="pre">filtered</span></code> ステージの動的カラムが生成されてから実行するフィルターを指定します。 <code class="docutils literal"><span class="pre">post_filter</span></code> を使うと <code class="docutils literal"><span class="pre">filtered</span></code> ステージの動的カラムを使って絞り込むことができます。他は <a class="reference internal" href="#logical-range-filter-filter"><span class="std std-ref">filter</span></a> と同じです。</p>
|
305
|
-
<p><code class="docutils literal"><span class="pre">post_filter</span></code> を使うと、「十分なレコードがマッチしたらそのテーブルの検索を切り上げる」機能が無効になります。(「十分なレコードがマッチしたら残りのテーブルの検索を切り上げる」機能は有効です。)なぜなら <code class="docutils literal"><span class="pre">post_filter</span></code> は動的カラムが生成されるのを待つ必要があるからです。 <a class="reference internal" href="#logical-range-filter-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> も参照してください。</p>
|
306
|
-
<p>以下は人気のあるタグのエントリーだけを表示する例です。対象となるすべてのエントリーには <code class="docutils literal"><span class="pre">system</span></code> または <code class="docutils literal"><span class="pre">use</span></code> という単語が含まれています。</p>
|
387
|
+
<p><code class="docutils literal notranslate"><span class="pre">filtered</span></code> ステージの動的カラムが生成されてから実行するフィルターを指定します。 <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> を使うと <code class="docutils literal notranslate"><span class="pre">filtered</span></code> ステージの動的カラムを使って絞り込むことができます。他は <a class="reference internal" href="#logical-range-filter-filter"><span class="std std-ref">filter</span></a> と同じです。</p>
|
388
|
+
<p><code class="docutils literal notranslate"><span class="pre">post_filter</span></code> を使うと、「十分なレコードがマッチしたらそのテーブルの検索を切り上げる」機能が無効になります。(「十分なレコードがマッチしたら残りのテーブルの検索を切り上げる」機能は有効です。)なぜなら <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> は動的カラムが生成されるのを待つ必要があるからです。 <a class="reference internal" href="#logical-range-filter-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> も参照してください。</p>
|
389
|
+
<p>以下は人気のあるタグのエントリーだけを表示する例です。対象となるすべてのエントリーには <code class="docutils literal notranslate"><span class="pre">system</span></code> または <code class="docutils literal notranslate"><span class="pre">use</span></code> という単語が含まれています。</p>
|
307
390
|
<p>実行例:</p>
|
308
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
391
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
309
392
|
--logical_table Entries \
|
310
393
|
--shard_key created_at \
|
311
394
|
--columns[n_likes_sum_per_tag].stage filtered \
|
@@ -355,11 +438,11 @@ load --table Entries_20150709
|
|
355
438
|
<div class="section" id="output-related-parameters">
|
356
439
|
<h3>7.3.33.4.4. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
357
440
|
<div class="section" id="output-columns">
|
358
|
-
<span id="logical-range-filter-output-columns"></span><h4>7.3.33.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
441
|
+
<span id="logical-range-filter-output-columns"></span><h4>7.3.33.4.4.1. <code class="docutils literal notranslate"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
359
442
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> を見てください。</p>
|
360
443
|
<p>以下は例です。</p>
|
361
444
|
<p>実行例:</p>
|
362
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
445
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
363
446
|
--logical_table Entries \
|
364
447
|
--shard_key created_at \
|
365
448
|
--output_columns '_key, *'
|
@@ -432,12 +515,145 @@ load --table Entries_20150709
|
|
432
515
|
</pre></div>
|
433
516
|
</div>
|
434
517
|
</div>
|
518
|
+
<div class="section" id="sort-keys">
|
519
|
+
<span id="logical-range-filter-sort-keys"></span><h4>7.3.33.4.4.2. <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code><a class="headerlink" href="#sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
520
|
+
<div class="versionadded">
|
521
|
+
<p><span class="versionmodified added">バージョン 8.0.2 で追加.</span></p>
|
522
|
+
</div>
|
523
|
+
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> を見てください。</p>
|
524
|
+
<p><code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> は正常な動作をしません。</p>
|
525
|
+
<div class="admonition note">
|
526
|
+
<p class="admonition-title">注釈</p>
|
527
|
+
<p>複数のシャードに関して例外があります。<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> と <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> に同じ値が指定された場合です。その場合はサポートしています。このコマンドはシャードを昇順で順番に処理します。そのため、<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> の大小関係は保たれるので、正しくソートできます。</p>
|
528
|
+
</div>
|
529
|
+
<p>以下は1つのシャードのみを使っている例です。</p>
|
530
|
+
<p>実行例:</p>
|
531
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
532
|
+
--logical_table Entries \
|
533
|
+
--shard_key created_at \
|
534
|
+
--sort_keys _key \
|
535
|
+
--output_columns _key,created_at
|
536
|
+
# [
|
537
|
+
# [
|
538
|
+
# 0,
|
539
|
+
# 1337566253.89858,
|
540
|
+
# 0.000355720520019531
|
541
|
+
# ],
|
542
|
+
# [
|
543
|
+
# [
|
544
|
+
# [
|
545
|
+
# 5
|
546
|
+
# ],
|
547
|
+
# [
|
548
|
+
# [
|
549
|
+
# "_key",
|
550
|
+
# "ShortText"
|
551
|
+
# ],
|
552
|
+
# [
|
553
|
+
# "created_at",
|
554
|
+
# "Time"
|
555
|
+
# ]
|
556
|
+
# ],
|
557
|
+
# [
|
558
|
+
# "Groonga",
|
559
|
+
# 1436284800.0
|
560
|
+
# ],
|
561
|
+
# [
|
562
|
+
# "Mroonga",
|
563
|
+
# 1436288400.0
|
564
|
+
# ],
|
565
|
+
# [
|
566
|
+
# "The first post!",
|
567
|
+
# 1436281200.0
|
568
|
+
# ],
|
569
|
+
# [
|
570
|
+
# "Good-bye Senna",
|
571
|
+
# 1436367600.0
|
572
|
+
# ],
|
573
|
+
# [
|
574
|
+
# "Good-bye Tritonn",
|
575
|
+
# 1436371200.0
|
576
|
+
# ]
|
577
|
+
# ]
|
578
|
+
# ]
|
579
|
+
# ]
|
580
|
+
</pre></div>
|
581
|
+
</div>
|
582
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> ベースの値を第一ソートキーに指定している例です。</p>
|
583
|
+
<p>実行例:</p>
|
584
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/time
|
585
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
586
|
+
logical_select \
|
587
|
+
--logical_table Entries \
|
588
|
+
--shard_key created_at \
|
589
|
+
--columns[hour2].stage filtered \
|
590
|
+
--columns[hour2].type Time \
|
591
|
+
--columns[hour2].flags COLUMN_SCALAR \
|
592
|
+
--columns[hour2].value 'time_classify_hour(created_at, 2)' \
|
593
|
+
--sort_keys hour2,-n_likes \
|
594
|
+
--output_columns hour2,n_likes,_key
|
595
|
+
# [
|
596
|
+
# [
|
597
|
+
# 0,
|
598
|
+
# 1337566253.89858,
|
599
|
+
# 0.000355720520019531
|
600
|
+
# ],
|
601
|
+
# [
|
602
|
+
# [
|
603
|
+
# [
|
604
|
+
# 5
|
605
|
+
# ],
|
606
|
+
# [
|
607
|
+
# [
|
608
|
+
# "hour2",
|
609
|
+
# "Time"
|
610
|
+
# ],
|
611
|
+
# [
|
612
|
+
# "n_likes",
|
613
|
+
# "UInt32"
|
614
|
+
# ],
|
615
|
+
# [
|
616
|
+
# "_key",
|
617
|
+
# "ShortText"
|
618
|
+
# ]
|
619
|
+
# ],
|
620
|
+
# [
|
621
|
+
# 1436367600.0,
|
622
|
+
# 3,
|
623
|
+
# "Good-bye Senna"
|
624
|
+
# ],
|
625
|
+
# [
|
626
|
+
# 1436367600.0,
|
627
|
+
# 3,
|
628
|
+
# "Good-bye Tritonn"
|
629
|
+
# ],
|
630
|
+
# [
|
631
|
+
# 1436281200.0,
|
632
|
+
# 10,
|
633
|
+
# "Groonga"
|
634
|
+
# ],
|
635
|
+
# [
|
636
|
+
# 1436281200.0,
|
637
|
+
# 5,
|
638
|
+
# "The first post!"
|
639
|
+
# ],
|
640
|
+
# [
|
641
|
+
# 1436288400.0,
|
642
|
+
# 15,
|
643
|
+
# "Mroonga"
|
644
|
+
# ]
|
645
|
+
# ]
|
646
|
+
# ]
|
647
|
+
# ]
|
648
|
+
</pre></div>
|
649
|
+
</div>
|
650
|
+
</div>
|
435
651
|
<div class="section" id="offset">
|
436
|
-
<span id="logical-range-filter-offset"></span><h4>7.3.33.4.4.
|
652
|
+
<span id="logical-range-filter-offset"></span><h4>7.3.33.4.4.3. <code class="docutils literal notranslate"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
437
653
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> を見てください。</p>
|
438
654
|
<p>以下は例です。</p>
|
439
655
|
<p>実行例:</p>
|
440
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
656
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
441
657
|
--logical_table Entries \
|
442
658
|
--shard_key created_at \
|
443
659
|
--offset 2
|
@@ -497,12 +713,12 @@ load --table Entries_20150709
|
|
497
713
|
</div>
|
498
714
|
</div>
|
499
715
|
<div class="section" id="limit">
|
500
|
-
<span id="logical-range-filter-limit"></span><h4>7.3.33.4.4.
|
716
|
+
<span id="logical-range-filter-limit"></span><h4>7.3.33.4.4.4. <code class="docutils literal notranslate"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
501
717
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> を見てください。</p>
|
502
718
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> との違いは、このコマンドは <a class="reference internal" href="#logical-range-filter-offset"><span class="std std-ref">offset</span></a> と <a class="reference internal" href="#logical-range-filter-limit"><span class="std std-ref">limit</span></a> で指定したレコードを見つけたら検索を終了することです。</p>
|
503
719
|
<p>以下は例です。</p>
|
504
720
|
<p>実行例:</p>
|
505
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
721
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
506
722
|
--logical_table Entries \
|
507
723
|
--shard_key created_at \
|
508
724
|
--limit 2
|
@@ -558,7 +774,7 @@ load --table Entries_20150709
|
|
558
774
|
<div class="section" id="test-related-parameters">
|
559
775
|
<h3>7.3.33.4.5. テスト関連の引数<a class="headerlink" href="#test-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
560
776
|
<div class="section" id="use-range-index">
|
561
|
-
<h4>7.3.33.4.5.1. <code class="docutils literal"><span class="pre">use_range_index</span></code><a class="headerlink" href="#use-range-index" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
777
|
+
<h4>7.3.33.4.5.1. <code class="docutils literal notranslate"><span class="pre">use_range_index</span></code><a class="headerlink" href="#use-range-index" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
562
778
|
<p>range_indexを使うかどうかを指定します。ただし、この引数はテスト用なので、本番で使うべきではありません。</p>
|
563
779
|
<p>TODO: Add examples</p>
|
564
780
|
</div>
|
@@ -566,20 +782,20 @@ load --table Entries_20150709
|
|
566
782
|
<div class="section" id="dynamic-column-related-parameters">
|
567
783
|
<span id="logical-range-filter-dynamic-column-related-parameters"></span><h3>7.3.33.4.6. 動的カラム関連の引数<a class="headerlink" href="#dynamic-column-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
568
784
|
<div class="versionadded">
|
569
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
785
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
570
786
|
</div>
|
571
787
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべての動的カラム関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">動的カラム関連の引数</span></a> を見てください。</p>
|
572
|
-
<p>動的カラムを1つ以上使うと、「十分なレコードがマッチしたらそのテーブルの検索を切り上げる」機能が無効になります。(「十分なレコードがマッチしたら残りのテーブルの検索を切り上げる」機能は有効です。) <code class="docutils literal"><span class="pre">logical_range_filter</span></code> は要求されているマッチレコード数が小さくても各テーブルですべてのマッチするレコードを検索します。これはウィンドウ関数をサポートするためです。ウィンドウ関数を実行するには同一テーブル内のすべての対象レコードが必要です。</p>
|
788
|
+
<p>動的カラムを1つ以上使うと、「十分なレコードがマッチしたらそのテーブルの検索を切り上げる」機能が無効になります。(「十分なレコードがマッチしたら残りのテーブルの検索を切り上げる」機能は有効です。) <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> は要求されているマッチレコード数が小さくても各テーブルですべてのマッチするレコードを検索します。これはウィンドウ関数をサポートするためです。ウィンドウ関数を実行するには同一テーブル内のすべての対象レコードが必要です。</p>
|
573
789
|
<div class="section" id="columns-name-stage">
|
574
|
-
<span id="logical-range-filter-columns-name-stage"></span><h4>7.3.33.4.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
790
|
+
<span id="logical-range-filter-columns-name-stage"></span><h4>7.3.33.4.6.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage</span></code><a class="headerlink" href="#columns-name-stage" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
575
791
|
<div class="versionadded">
|
576
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
792
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
577
793
|
</div>
|
578
794
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> を見てください。</p>
|
579
795
|
<p>必須の引数です。</p>
|
580
|
-
<p>以下は <code class="docutils literal"><span class="pre">initial</span></code> ステージで <code class="docutils literal"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal"><span class="pre">filter</span></code> や <code class="docutils literal"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
|
796
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">initial</span></code> ステージで <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> カラムを作る例です。作成した <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> カラムは <code class="docutils literal notranslate"><span class="pre">filter</span></code> や <code class="docutils literal notranslate"><span class="pre">output_columns</span></code> を含むすべてのパラメーターで使えます。</p>
|
581
797
|
<p>実行例:</p>
|
582
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
798
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
583
799
|
--logical_table Entries \
|
584
800
|
--shard_key created_at \
|
585
801
|
--columns[is_popular].stage initial \
|
@@ -624,15 +840,15 @@ load --table Entries_20150709
|
|
624
840
|
</div>
|
625
841
|
</div>
|
626
842
|
<div class="section" id="columns-name-flags">
|
627
|
-
<span id="logical-range-filter-columns-name-flags"></span><h4>7.3.33.4.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
843
|
+
<span id="logical-range-filter-columns-name-flags"></span><h4>7.3.33.4.6.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags</span></code><a class="headerlink" href="#columns-name-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
628
844
|
<div class="versionadded">
|
629
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
845
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
630
846
|
</div>
|
631
847
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> を見てください。</p>
|
632
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
633
|
-
<p>以下は <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
848
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> です。</p>
|
849
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code> フラグを指定してベクターカラムを作る例です。 <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> は <a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> 関数を使うために実行しています。:</p>
|
634
850
|
<p>実行例:</p>
|
635
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
851
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
636
852
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
637
853
|
logical_range_filter \
|
638
854
|
--logical_table Entries \
|
@@ -705,15 +921,15 @@ logical_range_filter \
|
|
705
921
|
</div>
|
706
922
|
</div>
|
707
923
|
<div class="section" id="columns-name-type">
|
708
|
-
<span id="logical-range-filter-columns-name-type"></span><h4>7.3.33.4.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
924
|
+
<span id="logical-range-filter-columns-name-type"></span><h4>7.3.33.4.6.3. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type</span></code><a class="headerlink" href="#columns-name-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
709
925
|
<div class="versionadded">
|
710
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
926
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
711
927
|
</div>
|
712
928
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> を見てください。</p>
|
713
929
|
<p>必須の引数です。</p>
|
714
|
-
<p>以下は <code class="docutils literal"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
930
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> 型のカラムを作る例です。保存された値は自動的に <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされます。この例では数値が <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> にキャストされています。</p>
|
715
931
|
<p>実行例:</p>
|
716
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
932
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
717
933
|
--logical_table Entries \
|
718
934
|
--shard_key created_at \
|
719
935
|
--columns[n_likes_string].stage initial \
|
@@ -772,16 +988,16 @@ logical_range_filter \
|
|
772
988
|
</div>
|
773
989
|
</div>
|
774
990
|
<div class="section" id="columns-name-value">
|
775
|
-
<span id="logical-range-filter-columns-name-value"></span><h4>7.3.33.4.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
991
|
+
<span id="logical-range-filter-columns-name-value"></span><h4>7.3.33.4.6.4. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value</span></code><a class="headerlink" href="#columns-name-value" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
776
992
|
<div class="versionadded">
|
777
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
993
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
778
994
|
</div>
|
779
995
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> を見てください。</p>
|
780
|
-
<p>ウィンドウ関数を使う場合は、 <code class="docutils literal"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-range-filter-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
996
|
+
<p>ウィンドウ関数を使う場合は、 <code class="docutils literal notranslate"><span class="pre">value</span></code> の値に <a class="reference internal" href="../window_function.html"><span class="doc">ウィンドウ関数</span></a> を指定し、さらに他のウィンドウ関数関連のパラメーターも指定する必要があります。詳細は <a class="reference internal" href="#logical-range-filter-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
781
997
|
<p>必須の引数です。</p>
|
782
|
-
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
998
|
+
<p>以下は内容の文字数を格納するための動的カラムを1つ作る例です。この例では文字数を数えるために <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグイン内の <a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> 関数を使っています。 <code class="docutils literal notranslate"><span class="pre">functions/string</span></code> プラグインを登録するために <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> を使っています。</p>
|
783
999
|
<p>実行例:</p>
|
784
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1000
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string
|
785
1001
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
786
1002
|
logical_range_filter \
|
787
1003
|
--logical_table Entries \
|
@@ -845,23 +1061,110 @@ logical_range_filter \
|
|
845
1061
|
<div class="section" id="window-function-related-parameters">
|
846
1062
|
<span id="logical-range-filter-window-function-related-parameters"></span><h3>7.3.33.4.7. ウィンドウ関数関連の引数<a class="headerlink" href="#window-function-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
847
1063
|
<div class="versionadded">
|
848
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
1064
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
849
1065
|
</div>
|
850
1066
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> のすべてのウィンドウ関数関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">ウィンドウ関数関連の引数</span></a> を見てください。</p>
|
851
1067
|
<div class="admonition note">
|
852
|
-
<p class="
|
853
|
-
<p
|
1068
|
+
<p class="admonition-title">注釈</p>
|
1069
|
+
<p>バージョン9.0.1以前では、複数のテーブルをまたがったウィンドウ関数はサポートしていません。バージョン9.0.2以降ではサポートしていますが、先頭のグループキーまたは、ソートキーがシャードキーと同じ順序で並んでいる必要があります。</p>
|
1070
|
+
<p>例えば、以下のようなケースでは、複数のテーブルをまたいでウインドウ関数を適用できます。以下の例では、先頭のグループキーがシャードキーと同じ順序で並んでいるからです。</p>
|
1071
|
+
<p>以下の例では、先頭のグループキーは <code class="docutils literal notranslate"><span class="pre">price</span></code> でシャードキーは <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> です。 <code class="docutils literal notranslate"><span class="pre">price</span></code> と <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> は同じ順序で並んでいるため、複数のテーブルをまたいでウインドウ関数を適用できます。</p>
|
1072
|
+
</div>
|
1073
|
+
<p>実行例:</p>
|
1074
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
1075
|
+
|
1076
|
+
table_create Logs_20170415 TABLE_NO_KEY
|
1077
|
+
column_create Logs_20170415 timestamp COLUMN_SCALAR Time
|
1078
|
+
column_create Logs_20170415 price COLUMN_SCALAR UInt32
|
1079
|
+
column_create Logs_20170415 n_likes COLUMN_SCALAR UInt32
|
1080
|
+
|
1081
|
+
table_create Logs_20170416 TABLE_NO_KEY
|
1082
|
+
column_create Logs_20170416 timestamp COLUMN_SCALAR Time
|
1083
|
+
column_create Logs_20170416 price COLUMN_SCALAR UInt32
|
1084
|
+
column_create Logs_20170416 n_likes COLUMN_SCALAR UInt32
|
1085
|
+
|
1086
|
+
load --table Logs_20170415
|
1087
|
+
[
|
1088
|
+
{"timestamp": "2017/04/15 00:00:00", "n_likes": 2, "price": 100},
|
1089
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 1, "price": 100},
|
1090
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 2, "price": 200}
|
1091
|
+
]
|
1092
|
+
|
1093
|
+
load --table Logs_20170416
|
1094
|
+
[
|
1095
|
+
{"timestamp": "2017/04/16 10:00:00", "n_likes": 1, "price": 200},
|
1096
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 2, "price": 300},
|
1097
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 1, "price": 300}
|
1098
|
+
]
|
1099
|
+
|
1100
|
+
logical_range_filter Logs \
|
1101
|
+
--shard_key timestamp \
|
1102
|
+
--columns[count].stage initial \
|
1103
|
+
--columns[count].type UInt32 \
|
1104
|
+
--columns[count].flags COLUMN_SCALAR \
|
1105
|
+
--columns[count].value 'window_count()' \
|
1106
|
+
--columns[count].window.group_keys price \
|
1107
|
+
--output_columns price,count
|
1108
|
+
# [
|
1109
|
+
# [
|
1110
|
+
# 0,
|
1111
|
+
# 0.0,
|
1112
|
+
# 0.0
|
1113
|
+
# ],
|
1114
|
+
# [
|
1115
|
+
# [
|
1116
|
+
# [
|
1117
|
+
# 6
|
1118
|
+
# ],
|
1119
|
+
# [
|
1120
|
+
# [
|
1121
|
+
# "price",
|
1122
|
+
# "UInt32"
|
1123
|
+
# ],
|
1124
|
+
# [
|
1125
|
+
# "count",
|
1126
|
+
# "UInt32"
|
1127
|
+
# ]
|
1128
|
+
# ],
|
1129
|
+
# [
|
1130
|
+
# 100,
|
1131
|
+
# 2
|
1132
|
+
# ],
|
1133
|
+
# [
|
1134
|
+
# 100,
|
1135
|
+
# 2
|
1136
|
+
# ],
|
1137
|
+
# [
|
1138
|
+
# 200,
|
1139
|
+
# 2
|
1140
|
+
# ],
|
1141
|
+
# [
|
1142
|
+
# 200,
|
1143
|
+
# 2
|
1144
|
+
# ],
|
1145
|
+
# [
|
1146
|
+
# 300,
|
1147
|
+
# 2
|
1148
|
+
# ],
|
1149
|
+
# [
|
1150
|
+
# 300,
|
1151
|
+
# 2
|
1152
|
+
# ]
|
1153
|
+
# ]
|
1154
|
+
# ]
|
1155
|
+
# ]
|
1156
|
+
</pre></div>
|
854
1157
|
</div>
|
855
1158
|
<div class="section" id="columns-name-window-sort-keys">
|
856
|
-
<span id="logical-range-filter-columns-name-window-sort-keys"></span><h4>7.3.33.4.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1159
|
+
<span id="logical-range-filter-columns-name-window-sort-keys"></span><h4>7.3.33.4.7.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys</span></code><a class="headerlink" href="#columns-name-window-sort-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
857
1160
|
<div class="versionadded">
|
858
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
1161
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
859
1162
|
</div>
|
860
1163
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> を見てください。</p>
|
861
1164
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-range-filter-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-range-filter-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
862
|
-
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal"><span class="pre">Entries._key</span></code> でソートします。</p>
|
1165
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code> 毎に累積和を計算する例です。各グループ内のレコードは <code class="docutils literal notranslate"><span class="pre">Entries._key</span></code> でソートします。</p>
|
863
1166
|
<p>実行例:</p>
|
864
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1167
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
865
1168
|
--logical_table Entries \
|
866
1169
|
--shard_key created_at \
|
867
1170
|
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
@@ -931,15 +1234,15 @@ logical_range_filter \
|
|
931
1234
|
</div>
|
932
1235
|
</div>
|
933
1236
|
<div class="section" id="columns-name-window-group-keys">
|
934
|
-
<span id="logical-range-filter-columns-name-window-group-keys"></span><h4>7.3.33.4.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1237
|
+
<span id="logical-range-filter-columns-name-window-group-keys"></span><h4>7.3.33.4.7.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys</span></code><a class="headerlink" href="#columns-name-window-group-keys" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
935
1238
|
<div class="versionadded">
|
936
|
-
<p><span class="versionmodified">バージョン 7.0.9 で追加.</span></p>
|
1239
|
+
<p><span class="versionmodified added">バージョン 7.0.9 で追加.</span></p>
|
937
1240
|
</div>
|
938
1241
|
<p><a class="reference internal" href="select.html"><span class="doc">select</span></a> の <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を見てください。</p>
|
939
1242
|
<p>ウィンドウ関数を使うには <a class="reference internal" href="#logical-range-filter-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> または <a class="reference internal" href="#logical-range-filter-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> を指定しなければいけません。</p>
|
940
|
-
<p>以下は <code class="docutils literal"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
|
1243
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code> 毎に合計を計算する例です。</p>
|
941
1244
|
<p>実行例:</p>
|
942
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1245
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
943
1246
|
--logical_table Entries \
|
944
1247
|
--shard_key created_at \
|
945
1248
|
--columns[n_likes_sum_per_tag].stage initial \
|
@@ -1011,33 +1314,33 @@ logical_range_filter \
|
|
1011
1314
|
<div class="section" id="cache-related-parameter">
|
1012
1315
|
<h3>7.3.33.4.8. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1013
1316
|
<div class="section" id="cache">
|
1014
|
-
<span id="logical-range-filter-cache"></span><h4>7.3.33.4.8.1. <code class="docutils literal"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1317
|
+
<span id="logical-range-filter-cache"></span><h4>7.3.33.4.8.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1015
1318
|
<p>このクエリーの結果をキャッシュするかどうかを指定します。</p>
|
1016
1319
|
<p>このクエリーの結果がキャッシュしてあると、次に同じクエリーを実行するときはキャッシュを使って高速にレスポンスを返すことができます。</p>
|
1017
1320
|
<p>これは既存のキャッシュされた結果を使うかどうかを指定するものではありません。</p>
|
1018
1321
|
<p>指定可能な値は以下の通りです。</p>
|
1019
|
-
<table
|
1322
|
+
<table class="docutils align-center">
|
1020
1323
|
<colgroup>
|
1021
|
-
<col
|
1022
|
-
<col
|
1324
|
+
<col style="width: 50%" />
|
1325
|
+
<col style="width: 50%" />
|
1023
1326
|
</colgroup>
|
1024
|
-
<thead
|
1025
|
-
<tr class="row-odd"><th class="head"
|
1026
|
-
<th class="head">説明</th>
|
1327
|
+
<thead>
|
1328
|
+
<tr class="row-odd"><th class="head"><p>値</p></th>
|
1329
|
+
<th class="head"><p>説明</p></th>
|
1027
1330
|
</tr>
|
1028
1331
|
</thead>
|
1029
|
-
<tbody
|
1030
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">no</span></code></td>
|
1031
|
-
<td>このクエリーの出力をキャッシュしない。</td>
|
1332
|
+
<tbody>
|
1333
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">no</span></code></p></td>
|
1334
|
+
<td><p>このクエリーの出力をキャッシュしない。</p></td>
|
1032
1335
|
</tr>
|
1033
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">yes</span></code></td>
|
1034
|
-
<td>このクエリーの出力をキャッシュする。デフォルト値。</td>
|
1336
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">yes</span></code></p></td>
|
1337
|
+
<td><p>このクエリーの出力をキャッシュする。デフォルト値。</p></td>
|
1035
1338
|
</tr>
|
1036
1339
|
</tbody>
|
1037
1340
|
</table>
|
1038
1341
|
<p>このクエリーの結果をキャッシュしないようにする例です。</p>
|
1039
1342
|
<p>実行例:</p>
|
1040
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1343
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
1041
1344
|
--logical_table Entries \
|
1042
1345
|
--shard_key created_at \
|
1043
1346
|
--cache no
|
@@ -1109,14 +1412,14 @@ logical_range_filter \
|
|
1109
1412
|
# ]
|
1110
1413
|
</pre></div>
|
1111
1414
|
</div>
|
1112
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">yes</span></code> です。</p>
|
1415
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">yes</span></code> です。</p>
|
1113
1416
|
</div>
|
1114
1417
|
</div>
|
1115
1418
|
</div>
|
1116
1419
|
<div class="section" id="return-value">
|
1117
1420
|
<h2>7.3.33.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
1118
|
-
<p
|
1119
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1421
|
+
<p>このコマンドは以下のフォーマットのレスポンスを返します。:</p>
|
1422
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1120
1423
|
HEADER,
|
1121
1424
|
[
|
1122
1425
|
COLUMNS,
|
@@ -1125,10 +1428,10 @@ logical_range_filter \
|
|
1125
1428
|
]
|
1126
1429
|
</pre></div>
|
1127
1430
|
</div>
|
1128
|
-
<p>このコマンドが失敗すると、 <code class="docutils literal"><span class="pre">HEADER</span></code> にエラーの詳細が含まれます。</p>
|
1129
|
-
<p><code class="docutils literal"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
1130
|
-
<p><code class="docutils literal"><span class="pre">COLUMNS</span></code> は <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> で指定した出力カラムの情報を表しています。これは次のフォーマットになっています:</p>
|
1131
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1431
|
+
<p>このコマンドが失敗すると、 <code class="docutils literal notranslate"><span class="pre">HEADER</span></code> にエラーの詳細が含まれます。</p>
|
1432
|
+
<p><code class="docutils literal notranslate"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
1433
|
+
<p><code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code> は <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> で指定した出力カラムの情報を表しています。これは次のフォーマットになっています:</p>
|
1434
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1132
1435
|
[COLUMN_NAME_1, COLUMN_TYPE_1],
|
1133
1436
|
[COLUMN_NAME_2, COLUMN_TYPE_2],
|
1134
1437
|
...,
|
@@ -1136,27 +1439,27 @@ logical_range_filter \
|
|
1136
1439
|
]
|
1137
1440
|
</pre></div>
|
1138
1441
|
</div>
|
1139
|
-
<p><code class="docutils literal"><span class="pre">COLUMNS</span></code> は1つ以上の出力カラムの情報を含んでいます。各出力カラムの情報は次の情報を含んでいます。</p>
|
1442
|
+
<p><code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code> は1つ以上の出力カラムの情報を含んでいます。各出力カラムの情報は次の情報を含んでいます。</p>
|
1140
1443
|
<blockquote>
|
1141
1444
|
<div><ul class="simple">
|
1142
|
-
<li>カラム名(文字列)</li>
|
1143
|
-
<li>カラムの型(文字列または <code class="docutils literal"><span class="pre">null</span></code> )</li>
|
1445
|
+
<li><p>カラム名(文字列)</p></li>
|
1446
|
+
<li><p>カラムの型(文字列または <code class="docutils literal notranslate"><span class="pre">null</span></code> )</p></li>
|
1144
1447
|
</ul>
|
1145
1448
|
</div></blockquote>
|
1146
1449
|
<p>カラム名は <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> で指定された値から抽出しています。</p>
|
1147
|
-
<p>カラムの方はGroongaでの型名または <code class="docutils literal"><span class="pre">null</span></code> です。カラムがベクターかスカラーかの情報は持っていません。実際のカラムの値が配列かどうかで判断する必要があります。</p>
|
1450
|
+
<p>カラムの方はGroongaでの型名または <code class="docutils literal notranslate"><span class="pre">null</span></code> です。カラムがベクターかスカラーかの情報は持っていません。実際のカラムの値が配列かどうかで判断する必要があります。</p>
|
1148
1451
|
<p>型の詳細は <a class="reference internal" href="../types.html"><span class="doc">データ型</span></a> を見てください。</p>
|
1149
|
-
<p><code class="docutils literal"><span class="pre">null</span></code> になるときはカラムの値の型を決められないときです。たとえば、 <code class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">"snippet_html(content)"</span></code> というように <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> の中で関数呼び出しを使ったときは <code class="docutils literal"><span class="pre">null</span></code> になります。</p>
|
1150
|
-
<p>以下は <code class="docutils literal"><span class="pre">COLUMNS</span></code> の使用例です:</p>
|
1151
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1452
|
+
<p><code class="docutils literal notranslate"><span class="pre">null</span></code> になるときはカラムの値の型を決められないときです。たとえば、 <code class="docutils literal notranslate"><span class="pre">--output_columns</span> <span class="pre">"snippet_html(content)"</span></code> というように <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> の中で関数呼び出しを使ったときは <code class="docutils literal notranslate"><span class="pre">null</span></code> になります。</p>
|
1453
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code> の使用例です:</p>
|
1454
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1152
1455
|
["_id", "UInt32"],
|
1153
1456
|
["_key", "ShortText"],
|
1154
1457
|
["n_likes", "UInt32"],
|
1155
1458
|
]
|
1156
1459
|
</pre></div>
|
1157
1460
|
</div>
|
1158
|
-
<p><code class="docutils literal"><span class="pre">RECORDS</span></code> はマッチした各レコードのカラムの値を含んでいます。 <code class="docutils literal"><span class="pre">RECORDS</span></code> に含まれるレコードは <a class="reference internal" href="#logical-range-filter-offset"><span class="std std-ref">offset</span></a> と <a class="reference internal" href="#logical-range-filter-limit"><span class="std std-ref">limit</span></a> で選択されたレコードです。 <code class="docutils literal"><span class="pre">RECORDS</span></code> は次のフォーマットです:</p>
|
1159
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1461
|
+
<p><code class="docutils literal notranslate"><span class="pre">RECORDS</span></code> はマッチした各レコードのカラムの値を含んでいます。 <code class="docutils literal notranslate"><span class="pre">RECORDS</span></code> に含まれるレコードは <a class="reference internal" href="#logical-range-filter-offset"><span class="std std-ref">offset</span></a> と <a class="reference internal" href="#logical-range-filter-limit"><span class="std std-ref">limit</span></a> で選択されたレコードです。 <code class="docutils literal notranslate"><span class="pre">RECORDS</span></code> は次のフォーマットです:</p>
|
1462
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1160
1463
|
[
|
1161
1464
|
RECORD_1_COLUMN_1,
|
1162
1465
|
RECORD_1_COLUMN_2,
|
@@ -1179,8 +1482,8 @@ logical_range_filter \
|
|
1179
1482
|
]
|
1180
1483
|
</pre></div>
|
1181
1484
|
</div>
|
1182
|
-
<p>以下は <code class="docutils literal"><span class="pre">RECORDS</span></code> の例です:</p>
|
1183
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1485
|
+
<p>以下は <code class="docutils literal notranslate"><span class="pre">RECORDS</span></code> の例です:</p>
|
1486
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1184
1487
|
[
|
1185
1488
|
1,
|
1186
1489
|
"The first post!",
|
@@ -1210,7 +1513,7 @@ logical_range_filter \
|
|
1210
1513
|
<div class="sphinxsidebarwrapper">
|
1211
1514
|
<h3><a href="../../index.html">目次</a></h3>
|
1212
1515
|
<ul>
|
1213
|
-
<li><a class="reference internal" href="#">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a><ul>
|
1516
|
+
<li><a class="reference internal" href="#">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a><ul>
|
1214
1517
|
<li><a class="reference internal" href="#summary">7.3.33.1. 概要</a></li>
|
1215
1518
|
<li><a class="reference internal" href="#syntax">7.3.33.2. 構文</a></li>
|
1216
1519
|
<li><a class="reference internal" href="#usage">7.3.33.3. 使い方</a><ul>
|
@@ -1219,47 +1522,48 @@ logical_range_filter \
|
|
1219
1522
|
</li>
|
1220
1523
|
<li><a class="reference internal" href="#parameters">7.3.33.4. 引数</a><ul>
|
1221
1524
|
<li><a class="reference internal" href="#required-parameters">7.3.33.4.1. 必須引数</a><ul>
|
1222
|
-
<li><a class="reference internal" href="#logical-table">7.3.33.4.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
|
1223
|
-
<li><a class="reference internal" href="#shard-key">7.3.33.4.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
|
1525
|
+
<li><a class="reference internal" href="#logical-table">7.3.33.4.1.1. <code class="docutils literal notranslate"><span class="pre">logical_table</span></code></a></li>
|
1526
|
+
<li><a class="reference internal" href="#shard-key">7.3.33.4.1.2. <code class="docutils literal notranslate"><span class="pre">shard_key</span></code></a></li>
|
1224
1527
|
</ul>
|
1225
1528
|
</li>
|
1226
1529
|
<li><a class="reference internal" href="#optional-parameters">7.3.33.4.2. 省略可能引数</a><ul>
|
1227
|
-
<li><a class="reference internal" href="#min">7.3.33.4.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
|
1228
|
-
<li><a class="reference internal" href="#min-border">7.3.33.4.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
|
1229
|
-
<li><a class="reference internal" href="#max">7.3.33.4.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
|
1230
|
-
<li><a class="reference internal" href="#max-border">7.3.33.4.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
|
1231
|
-
<li><a class="reference internal" href="#order">7.3.33.4.2.5. <code class="docutils literal"><span class="pre">order</span></code></a></li>
|
1530
|
+
<li><a class="reference internal" href="#min">7.3.33.4.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code></a></li>
|
1531
|
+
<li><a class="reference internal" href="#min-border">7.3.33.4.2.2. <code class="docutils literal notranslate"><span class="pre">min_border</span></code></a></li>
|
1532
|
+
<li><a class="reference internal" href="#max">7.3.33.4.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code></a></li>
|
1533
|
+
<li><a class="reference internal" href="#max-border">7.3.33.4.2.4. <code class="docutils literal notranslate"><span class="pre">max_border</span></code></a></li>
|
1534
|
+
<li><a class="reference internal" href="#order">7.3.33.4.2.5. <code class="docutils literal notranslate"><span class="pre">order</span></code></a></li>
|
1232
1535
|
</ul>
|
1233
1536
|
</li>
|
1234
1537
|
<li><a class="reference internal" href="#search-related-parameters">7.3.33.4.3. 検索関係の引数</a><ul>
|
1235
|
-
<li><a class="reference internal" href="#filter">7.3.33.4.3.1. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
1236
|
-
<li><a class="reference internal" href="#post-filter">7.3.33.4.3.2. <code class="docutils literal"><span class="pre">post_filter</span></code></a></li>
|
1538
|
+
<li><a class="reference internal" href="#filter">7.3.33.4.3.1. <code class="docutils literal notranslate"><span class="pre">filter</span></code></a></li>
|
1539
|
+
<li><a class="reference internal" href="#post-filter">7.3.33.4.3.2. <code class="docutils literal notranslate"><span class="pre">post_filter</span></code></a></li>
|
1237
1540
|
</ul>
|
1238
1541
|
</li>
|
1239
1542
|
<li><a class="reference internal" href="#output-related-parameters">7.3.33.4.4. 出力関連の引数</a><ul>
|
1240
|
-
<li><a class="reference internal" href="#output-columns">7.3.33.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
|
1241
|
-
<li><a class="reference internal" href="#
|
1242
|
-
<li><a class="reference internal" href="#
|
1543
|
+
<li><a class="reference internal" href="#output-columns">7.3.33.4.4.1. <code class="docutils literal notranslate"><span class="pre">output_columns</span></code></a></li>
|
1544
|
+
<li><a class="reference internal" href="#sort-keys">7.3.33.4.4.2. <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code></a></li>
|
1545
|
+
<li><a class="reference internal" href="#offset">7.3.33.4.4.3. <code class="docutils literal notranslate"><span class="pre">offset</span></code></a></li>
|
1546
|
+
<li><a class="reference internal" href="#limit">7.3.33.4.4.4. <code class="docutils literal notranslate"><span class="pre">limit</span></code></a></li>
|
1243
1547
|
</ul>
|
1244
1548
|
</li>
|
1245
1549
|
<li><a class="reference internal" href="#test-related-parameters">7.3.33.4.5. テスト関連の引数</a><ul>
|
1246
|
-
<li><a class="reference internal" href="#use-range-index">7.3.33.4.5.1. <code class="docutils literal"><span class="pre">use_range_index</span></code></a></li>
|
1550
|
+
<li><a class="reference internal" href="#use-range-index">7.3.33.4.5.1. <code class="docutils literal notranslate"><span class="pre">use_range_index</span></code></a></li>
|
1247
1551
|
</ul>
|
1248
1552
|
</li>
|
1249
1553
|
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.33.4.6. 動的カラム関連の引数</a><ul>
|
1250
|
-
<li><a class="reference internal" href="#columns-name-stage">7.3.33.4.6.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
1251
|
-
<li><a class="reference internal" href="#columns-name-flags">7.3.33.4.6.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
1252
|
-
<li><a class="reference internal" href="#columns-name-type">7.3.33.4.6.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
1253
|
-
<li><a class="reference internal" href="#columns-name-value">7.3.33.4.6.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
1554
|
+
<li><a class="reference internal" href="#columns-name-stage">7.3.33.4.6.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
1555
|
+
<li><a class="reference internal" href="#columns-name-flags">7.3.33.4.6.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
1556
|
+
<li><a class="reference internal" href="#columns-name-type">7.3.33.4.6.3. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
1557
|
+
<li><a class="reference internal" href="#columns-name-value">7.3.33.4.6.4. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
1254
1558
|
</ul>
|
1255
1559
|
</li>
|
1256
1560
|
<li><a class="reference internal" href="#window-function-related-parameters">7.3.33.4.7. ウィンドウ関数関連の引数</a><ul>
|
1257
|
-
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.33.4.7.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
1258
|
-
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.33.4.7.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
1561
|
+
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.33.4.7.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
1562
|
+
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.33.4.7.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
1259
1563
|
</ul>
|
1260
1564
|
</li>
|
1261
1565
|
<li><a class="reference internal" href="#cache-related-parameter">7.3.33.4.8. キャッシュ関連の引数</a><ul>
|
1262
|
-
<li><a class="reference internal" href="#cache">7.3.33.4.8.1. <code class="docutils literal"><span class="pre">cache</span></code></a></li>
|
1566
|
+
<li><a class="reference internal" href="#cache">7.3.33.4.8.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code></a></li>
|
1263
1567
|
</ul>
|
1264
1568
|
</li>
|
1265
1569
|
</ul>
|
@@ -1271,18 +1575,18 @@ logical_range_filter \
|
|
1271
1575
|
|
1272
1576
|
<h4>前のトピックへ</h4>
|
1273
1577
|
<p class="topless"><a href="logical_parameters.html"
|
1274
|
-
title="前の章へ">7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code></a></p>
|
1578
|
+
title="前の章へ">7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a></p>
|
1275
1579
|
<h4>次のトピックへ</h4>
|
1276
1580
|
<p class="topless"><a href="logical_select.html"
|
1277
|
-
title="次の章へ">7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code></a></p>
|
1581
|
+
title="次の章へ">7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a></p>
|
1278
1582
|
<div id="searchbox" style="display: none" role="search">
|
1279
1583
|
<h3>クイック検索</h3>
|
1584
|
+
<div class="searchformwrapper">
|
1280
1585
|
<form class="search" action="../../search.html" method="get">
|
1281
|
-
<
|
1282
|
-
<
|
1283
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
1284
|
-
<input type="hidden" name="area" value="default" />
|
1586
|
+
<input type="text" name="q" />
|
1587
|
+
<input type="submit" value="検索" />
|
1285
1588
|
</form>
|
1589
|
+
</div>
|
1286
1590
|
</div>
|
1287
1591
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1288
1592
|
</div>
|
@@ -1301,13 +1605,13 @@ logical_range_filter \
|
|
1301
1605
|
<li class="right" >
|
1302
1606
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
1303
1607
|
>前へ</a> |</li>
|
1304
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
1608
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
1305
1609
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
1306
1610
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
1307
1611
|
</ul>
|
1308
1612
|
</div>
|
1309
1613
|
<div class="footer" role="contentinfo">
|
1310
|
-
© Copyright 2009-
|
1614
|
+
© Copyright 2009-2019, Brazil, Inc.
|
1311
1615
|
</div>
|
1312
1616
|
</body>
|
1313
1617
|
</html>
|