rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,34 +1,26 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.32. logical_parameters — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.32. logical_parameters — Groonga v9.0.2 documentation</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../../search.html" />
|
28
21
|
<link rel="next" title="7.3.33. logical_range_filter" href="logical_range_filter.html" />
|
29
22
|
<link rel="prev" title="7.3.31. logical_count" href="logical_count.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../../index.html">
|
@@ -58,7 +50,7 @@
|
|
58
50
|
<li class="right" >
|
59
51
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
60
52
|
accesskey="P">previous</a> |</li>
|
61
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
53
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
62
54
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
63
55
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
64
56
|
</ul>
|
@@ -70,65 +62,65 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="logical-parameters">
|
73
|
-
<h1>7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code><a class="headerlink" href="#logical-parameters" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code><a class="headerlink" href="#logical-parameters" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.32.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
68
|
<div class="versionadded">
|
77
|
-
<p><span class="versionmodified">New in version 5.0.6.</span></p>
|
69
|
+
<p><span class="versionmodified added">New in version 5.0.6.</span></p>
|
78
70
|
</div>
|
79
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> is a command for test. Normally, you don
|
71
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> is a command for test. Normally, you don’t need
|
80
72
|
to use this command.</p>
|
81
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> provides the following two features:</p>
|
73
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> provides the following two features:</p>
|
82
74
|
<blockquote>
|
83
75
|
<div><ul class="simple">
|
84
|
-
<li>It returns the current parameters for <code class="docutils literal"><span class="pre">logical_*</span></code> commands.</li>
|
85
|
-
<li>It sets new parameters for <code class="docutils literal"><span class="pre">logical_*</span></code> commands.</li>
|
76
|
+
<li><p>It returns the current parameters for <code class="docutils literal notranslate"><span class="pre">logical_*</span></code> commands.</p></li>
|
77
|
+
<li><p>It sets new parameters for <code class="docutils literal notranslate"><span class="pre">logical_*</span></code> commands.</p></li>
|
86
78
|
</ul>
|
87
79
|
</div></blockquote>
|
88
80
|
<p>Here is a list of parameters:</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
|
97
|
-
<a class="reference internal" href="../api/grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a>.) If you want to control the parameters
|
98
|
-
perfectly, you should reduce the max number of threads to <code class="docutils literal"><span class="pre">1</span></code> by
|
99
|
-
<a class="reference internal" href="thread_limit.html"><span class="doc">thread_limit</span></a> while you
|
87
|
+
<p class="admonition-title">Note</p>
|
88
|
+
<p>The parameters are independent in each thread. (To be exact, each
|
89
|
+
<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>.) If you want to control the parameters
|
90
|
+
perfectly, you should reduce the max number of threads to <code class="docutils literal notranslate"><span class="pre">1</span></code> by
|
91
|
+
<a class="reference internal" href="thread_limit.html"><span class="doc">thread_limit</span></a> while you’re using the
|
100
92
|
parameters.</p>
|
101
93
|
</div>
|
102
94
|
</div>
|
103
95
|
<div class="section" id="syntax">
|
104
96
|
<h2>7.3.32.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
105
97
|
<p>This command takes only one optional parameter:</p>
|
106
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters [range_index=null]
|
98
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters [range_index=null]
|
107
99
|
</pre></div>
|
108
100
|
</div>
|
109
101
|
</div>
|
110
102
|
<div class="section" id="usage">
|
111
103
|
<h2>7.3.32.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
112
|
-
<p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin to use this command:</p>
|
104
|
+
<p>You need to register <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin to use this command:</p>
|
113
105
|
<p>Execution example:</p>
|
114
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
106
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
115
107
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
116
108
|
</pre></div>
|
117
109
|
</div>
|
118
110
|
<p>You can get the all current parameter values by calling without
|
119
111
|
parameters:</p>
|
120
112
|
<p>Execution example:</p>
|
121
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters
|
113
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters
|
122
114
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
123
115
|
</pre></div>
|
124
116
|
</div>
|
125
117
|
<p>You can set new values by calling with parameters:</p>
|
126
118
|
<p>Execution example:</p>
|
127
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
119
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
128
120
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
129
121
|
</pre></div>
|
130
122
|
</div>
|
131
|
-
<p><code class="docutils literal"><span class="pre">logical_parameters</span></code> returns the parameter values before new values
|
123
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code> returns the parameter values before new values
|
132
124
|
are set when you set new values.</p>
|
133
125
|
</div>
|
134
126
|
<div class="section" id="parameters">
|
@@ -142,35 +134,35 @@ are set when you set new values.</p>
|
|
142
134
|
<h3>7.3.32.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
143
135
|
<p>There is one optional parameter.</p>
|
144
136
|
<div class="section" id="range-index">
|
145
|
-
<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="Permalink to this headline">¶</a></h4>
|
137
|
+
<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="Permalink to this headline">¶</a></h4>
|
146
138
|
<p>Specifies how to use range index in <a class="reference internal" href="logical_range_filter.html"><span class="doc">logical_range_filter</span></a> by
|
147
139
|
keyword.</p>
|
148
140
|
<p>Here are available keywords:</p>
|
149
141
|
<blockquote>
|
150
142
|
<div><ul class="simple">
|
151
|
-
<li><code class="docutils literal"><span class="pre">auto</span></code> (default)</li>
|
152
|
-
<li><code class="docutils literal"><span class="pre">always</span></code></li>
|
153
|
-
<li><code class="docutils literal"><span class="pre">never</span></code></li>
|
143
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">auto</span></code> (default)</p></li>
|
144
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">always</span></code></p></li>
|
145
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">never</span></code></p></li>
|
154
146
|
</ul>
|
155
147
|
</div></blockquote>
|
156
|
-
<p>If <code class="docutils literal"><span class="pre">auto</span></code> is specified, range index is used only when it
|
148
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">auto</span></code> is specified, range index is used only when it’ll be
|
157
149
|
efficient. This is the default value.</p>
|
158
150
|
<p>Execution example:</p>
|
159
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index auto
|
151
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index auto
|
160
152
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "never"}]
|
161
153
|
</pre></div>
|
162
154
|
</div>
|
163
|
-
<p>If <code class="docutils literal"><span class="pre">always</span></code> is specified, range index is always used. It
|
155
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">always</span></code> is specified, range index is always used. It’ll be
|
164
156
|
useful for testing a case that range index is used.</p>
|
165
157
|
<p>Execution example:</p>
|
166
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index always
|
158
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index always
|
167
159
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "auto"}]
|
168
160
|
</pre></div>
|
169
161
|
</div>
|
170
|
-
<p>If <code class="docutils literal"><span class="pre">never</span></code> is specified, range index is never used. It
|
171
|
-
for testing a case that range index isn
|
162
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">never</span></code> is specified, range index is never used. It’ll be useful
|
163
|
+
for testing a case that range index isn’t used.</p>
|
172
164
|
<p>Execution example:</p>
|
173
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
165
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_parameters --range_index never
|
174
166
|
# [[0, 1337566253.89858, 0.000355720520019531], {"range_index": "always"}]
|
175
167
|
</pre></div>
|
176
168
|
</div>
|
@@ -179,22 +171,22 @@ for testing a case that range index isn't used.</p>
|
|
179
171
|
</div>
|
180
172
|
<div class="section" id="return-value">
|
181
173
|
<h2>7.3.32.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
182
|
-
<p>The command returns the current parameters for <code class="docutils literal"><span class="pre">logical_*</span></code> command:</p>
|
183
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
174
|
+
<p>The command returns the current parameters for <code class="docutils literal notranslate"><span class="pre">logical_*</span></code> command:</p>
|
175
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
184
176
|
HEADER,
|
185
177
|
{"range_index": HOW_TO_USE_RANGE_INDEX}
|
186
178
|
]
|
187
179
|
</pre></div>
|
188
180
|
</div>
|
189
|
-
<p><code class="docutils literal"><span class="pre">HOW_TO_USE_RANGE_INDEX</span></code> value is one of the followings:</p>
|
181
|
+
<p><code class="docutils literal notranslate"><span class="pre">HOW_TO_USE_RANGE_INDEX</span></code> value is one of the followings:</p>
|
190
182
|
<blockquote>
|
191
183
|
<div><ul class="simple">
|
192
|
-
<li><code class="docutils literal"><span class="pre">"auto"</span></code></li>
|
193
|
-
<li><code class="docutils literal"><span class="pre">"always"</span></code></li>
|
194
|
-
<li><code class="docutils literal"><span class="pre">"never"</span></code></li>
|
184
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"auto"</span></code></p></li>
|
185
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"always"</span></code></p></li>
|
186
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"never"</span></code></p></li>
|
195
187
|
</ul>
|
196
188
|
</div></blockquote>
|
197
|
-
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
189
|
+
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
198
190
|
</div>
|
199
191
|
</div>
|
200
192
|
|
@@ -204,16 +196,16 @@ for testing a case that range index isn't used.</p>
|
|
204
196
|
</div>
|
205
197
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
206
198
|
<div class="sphinxsidebarwrapper">
|
207
|
-
<h3><a href="../../index.html">Table
|
199
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
208
200
|
<ul>
|
209
|
-
<li><a class="reference internal" href="#">7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code></a><ul>
|
201
|
+
<li><a class="reference internal" href="#">7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a><ul>
|
210
202
|
<li><a class="reference internal" href="#summary">7.3.32.1. Summary</a></li>
|
211
203
|
<li><a class="reference internal" href="#syntax">7.3.32.2. Syntax</a></li>
|
212
204
|
<li><a class="reference internal" href="#usage">7.3.32.3. Usage</a></li>
|
213
205
|
<li><a class="reference internal" href="#parameters">7.3.32.4. Parameters</a><ul>
|
214
206
|
<li><a class="reference internal" href="#required-parameters">7.3.32.4.1. Required parameters</a></li>
|
215
207
|
<li><a class="reference internal" href="#optional-parameters">7.3.32.4.2. Optional parameters</a><ul>
|
216
|
-
<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>
|
208
|
+
<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>
|
217
209
|
</ul>
|
218
210
|
</li>
|
219
211
|
</ul>
|
@@ -225,18 +217,18 @@ for testing a case that range index isn't used.</p>
|
|
225
217
|
|
226
218
|
<h4>Previous topic</h4>
|
227
219
|
<p class="topless"><a href="logical_count.html"
|
228
|
-
title="previous chapter">7.3.31. <code class="docutils literal"><span class="pre">logical_count</span></code></a></p>
|
220
|
+
title="previous chapter">7.3.31. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a></p>
|
229
221
|
<h4>Next topic</h4>
|
230
222
|
<p class="topless"><a href="logical_range_filter.html"
|
231
|
-
title="next chapter">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
|
223
|
+
title="next chapter">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></p>
|
232
224
|
<div id="searchbox" style="display: none" role="search">
|
233
225
|
<h3>Quick search</h3>
|
226
|
+
<div class="searchformwrapper">
|
234
227
|
<form class="search" action="../../search.html" method="get">
|
235
|
-
<
|
236
|
-
<
|
237
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
238
|
-
<input type="hidden" name="area" value="default" />
|
228
|
+
<input type="text" name="q" />
|
229
|
+
<input type="submit" value="Go" />
|
239
230
|
</form>
|
231
|
+
</div>
|
240
232
|
</div>
|
241
233
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
242
234
|
</div>
|
@@ -255,13 +247,13 @@ for testing a case that range index isn't used.</p>
|
|
255
247
|
<li class="right" >
|
256
248
|
<a href="logical_count.html" title="7.3.31. logical_count"
|
257
249
|
>previous</a> |</li>
|
258
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
250
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
259
251
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
260
252
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
261
253
|
</ul>
|
262
254
|
</div>
|
263
255
|
<div class="footer" role="contentinfo">
|
264
|
-
© Copyright 2009-
|
256
|
+
© Copyright 2009-2019, Brazil, Inc.
|
265
257
|
</div>
|
266
258
|
</body>
|
267
259
|
</html>
|
@@ -1,34 +1,26 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.33. logical_range_filter — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.33. logical_range_filter — Groonga v9.0.2 documentation</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../../search.html" />
|
28
21
|
<link rel="next" title="7.3.34. logical_select" href="logical_select.html" />
|
29
22
|
<link rel="prev" title="7.3.32. logical_parameters" href="logical_parameters.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../../index.html">
|
@@ -58,7 +50,7 @@
|
|
58
50
|
<li class="right" >
|
59
51
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
60
52
|
accesskey="P">previous</a> |</li>
|
61
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
53
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
62
54
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
63
55
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
64
56
|
</ul>
|
@@ -70,39 +62,39 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="logical-range-filter">
|
73
|
-
<h1>7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code><a class="headerlink" href="#logical-range-filter" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<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="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.33.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
68
|
<div class="versionadded">
|
77
|
-
<p><span class="versionmodified">New in version 5.0.0.</span></p>
|
69
|
+
<p><span class="versionmodified added">New in version 5.0.0.</span></p>
|
78
70
|
</div>
|
79
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> is a sharding version of
|
80
|
-
<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> searches records from
|
71
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> is a sharding version of
|
72
|
+
<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> searches records from
|
81
73
|
multiple tables and outputs them.</p>
|
82
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> is similar to <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>. Both of
|
74
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> is similar to <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>. Both of
|
83
75
|
them searches records from multiples tables and outputs
|
84
|
-
them. <code class="docutils literal"><span class="pre">logical_range_filter</span></code> stops searching when the number of
|
76
|
+
them. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> stops searching when the number of
|
85
77
|
matched records is requested the number of
|
86
78
|
records. <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> searches all records and outputs only
|
87
79
|
needed records.</p>
|
88
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> has performance merit but some restrictions.</p>
|
80
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> has performance merit but some restrictions.</p>
|
89
81
|
<p>If many records are matched and requested records are small,
|
90
|
-
<code class="docutils literal"><span class="pre">logical_range_filter</span></code> will be faster than <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>.</p>
|
91
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> doesn
|
92
|
-
requires all matched records. <code class="docutils literal"><span class="pre">logical_range_filter</span></code> may not find
|
93
|
-
all matched records. So <code class="docutils literal"><span class="pre">logical_range_filter</span></code> doesn
|
82
|
+
<code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> will be faster than <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>.</p>
|
83
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> doesn’t support drilldown because drilldown
|
84
|
+
requires all matched records. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> may not find
|
85
|
+
all matched records. So <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> doesn’t support
|
94
86
|
drilldown.</p>
|
95
|
-
<p><code class="docutils literal"><span class="pre">logical_range_filter</span></code> doesn
|
96
|
-
records. Because <code class="docutils literal"><span class="pre">logical_range_filter</span></code> may not search all matched
|
87
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> doesn’t return the number of all matched
|
88
|
+
records. Because <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> may not search all matched
|
97
89
|
records.</p>
|
98
|
-
<p>You need to <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> <code class="docutils literal"><span class="pre">sharding</span></code> plugin because
|
99
|
-
this command is included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
90
|
+
<p>You need to <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because
|
91
|
+
this command is included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
100
92
|
</div>
|
101
93
|
<div class="section" id="syntax">
|
102
94
|
<h2>7.3.33.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
103
95
|
<p>This command takes many parameters.</p>
|
104
|
-
<p>The required parameters are <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>:</p>
|
105
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter
|
96
|
+
<p>The required parameters are <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>:</p>
|
97
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter
|
106
98
|
logical_table
|
107
99
|
shard_key
|
108
100
|
[min=null]
|
@@ -116,68 +108,69 @@ this command is included in <code class="docutils literal"><span class="pre">sha
|
|
116
108
|
[output_columns="_key, *"]
|
117
109
|
[use_range_index=null]
|
118
110
|
[post_filter=null]
|
111
|
+
[sort_keys=null]
|
119
112
|
</pre></div>
|
120
113
|
</div>
|
121
114
|
<p>There are some parameters that can be only used as named
|
122
|
-
parameters. You can
|
115
|
+
parameters. You can’t use these parameters as ordered parameters. You
|
123
116
|
must specify parameter name.</p>
|
124
117
|
<p>Here are parameters that can be only used as named parameters:</p>
|
125
118
|
<blockquote>
|
126
119
|
<div><ul class="simple">
|
127
|
-
<li><code class="docutils literal"><span class="pre">cache=no</span></code></li>
|
120
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">cache=no</span></code></p></li>
|
128
121
|
</ul>
|
129
122
|
</div></blockquote>
|
130
123
|
<div class="versionadded">
|
131
|
-
<p><span class="versionmodified">New in version 7.0.9: </span>This command has the following named parameters for dynamic columns:</p>
|
124
|
+
<p><span class="versionmodified added">New in version 7.0.9: </span>This command has the following named parameters for dynamic columns:</p>
|
132
125
|
<blockquote>
|
133
126
|
<div><ul class="simple">
|
134
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
135
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
136
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
137
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
138
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
139
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
127
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage=null</span></code></p></li>
|
128
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
129
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type=null</span></code></p></li>
|
130
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value=null</span></code></p></li>
|
131
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
132
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></p></li>
|
140
133
|
</ul>
|
141
134
|
</div></blockquote>
|
142
|
-
<p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> for <code class="docutils literal"><span class="pre">${NAME}</span></code>. For
|
143
|
-
example, <code class="docutils literal"><span class="pre">column1</span></code> is a valid <code class="docutils literal"><span class="pre">${NAME}</span></code>. This is the same rule as
|
135
|
+
<p>You can use one or more alphabets, digits, <code class="docutils literal notranslate"><span class="pre">_</span></code> for <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code>. For
|
136
|
+
example, <code class="docutils literal notranslate"><span class="pre">column1</span></code> is a valid <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code>. This is the same rule as
|
144
137
|
normal column. See also <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a>.</p>
|
145
|
-
<p>Parameters that have the same <code class="docutils literal"><span class="pre">${NAME}</span></code> are grouped.</p>
|
138
|
+
<p>Parameters that have the same <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> are grouped.</p>
|
146
139
|
<p>For example, the following parameters specify one dynamic column:</p>
|
147
140
|
<blockquote>
|
148
141
|
<div><ul class="simple">
|
149
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
150
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
151
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
142
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></p></li>
|
143
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></p></li>
|
144
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></p></li>
|
152
145
|
</ul>
|
153
146
|
</div></blockquote>
|
154
147
|
<p>The following parameters specify two dynamic columns:</p>
|
155
148
|
<blockquote>
|
156
149
|
<div><ul class="simple">
|
157
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
158
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
159
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
160
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></li>
|
161
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
162
|
-
<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>
|
150
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></p></li>
|
151
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></p></li>
|
152
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></p></li>
|
153
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].stage</span> <span class="pre">filtered</span></code></p></li>
|
154
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></p></li>
|
155
|
+
<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>
|
163
156
|
</ul>
|
164
157
|
</div></blockquote>
|
165
158
|
</div>
|
166
159
|
</div>
|
167
160
|
<div class="section" id="usage">
|
168
161
|
<h2>7.3.33.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
169
|
-
<p>Let
|
162
|
+
<p>Let’s learn about usage with examples. This section shows many popular
|
170
163
|
usages.</p>
|
171
|
-
<p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin because this command is
|
172
|
-
included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
164
|
+
<p>You need to register <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because this command is
|
165
|
+
included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
173
166
|
<p>Execution example:</p>
|
174
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
167
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
175
168
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
176
169
|
</pre></div>
|
177
170
|
</div>
|
178
171
|
<p>Here are a schema definition and sample data to show usage.</p>
|
179
172
|
<p>Execution example:</p>
|
180
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
173
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
181
174
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
182
175
|
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
183
176
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -248,23 +241,23 @@ load --table Entries_20150709
|
|
248
241
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
249
242
|
</pre></div>
|
250
243
|
</div>
|
251
|
-
<p>There are two tables, <code class="docutils literal"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal"><span class="pre">Entries_20150709</span></code>,
|
244
|
+
<p>There are two tables, <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code>,
|
252
245
|
for blog entries.</p>
|
253
246
|
<div class="admonition note">
|
254
|
-
<p class="
|
255
|
-
<p
|
256
|
-
for table names. In this example, <code class="docutils literal"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
257
|
-
<code class="docutils literal"><span class="pre">Entries</span></code> and <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal"><span class="pre">20150708</span></code> or <code class="docutils literal"><span class="pre">20150709</span></code>.</p>
|
247
|
+
<p class="admonition-title">Note</p>
|
248
|
+
<p>You need to use <code class="docutils literal notranslate"><span class="pre">${LOGICAL_TABLE_NAME}_${YYYYMMDD}</span></code> naming rule
|
249
|
+
for table names. In this example, <code class="docutils literal notranslate"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
250
|
+
<code class="docutils literal notranslate"><span class="pre">Entries</span></code> and <code class="docutils literal notranslate"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal notranslate"><span class="pre">20150708</span></code> or <code class="docutils literal notranslate"><span class="pre">20150709</span></code>.</p>
|
258
251
|
</div>
|
259
252
|
<p>An entry has title, created time, content, the number of likes for the
|
260
|
-
entry and tag. Title is key of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
261
|
-
value of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
262
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
263
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
264
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
265
|
-
<p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code>
|
266
|
-
column are indexed using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
267
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> are
|
253
|
+
entry and tag. Title is key of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
254
|
+
value of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
255
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
256
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
257
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
258
|
+
<p><code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code>
|
259
|
+
column are indexed using <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
260
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> are
|
268
261
|
fulltext search ready.</p>
|
269
262
|
<p>OK. The schema and data for examples are ready.</p>
|
270
263
|
<div class="section" id="simple-usage">
|
@@ -274,20 +267,110 @@ fulltext search ready.</p>
|
|
274
267
|
</div>
|
275
268
|
<div class="section" id="parameters">
|
276
269
|
<h2>7.3.33.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
277
|
-
<p>This section describes parameters of <code class="docutils literal"><span class="pre">logical_range_filter</span></code>.</p>
|
270
|
+
<p>This section describes parameters of <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code>.</p>
|
278
271
|
<div class="section" id="required-parameters">
|
279
272
|
<h3>7.3.33.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
280
|
-
<p>There are required parameters, <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
273
|
+
<p>There are required parameters, <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>.</p>
|
281
274
|
<div class="section" id="logical-table">
|
282
|
-
<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="Permalink to this headline">¶</a></h4>
|
275
|
+
<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="Permalink to this headline">¶</a></h4>
|
283
276
|
<p>Specifies logical table name. It means table name without
|
284
|
-
<code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> postfix.
|
285
|
-
<code class="docutils literal"><span class="pre">
|
286
|
-
<code class="docutils literal"><span class="pre">
|
287
|
-
<p>
|
277
|
+
<code class="docutils literal notranslate"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
278
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code>, <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code> and so on, logical table
|
279
|
+
name is <code class="docutils literal notranslate"><span class="pre">Entries</span></code>.</p>
|
280
|
+
<p>Execution example:</p>
|
281
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter --logical_table Entries --shard_key created_at
|
282
|
+
|
283
|
+
# [
|
284
|
+
# [
|
285
|
+
# 0,
|
286
|
+
# 1519131606.676006,
|
287
|
+
# 0.0006020069122314453
|
288
|
+
# ],
|
289
|
+
# [
|
290
|
+
# [
|
291
|
+
# [
|
292
|
+
# "_key",
|
293
|
+
# "ShortText"
|
294
|
+
# ],
|
295
|
+
# [
|
296
|
+
# "content",
|
297
|
+
# "Text"
|
298
|
+
# ],
|
299
|
+
# [
|
300
|
+
# "created_at",
|
301
|
+
# "Time"
|
302
|
+
# ],
|
303
|
+
# [
|
304
|
+
# "n_likes",
|
305
|
+
# "UInt32"
|
306
|
+
# ],
|
307
|
+
# [
|
308
|
+
# "tag",
|
309
|
+
# "ShortText"
|
310
|
+
# ]
|
311
|
+
# ],
|
312
|
+
# [
|
313
|
+
# "The first post!",
|
314
|
+
# "Welcome! This is my first post!",
|
315
|
+
# 1436281200.0,
|
316
|
+
# 5,
|
317
|
+
# "Hello"
|
318
|
+
# ],
|
319
|
+
# [
|
320
|
+
# "Groonga",
|
321
|
+
# "I started to use Groonga. It's very fast!",
|
322
|
+
# 1436284800.0,
|
323
|
+
# 10,
|
324
|
+
# "Groonga"
|
325
|
+
# ],
|
326
|
+
# [
|
327
|
+
# "Mroonga",
|
328
|
+
# "I also started to use Mroonga. It's also very fast! Really fast!",
|
329
|
+
# 1436288400.0,
|
330
|
+
# 15,
|
331
|
+
# "Groonga"
|
332
|
+
# ],
|
333
|
+
# [
|
334
|
+
# "Good-bye Senna",
|
335
|
+
# "I migrated all Senna system!",
|
336
|
+
# 1436367600.0,
|
337
|
+
# 3,
|
338
|
+
# "Senna"
|
339
|
+
# ],
|
340
|
+
# [
|
341
|
+
# "Good-bye Tritonn",
|
342
|
+
# "I also migrated all Tritonn system!",
|
343
|
+
# 1436371200.0,
|
344
|
+
# 3,
|
345
|
+
# "Senna"
|
346
|
+
# ]
|
347
|
+
# ]
|
348
|
+
# ]
|
349
|
+
</pre></div>
|
350
|
+
</div>
|
351
|
+
<p>If nonexistent table is specified, an error is returned.</p>
|
352
|
+
<p>Execution example:</p>
|
353
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter --logical_table Nonexistent --shard_key created_at
|
354
|
+
# [
|
355
|
+
# [
|
356
|
+
# -22,
|
357
|
+
# 1519132441.586192,
|
358
|
+
# 0.0005924701690673828,
|
359
|
+
# "[logical_range_filter] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>",
|
360
|
+
# [
|
361
|
+
# [
|
362
|
+
# "Groonga::Sharding::LogicalRangeFilterCommand::Executor.execute",
|
363
|
+
# "/tmp/local/lib/groonga/plugins/sharding/logical_range_filter.rb",
|
364
|
+
# 193
|
365
|
+
# ]
|
366
|
+
# ]
|
367
|
+
# ]
|
368
|
+
# ]
|
369
|
+
</pre></div>
|
370
|
+
</div>
|
288
371
|
</div>
|
289
372
|
<div class="section" id="shard-key">
|
290
|
-
<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="Permalink to this headline">¶</a></h4>
|
373
|
+
<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="Permalink to this headline">¶</a></h4>
|
291
374
|
<p>Specifies column name which is treated as shared key in each parted table.</p>
|
292
375
|
<p>TODO: Add examples</p>
|
293
376
|
</div>
|
@@ -296,29 +379,29 @@ fulltext search ready.</p>
|
|
296
379
|
<h3>7.3.33.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
297
380
|
<p>There are optional parameters.</p>
|
298
381
|
<div class="section" id="min">
|
299
|
-
<h4>7.3.33.4.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h4>
|
300
|
-
<p>Specifies the min value of <code class="docutils literal"><span class="pre">shard_key</span></code></p>
|
382
|
+
<h4>7.3.33.4.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h4>
|
383
|
+
<p>Specifies the min value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code></p>
|
301
384
|
<p>TODO: Add examples</p>
|
302
385
|
</div>
|
303
386
|
<div class="section" id="min-border">
|
304
|
-
<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="Permalink to this headline">¶</a></h4>
|
387
|
+
<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="Permalink to this headline">¶</a></h4>
|
305
388
|
<p>Specifies whether the min value of borderline must be include or not.
|
306
|
-
Specify <code class="docutils literal"><span class="pre">include</span></code> or <code class="docutils literal"><span class="pre">exclude</span></code> as the value of this parameter.</p>
|
389
|
+
Specify <code class="docutils literal notranslate"><span class="pre">include</span></code> or <code class="docutils literal notranslate"><span class="pre">exclude</span></code> as the value of this parameter.</p>
|
307
390
|
<p>TODO: Add examples</p>
|
308
391
|
</div>
|
309
392
|
<div class="section" id="max">
|
310
|
-
<h4>7.3.33.4.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h4>
|
311
|
-
<p>Specifies the max value of <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
393
|
+
<h4>7.3.33.4.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h4>
|
394
|
+
<p>Specifies the max value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>.</p>
|
312
395
|
<p>TODO: Add examples</p>
|
313
396
|
</div>
|
314
397
|
<div class="section" id="max-border">
|
315
|
-
<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="Permalink to this headline">¶</a></h4>
|
398
|
+
<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="Permalink to this headline">¶</a></h4>
|
316
399
|
<p>Specifies whether the max value of borderline must be include or not.
|
317
|
-
Specify <code class="docutils literal"><span class="pre">include</span></code> or <code class="docutils literal"><span class="pre">exclude</span></code> as the value of this parameter.</p>
|
400
|
+
Specify <code class="docutils literal notranslate"><span class="pre">include</span></code> or <code class="docutils literal notranslate"><span class="pre">exclude</span></code> as the value of this parameter.</p>
|
318
401
|
<p>TODO: Add examples</p>
|
319
402
|
</div>
|
320
403
|
<div class="section" id="order">
|
321
|
-
<h4>7.3.33.4.2.5. <code class="docutils literal"><span class="pre">order</span></code><a class="headerlink" href="#order" title="Permalink to this headline">¶</a></h4>
|
404
|
+
<h4>7.3.33.4.2.5. <code class="docutils literal notranslate"><span class="pre">order</span></code><a class="headerlink" href="#order" title="Permalink to this headline">¶</a></h4>
|
322
405
|
<p>TODO</p>
|
323
406
|
</div>
|
324
407
|
</div>
|
@@ -327,30 +410,30 @@ Specify <code class="docutils literal"><span class="pre">include</span></code> o
|
|
327
410
|
<p>This command provides <a class="reference internal" href="select.html"><span class="doc">select</span></a> compatible search related
|
328
411
|
parameters.</p>
|
329
412
|
<div class="section" id="filter">
|
330
|
-
<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="Permalink to this headline">¶</a></h4>
|
413
|
+
<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="Permalink to this headline">¶</a></h4>
|
331
414
|
<p>Corresponds to <a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
332
415
|
<a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> for details.</p>
|
333
416
|
<p>Here is an example:</p>
|
334
417
|
<p>TODO</p>
|
335
418
|
</div>
|
336
419
|
<div class="section" id="post-filter">
|
337
|
-
<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="Permalink to this headline">¶</a></h4>
|
420
|
+
<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="Permalink to this headline">¶</a></h4>
|
338
421
|
<div class="versionadded">
|
339
|
-
<p><span class="versionmodified">New in version 7.1.1.</span></p>
|
422
|
+
<p><span class="versionmodified added">New in version 7.1.1.</span></p>
|
340
423
|
</div>
|
341
|
-
<p>Specifies the filter text that is processed after <code class="docutils literal"><span class="pre">filtered</span></code> stage
|
342
|
-
dynamic columns are generated. You can use <code class="docutils literal"><span class="pre">post_filter</span></code> to filter
|
343
|
-
by <code class="docutils literal"><span class="pre">filtered</span></code> stage dynamic columns. Others are the same as
|
424
|
+
<p>Specifies the filter text that is processed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage
|
425
|
+
dynamic columns are generated. You can use <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> to filter
|
426
|
+
by <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage dynamic columns. Others are the same as
|
344
427
|
<a class="reference internal" href="#logical-range-filter-filter"><span class="std std-ref">filter</span></a>.</p>
|
345
|
-
<p>If you use <code class="docutils literal"><span class="pre">post_filter</span></code>,
|
346
|
-
matched in a table
|
347
|
-
tables when enough records are matched
|
348
|
-
<code class="docutils literal"><span class="pre">post_filter</span></code> needs to wait dynamic columns generation. See also
|
428
|
+
<p>If you use <code class="docutils literal notranslate"><span class="pre">post_filter</span></code>, “stop searching when enough records are
|
429
|
+
matched in a table” feature is disabled. (“Stop searching against rest
|
430
|
+
tables when enough records are matched” is still enabled.) Because
|
431
|
+
<code class="docutils literal notranslate"><span class="pre">post_filter</span></code> needs to wait dynamic columns generation. See also
|
349
432
|
<a class="reference internal" href="#logical-range-filter-dynamic-column-related-parameters"><span class="std std-ref">Dynamic column related parameters</span></a>.</p>
|
350
433
|
<p>Here is an example that shows entries only in popular tag. All target
|
351
|
-
entries have <code class="docutils literal"><span class="pre">system</span></code> or <code class="docutils literal"><span class="pre">use</span></code> words:</p>
|
434
|
+
entries have <code class="docutils literal notranslate"><span class="pre">system</span></code> or <code class="docutils literal notranslate"><span class="pre">use</span></code> words:</p>
|
352
435
|
<p>Execution example:</p>
|
353
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
436
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
354
437
|
--logical_table Entries \
|
355
438
|
--shard_key created_at \
|
356
439
|
--columns[n_likes_sum_per_tag].stage filtered \
|
@@ -400,12 +483,12 @@ entries have <code class="docutils literal"><span class="pre">system</span></cod
|
|
400
483
|
<div class="section" id="output-related-parameters">
|
401
484
|
<h3>7.3.33.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
402
485
|
<div class="section" id="output-columns">
|
403
|
-
<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="Permalink to this headline">¶</a></h4>
|
486
|
+
<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="Permalink to this headline">¶</a></h4>
|
404
487
|
<p>Corresponds to <a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
405
488
|
<a class="reference internal" href="select.html#select-output-columns"><span class="std std-ref">output_columns</span></a> for details.</p>
|
406
489
|
<p>Here is an example:</p>
|
407
490
|
<p>Execution example:</p>
|
408
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
491
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
409
492
|
--logical_table Entries \
|
410
493
|
--shard_key created_at \
|
411
494
|
--output_columns '_key, *'
|
@@ -478,13 +561,155 @@ entries have <code class="docutils literal"><span class="pre">system</span></cod
|
|
478
561
|
</pre></div>
|
479
562
|
</div>
|
480
563
|
</div>
|
564
|
+
<div class="section" id="sort-keys">
|
565
|
+
<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="Permalink to this headline">¶</a></h4>
|
566
|
+
<div class="versionadded">
|
567
|
+
<p><span class="versionmodified added">New in version 8.0.2.</span></p>
|
568
|
+
</div>
|
569
|
+
<p>Corresponds to <a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
570
|
+
<a class="reference internal" href="select.html#select-sort-keys"><span class="std std-ref">sort_keys</span></a> for details.</p>
|
571
|
+
<p><code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> has a limitation. It works only when the number of
|
572
|
+
search target shards is one. If the number of search target shards is
|
573
|
+
larger than one, <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> doesn’t work.</p>
|
574
|
+
<div class="admonition note">
|
575
|
+
<p class="admonition-title">Note</p>
|
576
|
+
<p>There is one exception for multiple shards. When the same value is
|
577
|
+
specified for <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> and <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code>, they are supported.
|
578
|
+
This command processes target shards one by one by ascending
|
579
|
+
order. Thus, in this process, magnitude correlation about the value
|
580
|
+
of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> is kept among them. This is because <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code>
|
581
|
+
is supported when <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> and <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> is same.</p>
|
582
|
+
</div>
|
583
|
+
<p>Here is an example that uses only one shard:</p>
|
584
|
+
<p>Execution example:</p>
|
585
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_select \
|
586
|
+
--logical_table Entries \
|
587
|
+
--shard_key created_at \
|
588
|
+
--sort_keys _key \
|
589
|
+
--output_columns _key,created_at
|
590
|
+
# [
|
591
|
+
# [
|
592
|
+
# 0,
|
593
|
+
# 1337566253.89858,
|
594
|
+
# 0.000355720520019531
|
595
|
+
# ],
|
596
|
+
# [
|
597
|
+
# [
|
598
|
+
# [
|
599
|
+
# 5
|
600
|
+
# ],
|
601
|
+
# [
|
602
|
+
# [
|
603
|
+
# "_key",
|
604
|
+
# "ShortText"
|
605
|
+
# ],
|
606
|
+
# [
|
607
|
+
# "created_at",
|
608
|
+
# "Time"
|
609
|
+
# ]
|
610
|
+
# ],
|
611
|
+
# [
|
612
|
+
# "Groonga",
|
613
|
+
# 1436284800.0
|
614
|
+
# ],
|
615
|
+
# [
|
616
|
+
# "Mroonga",
|
617
|
+
# 1436288400.0
|
618
|
+
# ],
|
619
|
+
# [
|
620
|
+
# "The first post!",
|
621
|
+
# 1436281200.0
|
622
|
+
# ],
|
623
|
+
# [
|
624
|
+
# "Good-bye Senna",
|
625
|
+
# 1436367600.0
|
626
|
+
# ],
|
627
|
+
# [
|
628
|
+
# "Good-bye Tritonn",
|
629
|
+
# 1436371200.0
|
630
|
+
# ]
|
631
|
+
# ]
|
632
|
+
# ]
|
633
|
+
# ]
|
634
|
+
</pre></div>
|
635
|
+
</div>
|
636
|
+
<p>Here is an example that uses <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> based value as the first
|
637
|
+
sort key:</p>
|
638
|
+
<p>Execution example:</p>
|
639
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/time
|
640
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
641
|
+
logical_select \
|
642
|
+
--logical_table Entries \
|
643
|
+
--shard_key created_at \
|
644
|
+
--columns[hour2].stage filtered \
|
645
|
+
--columns[hour2].type Time \
|
646
|
+
--columns[hour2].flags COLUMN_SCALAR \
|
647
|
+
--columns[hour2].value 'time_classify_hour(created_at, 2)' \
|
648
|
+
--sort_keys hour2,-n_likes \
|
649
|
+
--output_columns hour2,n_likes,_key
|
650
|
+
# [
|
651
|
+
# [
|
652
|
+
# 0,
|
653
|
+
# 1337566253.89858,
|
654
|
+
# 0.000355720520019531
|
655
|
+
# ],
|
656
|
+
# [
|
657
|
+
# [
|
658
|
+
# [
|
659
|
+
# 5
|
660
|
+
# ],
|
661
|
+
# [
|
662
|
+
# [
|
663
|
+
# "hour2",
|
664
|
+
# "Time"
|
665
|
+
# ],
|
666
|
+
# [
|
667
|
+
# "n_likes",
|
668
|
+
# "UInt32"
|
669
|
+
# ],
|
670
|
+
# [
|
671
|
+
# "_key",
|
672
|
+
# "ShortText"
|
673
|
+
# ]
|
674
|
+
# ],
|
675
|
+
# [
|
676
|
+
# 1436367600.0,
|
677
|
+
# 3,
|
678
|
+
# "Good-bye Senna"
|
679
|
+
# ],
|
680
|
+
# [
|
681
|
+
# 1436367600.0,
|
682
|
+
# 3,
|
683
|
+
# "Good-bye Tritonn"
|
684
|
+
# ],
|
685
|
+
# [
|
686
|
+
# 1436281200.0,
|
687
|
+
# 10,
|
688
|
+
# "Groonga"
|
689
|
+
# ],
|
690
|
+
# [
|
691
|
+
# 1436281200.0,
|
692
|
+
# 5,
|
693
|
+
# "The first post!"
|
694
|
+
# ],
|
695
|
+
# [
|
696
|
+
# 1436288400.0,
|
697
|
+
# 15,
|
698
|
+
# "Mroonga"
|
699
|
+
# ]
|
700
|
+
# ]
|
701
|
+
# ]
|
702
|
+
# ]
|
703
|
+
</pre></div>
|
704
|
+
</div>
|
705
|
+
</div>
|
481
706
|
<div class="section" id="offset">
|
482
|
-
<span id="logical-range-filter-offset"></span><h4>7.3.33.4.4.
|
707
|
+
<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="Permalink to this headline">¶</a></h4>
|
483
708
|
<p>Corresponds to <a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
484
709
|
<a class="reference internal" href="select.html#select-offset"><span class="std std-ref">offset</span></a> for details.</p>
|
485
710
|
<p>Here is an example:</p>
|
486
711
|
<p>Execution example:</p>
|
487
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
712
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
488
713
|
--logical_table Entries \
|
489
714
|
--shard_key created_at \
|
490
715
|
--offset 2
|
@@ -544,7 +769,7 @@ entries have <code class="docutils literal"><span class="pre">system</span></cod
|
|
544
769
|
</div>
|
545
770
|
</div>
|
546
771
|
<div class="section" id="limit">
|
547
|
-
<span id="logical-range-filter-limit"></span><h4>7.3.33.4.4.
|
772
|
+
<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="Permalink to this headline">¶</a></h4>
|
548
773
|
<p>Corresponds to <a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
549
774
|
<a class="reference internal" href="select.html#select-limit"><span class="std std-ref">limit</span></a> for details.</p>
|
550
775
|
<p>The difference from <a class="reference internal" href="select.html"><span class="doc">select</span></a> is that this command stops searching
|
@@ -553,7 +778,7 @@ when all requested records specified by
|
|
553
778
|
<a class="reference internal" href="#logical-range-filter-limit"><span class="std std-ref">limit</span></a> are found.</p>
|
554
779
|
<p>Here is an example:</p>
|
555
780
|
<p>Execution example:</p>
|
556
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
781
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
557
782
|
--logical_table Entries \
|
558
783
|
--shard_key created_at \
|
559
784
|
--limit 2
|
@@ -609,40 +834,40 @@ when all requested records specified by
|
|
609
834
|
<div class="section" id="test-related-parameters">
|
610
835
|
<h3>7.3.33.4.5. Test related parameters<a class="headerlink" href="#test-related-parameters" title="Permalink to this headline">¶</a></h3>
|
611
836
|
<div class="section" id="use-range-index">
|
612
|
-
<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="Permalink to this headline">¶</a></h4>
|
837
|
+
<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="Permalink to this headline">¶</a></h4>
|
613
838
|
<p>Specifies whether range_index is used or not.
|
614
|
-
Note that it
|
839
|
+
Note that it’s a parameter for test. It should not be used for production.</p>
|
615
840
|
<p>TODO: Add examples</p>
|
616
841
|
</div>
|
617
842
|
</div>
|
618
843
|
<div class="section" id="dynamic-column-related-parameters">
|
619
844
|
<span id="logical-range-filter-dynamic-column-related-parameters"></span><h3>7.3.33.4.6. Dynamic column related parameters<a class="headerlink" href="#dynamic-column-related-parameters" title="Permalink to this headline">¶</a></h3>
|
620
845
|
<div class="versionadded">
|
621
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
846
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
622
847
|
</div>
|
623
848
|
<p>All dynamic column related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
624
849
|
supported. See <a class="reference internal" href="select.html#select-dynamic-column-related-parameters"><span class="std std-ref">Dynamic column related parameters</span></a> for
|
625
850
|
details.</p>
|
626
|
-
<p>If you use one or more dynamic columns,
|
627
|
-
records are matched in a table
|
628
|
-
against rest tables when enough records are matched
|
629
|
-
enabled.) <code class="docutils literal"><span class="pre">logical_range_filter</span></code> searches all matched records in a
|
630
|
-
table even when requested the number of matched records is small. It
|
851
|
+
<p>If you use one or more dynamic columns, “stop searching when enough
|
852
|
+
records are matched in a table” feature is disabled. (“Stop searching
|
853
|
+
against rest tables when enough records are matched” is still
|
854
|
+
enabled.) <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> searches all matched records in a
|
855
|
+
table even when requested the number of matched records is small. It’s
|
631
856
|
for supporting window function. Running window function requires all
|
632
857
|
target records in a table.</p>
|
633
858
|
<div class="section" id="columns-name-stage">
|
634
|
-
<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="Permalink to this headline">¶</a></h4>
|
859
|
+
<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="Permalink to this headline">¶</a></h4>
|
635
860
|
<div class="versionadded">
|
636
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
861
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
637
862
|
</div>
|
638
863
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
639
864
|
<a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> for details.</p>
|
640
865
|
<p>This is a required parameter.</p>
|
641
|
-
<p>Here is an example that creates <code class="docutils literal"><span class="pre">is_popular</span></code> column at <code class="docutils literal"><span class="pre">initial</span></code>
|
642
|
-
stage. You can use <code class="docutils literal"><span class="pre">is_popular</span></code> in all parameters such as <code class="docutils literal"><span class="pre">filter</span></code>
|
643
|
-
and <code class="docutils literal"><span class="pre">output_columns</span></code>:</p>
|
866
|
+
<p>Here is an example that creates <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> column at <code class="docutils literal notranslate"><span class="pre">initial</span></code>
|
867
|
+
stage. You can use <code class="docutils literal notranslate"><span class="pre">is_popular</span></code> in all parameters such as <code class="docutils literal notranslate"><span class="pre">filter</span></code>
|
868
|
+
and <code class="docutils literal notranslate"><span class="pre">output_columns</span></code>:</p>
|
644
869
|
<p>Execution example:</p>
|
645
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
870
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
646
871
|
--logical_table Entries \
|
647
872
|
--shard_key created_at \
|
648
873
|
--columns[is_popular].stage initial \
|
@@ -687,18 +912,18 @@ and <code class="docutils literal"><span class="pre">output_columns</span></code
|
|
687
912
|
</div>
|
688
913
|
</div>
|
689
914
|
<div class="section" id="columns-name-flags">
|
690
|
-
<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="Permalink to this headline">¶</a></h4>
|
915
|
+
<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="Permalink to this headline">¶</a></h4>
|
691
916
|
<div class="versionadded">
|
692
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
917
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
693
918
|
</div>
|
694
919
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
695
920
|
<a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> for details.</p>
|
696
|
-
<p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
697
|
-
<p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
|
698
|
-
flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
921
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
922
|
+
<p>Here is an example that creates a vector column by <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>
|
923
|
+
flags. <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
699
924
|
<a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
|
700
925
|
<p>Execution example:</p>
|
701
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
926
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
702
927
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
703
928
|
logical_range_filter \
|
704
929
|
--logical_table Entries \
|
@@ -771,18 +996,18 @@ logical_range_filter \
|
|
771
996
|
</div>
|
772
997
|
</div>
|
773
998
|
<div class="section" id="columns-name-type">
|
774
|
-
<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="Permalink to this headline">¶</a></h4>
|
999
|
+
<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="Permalink to this headline">¶</a></h4>
|
775
1000
|
<div class="versionadded">
|
776
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
1001
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
777
1002
|
</div>
|
778
1003
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
779
1004
|
<a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> for details.</p>
|
780
1005
|
<p>This is a required parameter.</p>
|
781
|
-
<p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
|
782
|
-
value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
|
783
|
-
number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
|
1006
|
+
<p>Here is an example that creates a <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type column. Stored
|
1007
|
+
value is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> automatically. In this example,
|
1008
|
+
number is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>:</p>
|
784
1009
|
<p>Execution example:</p>
|
785
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1010
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
786
1011
|
--logical_table Entries \
|
787
1012
|
--shard_key created_at \
|
788
1013
|
--columns[n_likes_string].stage initial \
|
@@ -841,13 +1066,13 @@ number is casted to <code class="docutils literal"><span class="pre">ShortText</
|
|
841
1066
|
</div>
|
842
1067
|
</div>
|
843
1068
|
<div class="section" id="columns-name-value">
|
844
|
-
<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="Permalink to this headline">¶</a></h4>
|
1069
|
+
<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="Permalink to this headline">¶</a></h4>
|
845
1070
|
<div class="versionadded">
|
846
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
1071
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
847
1072
|
</div>
|
848
1073
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> in <a class="reference internal" href="select.html"><span class="doc">select</span></a>. See
|
849
1074
|
<a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> for details.</p>
|
850
|
-
<p>You need to specify <a class="reference internal" href="../window_function.html"><span class="doc">Window function</span></a> as <code class="docutils literal"><span class="pre">value</span></code>
|
1075
|
+
<p>You need to specify <a class="reference internal" href="../window_function.html"><span class="doc">Window function</span></a> as <code class="docutils literal notranslate"><span class="pre">value</span></code>
|
851
1076
|
value and other window function related parameters when you use window
|
852
1077
|
function. See <a class="reference internal" href="#logical-range-filter-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a>
|
853
1078
|
for details.</p>
|
@@ -855,11 +1080,11 @@ for details.</p>
|
|
855
1080
|
<p>Here is an example that creates a new dynamic column that stores the
|
856
1081
|
number of characters of content. This example uses
|
857
1082
|
<a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
|
858
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
1083
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
859
1084
|
string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
|
860
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
|
1085
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin:</p>
|
861
1086
|
<p>Execution example:</p>
|
862
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
1087
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string
|
863
1088
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
864
1089
|
logical_range_filter \
|
865
1090
|
--logical_table Entries \
|
@@ -923,19 +1148,111 @@ logical_range_filter \
|
|
923
1148
|
<div class="section" id="window-function-related-parameters">
|
924
1149
|
<span id="logical-range-filter-window-function-related-parameters"></span><h3>7.3.33.4.7. Window function related parameters<a class="headerlink" href="#window-function-related-parameters" title="Permalink to this headline">¶</a></h3>
|
925
1150
|
<div class="versionadded">
|
926
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
1151
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
927
1152
|
</div>
|
928
1153
|
<p>All window function related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
929
1154
|
supported. See <a class="reference internal" href="select.html#select-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a> for
|
930
1155
|
details.</p>
|
931
1156
|
<div class="admonition note">
|
932
|
-
<p class="
|
933
|
-
<p
|
1157
|
+
<p class="admonition-title">Note</p>
|
1158
|
+
<p>Window function over multiple tables aren’t supported version 9.0.1 or before.
|
1159
|
+
Groonga supported it since version 9.0.2 or later.
|
1160
|
+
However, we need to align the same order for shard key and leading group key or sort key.</p>
|
1161
|
+
<p>For example, we can apply the window function to over multiple tables as below case.
|
1162
|
+
Because the below example aligns the same order for shard key and leading group key.</p>
|
1163
|
+
<p>The leading group key is <code class="docutils literal notranslate"><span class="pre">price</span></code> and shard key is <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> in the below example.
|
1164
|
+
We can apply the window function to over multiple tables in the below example.
|
1165
|
+
Because <code class="docutils literal notranslate"><span class="pre">price</span></code> and <code class="docutils literal notranslate"><span class="pre">timestamp</span></code> aligns the same order.</p>
|
1166
|
+
</div>
|
1167
|
+
<p>Execution example:</p>
|
1168
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
1169
|
+
|
1170
|
+
table_create Logs_20170415 TABLE_NO_KEY
|
1171
|
+
column_create Logs_20170415 timestamp COLUMN_SCALAR Time
|
1172
|
+
column_create Logs_20170415 price COLUMN_SCALAR UInt32
|
1173
|
+
column_create Logs_20170415 n_likes COLUMN_SCALAR UInt32
|
1174
|
+
|
1175
|
+
table_create Logs_20170416 TABLE_NO_KEY
|
1176
|
+
column_create Logs_20170416 timestamp COLUMN_SCALAR Time
|
1177
|
+
column_create Logs_20170416 price COLUMN_SCALAR UInt32
|
1178
|
+
column_create Logs_20170416 n_likes COLUMN_SCALAR UInt32
|
1179
|
+
|
1180
|
+
load --table Logs_20170415
|
1181
|
+
[
|
1182
|
+
{"timestamp": "2017/04/15 00:00:00", "n_likes": 2, "price": 100},
|
1183
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 1, "price": 100},
|
1184
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 2, "price": 200}
|
1185
|
+
]
|
1186
|
+
|
1187
|
+
load --table Logs_20170416
|
1188
|
+
[
|
1189
|
+
{"timestamp": "2017/04/16 10:00:00", "n_likes": 1, "price": 200},
|
1190
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 2, "price": 300},
|
1191
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 1, "price": 300}
|
1192
|
+
]
|
1193
|
+
|
1194
|
+
logical_range_filter Logs \
|
1195
|
+
--shard_key timestamp \
|
1196
|
+
--columns[count].stage initial \
|
1197
|
+
--columns[count].type UInt32 \
|
1198
|
+
--columns[count].flags COLUMN_SCALAR \
|
1199
|
+
--columns[count].value 'window_count()' \
|
1200
|
+
--columns[count].window.group_keys price \
|
1201
|
+
--output_columns price,count
|
1202
|
+
# [
|
1203
|
+
# [
|
1204
|
+
# 0,
|
1205
|
+
# 0.0,
|
1206
|
+
# 0.0
|
1207
|
+
# ],
|
1208
|
+
# [
|
1209
|
+
# [
|
1210
|
+
# [
|
1211
|
+
# 6
|
1212
|
+
# ],
|
1213
|
+
# [
|
1214
|
+
# [
|
1215
|
+
# "price",
|
1216
|
+
# "UInt32"
|
1217
|
+
# ],
|
1218
|
+
# [
|
1219
|
+
# "count",
|
1220
|
+
# "UInt32"
|
1221
|
+
# ]
|
1222
|
+
# ],
|
1223
|
+
# [
|
1224
|
+
# 100,
|
1225
|
+
# 2
|
1226
|
+
# ],
|
1227
|
+
# [
|
1228
|
+
# 100,
|
1229
|
+
# 2
|
1230
|
+
# ],
|
1231
|
+
# [
|
1232
|
+
# 200,
|
1233
|
+
# 2
|
1234
|
+
# ],
|
1235
|
+
# [
|
1236
|
+
# 200,
|
1237
|
+
# 2
|
1238
|
+
# ],
|
1239
|
+
# [
|
1240
|
+
# 300,
|
1241
|
+
# 2
|
1242
|
+
# ],
|
1243
|
+
# [
|
1244
|
+
# 300,
|
1245
|
+
# 2
|
1246
|
+
# ]
|
1247
|
+
# ]
|
1248
|
+
# ]
|
1249
|
+
# ]
|
1250
|
+
</pre></div>
|
934
1251
|
</div>
|
935
1252
|
<div class="section" id="columns-name-window-sort-keys">
|
936
|
-
<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="Permalink to this headline">¶</a></h4>
|
1253
|
+
<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="Permalink to this headline">¶</a></h4>
|
937
1254
|
<div class="versionadded">
|
938
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
1255
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
939
1256
|
</div>
|
940
1257
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> in
|
941
1258
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a> for
|
@@ -944,9 +1261,9 @@ details.</p>
|
|
944
1261
|
or <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> to use window
|
945
1262
|
function.</p>
|
946
1263
|
<p>Here is an example that computes cumulative sum per
|
947
|
-
<code class="docutils literal"><span class="pre">Entries.tag</span></code>. Each group is sorted by <code class="docutils literal"><span class="pre">Entries._key</span></code>:</p>
|
1264
|
+
<code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code>. Each group is sorted by <code class="docutils literal notranslate"><span class="pre">Entries._key</span></code>:</p>
|
948
1265
|
<p>Execution example:</p>
|
949
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1266
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
950
1267
|
--logical_table Entries \
|
951
1268
|
--shard_key created_at \
|
952
1269
|
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
@@ -1016,9 +1333,9 @@ function.</p>
|
|
1016
1333
|
</div>
|
1017
1334
|
</div>
|
1018
1335
|
<div class="section" id="columns-name-window-group-keys">
|
1019
|
-
<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="Permalink to this headline">¶</a></h4>
|
1336
|
+
<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="Permalink to this headline">¶</a></h4>
|
1020
1337
|
<div class="versionadded">
|
1021
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
1338
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
1022
1339
|
</div>
|
1023
1340
|
<p>Corresponds to <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> in
|
1024
1341
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a>. See <a class="reference internal" href="select.html#select-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> for
|
@@ -1026,9 +1343,9 @@ details.</p>
|
|
1026
1343
|
<p>You must specify <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>
|
1027
1344
|
or <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> to use window
|
1028
1345
|
function.</p>
|
1029
|
-
<p>Here is an example that computes sum per <code class="docutils literal"><span class="pre">Entries.tag</span></code>:</p>
|
1346
|
+
<p>Here is an example that computes sum per <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code>:</p>
|
1030
1347
|
<p>Execution example:</p>
|
1031
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1348
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
1032
1349
|
--logical_table Entries \
|
1033
1350
|
--shard_key created_at \
|
1034
1351
|
--columns[n_likes_sum_per_tag].stage initial \
|
@@ -1100,35 +1417,35 @@ function.</p>
|
|
1100
1417
|
<div class="section" id="cache-related-parameter">
|
1101
1418
|
<h3>7.3.33.4.8. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
1102
1419
|
<div class="section" id="cache">
|
1103
|
-
<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="Permalink to this headline">¶</a></h4>
|
1420
|
+
<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="Permalink to this headline">¶</a></h4>
|
1104
1421
|
<p>Specifies whether caching the result of this query or not.</p>
|
1105
1422
|
<p>If the result of this query is cached, the next same query returns
|
1106
1423
|
response quickly by using the cache.</p>
|
1107
|
-
<p>It doesn
|
1424
|
+
<p>It doesn’t control whether existing cached result is used or not.</p>
|
1108
1425
|
<p>Here are available values:</p>
|
1109
|
-
<table
|
1426
|
+
<table class="docutils align-center">
|
1110
1427
|
<colgroup>
|
1111
|
-
<col
|
1112
|
-
<col
|
1428
|
+
<col style="width: 50%" />
|
1429
|
+
<col style="width: 50%" />
|
1113
1430
|
</colgroup>
|
1114
|
-
<thead
|
1115
|
-
<tr class="row-odd"><th class="head">Value</th>
|
1116
|
-
<th class="head">Description</th>
|
1431
|
+
<thead>
|
1432
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
1433
|
+
<th class="head"><p>Description</p></th>
|
1117
1434
|
</tr>
|
1118
1435
|
</thead>
|
1119
|
-
<tbody
|
1120
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">no</span></code></td>
|
1121
|
-
<td>Don
|
1436
|
+
<tbody>
|
1437
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">no</span></code></p></td>
|
1438
|
+
<td><p>Don’t cache the output of this query.</p></td>
|
1122
1439
|
</tr>
|
1123
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">yes</span></code></td>
|
1124
|
-
<td>Cache the output of this query.
|
1125
|
-
It
|
1440
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">yes</span></code></p></td>
|
1441
|
+
<td><p>Cache the output of this query.
|
1442
|
+
It’s the default value.</p></td>
|
1126
1443
|
</tr>
|
1127
1444
|
</tbody>
|
1128
1445
|
</table>
|
1129
1446
|
<p>Here is an example to disable caching the result of this query:</p>
|
1130
1447
|
<p>Execution example:</p>
|
1131
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_range_filter \
|
1448
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_range_filter \
|
1132
1449
|
--logical_table Entries \
|
1133
1450
|
--shard_key created_at \
|
1134
1451
|
--cache no
|
@@ -1200,14 +1517,14 @@ It's the default value.</td>
|
|
1200
1517
|
# ]
|
1201
1518
|
</pre></div>
|
1202
1519
|
</div>
|
1203
|
-
<p>The default value is <code class="docutils literal"><span class="pre">yes</span></code>.</p>
|
1520
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">yes</span></code>.</p>
|
1204
1521
|
</div>
|
1205
1522
|
</div>
|
1206
1523
|
</div>
|
1207
1524
|
<div class="section" id="return-value">
|
1208
1525
|
<h2>7.3.33.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
1209
1526
|
<p>The command returns a response with the following format:</p>
|
1210
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1527
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1211
1528
|
HEADER,
|
1212
1529
|
[
|
1213
1530
|
COLUMNS,
|
@@ -1216,12 +1533,12 @@ It's the default value.</td>
|
|
1216
1533
|
]
|
1217
1534
|
</pre></div>
|
1218
1535
|
</div>
|
1219
|
-
<p>If the command fails, error details are in <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
1220
|
-
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
1221
|
-
<p><code class="docutils literal"><span class="pre">COLUMNS</span></code> describes about output columns specified by
|
1536
|
+
<p>If the command fails, error details are in <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
1537
|
+
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
1538
|
+
<p><code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code> describes about output columns specified by
|
1222
1539
|
<a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a>. It uses the following
|
1223
1540
|
format:</p>
|
1224
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1541
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1225
1542
|
[COLUMN_NAME_1, COLUMN_TYPE_1],
|
1226
1543
|
[COLUMN_NAME_2, COLUMN_TYPE_2],
|
1227
1544
|
...,
|
@@ -1229,35 +1546,35 @@ format:</p>
|
|
1229
1546
|
]
|
1230
1547
|
</pre></div>
|
1231
1548
|
</div>
|
1232
|
-
<p><code class="docutils literal"><span class="pre">COLUMNS</span></code> includes one or more output column information. Each
|
1549
|
+
<p><code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code> includes one or more output column information. Each
|
1233
1550
|
output column information includes the followings:</p>
|
1234
1551
|
<blockquote>
|
1235
1552
|
<div><ul class="simple">
|
1236
|
-
<li>Column name as string</li>
|
1237
|
-
<li>Column type as string or <code class="docutils literal"><span class="pre">null</span></code></li>
|
1553
|
+
<li><p>Column name as string</p></li>
|
1554
|
+
<li><p>Column type as string or <code class="docutils literal notranslate"><span class="pre">null</span></code></p></li>
|
1238
1555
|
</ul>
|
1239
1556
|
</div></blockquote>
|
1240
1557
|
<p>Column name is extracted from value specified as
|
1241
1558
|
<a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a>.</p>
|
1242
|
-
<p>Column type is Groonga
|
1559
|
+
<p>Column type is Groonga’s type name or <code class="docutils literal notranslate"><span class="pre">null</span></code>. It doesn’t describe
|
1243
1560
|
whether the column value is vector or scalar. You need to determine it
|
1244
1561
|
by whether real column value is array or not.</p>
|
1245
1562
|
<p>See <a class="reference internal" href="../types.html"><span class="doc">Data types</span></a> for type details.</p>
|
1246
|
-
<p><code class="docutils literal"><span class="pre">null</span></code> is used when column value type isn
|
1563
|
+
<p><code class="docutils literal notranslate"><span class="pre">null</span></code> is used when column value type isn’t determined. For example,
|
1247
1564
|
function call in <a class="reference internal" href="#logical-range-filter-output-columns"><span class="std std-ref">output_columns</span></a> such as
|
1248
|
-
<code class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">"snippet_html(content)"</span></code> uses <code class="docutils literal"><span class="pre">null</span></code>.</p>
|
1249
|
-
<p>Here is an example of <code class="docutils literal"><span class="pre">COLUMNS</span></code>:</p>
|
1250
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1565
|
+
<code class="docutils literal notranslate"><span class="pre">--output_columns</span> <span class="pre">"snippet_html(content)"</span></code> uses <code class="docutils literal notranslate"><span class="pre">null</span></code>.</p>
|
1566
|
+
<p>Here is an example of <code class="docutils literal notranslate"><span class="pre">COLUMNS</span></code>:</p>
|
1567
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1251
1568
|
["_id", "UInt32"],
|
1252
1569
|
["_key", "ShortText"],
|
1253
1570
|
["n_likes", "UInt32"],
|
1254
1571
|
]
|
1255
1572
|
</pre></div>
|
1256
1573
|
</div>
|
1257
|
-
<p><code class="docutils literal"><span class="pre">RECORDS</span></code> includes column values for each matched record. Included
|
1574
|
+
<p><code class="docutils literal notranslate"><span class="pre">RECORDS</span></code> includes column values for each matched record. Included
|
1258
1575
|
records are selected by <a class="reference internal" href="#logical-range-filter-offset"><span class="std std-ref">offset</span></a> and
|
1259
1576
|
<a class="reference internal" href="#logical-range-filter-limit"><span class="std std-ref">limit</span></a>. It uses the following format:</p>
|
1260
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1577
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1261
1578
|
[
|
1262
1579
|
RECORD_1_COLUMN_1,
|
1263
1580
|
RECORD_1_COLUMN_2,
|
@@ -1280,8 +1597,8 @@ records are selected by <a class="reference internal" href="#logical-range-filte
|
|
1280
1597
|
]
|
1281
1598
|
</pre></div>
|
1282
1599
|
</div>
|
1283
|
-
<p>Here is an example <code class="docutils literal"><span class="pre">RECORDS</span></code>:</p>
|
1284
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
1600
|
+
<p>Here is an example <code class="docutils literal notranslate"><span class="pre">RECORDS</span></code>:</p>
|
1601
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
1285
1602
|
[
|
1286
1603
|
1,
|
1287
1604
|
"The first post!",
|
@@ -1309,9 +1626,9 @@ records are selected by <a class="reference internal" href="#logical-range-filte
|
|
1309
1626
|
</div>
|
1310
1627
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
1311
1628
|
<div class="sphinxsidebarwrapper">
|
1312
|
-
<h3><a href="../../index.html">Table
|
1629
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
1313
1630
|
<ul>
|
1314
|
-
<li><a class="reference internal" href="#">7.3.33. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a><ul>
|
1631
|
+
<li><a class="reference internal" href="#">7.3.33. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a><ul>
|
1315
1632
|
<li><a class="reference internal" href="#summary">7.3.33.1. Summary</a></li>
|
1316
1633
|
<li><a class="reference internal" href="#syntax">7.3.33.2. Syntax</a></li>
|
1317
1634
|
<li><a class="reference internal" href="#usage">7.3.33.3. Usage</a><ul>
|
@@ -1320,47 +1637,48 @@ records are selected by <a class="reference internal" href="#logical-range-filte
|
|
1320
1637
|
</li>
|
1321
1638
|
<li><a class="reference internal" href="#parameters">7.3.33.4. Parameters</a><ul>
|
1322
1639
|
<li><a class="reference internal" href="#required-parameters">7.3.33.4.1. Required parameters</a><ul>
|
1323
|
-
<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>
|
1324
|
-
<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>
|
1640
|
+
<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>
|
1641
|
+
<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>
|
1325
1642
|
</ul>
|
1326
1643
|
</li>
|
1327
1644
|
<li><a class="reference internal" href="#optional-parameters">7.3.33.4.2. Optional parameters</a><ul>
|
1328
|
-
<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>
|
1329
|
-
<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>
|
1330
|
-
<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>
|
1331
|
-
<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>
|
1332
|
-
<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>
|
1645
|
+
<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>
|
1646
|
+
<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>
|
1647
|
+
<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>
|
1648
|
+
<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>
|
1649
|
+
<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>
|
1333
1650
|
</ul>
|
1334
1651
|
</li>
|
1335
1652
|
<li><a class="reference internal" href="#search-related-parameters">7.3.33.4.3. Search related parameters</a><ul>
|
1336
|
-
<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>
|
1337
|
-
<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>
|
1653
|
+
<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>
|
1654
|
+
<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>
|
1338
1655
|
</ul>
|
1339
1656
|
</li>
|
1340
1657
|
<li><a class="reference internal" href="#output-related-parameters">7.3.33.4.4. Output related parameters</a><ul>
|
1341
|
-
<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>
|
1342
|
-
<li><a class="reference internal" href="#
|
1343
|
-
<li><a class="reference internal" href="#
|
1658
|
+
<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>
|
1659
|
+
<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>
|
1660
|
+
<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>
|
1661
|
+
<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>
|
1344
1662
|
</ul>
|
1345
1663
|
</li>
|
1346
1664
|
<li><a class="reference internal" href="#test-related-parameters">7.3.33.4.5. Test related parameters</a><ul>
|
1347
|
-
<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>
|
1665
|
+
<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>
|
1348
1666
|
</ul>
|
1349
1667
|
</li>
|
1350
1668
|
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.33.4.6. Dynamic column related parameters</a><ul>
|
1351
|
-
<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>
|
1352
|
-
<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>
|
1353
|
-
<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>
|
1354
|
-
<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>
|
1669
|
+
<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>
|
1670
|
+
<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>
|
1671
|
+
<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>
|
1672
|
+
<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>
|
1355
1673
|
</ul>
|
1356
1674
|
</li>
|
1357
1675
|
<li><a class="reference internal" href="#window-function-related-parameters">7.3.33.4.7. Window function related parameters</a><ul>
|
1358
|
-
<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>
|
1359
|
-
<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>
|
1676
|
+
<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>
|
1677
|
+
<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>
|
1360
1678
|
</ul>
|
1361
1679
|
</li>
|
1362
1680
|
<li><a class="reference internal" href="#cache-related-parameter">7.3.33.4.8. Cache related parameter</a><ul>
|
1363
|
-
<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>
|
1681
|
+
<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>
|
1364
1682
|
</ul>
|
1365
1683
|
</li>
|
1366
1684
|
</ul>
|
@@ -1372,18 +1690,18 @@ records are selected by <a class="reference internal" href="#logical-range-filte
|
|
1372
1690
|
|
1373
1691
|
<h4>Previous topic</h4>
|
1374
1692
|
<p class="topless"><a href="logical_parameters.html"
|
1375
|
-
title="previous chapter">7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code></a></p>
|
1693
|
+
title="previous chapter">7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a></p>
|
1376
1694
|
<h4>Next topic</h4>
|
1377
1695
|
<p class="topless"><a href="logical_select.html"
|
1378
|
-
title="next chapter">7.3.34. <code class="docutils literal"><span class="pre">logical_select</span></code></a></p>
|
1696
|
+
title="next chapter">7.3.34. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a></p>
|
1379
1697
|
<div id="searchbox" style="display: none" role="search">
|
1380
1698
|
<h3>Quick search</h3>
|
1699
|
+
<div class="searchformwrapper">
|
1381
1700
|
<form class="search" action="../../search.html" method="get">
|
1382
|
-
<
|
1383
|
-
<
|
1384
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
1385
|
-
<input type="hidden" name="area" value="default" />
|
1701
|
+
<input type="text" name="q" />
|
1702
|
+
<input type="submit" value="Go" />
|
1386
1703
|
</form>
|
1704
|
+
</div>
|
1387
1705
|
</div>
|
1388
1706
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1389
1707
|
</div>
|
@@ -1402,13 +1720,13 @@ records are selected by <a class="reference internal" href="#logical-range-filte
|
|
1402
1720
|
<li class="right" >
|
1403
1721
|
<a href="logical_parameters.html" title="7.3.32. logical_parameters"
|
1404
1722
|
>previous</a> |</li>
|
1405
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
1723
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
1406
1724
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1407
1725
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
1408
1726
|
</ul>
|
1409
1727
|
</div>
|
1410
1728
|
<div class="footer" role="contentinfo">
|
1411
|
-
© Copyright 2009-
|
1729
|
+
© Copyright 2009-2019, Brazil, Inc.
|
1412
1730
|
</div>
|
1413
1731
|
</body>
|
1414
1732
|
</html>
|