rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.29. log_put — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.29. log_put — 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.30. log_reopen" href="log_reopen.html" />
|
29
22
|
<link rel="prev" title="7.3.28. log_level" href="log_level.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="log_level.html" title="7.3.28. log_level"
|
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,7 +62,7 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="log-put">
|
73
|
-
<h1>7.3.29. <code class="docutils literal"><span class="pre">log_put</span></code><a class="headerlink" href="#log-put" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.29. <code class="docutils literal notranslate"><span class="pre">log_put</span></code><a class="headerlink" href="#log-put" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.29.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
68
|
<p>log_put - ログ出力</p>
|
@@ -79,44 +71,47 @@
|
|
79
71
|
</div>
|
80
72
|
<div class="section" id="syntax">
|
81
73
|
<h2>7.3.29.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
82
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_put level message
|
74
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_put level message
|
83
75
|
</pre></div>
|
84
76
|
</div>
|
85
77
|
</div>
|
86
78
|
<div class="section" id="usage">
|
87
79
|
<h2>7.3.29.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
88
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_put ERROR ****MESSAGE****
|
80
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_put ERROR ****MESSAGE****
|
89
81
|
[true]
|
90
82
|
</pre></div>
|
91
83
|
</div>
|
92
84
|
</div>
|
93
85
|
<div class="section" id="parameters">
|
94
86
|
<h2>7.3.29.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
95
|
-
<p><code class="docutils literal"><span class="pre">level</span></code></p>
|
87
|
+
<p><code class="docutils literal notranslate"><span class="pre">level</span></code></p>
|
96
88
|
<blockquote>
|
97
89
|
<div><p>設定するログ出力レベルの値を以下のいずれかで指定します。</p>
|
98
90
|
<blockquote>
|
99
|
-
<div>EMERG
|
91
|
+
<div><p>EMERG
|
100
92
|
ALERT
|
101
93
|
CRIT
|
102
94
|
error
|
103
95
|
warning
|
104
96
|
notice
|
105
97
|
info
|
106
|
-
debug</
|
98
|
+
debug</p>
|
107
99
|
</div></blockquote>
|
108
|
-
|
100
|
+
</div></blockquote>
|
101
|
+
<p><code class="docutils literal notranslate"><span class="pre">message</span></code></p>
|
109
102
|
<blockquote>
|
110
|
-
<div>出力する文字列を指定します。</
|
103
|
+
<div><p>出力する文字列を指定します。</p>
|
104
|
+
</div></blockquote>
|
111
105
|
</div>
|
112
106
|
<div class="section" id="return-value">
|
113
107
|
<h2>7.3.29.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
114
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[成功かどうかのフラグ]
|
108
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[成功かどうかのフラグ]
|
115
109
|
</pre></div>
|
116
110
|
</div>
|
117
|
-
<p><code class="docutils literal"><span class="pre">成功かどうかのフラグ</span></code></p>
|
111
|
+
<p><code class="docutils literal notranslate"><span class="pre">成功かどうかのフラグ</span></code></p>
|
118
112
|
<blockquote>
|
119
|
-
<div>エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。</
|
113
|
+
<div><p>エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。</p>
|
114
|
+
</div></blockquote>
|
120
115
|
</div>
|
121
116
|
<div class="section" id="see-also">
|
122
117
|
<h2>7.3.29.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
@@ -131,9 +126,9 @@ debug</div></blockquote>
|
|
131
126
|
</div>
|
132
127
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
133
128
|
<div class="sphinxsidebarwrapper">
|
134
|
-
<h3><a href="../../index.html">Table
|
129
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
135
130
|
<ul>
|
136
|
-
<li><a class="reference internal" href="#">7.3.29. <code class="docutils literal"><span class="pre">log_put</span></code></a><ul>
|
131
|
+
<li><a class="reference internal" href="#">7.3.29. <code class="docutils literal notranslate"><span class="pre">log_put</span></code></a><ul>
|
137
132
|
<li><a class="reference internal" href="#summary">7.3.29.1. Summary</a></li>
|
138
133
|
<li><a class="reference internal" href="#syntax">7.3.29.2. Syntax</a></li>
|
139
134
|
<li><a class="reference internal" href="#usage">7.3.29.3. Usage</a></li>
|
@@ -146,18 +141,18 @@ debug</div></blockquote>
|
|
146
141
|
|
147
142
|
<h4>Previous topic</h4>
|
148
143
|
<p class="topless"><a href="log_level.html"
|
149
|
-
title="previous chapter">7.3.28. <code class="docutils literal"><span class="pre">log_level</span></code></a></p>
|
144
|
+
title="previous chapter">7.3.28. <code class="docutils literal notranslate"><span class="pre">log_level</span></code></a></p>
|
150
145
|
<h4>Next topic</h4>
|
151
146
|
<p class="topless"><a href="log_reopen.html"
|
152
|
-
title="next chapter">7.3.30. <code class="docutils literal"><span class="pre">log_reopen</span></code></a></p>
|
147
|
+
title="next chapter">7.3.30. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code></a></p>
|
153
148
|
<div id="searchbox" style="display: none" role="search">
|
154
149
|
<h3>Quick search</h3>
|
150
|
+
<div class="searchformwrapper">
|
155
151
|
<form class="search" action="../../search.html" method="get">
|
156
|
-
<
|
157
|
-
<
|
158
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
159
|
-
<input type="hidden" name="area" value="default" />
|
152
|
+
<input type="text" name="q" />
|
153
|
+
<input type="submit" value="Go" />
|
160
154
|
</form>
|
155
|
+
</div>
|
161
156
|
</div>
|
162
157
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
163
158
|
</div>
|
@@ -176,13 +171,13 @@ debug</div></blockquote>
|
|
176
171
|
<li class="right" >
|
177
172
|
<a href="log_level.html" title="7.3.28. log_level"
|
178
173
|
>previous</a> |</li>
|
179
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
174
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
180
175
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
181
176
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
182
177
|
</ul>
|
183
178
|
</div>
|
184
179
|
<div class="footer" role="contentinfo">
|
185
|
-
© Copyright 2009-
|
180
|
+
© Copyright 2009-2019, Brazil, Inc.
|
186
181
|
</div>
|
187
182
|
</body>
|
188
183
|
</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.30. log_reopen — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.30. log_reopen — 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.31. logical_count" href="logical_count.html" />
|
29
22
|
<link rel="prev" title="7.3.29. log_put" href="log_put.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="log_put.html" title="7.3.29. log_put"
|
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,7 +62,7 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="log-reopen">
|
73
|
-
<h1>7.3.30. <code class="docutils literal"><span class="pre">log_reopen</span></code><a class="headerlink" href="#log-reopen" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.30. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code><a class="headerlink" href="#log-reopen" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.30.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
68
|
<p>log_reopen - ログファイルの再読み込み</p>
|
@@ -80,13 +72,13 @@
|
|
80
72
|
</div>
|
81
73
|
<div class="section" id="syntax">
|
82
74
|
<h2>7.3.30.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
83
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_reopen
|
75
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_reopen
|
84
76
|
</pre></div>
|
85
77
|
</div>
|
86
78
|
</div>
|
87
79
|
<div class="section" id="usage">
|
88
80
|
<h2>7.3.30.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
89
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_reopen
|
81
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_reopen
|
90
82
|
|
91
83
|
[true]
|
92
84
|
</pre></div>
|
@@ -94,11 +86,11 @@
|
|
94
86
|
<div class="section" id="id1">
|
95
87
|
<h3>7.3.30.3.1. log_reopenを用いたログのローテーション<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
|
96
88
|
<ol class="arabic simple">
|
97
|
-
<li>ログファイルをmvなどで移動する。
|
98
|
-
ログはmvで移動された先のファイルに書き込まれる。</li>
|
99
|
-
<li>log_reopenコマンドを実行する。</li>
|
100
|
-
<li>既存のログファイル名と同じファイル名で、新たなログファイルが作成される。
|
101
|
-
今後のログは新たなログファイルに書き込まれる。</li>
|
89
|
+
<li><p>ログファイルをmvなどで移動する。
|
90
|
+
ログはmvで移動された先のファイルに書き込まれる。</p></li>
|
91
|
+
<li><p>log_reopenコマンドを実行する。</p></li>
|
92
|
+
<li><p>既存のログファイル名と同じファイル名で、新たなログファイルが作成される。
|
93
|
+
今後のログは新たなログファイルに書き込まれる。</p></li>
|
102
94
|
</ol>
|
103
95
|
</div>
|
104
96
|
</div>
|
@@ -108,12 +100,13 @@
|
|
108
100
|
</div>
|
109
101
|
<div class="section" id="return-value">
|
110
102
|
<h2>7.3.30.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
111
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[成功かどうかのフラグ]
|
103
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[成功かどうかのフラグ]
|
112
104
|
</pre></div>
|
113
105
|
</div>
|
114
|
-
<p><code class="docutils literal"><span class="pre">成功かどうかのフラグ</span></code></p>
|
106
|
+
<p><code class="docutils literal notranslate"><span class="pre">成功かどうかのフラグ</span></code></p>
|
115
107
|
<blockquote>
|
116
|
-
<div>エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。</
|
108
|
+
<div><p>エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。</p>
|
109
|
+
</div></blockquote>
|
117
110
|
</div>
|
118
111
|
<div class="section" id="see-also">
|
119
112
|
<h2>7.3.30.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
@@ -128,9 +121,9 @@
|
|
128
121
|
</div>
|
129
122
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
130
123
|
<div class="sphinxsidebarwrapper">
|
131
|
-
<h3><a href="../../index.html">Table
|
124
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
132
125
|
<ul>
|
133
|
-
<li><a class="reference internal" href="#">7.3.30. <code class="docutils literal"><span class="pre">log_reopen</span></code></a><ul>
|
126
|
+
<li><a class="reference internal" href="#">7.3.30. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code></a><ul>
|
134
127
|
<li><a class="reference internal" href="#summary">7.3.30.1. Summary</a></li>
|
135
128
|
<li><a class="reference internal" href="#syntax">7.3.30.2. Syntax</a></li>
|
136
129
|
<li><a class="reference internal" href="#usage">7.3.30.3. Usage</a><ul>
|
@@ -146,18 +139,18 @@
|
|
146
139
|
|
147
140
|
<h4>Previous topic</h4>
|
148
141
|
<p class="topless"><a href="log_put.html"
|
149
|
-
title="previous chapter">7.3.29. <code class="docutils literal"><span class="pre">log_put</span></code></a></p>
|
142
|
+
title="previous chapter">7.3.29. <code class="docutils literal notranslate"><span class="pre">log_put</span></code></a></p>
|
150
143
|
<h4>Next topic</h4>
|
151
144
|
<p class="topless"><a href="logical_count.html"
|
152
|
-
title="next chapter">7.3.31. <code class="docutils literal"><span class="pre">logical_count</span></code></a></p>
|
145
|
+
title="next chapter">7.3.31. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a></p>
|
153
146
|
<div id="searchbox" style="display: none" role="search">
|
154
147
|
<h3>Quick search</h3>
|
148
|
+
<div class="searchformwrapper">
|
155
149
|
<form class="search" action="../../search.html" method="get">
|
156
|
-
<
|
157
|
-
<
|
158
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
159
|
-
<input type="hidden" name="area" value="default" />
|
150
|
+
<input type="text" name="q" />
|
151
|
+
<input type="submit" value="Go" />
|
160
152
|
</form>
|
153
|
+
</div>
|
161
154
|
</div>
|
162
155
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
163
156
|
</div>
|
@@ -176,13 +169,13 @@
|
|
176
169
|
<li class="right" >
|
177
170
|
<a href="log_put.html" title="7.3.29. log_put"
|
178
171
|
>previous</a> |</li>
|
179
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
172
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
180
173
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
181
174
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
182
175
|
</ul>
|
183
176
|
</div>
|
184
177
|
<div class="footer" role="contentinfo">
|
185
|
-
© Copyright 2009-
|
178
|
+
© Copyright 2009-2019, Brazil, Inc.
|
186
179
|
</div>
|
187
180
|
</body>
|
188
181
|
</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.31. logical_count — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.31. logical_count — 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.32. logical_parameters" href="logical_parameters.html" />
|
29
22
|
<link rel="prev" title="7.3.30. log_reopen" href="log_reopen.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="log_reopen.html" title="7.3.30. log_reopen"
|
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,32 +62,32 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="logical-count">
|
73
|
-
<h1>7.3.31. <code class="docutils literal"><span class="pre">logical_count</span></code><a class="headerlink" href="#logical-count" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.31. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code><a class="headerlink" href="#logical-count" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.31.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_count</span></code> is a command that has only count feature in
|
71
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_count</span></code> is a command that has only count feature in
|
80
72
|
<a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>. <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> searches records from
|
81
73
|
multiple tables, outputs the number of matched records, outputs
|
82
|
-
columns of the matched records and so on. <code class="docutils literal"><span class="pre">logical_count</span></code> only
|
74
|
+
columns of the matched records and so on. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code> only
|
83
75
|
searches records from multiple tables and output the number of matched
|
84
76
|
records.</p>
|
85
|
-
<p><code class="docutils literal"><span class="pre">logical_count</span></code> is useful when you just want the number of matched
|
86
|
-
records. You can use <code class="docutils literal"><span class="pre">logical_count</span></code> and <a class="reference internal" href="logical_range_filter.html"><span class="doc">logical_range_filter</span></a>
|
77
|
+
<p><code class="docutils literal notranslate"><span class="pre">logical_count</span></code> is useful when you just want the number of matched
|
78
|
+
records. You can use <code class="docutils literal notranslate"><span class="pre">logical_count</span></code> and <a class="reference internal" href="logical_range_filter.html"><span class="doc">logical_range_filter</span></a>
|
87
79
|
at once. You can show the first N matched records before you get the
|
88
80
|
number of matched records. If you use only <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a>, you
|
89
81
|
need to wait finishing all search.</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"><span class="pre">sharding</span></code> plugin because
|
91
|
-
this command is included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
82
|
+
<p>You need to <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because
|
83
|
+
this command is included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
92
84
|
</div>
|
93
85
|
<div class="section" id="syntax">
|
94
86
|
<h2>7.3.31.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
95
87
|
<p>This command takes many parameters.</p>
|
96
|
-
<p>The required parameters are <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>. Other
|
88
|
+
<p>The required parameters are <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>. Other
|
97
89
|
parameters are optional:</p>
|
98
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count
|
90
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count
|
99
91
|
logical_table
|
100
92
|
shard_key
|
101
93
|
[min=null]
|
@@ -103,70 +95,71 @@ parameters are optional:</p>
|
|
103
95
|
[max=null]
|
104
96
|
[max_border="include"]
|
105
97
|
[filter=null]
|
98
|
+
[post_filter=null]
|
106
99
|
</pre></div>
|
107
100
|
</div>
|
108
101
|
<p>There are some parameters that can be only used as named
|
109
|
-
parameters. You can
|
102
|
+
parameters. You can’t use these parameters as ordered parameters. You
|
110
103
|
must specify parameter name.</p>
|
111
104
|
<p>Here are parameters that can be only used as named parameters:</p>
|
112
105
|
<blockquote>
|
113
106
|
<div><ul class="simple">
|
114
|
-
<li><code class="docutils literal"><span class="pre">cache=no</span></code></li>
|
107
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">cache=no</span></code></p></li>
|
115
108
|
</ul>
|
116
109
|
</div></blockquote>
|
117
110
|
<div class="versionadded">
|
118
|
-
<p><span class="versionmodified">New in version 7.0.9: </span>This command has the following named parameters for dynamic columns:</p>
|
111
|
+
<p><span class="versionmodified added">New in version 7.0.9: </span>This command has the following named parameters for dynamic columns:</p>
|
119
112
|
<blockquote>
|
120
113
|
<div><ul class="simple">
|
121
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].stage=null</span></code></li>
|
122
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></li>
|
123
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].type=null</span></code></li>
|
124
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].value=null</span></code></li>
|
125
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></li>
|
126
|
-
<li><code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></li>
|
114
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage=null</span></code></p></li>
|
115
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags=COLUMN_SCALAR</span></code></p></li>
|
116
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type=null</span></code></p></li>
|
117
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value=null</span></code></p></li>
|
118
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys=null</span></code></p></li>
|
119
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys=null</span></code></p></li>
|
127
120
|
</ul>
|
128
121
|
</div></blockquote>
|
129
|
-
<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
|
130
|
-
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
|
122
|
+
<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
|
123
|
+
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
|
131
124
|
normal column. See also <a class="reference internal" href="column_create.html#column-create-name"><span class="std std-ref">name</span></a>.</p>
|
132
|
-
<p>Parameters that have the same <code class="docutils literal"><span class="pre">${NAME}</span></code> are grouped.</p>
|
125
|
+
<p>Parameters that have the same <code class="docutils literal notranslate"><span class="pre">${NAME}</span></code> are grouped.</p>
|
133
126
|
<p>For example, the following parameters specify one dynamic column:</p>
|
134
127
|
<blockquote>
|
135
128
|
<div><ul class="simple">
|
136
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></li>
|
137
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></li>
|
138
|
-
<li><code class="docutils literal"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></li>
|
129
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].stage</span> <span class="pre">initial</span></code></p></li>
|
130
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].type</span> <span class="pre">UInt32</span></code></p></li>
|
131
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name].value</span> <span class="pre">29</span></code></p></li>
|
139
132
|
</ul>
|
140
133
|
</div></blockquote>
|
141
134
|
<p>The following parameters specify two dynamic columns:</p>
|
142
135
|
<blockquote>
|
143
136
|
<div><ul class="simple">
|
144
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></li>
|
145
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></li>
|
146
|
-
<li><code class="docutils literal"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></li>
|
147
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].stage</span> <span class="pre">initial</span></code></li>
|
148
|
-
<li><code class="docutils literal"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></li>
|
149
|
-
<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>
|
137
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].stage</span> <span class="pre">initial</span></code></p></li>
|
138
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].type</span> <span class="pre">UInt32</span></code></p></li>
|
139
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name1].value</span> <span class="pre">29</span></code></p></li>
|
140
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].stage</span> <span class="pre">initial</span></code></p></li>
|
141
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--columns[name2].type</span> <span class="pre">Float</span></code></p></li>
|
142
|
+
<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>
|
150
143
|
</ul>
|
151
144
|
</div></blockquote>
|
152
145
|
</div>
|
153
146
|
</div>
|
154
147
|
<div class="section" id="usage">
|
155
148
|
<span id="logical-count-usage"></span><h2>7.3.31.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
156
|
-
<p>Let
|
149
|
+
<p>Let’s learn about usage with examples. This section shows many popular
|
157
150
|
usages.</p>
|
158
|
-
<p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin because this command is
|
159
|
-
included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
|
151
|
+
<p>You need to register <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin because this command is
|
152
|
+
included in <code class="docutils literal notranslate"><span class="pre">sharding</span></code> plugin.</p>
|
160
153
|
<p>Execution example:</p>
|
161
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register sharding
|
154
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
162
155
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
163
156
|
</pre></div>
|
164
157
|
</div>
|
165
|
-
<p>Note that <code class="docutils literal"><span class="pre">logical_count</span></code> is implemented as an experimental plugin, and the specification may be changed in the future.</p>
|
166
|
-
<p>Here is the simple example which shows how to use this feature. Let
|
158
|
+
<p>Note that <code class="docutils literal notranslate"><span class="pre">logical_count</span></code> is implemented as an experimental plugin, and the specification may be changed in the future.</p>
|
159
|
+
<p>Here is the simple example which shows how to use this feature. Let’s consider to count specified logs which are stored into multiple tables.</p>
|
167
160
|
<p>Here are a schema definition and sample data to show usage.</p>
|
168
161
|
<p>Execution example:</p>
|
169
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
162
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries_20150708 TABLE_HASH_KEY ShortText
|
170
163
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
171
164
|
column_create Entries_20150708 created_at COLUMN_SCALAR Time
|
172
165
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -237,30 +230,30 @@ load --table Entries_20150709
|
|
237
230
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
238
231
|
</pre></div>
|
239
232
|
</div>
|
240
|
-
<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>,
|
233
|
+
<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>,
|
241
234
|
for blog entries.</p>
|
242
235
|
<div class="admonition note">
|
243
|
-
<p class="
|
244
|
-
<p
|
245
|
-
for table names. In this example, <code class="docutils literal"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
246
|
-
<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>
|
236
|
+
<p class="admonition-title">Note</p>
|
237
|
+
<p>You need to use <code class="docutils literal notranslate"><span class="pre">${LOGICAL_TABLE_NAME}_${YYYYMMDD}</span></code> naming rule
|
238
|
+
for table names. In this example, <code class="docutils literal notranslate"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
|
239
|
+
<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>
|
247
240
|
</div>
|
248
241
|
<p>An entry has title, created time, content, the number of likes for the
|
249
|
-
entry and tag. Title is key of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
250
|
-
value of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
251
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
252
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
253
|
-
<code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
254
|
-
<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>
|
255
|
-
column are indexed using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
256
|
-
<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
|
242
|
+
entry and tag. Title is key of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
|
243
|
+
value of <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
|
244
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
|
245
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
|
246
|
+
<code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
|
247
|
+
<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>
|
248
|
+
column are indexed using <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> tokenizer. So both
|
249
|
+
<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
|
257
250
|
fulltext search ready.</p>
|
258
251
|
<p>OK. The schema and data for examples are ready.</p>
|
259
252
|
<p>Here is an example to count the number of records which have
|
260
|
-
<code class="docutils literal"><span class="pre">Groonga</span></code> or <code class="docutils literal"><span class="pre">Senna</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column. <code class="docutils literal"><span class="pre">logical_count</span></code>
|
261
|
-
searches records over all <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code> tables.</p>
|
253
|
+
<code class="docutils literal notranslate"><span class="pre">Groonga</span></code> or <code class="docutils literal notranslate"><span class="pre">Senna</span></code> in <code class="docutils literal notranslate"><span class="pre">content</span></code> column. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code>
|
254
|
+
searches records over all <code class="docutils literal notranslate"><span class="pre">Entries_YYYYMMDD</span></code> tables.</p>
|
262
255
|
<p>Execution example:</p>
|
263
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
256
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
264
257
|
--logical_table Entries \
|
265
258
|
--shard_key created_at \
|
266
259
|
--filter 'query("content", "Groonga OR Senna")'
|
@@ -270,8 +263,8 @@ searches records over all <code class="docutils literal"><span class="pre">Entri
|
|
270
263
|
<p>Here are matched records:</p>
|
271
264
|
<blockquote>
|
272
265
|
<div><ul class="simple">
|
273
|
-
<li><code class="docutils literal"><span class="pre">_key:"Groonga"</span></code> in <code class="docutils literal"><span class="pre">Entries_20150708</span></code></li>
|
274
|
-
<li><code class="docutils literal"><span class="pre">_key:"Good-bye</span> <span class="pre">Senna"</span></code> in <code class="docutils literal"><span class="pre">Entries_20150709</span></code></li>
|
266
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_key:"Groonga"</span></code> in <code class="docutils literal notranslate"><span class="pre">Entries_20150708</span></code></p></li>
|
267
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_key:"Good-bye</span> <span class="pre">Senna"</span></code> in <code class="docutils literal notranslate"><span class="pre">Entries_20150709</span></code></p></li>
|
275
268
|
</ul>
|
276
269
|
</div></blockquote>
|
277
270
|
</div>
|
@@ -280,17 +273,17 @@ searches records over all <code class="docutils literal"><span class="pre">Entri
|
|
280
273
|
<p>This section describes parameters of this command.</p>
|
281
274
|
<div class="section" id="required-parameters">
|
282
275
|
<h3>7.3.31.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
283
|
-
<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>
|
276
|
+
<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>
|
284
277
|
<div class="section" id="logical-table">
|
285
|
-
<span id="logical-count-logical-table"></span><h4>7.3.31.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>
|
278
|
+
<span id="logical-count-logical-table"></span><h4>7.3.31.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>
|
286
279
|
<p>Specifies logical table name. It means table name without
|
287
|
-
<code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
288
|
-
<code class="docutils literal"><span class="pre">Logs_20150203</span></code>, <code class="docutils literal"><span class="pre">Logs_20150203</span></code> and so on, logical table name is
|
289
|
-
<code class="docutils literal"><span class="pre">Logs</span></code>.</p>
|
290
|
-
<p>You can count all records by specifying only <code class="docutils literal"><span class="pre">logical_table</span></code> and
|
291
|
-
<code class="docutils literal"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
|
280
|
+
<code class="docutils literal notranslate"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
|
281
|
+
<code class="docutils literal notranslate"><span class="pre">Logs_20150203</span></code>, <code class="docutils literal notranslate"><span class="pre">Logs_20150203</span></code> and so on, logical table name is
|
282
|
+
<code class="docutils literal notranslate"><span class="pre">Logs</span></code>.</p>
|
283
|
+
<p>You can count all records by specifying only <code class="docutils literal notranslate"><span class="pre">logical_table</span></code> and
|
284
|
+
<code class="docutils literal notranslate"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
|
292
285
|
<p>Execution example:</p>
|
293
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
286
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
294
287
|
--logical_table Entries \
|
295
288
|
--shard_key created_at
|
296
289
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
@@ -298,7 +291,7 @@ searches records over all <code class="docutils literal"><span class="pre">Entri
|
|
298
291
|
</div>
|
299
292
|
<p>If nonexistent table is specified, an error is returned.</p>
|
300
293
|
<p>Execution example:</p>
|
301
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
294
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
302
295
|
--logical_table Nonexistent \
|
303
296
|
--shard_key created_at
|
304
297
|
# [
|
@@ -320,28 +313,28 @@ searches records over all <code class="docutils literal"><span class="pre">Entri
|
|
320
313
|
</div>
|
321
314
|
</div>
|
322
315
|
<div class="section" id="shard-key">
|
323
|
-
<span id="logical-count-shard-key"></span><h4>7.3.31.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>
|
316
|
+
<span id="logical-count-shard-key"></span><h4>7.3.31.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>
|
324
317
|
<p>Specifies column name which is treated as shared key. Shard key is a
|
325
318
|
column that stores data that is used for distributing records to
|
326
319
|
suitable shards.</p>
|
327
|
-
<p>Shard key must be <code class="docutils literal"><span class="pre">Time</span></code> type for now.</p>
|
328
|
-
<p>See <a class="reference internal" href="#logical-count-logical-table"><span class="std std-ref">logical_table</span></a> how to specify <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
|
320
|
+
<p>Shard key must be <code class="docutils literal notranslate"><span class="pre">Time</span></code> type for now.</p>
|
321
|
+
<p>See <a class="reference internal" href="#logical-count-logical-table"><span class="std std-ref">logical_table</span></a> how to specify <code class="docutils literal notranslate"><span class="pre">shard_key</span></code>.</p>
|
329
322
|
</div>
|
330
323
|
</div>
|
331
324
|
<div class="section" id="optional-parameters">
|
332
325
|
<h3>7.3.31.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
333
326
|
<p>There are optional parameters.</p>
|
334
327
|
<div class="section" id="min">
|
335
|
-
<span id="logical-count-min"></span><h4>7.3.31.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>
|
336
|
-
<p>Specifies the minimum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn
|
337
|
-
have any matched records, the shard isn
|
338
|
-
<p>For example, <code class="docutils literal"><span class="pre">min</span></code> is <code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
339
|
-
isn
|
340
|
-
<code class="docutils literal"><span class="pre">"2015/07/08"</span></code>.</p>
|
341
|
-
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
342
|
-
table. <code class="docutils literal"><span class="pre">Entry_20150708</span></code> isn
|
328
|
+
<span id="logical-count-min"></span><h4>7.3.31.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>
|
329
|
+
<p>Specifies the minimum value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> column. If shard doesn’t
|
330
|
+
have any matched records, the shard isn’t searched.</p>
|
331
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">min</span></code> is <code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>, <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code>
|
332
|
+
isn’t searched. Because <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> has only records for
|
333
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/08"</span></code>.</p>
|
334
|
+
<p>The following example only uses <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code>
|
335
|
+
table. <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code> isn’t used.</p>
|
343
336
|
<p>Execution example:</p>
|
344
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
337
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
345
338
|
--logical_table Entries \
|
346
339
|
--shard_key created_at \
|
347
340
|
--min "2015/07/09 00:00:00"
|
@@ -350,33 +343,33 @@ table. <code class="docutils literal"><span class="pre">Entry_20150708</span></c
|
|
350
343
|
</div>
|
351
344
|
</div>
|
352
345
|
<div class="section" id="min-border">
|
353
|
-
<span id="logical-count-min-border"></span><h4>7.3.31.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>
|
346
|
+
<span id="logical-count-min-border"></span><h4>7.3.31.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>
|
354
347
|
<p>Specifies whether the minimum value is included or not. Here is
|
355
348
|
available values.</p>
|
356
|
-
<table
|
349
|
+
<table class="docutils align-center">
|
357
350
|
<colgroup>
|
358
|
-
<col
|
359
|
-
<col
|
351
|
+
<col style="width: 50%" />
|
352
|
+
<col style="width: 50%" />
|
360
353
|
</colgroup>
|
361
|
-
<thead
|
362
|
-
<tr class="row-odd"><th class="head">Value</th>
|
363
|
-
<th class="head">Description</th>
|
354
|
+
<thead>
|
355
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
356
|
+
<th class="head"><p>Description</p></th>
|
364
357
|
</tr>
|
365
358
|
</thead>
|
366
|
-
<tbody
|
367
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
368
|
-
<td>Includes <code class="docutils literal"><span class="pre">min</span></code> value. This is the default.</td>
|
359
|
+
<tbody>
|
360
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
361
|
+
<td><p>Includes <code class="docutils literal notranslate"><span class="pre">min</span></code> value. This is the default.</p></td>
|
369
362
|
</tr>
|
370
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
371
|
-
<td>Doesn
|
363
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
364
|
+
<td><p>Doesn’t include <code class="docutils literal notranslate"><span class="pre">min</span></code> value.</p></td>
|
372
365
|
</tr>
|
373
366
|
</tbody>
|
374
367
|
</table>
|
375
|
-
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn
|
376
|
-
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
377
|
-
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
368
|
+
<p>Here is an example for <code class="docutils literal notranslate"><span class="pre">exclude</span></code>. The result doesn’t include the
|
369
|
+
<code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal notranslate"><span class="pre">created_at</span></code> value is
|
370
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
378
371
|
<p>Execution example:</p>
|
379
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
372
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
380
373
|
--logical_table Entries \
|
381
374
|
--shard_key created_at \
|
382
375
|
--min "2015/07/09 00:00:00" \
|
@@ -386,16 +379,16 @@ available values.</p>
|
|
386
379
|
</div>
|
387
380
|
</div>
|
388
381
|
<div class="section" id="max">
|
389
|
-
<span id="logical-count-max"></span><h4>7.3.31.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>
|
390
|
-
<p>Specifies the maximum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn
|
391
|
-
have any matched records, the shard isn
|
392
|
-
<p>For example, <code class="docutils literal"><span class="pre">max</span></code> is <code class="docutils literal"><span class="pre">"2015/07/08</span> <span class="pre">23:59:59"</span></code>, <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
|
393
|
-
isn
|
394
|
-
<code class="docutils literal"><span class="pre">""2015/07/09"</span></code>.</p>
|
395
|
-
<p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
|
396
|
-
table. <code class="docutils literal"><span class="pre">Entry_20150709</span></code> isn
|
382
|
+
<span id="logical-count-max"></span><h4>7.3.31.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>
|
383
|
+
<p>Specifies the maximum value of <code class="docutils literal notranslate"><span class="pre">shard_key</span></code> column. If shard doesn’t
|
384
|
+
have any matched records, the shard isn’t searched.</p>
|
385
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">max</span></code> is <code class="docutils literal notranslate"><span class="pre">"2015/07/08</span> <span class="pre">23:59:59"</span></code>, <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code>
|
386
|
+
isn’t searched. Because <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> has only records for
|
387
|
+
<code class="docutils literal notranslate"><span class="pre">""2015/07/09"</span></code>.</p>
|
388
|
+
<p>The following example only uses <code class="docutils literal notranslate"><span class="pre">Entry_20150708</span></code>
|
389
|
+
table. <code class="docutils literal notranslate"><span class="pre">Entry_20150709</span></code> isn’t used.</p>
|
397
390
|
<p>Execution example:</p>
|
398
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
391
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
399
392
|
--logical_table Entries \
|
400
393
|
--shard_key created_at \
|
401
394
|
--max "2015/07/08 23:59:59"
|
@@ -404,33 +397,33 @@ table. <code class="docutils literal"><span class="pre">Entry_20150709</span></c
|
|
404
397
|
</div>
|
405
398
|
</div>
|
406
399
|
<div class="section" id="max-border">
|
407
|
-
<span id="logical-count-max-border"></span><h4>7.3.31.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>
|
400
|
+
<span id="logical-count-max-border"></span><h4>7.3.31.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>
|
408
401
|
<p>Specifies whether the maximum value is included or not. Here is
|
409
402
|
available values.</p>
|
410
|
-
<table
|
403
|
+
<table class="docutils align-center">
|
411
404
|
<colgroup>
|
412
|
-
<col
|
413
|
-
<col
|
405
|
+
<col style="width: 50%" />
|
406
|
+
<col style="width: 50%" />
|
414
407
|
</colgroup>
|
415
|
-
<thead
|
416
|
-
<tr class="row-odd"><th class="head">Value</th>
|
417
|
-
<th class="head">Description</th>
|
408
|
+
<thead>
|
409
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
410
|
+
<th class="head"><p>Description</p></th>
|
418
411
|
</tr>
|
419
412
|
</thead>
|
420
|
-
<tbody
|
421
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
|
422
|
-
<td>Includes <code class="docutils literal"><span class="pre">max</span></code> value. This is the default.</td>
|
413
|
+
<tbody>
|
414
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">include</span></code></p></td>
|
415
|
+
<td><p>Includes <code class="docutils literal notranslate"><span class="pre">max</span></code> value. This is the default.</p></td>
|
423
416
|
</tr>
|
424
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
|
425
|
-
<td>Doesn
|
417
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
|
418
|
+
<td><p>Doesn’t include <code class="docutils literal notranslate"><span class="pre">max</span></code> value.</p></td>
|
426
419
|
</tr>
|
427
420
|
</tbody>
|
428
421
|
</table>
|
429
|
-
<p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn
|
430
|
-
<code class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
|
431
|
-
<code class="docutils literal"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
422
|
+
<p>Here is an example for <code class="docutils literal notranslate"><span class="pre">exclude</span></code>. The result doesn’t include the
|
423
|
+
<code class="docutils literal notranslate"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></code> record because its <code class="docutils literal notranslate"><span class="pre">created_at</span></code> value is
|
424
|
+
<code class="docutils literal notranslate"><span class="pre">"2015/07/09</span> <span class="pre">00:00:00"</span></code>.</p>
|
432
425
|
<p>Execution example:</p>
|
433
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
426
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
434
427
|
--logical_table Entries \
|
435
428
|
--shard_key created_at \
|
436
429
|
--max "2015/07/09 00:00:00" \
|
@@ -445,12 +438,12 @@ available values.</p>
|
|
445
438
|
<p>This command provides <a class="reference internal" href="select.html"><span class="doc">select</span></a> compatible search related
|
446
439
|
parameters.</p>
|
447
440
|
<div class="section" id="filter">
|
448
|
-
<span id="logical-count-filter"></span><h4>7.3.31.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>
|
441
|
+
<span id="logical-count-filter"></span><h4>7.3.31.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>
|
449
442
|
<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
|
450
443
|
<a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a> for details.</p>
|
451
444
|
<p>Here is an example:</p>
|
452
445
|
<p>Execution example:</p>
|
453
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
446
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
454
447
|
--logical_table Entries \
|
455
448
|
--shard_key created_at \
|
456
449
|
--filter "n_likes <= 5"
|
@@ -458,29 +451,58 @@ parameters.</p>
|
|
458
451
|
</pre></div>
|
459
452
|
</div>
|
460
453
|
</div>
|
454
|
+
<div class="section" id="post-filter">
|
455
|
+
<span id="logical-count-post-filter"></span><h4>7.3.31.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>
|
456
|
+
<div class="versionadded">
|
457
|
+
<p><span class="versionmodified added">New in version 8.0.1.</span></p>
|
458
|
+
</div>
|
459
|
+
<p>Specifies the filter text that is processed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage
|
460
|
+
dynamic columns are generated. You can use <code class="docutils literal notranslate"><span class="pre">post_filter</span></code> to filter
|
461
|
+
by <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage dynamic columns. Others are the same as
|
462
|
+
<a class="reference internal" href="select.html#select-filter"><span class="std std-ref">filter</span></a>.</p>
|
463
|
+
<p>Here is an example that shows entries only in popular tag. All target
|
464
|
+
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>
|
465
|
+
<p>Execution example:</p>
|
466
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
467
|
+
--logical_table Entries \
|
468
|
+
--shard_key created_at \
|
469
|
+
--columns[n_likes_sum_per_tag].stage filtered \
|
470
|
+
--columns[n_likes_sum_per_tag].type UInt32 \
|
471
|
+
--columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
|
472
|
+
--columns[n_likes_sum_per_tag].window.group_keys 'tag' \
|
473
|
+
--filter 'content @ "system" || content @ "use"' \
|
474
|
+
--post_filter 'n_likes_sum_per_tag > 10' \
|
475
|
+
--output_columns _key,n_likes,n_likes_sum_per_tag
|
476
|
+
# [[0,1519095081.579662,0.4281206130981445],2]
|
477
|
+
</pre></div>
|
478
|
+
</div>
|
479
|
+
</div>
|
461
480
|
</div>
|
462
481
|
<div class="section" id="dynamic-column-related-parameters">
|
463
482
|
<span id="logical-count-dynamic-column-related-parameters"></span><h3>7.3.31.4.4. Dynamic column related parameters<a class="headerlink" href="#dynamic-column-related-parameters" title="Permalink to this headline">¶</a></h3>
|
464
483
|
<div class="versionadded">
|
465
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
484
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
466
485
|
</div>
|
467
486
|
<p>All dynamic column related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
468
487
|
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
|
469
488
|
details.</p>
|
470
489
|
<div class="section" id="columns-name-stage">
|
471
|
-
<span id="logical-count-columns-name-stage"></span><h4>7.3.31.4.4.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>
|
490
|
+
<span id="logical-count-columns-name-stage"></span><h4>7.3.31.4.4.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>
|
472
491
|
<div class="versionadded">
|
473
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
492
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
474
493
|
</div>
|
475
494
|
<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
|
476
495
|
<a class="reference internal" href="select.html#select-columns-name-stage"><span class="std std-ref">columns[${NAME}].stage</span></a> for details.</p>
|
477
496
|
<p>This is a required parameter.</p>
|
478
|
-
<p>
|
479
|
-
|
480
|
-
<
|
481
|
-
|
497
|
+
<p><code class="docutils literal notranslate"><span class="pre">initial</span></code> stage and <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage are valid. Because there are
|
498
|
+
no processes after <code class="docutils literal notranslate"><span class="pre">output</span></code> stages.</p>
|
499
|
+
<div class="versionadded">
|
500
|
+
<p><span class="versionmodified added">New in version 8.0.1: </span><code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage is valid since 8.0.1.</p>
|
501
|
+
</div>
|
502
|
+
<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>
|
503
|
+
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>:</p>
|
482
504
|
<p>Execution example:</p>
|
483
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
505
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
484
506
|
--logical_table Entries \
|
485
507
|
--shard_key created_at \
|
486
508
|
--columns[is_popular].stage initial \
|
@@ -492,18 +514,18 @@ stage. You can use <code class="docutils literal"><span class="pre">is_popular</
|
|
492
514
|
</div>
|
493
515
|
</div>
|
494
516
|
<div class="section" id="columns-name-flags">
|
495
|
-
<span id="logical-count-columns-name-flags"></span><h4>7.3.31.4.4.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>
|
517
|
+
<span id="logical-count-columns-name-flags"></span><h4>7.3.31.4.4.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>
|
496
518
|
<div class="versionadded">
|
497
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
519
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
498
520
|
</div>
|
499
521
|
<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
|
500
522
|
<a class="reference internal" href="select.html#select-columns-name-flags"><span class="std std-ref">columns[${NAME}].flags</span></a> for details.</p>
|
501
|
-
<p>The default value is <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
502
|
-
<p>Here is an example that creates a vector column by <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>
|
503
|
-
flags. <code class="docutils literal"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
523
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code>.</p>
|
524
|
+
<p>Here is an example that creates a vector column by <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>
|
525
|
+
flags. <code class="docutils literal notranslate"><span class="pre">plugin_register</span> <span class="pre">functions/vector</span></code> is for using
|
504
526
|
<a class="reference internal" href="../functions/vector_new.html"><span class="doc">vector_new</span></a> function:</p>
|
505
527
|
<p>Execution example:</p>
|
506
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
528
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/vector
|
507
529
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
508
530
|
logical_count \
|
509
531
|
--logical_table Entries \
|
@@ -518,18 +540,18 @@ logical_count \
|
|
518
540
|
</div>
|
519
541
|
</div>
|
520
542
|
<div class="section" id="columns-name-type">
|
521
|
-
<span id="logical-count-columns-name-type"></span><h4>7.3.31.4.4.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>
|
543
|
+
<span id="logical-count-columns-name-type"></span><h4>7.3.31.4.4.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>
|
522
544
|
<div class="versionadded">
|
523
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
545
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
524
546
|
</div>
|
525
547
|
<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
|
526
548
|
<a class="reference internal" href="select.html#select-columns-name-type"><span class="std std-ref">columns[${NAME}].type</span></a> for details.</p>
|
527
549
|
<p>This is a required parameter.</p>
|
528
|
-
<p>Here is an example that creates a <code class="docutils literal"><span class="pre">ShortText</span></code> type column. Stored
|
529
|
-
value is casted to <code class="docutils literal"><span class="pre">ShortText</span></code> automatically. In this example,
|
530
|
-
number is casted to <code class="docutils literal"><span class="pre">ShortText</span></code>:</p>
|
550
|
+
<p>Here is an example that creates a <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type column. Stored
|
551
|
+
value is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> automatically. In this example,
|
552
|
+
number is casted to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>:</p>
|
531
553
|
<p>Execution example:</p>
|
532
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
554
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
533
555
|
--logical_table Entries \
|
534
556
|
--shard_key created_at \
|
535
557
|
--columns[n_likes_string].stage initial \
|
@@ -541,13 +563,13 @@ number is casted to <code class="docutils literal"><span class="pre">ShortText</
|
|
541
563
|
</div>
|
542
564
|
</div>
|
543
565
|
<div class="section" id="columns-name-value">
|
544
|
-
<span id="logical-count-columns-name-value"></span><h4>7.3.31.4.4.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>
|
566
|
+
<span id="logical-count-columns-name-value"></span><h4>7.3.31.4.4.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>
|
545
567
|
<div class="versionadded">
|
546
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
568
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
547
569
|
</div>
|
548
570
|
<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
|
549
571
|
<a class="reference internal" href="select.html#select-columns-name-value"><span class="std std-ref">columns[${NAME}].value</span></a> for details.</p>
|
550
|
-
<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>
|
572
|
+
<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>
|
551
573
|
value and other window function related parameters when you use window
|
552
574
|
function. See <a class="reference internal" href="#logical-count-window-function-related-parameters"><span class="std std-ref">Window function related parameters</span></a>
|
553
575
|
for details.</p>
|
@@ -555,11 +577,11 @@ for details.</p>
|
|
555
577
|
<p>Here is an example that creates a new dynamic column that stores the
|
556
578
|
number of characters of content. This example uses
|
557
579
|
<a class="reference internal" href="../functions/string_length.html"><span class="doc">string_length</span></a> function in
|
558
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
580
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin to compute the number of characters in a
|
559
581
|
string. <a class="reference internal" href="plugin_register.html"><span class="doc">plugin_register</span></a> is used to register
|
560
|
-
<code class="docutils literal"><span class="pre">functions/string</span></code> plugin:</p>
|
582
|
+
<code class="docutils literal notranslate"><span class="pre">functions/string</span></code> plugin:</p>
|
561
583
|
<p>Execution example:</p>
|
562
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register functions/string
|
584
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register functions/string
|
563
585
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
564
586
|
logical_count \
|
565
587
|
--logical_table Entries \
|
@@ -576,19 +598,73 @@ logical_count \
|
|
576
598
|
<div class="section" id="window-function-related-parameters">
|
577
599
|
<span id="logical-count-window-function-related-parameters"></span><h3>7.3.31.4.5. Window function related parameters<a class="headerlink" href="#window-function-related-parameters" title="Permalink to this headline">¶</a></h3>
|
578
600
|
<div class="versionadded">
|
579
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
601
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
580
602
|
</div>
|
581
603
|
<p>All window function related parameters in <a class="reference internal" href="select.html"><span class="doc">select</span></a> are
|
582
604
|
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
|
583
605
|
details.</p>
|
584
606
|
<div class="admonition note">
|
585
|
-
<p class="
|
586
|
-
<p
|
607
|
+
<p class="admonition-title">Note</p>
|
608
|
+
<p>Window function over multiple tables aren’t supported version 9.0.1 or before.
|
609
|
+
Groonga supported it since version 9.0.2 or later.
|
610
|
+
However, we need to align the same order for shard key and leading group key or sort key.</p>
|
611
|
+
<p>For example, we can apply the window function to over multiple tables as below case.
|
612
|
+
Because the below example aligns the same order for shard key and leading group key.</p>
|
613
|
+
<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.
|
614
|
+
We can apply the window function to over multiple tables in the below example.
|
615
|
+
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>
|
616
|
+
</div>
|
617
|
+
<p>Execution example:</p>
|
618
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
|
619
|
+
|
620
|
+
table_create Logs_20170415 TABLE_NO_KEY
|
621
|
+
column_create Logs_20170415 timestamp COLUMN_SCALAR Time
|
622
|
+
column_create Logs_20170415 price COLUMN_SCALAR UInt32
|
623
|
+
column_create Logs_20170415 n_likes COLUMN_SCALAR UInt32
|
624
|
+
|
625
|
+
table_create Logs_20170416 TABLE_NO_KEY
|
626
|
+
column_create Logs_20170416 timestamp COLUMN_SCALAR Time
|
627
|
+
column_create Logs_20170416 price COLUMN_SCALAR UInt32
|
628
|
+
column_create Logs_20170416 n_likes COLUMN_SCALAR UInt32
|
629
|
+
|
630
|
+
load --table Logs_20170415
|
631
|
+
[
|
632
|
+
{"timestamp": "2017/04/15 00:00:00", "n_likes": 2, "price": 100},
|
633
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 1, "price": 100},
|
634
|
+
{"timestamp": "2017/04/15 01:00:00", "n_likes": 2, "price": 200}
|
635
|
+
]
|
636
|
+
|
637
|
+
load --table Logs_20170416
|
638
|
+
[
|
639
|
+
{"timestamp": "2017/04/16 10:00:00", "n_likes": 1, "price": 200},
|
640
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 2, "price": 300},
|
641
|
+
{"timestamp": "2017/04/16 11:00:00", "n_likes": 1, "price": 300}
|
642
|
+
]
|
643
|
+
|
644
|
+
logical_count Logs \
|
645
|
+
--shard_key timestamp \
|
646
|
+
--columns[count].stage initial \
|
647
|
+
--columns[count].type UInt32 \
|
648
|
+
--columns[count].flags COLUMN_SCALAR \
|
649
|
+
--columns[count].value 'window_count()' \
|
650
|
+
--columns[count].window.group_keys price \
|
651
|
+
--filter 'count >= 1'
|
652
|
+
# [
|
653
|
+
# [
|
654
|
+
# 0,
|
655
|
+
# 0.0,
|
656
|
+
# 0.0
|
657
|
+
# ],
|
658
|
+
# [
|
659
|
+
# 4
|
660
|
+
# ]
|
661
|
+
# ]
|
662
|
+
</pre></div>
|
587
663
|
</div>
|
588
664
|
<div class="section" id="columns-name-window-sort-keys">
|
589
|
-
<span id="logical-count-columns-name-window-sort-keys"></span><h4>7.3.31.4.5.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>
|
665
|
+
<span id="logical-count-columns-name-window-sort-keys"></span><h4>7.3.31.4.5.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>
|
590
666
|
<div class="versionadded">
|
591
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
667
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
592
668
|
</div>
|
593
669
|
<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
|
594
670
|
<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
|
@@ -597,9 +673,9 @@ details.</p>
|
|
597
673
|
or <a class="reference internal" href="#logical-count-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
|
598
674
|
function.</p>
|
599
675
|
<p>Here is an example that computes cumulative sum per
|
600
|
-
<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>
|
676
|
+
<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>
|
601
677
|
<p>Execution example:</p>
|
602
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
678
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
603
679
|
--logical_table Entries \
|
604
680
|
--shard_key created_at \
|
605
681
|
--columns[n_likes_cumulative_sum_per_tag].stage initial \
|
@@ -613,9 +689,9 @@ function.</p>
|
|
613
689
|
</div>
|
614
690
|
</div>
|
615
691
|
<div class="section" id="columns-name-window-group-keys">
|
616
|
-
<span id="logical-count-columns-name-window-group-keys"></span><h4>7.3.31.4.5.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>
|
692
|
+
<span id="logical-count-columns-name-window-group-keys"></span><h4>7.3.31.4.5.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>
|
617
693
|
<div class="versionadded">
|
618
|
-
<p><span class="versionmodified">New in version 7.0.9.</span></p>
|
694
|
+
<p><span class="versionmodified added">New in version 7.0.9.</span></p>
|
619
695
|
</div>
|
620
696
|
<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
|
621
697
|
<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
|
@@ -623,9 +699,9 @@ details.</p>
|
|
623
699
|
<p>You must specify <a class="reference internal" href="#logical-count-columns-name-window-sort-keys"><span class="std std-ref">columns[${NAME}].window.sort_keys</span></a>
|
624
700
|
or <a class="reference internal" href="#logical-count-columns-name-window-group-keys"><span class="std std-ref">columns[${NAME}].window.group_keys</span></a> to use window
|
625
701
|
function.</p>
|
626
|
-
<p>Here is an example that computes sum per <code class="docutils literal"><span class="pre">Entries.tag</span></code>:</p>
|
702
|
+
<p>Here is an example that computes sum per <code class="docutils literal notranslate"><span class="pre">Entries.tag</span></code>:</p>
|
627
703
|
<p>Execution example:</p>
|
628
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
704
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
629
705
|
--logical_table Entries \
|
630
706
|
--shard_key created_at \
|
631
707
|
--columns[n_likes_sum_per_tag].stage initial \
|
@@ -641,54 +717,54 @@ function.</p>
|
|
641
717
|
<div class="section" id="cache-related-parameter">
|
642
718
|
<h3>7.3.31.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
643
719
|
<div class="section" id="cache">
|
644
|
-
<span id="logical-count-cache"></span><h4>7.3.31.4.6.1. <code class="docutils literal"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
|
720
|
+
<span id="logical-count-cache"></span><h4>7.3.31.4.6.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
|
645
721
|
<p>Specifies whether caching the result of this query or not.</p>
|
646
722
|
<p>If the result of this query is cached, the next same query returns
|
647
723
|
response quickly by using the cache.</p>
|
648
|
-
<p>It doesn
|
724
|
+
<p>It doesn’t control whether existing cached result is used or not.</p>
|
649
725
|
<p>Here are available values:</p>
|
650
|
-
<table
|
726
|
+
<table class="docutils align-center">
|
651
727
|
<colgroup>
|
652
|
-
<col
|
653
|
-
<col
|
728
|
+
<col style="width: 50%" />
|
729
|
+
<col style="width: 50%" />
|
654
730
|
</colgroup>
|
655
|
-
<thead
|
656
|
-
<tr class="row-odd"><th class="head">Value</th>
|
657
|
-
<th class="head">Description</th>
|
731
|
+
<thead>
|
732
|
+
<tr class="row-odd"><th class="head"><p>Value</p></th>
|
733
|
+
<th class="head"><p>Description</p></th>
|
658
734
|
</tr>
|
659
735
|
</thead>
|
660
|
-
<tbody
|
661
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">no</span></code></td>
|
662
|
-
<td>Don
|
736
|
+
<tbody>
|
737
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">no</span></code></p></td>
|
738
|
+
<td><p>Don’t cache the output of this query.</p></td>
|
663
739
|
</tr>
|
664
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">yes</span></code></td>
|
665
|
-
<td>Cache the output of this query.
|
666
|
-
It
|
740
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">yes</span></code></p></td>
|
741
|
+
<td><p>Cache the output of this query.
|
742
|
+
It’s the default value.</p></td>
|
667
743
|
</tr>
|
668
744
|
</tbody>
|
669
745
|
</table>
|
670
746
|
<p>Here is an example to disable caching the result of this query:</p>
|
671
747
|
<p>Execution example:</p>
|
672
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_count \
|
748
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>logical_count \
|
673
749
|
--logical_table Entries \
|
674
750
|
--shard_key created_at \
|
675
751
|
--cache no
|
676
752
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
677
753
|
</pre></div>
|
678
754
|
</div>
|
679
|
-
<p>The default value is <code class="docutils literal"><span class="pre">yes</span></code>.</p>
|
755
|
+
<p>The default value is <code class="docutils literal notranslate"><span class="pre">yes</span></code>.</p>
|
680
756
|
</div>
|
681
757
|
</div>
|
682
758
|
</div>
|
683
759
|
<div class="section" id="return-value">
|
684
760
|
<h2>7.3.31.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
685
761
|
<p>The command returns a response with the following format:</p>
|
686
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, N_HITS]
|
762
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[HEADER, N_HITS]
|
687
763
|
</pre></div>
|
688
764
|
</div>
|
689
|
-
<p>If the command fails, error details are in <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
690
|
-
<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>
|
691
|
-
<p><code class="docutils literal"><span class="pre">N_HITS</span></code> is the number of matched records.</p>
|
765
|
+
<p>If the command fails, error details are in <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
766
|
+
<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>
|
767
|
+
<p><code class="docutils literal notranslate"><span class="pre">N_HITS</span></code> is the number of matched records.</p>
|
692
768
|
</div>
|
693
769
|
</div>
|
694
770
|
|
@@ -698,43 +774,44 @@ It's the default value.</td>
|
|
698
774
|
</div>
|
699
775
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
700
776
|
<div class="sphinxsidebarwrapper">
|
701
|
-
<h3><a href="../../index.html">Table
|
777
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
702
778
|
<ul>
|
703
|
-
<li><a class="reference internal" href="#">7.3.31. <code class="docutils literal"><span class="pre">logical_count</span></code></a><ul>
|
779
|
+
<li><a class="reference internal" href="#">7.3.31. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a><ul>
|
704
780
|
<li><a class="reference internal" href="#summary">7.3.31.1. Summary</a></li>
|
705
781
|
<li><a class="reference internal" href="#syntax">7.3.31.2. Syntax</a></li>
|
706
782
|
<li><a class="reference internal" href="#usage">7.3.31.3. Usage</a></li>
|
707
783
|
<li><a class="reference internal" href="#parameters">7.3.31.4. Parameters</a><ul>
|
708
784
|
<li><a class="reference internal" href="#required-parameters">7.3.31.4.1. Required parameters</a><ul>
|
709
|
-
<li><a class="reference internal" href="#logical-table">7.3.31.4.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
|
710
|
-
<li><a class="reference internal" href="#shard-key">7.3.31.4.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
|
785
|
+
<li><a class="reference internal" href="#logical-table">7.3.31.4.1.1. <code class="docutils literal notranslate"><span class="pre">logical_table</span></code></a></li>
|
786
|
+
<li><a class="reference internal" href="#shard-key">7.3.31.4.1.2. <code class="docutils literal notranslate"><span class="pre">shard_key</span></code></a></li>
|
711
787
|
</ul>
|
712
788
|
</li>
|
713
789
|
<li><a class="reference internal" href="#optional-parameters">7.3.31.4.2. Optional parameters</a><ul>
|
714
|
-
<li><a class="reference internal" href="#min">7.3.31.4.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
|
715
|
-
<li><a class="reference internal" href="#min-border">7.3.31.4.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
|
716
|
-
<li><a class="reference internal" href="#max">7.3.31.4.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
|
717
|
-
<li><a class="reference internal" href="#max-border">7.3.31.4.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
|
790
|
+
<li><a class="reference internal" href="#min">7.3.31.4.2.1. <code class="docutils literal notranslate"><span class="pre">min</span></code></a></li>
|
791
|
+
<li><a class="reference internal" href="#min-border">7.3.31.4.2.2. <code class="docutils literal notranslate"><span class="pre">min_border</span></code></a></li>
|
792
|
+
<li><a class="reference internal" href="#max">7.3.31.4.2.3. <code class="docutils literal notranslate"><span class="pre">max</span></code></a></li>
|
793
|
+
<li><a class="reference internal" href="#max-border">7.3.31.4.2.4. <code class="docutils literal notranslate"><span class="pre">max_border</span></code></a></li>
|
718
794
|
</ul>
|
719
795
|
</li>
|
720
796
|
<li><a class="reference internal" href="#search-related-parameters">7.3.31.4.3. Search related parameters</a><ul>
|
721
|
-
<li><a class="reference internal" href="#filter">7.3.31.4.3.1. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
|
797
|
+
<li><a class="reference internal" href="#filter">7.3.31.4.3.1. <code class="docutils literal notranslate"><span class="pre">filter</span></code></a></li>
|
798
|
+
<li><a class="reference internal" href="#post-filter">7.3.31.4.3.2. <code class="docutils literal notranslate"><span class="pre">post_filter</span></code></a></li>
|
722
799
|
</ul>
|
723
800
|
</li>
|
724
801
|
<li><a class="reference internal" href="#dynamic-column-related-parameters">7.3.31.4.4. Dynamic column related parameters</a><ul>
|
725
|
-
<li><a class="reference internal" href="#columns-name-stage">7.3.31.4.4.1. <code class="docutils literal"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
726
|
-
<li><a class="reference internal" href="#columns-name-flags">7.3.31.4.4.2. <code class="docutils literal"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
727
|
-
<li><a class="reference internal" href="#columns-name-type">7.3.31.4.4.3. <code class="docutils literal"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
728
|
-
<li><a class="reference internal" href="#columns-name-value">7.3.31.4.4.4. <code class="docutils literal"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
802
|
+
<li><a class="reference internal" href="#columns-name-stage">7.3.31.4.4.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].stage</span></code></a></li>
|
803
|
+
<li><a class="reference internal" href="#columns-name-flags">7.3.31.4.4.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].flags</span></code></a></li>
|
804
|
+
<li><a class="reference internal" href="#columns-name-type">7.3.31.4.4.3. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].type</span></code></a></li>
|
805
|
+
<li><a class="reference internal" href="#columns-name-value">7.3.31.4.4.4. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].value</span></code></a></li>
|
729
806
|
</ul>
|
730
807
|
</li>
|
731
808
|
<li><a class="reference internal" href="#window-function-related-parameters">7.3.31.4.5. Window function related parameters</a><ul>
|
732
|
-
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.31.4.5.1. <code class="docutils literal"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
733
|
-
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.31.4.5.2. <code class="docutils literal"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
809
|
+
<li><a class="reference internal" href="#columns-name-window-sort-keys">7.3.31.4.5.1. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.sort_keys</span></code></a></li>
|
810
|
+
<li><a class="reference internal" href="#columns-name-window-group-keys">7.3.31.4.5.2. <code class="docutils literal notranslate"><span class="pre">columns[${NAME}].window.group_keys</span></code></a></li>
|
734
811
|
</ul>
|
735
812
|
</li>
|
736
813
|
<li><a class="reference internal" href="#cache-related-parameter">7.3.31.4.6. Cache related parameter</a><ul>
|
737
|
-
<li><a class="reference internal" href="#cache">7.3.31.4.6.1. <code class="docutils literal"><span class="pre">cache</span></code></a></li>
|
814
|
+
<li><a class="reference internal" href="#cache">7.3.31.4.6.1. <code class="docutils literal notranslate"><span class="pre">cache</span></code></a></li>
|
738
815
|
</ul>
|
739
816
|
</li>
|
740
817
|
</ul>
|
@@ -746,18 +823,18 @@ It's the default value.</td>
|
|
746
823
|
|
747
824
|
<h4>Previous topic</h4>
|
748
825
|
<p class="topless"><a href="log_reopen.html"
|
749
|
-
title="previous chapter">7.3.30. <code class="docutils literal"><span class="pre">log_reopen</span></code></a></p>
|
826
|
+
title="previous chapter">7.3.30. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code></a></p>
|
750
827
|
<h4>Next topic</h4>
|
751
828
|
<p class="topless"><a href="logical_parameters.html"
|
752
|
-
title="next chapter">7.3.32. <code class="docutils literal"><span class="pre">logical_parameters</span></code></a></p>
|
829
|
+
title="next chapter">7.3.32. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a></p>
|
753
830
|
<div id="searchbox" style="display: none" role="search">
|
754
831
|
<h3>Quick search</h3>
|
832
|
+
<div class="searchformwrapper">
|
755
833
|
<form class="search" action="../../search.html" method="get">
|
756
|
-
<
|
757
|
-
<
|
758
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
759
|
-
<input type="hidden" name="area" value="default" />
|
834
|
+
<input type="text" name="q" />
|
835
|
+
<input type="submit" value="Go" />
|
760
836
|
</form>
|
837
|
+
</div>
|
761
838
|
</div>
|
762
839
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
763
840
|
</div>
|
@@ -776,13 +853,13 @@ It's the default value.</td>
|
|
776
853
|
<li class="right" >
|
777
854
|
<a href="log_reopen.html" title="7.3.30. log_reopen"
|
778
855
|
>previous</a> |</li>
|
779
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
856
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
780
857
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
781
858
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
782
859
|
</ul>
|
783
860
|
</div>
|
784
861
|
<div class="footer" role="contentinfo">
|
785
|
-
© Copyright 2009-
|
862
|
+
© Copyright 2009-2019, Brazil, Inc.
|
786
863
|
</div>
|
787
864
|
</body>
|
788
865
|
</html>
|