rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,34 +1,26 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.10.1. QueryExpanderTSV — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.10.1. QueryExpanderTSV — 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.11. Scorer" href="../scorer.html" />
|
29
22
|
<link rel="prev" title="7.10. Query expanders" href="../query_expanders.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="../query_expanders.html" title="7.10. Query expanders"
|
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="../query_expanders.html" accesskey="U">7.10. Query expanders</a> »</li>
|
64
56
|
</ul>
|
@@ -73,114 +65,114 @@
|
|
73
65
|
<h1>7.10.1. QueryExpanderTSV<a class="headerlink" href="#queryexpandertsv" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.10.1.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
|
-
<p><code class="docutils literal"><span class="pre">QueryExpanderTSV</span></code> is a query expander plugin that reads synonyms
|
68
|
+
<p><code class="docutils literal notranslate"><span class="pre">QueryExpanderTSV</span></code> is a query expander plugin that reads synonyms
|
77
69
|
from TSV (Tab Separated Values) file. This plugin provides poor
|
78
70
|
feature than the embedded query expansion feature. For example, it
|
79
|
-
doesn
|
71
|
+
doesn’t support word normalization. But it may be easy to use because
|
80
72
|
you can manage your synonyms by TSV file. You can edit your synonyms
|
81
73
|
by spreadsheet application such as Excel. With the embedded query
|
82
|
-
expansion feature, you manage your synonyms by Groonga
|
74
|
+
expansion feature, you manage your synonyms by Groonga’s table.</p>
|
83
75
|
</div>
|
84
76
|
<div class="section" id="install">
|
85
77
|
<h2>7.10.1.2. Install<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h2>
|
86
|
-
<p>You need to register <code class="docutils literal"><span class="pre">query_expanders/tsv</span></code> as a plugin before you
|
87
|
-
use <code class="docutils literal"><span class="pre">QueryExpanderTSV</span></code>:</p>
|
88
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>plugin_register query_expanders/tsv
|
78
|
+
<p>You need to register <code class="docutils literal notranslate"><span class="pre">query_expanders/tsv</span></code> as a plugin before you
|
79
|
+
use <code class="docutils literal notranslate"><span class="pre">QueryExpanderTSV</span></code>:</p>
|
80
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register query_expanders/tsv
|
89
81
|
</pre></div>
|
90
82
|
</div>
|
91
83
|
</div>
|
92
84
|
<div class="section" id="usage">
|
93
85
|
<h2>7.10.1.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
94
|
-
<p>You just add <code class="docutils literal"><span class="pre">--query_expander</span> <span class="pre">QueryExpanderTSV</span></code> parameter to
|
95
|
-
<code class="docutils literal"><span class="pre">select</span></code> command:</p>
|
96
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "QUERY" --query_expander QueryExpanderTSV
|
86
|
+
<p>You just add <code class="docutils literal notranslate"><span class="pre">--query_expander</span> <span class="pre">QueryExpanderTSV</span></code> parameter to
|
87
|
+
<code class="docutils literal notranslate"><span class="pre">select</span></code> command:</p>
|
88
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "QUERY" --query_expander QueryExpanderTSV
|
97
89
|
</pre></div>
|
98
90
|
</div>
|
99
|
-
<p>If <code class="docutils literal"><span class="pre">QUERY</span></code> has registered synonyms, they are expanded. For example,
|
91
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">QUERY</span></code> has registered synonyms, they are expanded. For example,
|
100
92
|
there are the following synonyms.</p>
|
101
|
-
<table
|
93
|
+
<table class="docutils align-center">
|
102
94
|
<colgroup>
|
103
|
-
<col
|
104
|
-
<col
|
105
|
-
<col
|
95
|
+
<col style="width: 38%" />
|
96
|
+
<col style="width: 32%" />
|
97
|
+
<col style="width: 30%" />
|
106
98
|
</colgroup>
|
107
|
-
<thead
|
108
|
-
<tr class="row-odd"><th class="head">word</th>
|
109
|
-
<th class="head">synonym 1</th>
|
110
|
-
<th class="head">synonym 2</th>
|
99
|
+
<thead>
|
100
|
+
<tr class="row-odd"><th class="head"><p>word</p></th>
|
101
|
+
<th class="head"><p>synonym 1</p></th>
|
102
|
+
<th class="head"><p>synonym 2</p></th>
|
111
103
|
</tr>
|
112
104
|
</thead>
|
113
|
-
<tbody
|
114
|
-
<tr class="row-even"><td>groonga</td>
|
115
|
-
<td>groonga</td>
|
116
|
-
<td>Senna</td>
|
105
|
+
<tbody>
|
106
|
+
<tr class="row-even"><td><p>groonga</p></td>
|
107
|
+
<td><p>groonga</p></td>
|
108
|
+
<td><p>Senna</p></td>
|
117
109
|
</tr>
|
118
|
-
<tr class="row-odd"><td>mroonga</td>
|
119
|
-
<td>mroonga</td>
|
120
|
-
<td>groonga MySQL</td>
|
110
|
+
<tr class="row-odd"><td><p>mroonga</p></td>
|
111
|
+
<td><p>mroonga</p></td>
|
112
|
+
<td><p>groonga MySQL</p></td>
|
121
113
|
</tr>
|
122
114
|
</tbody>
|
123
115
|
</table>
|
124
|
-
<p>The table means that <code class="docutils literal"><span class="pre">synonym</span> <span class="pre">1</span></code> and <code class="docutils literal"><span class="pre">synonym</span> <span class="pre">2</span></code> are synonyms of
|
125
|
-
<code class="docutils literal"><span class="pre">word</span></code>. For example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code> are synonyms of
|
126
|
-
<code class="docutils literal"><span class="pre">groonga</span></code>. And <code class="docutils literal"><span class="pre">mroonga</span></code> and <code class="docutils literal"><span class="pre">groonga</span> <span class="pre">MySQL</span></code> are synonyms of
|
127
|
-
<code class="docutils literal"><span class="pre">mroonga</span></code>.</p>
|
128
|
-
<p>Here is an example of query expnasion that uses <code class="docutils literal"><span class="pre">groonga</span></code> as query:</p>
|
129
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "groonga" --query_expander QueryExpanderTSV
|
116
|
+
<p>The table means that <code class="docutils literal notranslate"><span class="pre">synonym</span> <span class="pre">1</span></code> and <code class="docutils literal notranslate"><span class="pre">synonym</span> <span class="pre">2</span></code> are synonyms of
|
117
|
+
<code class="docutils literal notranslate"><span class="pre">word</span></code>. For example, <code class="docutils literal notranslate"><span class="pre">groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">Senna</span></code> are synonyms of
|
118
|
+
<code class="docutils literal notranslate"><span class="pre">groonga</span></code>. And <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> and <code class="docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">MySQL</span></code> are synonyms of
|
119
|
+
<code class="docutils literal notranslate"><span class="pre">mroonga</span></code>.</p>
|
120
|
+
<p>Here is an example of query expnasion that uses <code class="docutils literal notranslate"><span class="pre">groonga</span></code> as query:</p>
|
121
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "groonga" --query_expander QueryExpanderTSV
|
130
122
|
</pre></div>
|
131
123
|
</div>
|
132
124
|
<p>The above command equals to the following command:</p>
|
133
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "groonga OR Senna" --query_expander QueryExpanderTSV
|
125
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "groonga OR Senna" --query_expander QueryExpanderTSV
|
134
126
|
</pre></div>
|
135
127
|
</div>
|
136
|
-
<p>Here is another example of query expnasion that uses <code class="docutils literal"><span class="pre">mroonga</span>
|
128
|
+
<p>Here is another example of query expnasion that uses <code class="docutils literal notranslate"><span class="pre">mroonga</span>
|
137
129
|
<span class="pre">search</span></code> as query:</p>
|
138
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "mroonga search" --query_expander QueryExpanderTSV
|
130
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "mroonga search" --query_expander QueryExpanderTSV
|
139
131
|
</pre></div>
|
140
132
|
</div>
|
141
133
|
<p>The above command equals to the following command:</p>
|
142
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "(mroonga OR (groonga MySQL)) search" --query_expander QueryExpanderTSV
|
134
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "(mroonga OR (groonga MySQL)) search" --query_expander QueryExpanderTSV
|
143
135
|
</pre></div>
|
144
136
|
</div>
|
145
|
-
<p>It is important that registered words (<code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">mroonga</span></code>)
|
146
|
-
are only expanded to synonyms and not registered words (<code class="docutils literal"><span class="pre">search</span></code>)
|
147
|
-
are not expanded. Query expansion isn
|
148
|
-
recursively. <code class="docutils literal"><span class="pre">groonga</span></code> is appeared in <code class="docutils literal"><span class="pre">(mroonga</span> <span class="pre">OR</span> <span class="pre">(groonga</span>
|
149
|
-
<span class="pre">MySQL))</span></code> as query expansion result but it isn
|
150
|
-
<p>Normally, you need to include <code class="docutils literal"><span class="pre">word</span></code> itself into synonyms. For
|
151
|
-
example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">mroonga</span></code> are included in synonyms of
|
152
|
-
themselves. If you want to ignore <code class="docutils literal"><span class="pre">word</span></code> itself, you don
|
153
|
-
<code class="docutils literal"><span class="pre">word</span></code> itself into synonyms. For example, if you want to use query
|
137
|
+
<p>It is important that registered words (<code class="docutils literal notranslate"><span class="pre">groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">mroonga</span></code>)
|
138
|
+
are only expanded to synonyms and not registered words (<code class="docutils literal notranslate"><span class="pre">search</span></code>)
|
139
|
+
are not expanded. Query expansion isn’t occurred
|
140
|
+
recursively. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> is appeared in <code class="docutils literal notranslate"><span class="pre">(mroonga</span> <span class="pre">OR</span> <span class="pre">(groonga</span>
|
141
|
+
<span class="pre">MySQL))</span></code> as query expansion result but it isn’t expanded.</p>
|
142
|
+
<p>Normally, you need to include <code class="docutils literal notranslate"><span class="pre">word</span></code> itself into synonyms. For
|
143
|
+
example, <code class="docutils literal notranslate"><span class="pre">groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> are included in synonyms of
|
144
|
+
themselves. If you want to ignore <code class="docutils literal notranslate"><span class="pre">word</span></code> itself, you don’t include
|
145
|
+
<code class="docutils literal notranslate"><span class="pre">word</span></code> itself into synonyms. For example, if you want to use query
|
154
146
|
expansion as spelling correction, you should use the following
|
155
147
|
synonyms.</p>
|
156
|
-
<table
|
148
|
+
<table class="docutils align-center">
|
157
149
|
<colgroup>
|
158
|
-
<col
|
159
|
-
<col
|
150
|
+
<col style="width: 54%" />
|
151
|
+
<col style="width: 46%" />
|
160
152
|
</colgroup>
|
161
|
-
<thead
|
162
|
-
<tr class="row-odd"><th class="head">word</th>
|
163
|
-
<th class="head">synonym</th>
|
153
|
+
<thead>
|
154
|
+
<tr class="row-odd"><th class="head"><p>word</p></th>
|
155
|
+
<th class="head"><p>synonym</p></th>
|
164
156
|
</tr>
|
165
157
|
</thead>
|
166
|
-
<tbody
|
167
|
-
<tr class="row-even"><td>gronga</td>
|
168
|
-
<td>groonga</td>
|
158
|
+
<tbody>
|
159
|
+
<tr class="row-even"><td><p>gronga</p></td>
|
160
|
+
<td><p>groonga</p></td>
|
169
161
|
</tr>
|
170
162
|
</tbody>
|
171
163
|
</table>
|
172
|
-
<p><code class="docutils literal"><span class="pre">gronga</span></code> in <code class="docutils literal"><span class="pre">word</span></code> has a typo. A <code class="docutils literal"><span class="pre">o</span></code> is missing. <code class="docutils literal"><span class="pre">groonga</span></code> in
|
173
|
-
<code class="docutils literal"><span class="pre">synonym</span></code> is the correct word.</p>
|
164
|
+
<p><code class="docutils literal notranslate"><span class="pre">gronga</span></code> in <code class="docutils literal notranslate"><span class="pre">word</span></code> has a typo. A <code class="docutils literal notranslate"><span class="pre">o</span></code> is missing. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> in
|
165
|
+
<code class="docutils literal notranslate"><span class="pre">synonym</span></code> is the correct word.</p>
|
174
166
|
<p>Here is an example of using query expnasion as spelling correction:</p>
|
175
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "gronga" --query_expander QueryExpanderTSV
|
167
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "gronga" --query_expander QueryExpanderTSV
|
176
168
|
</pre></div>
|
177
169
|
</div>
|
178
170
|
<p>The above command equals to the following command:</p>
|
179
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --query "groonga" --query_expander QueryExpanderTSV
|
171
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --query "groonga" --query_expander QueryExpanderTSV
|
180
172
|
</pre></div>
|
181
173
|
</div>
|
182
|
-
<p>The former command has a typo in <code class="docutils literal"><span class="pre">--query</span></code> value but the latter
|
183
|
-
command doesn
|
174
|
+
<p>The former command has a typo in <code class="docutils literal notranslate"><span class="pre">--query</span></code> value but the latter
|
175
|
+
command doesn’t have any typos.</p>
|
184
176
|
</div>
|
185
177
|
<div class="section" id="tsv-file">
|
186
178
|
<h2>7.10.1.4. TSV File<a class="headerlink" href="#tsv-file" title="Permalink to this headline">¶</a></h2>
|
@@ -188,34 +180,34 @@ command doesn't have any typos.</p>
|
|
188
180
|
it.</p>
|
189
181
|
<div class="section" id="location">
|
190
182
|
<h3>7.10.1.4.1. Location<a class="headerlink" href="#location" title="Permalink to this headline">¶</a></h3>
|
191
|
-
<p>The file name should be <code class="docutils literal"><span class="pre">synonyms.tsv</span></code> and it is located at
|
192
|
-
configuration directory. For example, <code class="docutils literal"><span class="pre">/etc/groonga/synonyms.tsv</span></code> is
|
183
|
+
<p>The file name should be <code class="docutils literal notranslate"><span class="pre">synonyms.tsv</span></code> and it is located at
|
184
|
+
configuration directory. For example, <code class="docutils literal notranslate"><span class="pre">/etc/groonga/synonyms.tsv</span></code> is
|
193
185
|
a TSV file location. The location is decided at build time.</p>
|
194
186
|
<p>You can change the location by environment variable
|
195
|
-
<code class="docutils literal"><span class="pre">GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE</span></code> at run time:</p>
|
196
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% env GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/tmp/synonyms.tsv groonga
|
187
|
+
<code class="docutils literal notranslate"><span class="pre">GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE</span></code> at run time:</p>
|
188
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% env GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/tmp/synonyms.tsv groonga
|
197
189
|
</pre></div>
|
198
190
|
</div>
|
199
|
-
<p>With the above command, <code class="docutils literal"><span class="pre">/tmp/synonyms.tsv</span></code> file is used.</p>
|
191
|
+
<p>With the above command, <code class="docutils literal notranslate"><span class="pre">/tmp/synonyms.tsv</span></code> file is used.</p>
|
200
192
|
</div>
|
201
193
|
<div class="section" id="format">
|
202
194
|
<h3>7.10.1.4.2. Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
|
203
195
|
<p>You can define zero or more synonyms in a TSV file. You define a
|
204
|
-
<code class="docutils literal"><span class="pre">word</span></code> and <code class="docutils literal"><span class="pre">synonyms</span></code> pair by a line. <code class="docutils literal"><span class="pre">word</span></code> is expanded to
|
205
|
-
<code class="docutils literal"><span class="pre">synonyms</span></code> in <code class="docutils literal"><span class="pre">--query</span></code> value. <code class="docutils literal"><span class="pre">Synonyms</span></code> are combined by
|
206
|
-
<code class="docutils literal"><span class="pre">OR</span></code>. For example, <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code> synonyms are expanded
|
207
|
-
as <code class="docutils literal"><span class="pre">groonga</span> <span class="pre">OR</span> <span class="pre">Senna</span></code>.</p>
|
208
|
-
<p>The first column is <code class="docutils literal"><span class="pre">word</span></code> and the rest columns are <code class="docutils literal"><span class="pre">synonyms</span></code> of
|
209
|
-
the <code class="docutils literal"><span class="pre">word</span></code>. Here is a sample line for <code class="docutils literal"><span class="pre">word</span></code> is <code class="docutils literal"><span class="pre">groonga</span></code> and
|
210
|
-
<code class="docutils literal"><span class="pre">synonyms</span></code> are <code class="docutils literal"><span class="pre">groonga</span></code> and <code class="docutils literal"><span class="pre">Senna</span></code>. <code class="docutils literal"><span class="pre">(TAB)</span></code> means a tab
|
211
|
-
character (<code class="docutils literal"><span class="pre">U+0009</span></code>):</p>
|
212
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga(TAB)groonga(TAB)Senna
|
196
|
+
<code class="docutils literal notranslate"><span class="pre">word</span></code> and <code class="docutils literal notranslate"><span class="pre">synonyms</span></code> pair by a line. <code class="docutils literal notranslate"><span class="pre">word</span></code> is expanded to
|
197
|
+
<code class="docutils literal notranslate"><span class="pre">synonyms</span></code> in <code class="docutils literal notranslate"><span class="pre">--query</span></code> value. <code class="docutils literal notranslate"><span class="pre">Synonyms</span></code> are combined by
|
198
|
+
<code class="docutils literal notranslate"><span class="pre">OR</span></code>. For example, <code class="docutils literal notranslate"><span class="pre">groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">Senna</span></code> synonyms are expanded
|
199
|
+
as <code class="docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">OR</span> <span class="pre">Senna</span></code>.</p>
|
200
|
+
<p>The first column is <code class="docutils literal notranslate"><span class="pre">word</span></code> and the rest columns are <code class="docutils literal notranslate"><span class="pre">synonyms</span></code> of
|
201
|
+
the <code class="docutils literal notranslate"><span class="pre">word</span></code>. Here is a sample line for <code class="docutils literal notranslate"><span class="pre">word</span></code> is <code class="docutils literal notranslate"><span class="pre">groonga</span></code> and
|
202
|
+
<code class="docutils literal notranslate"><span class="pre">synonyms</span></code> are <code class="docutils literal notranslate"><span class="pre">groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">Senna</span></code>. <code class="docutils literal notranslate"><span class="pre">(TAB)</span></code> means a tab
|
203
|
+
character (<code class="docutils literal notranslate"><span class="pre">U+0009</span></code>):</p>
|
204
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga(TAB)groonga(TAB)Senna
|
213
205
|
</pre></div>
|
214
206
|
</div>
|
215
|
-
<p>Comment line is supported. Lines that start with <code class="docutils literal"><span class="pre">#</span></code> are ignored.
|
216
|
-
Here is an example for comment line. <code class="docutils literal"><span class="pre">groonga</span></code> line is ignored as
|
207
|
+
<p>Comment line is supported. Lines that start with <code class="docutils literal notranslate"><span class="pre">#</span></code> are ignored.
|
208
|
+
Here is an example for comment line. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> line is ignored as
|
217
209
|
comment line:</p>
|
218
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>#groonga(TAB)groonga(TAB)Senna
|
210
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>#groonga(TAB)groonga(TAB)Senna
|
219
211
|
mroonga(TAB)mroonga(TAB)groonga MySQL
|
220
212
|
</pre></div>
|
221
213
|
</div>
|
@@ -230,7 +222,7 @@ loaded only at the plugin load time.</p>
|
|
230
222
|
<h2>7.10.1.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
231
223
|
<blockquote>
|
232
224
|
<div><ul class="simple">
|
233
|
-
<li><a class="reference internal" href="../commands/select.html#select-query-expansion"><span class="std std-ref">query_expansion</span></a></li>
|
225
|
+
<li><p><a class="reference internal" href="../commands/select.html#select-query-expansion"><span class="std std-ref">query_expansion</span></a></p></li>
|
234
226
|
</ul>
|
235
227
|
</div></blockquote>
|
236
228
|
</div>
|
@@ -242,7 +234,7 @@ loaded only at the plugin load time.</p>
|
|
242
234
|
</div>
|
243
235
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
244
236
|
<div class="sphinxsidebarwrapper">
|
245
|
-
<h3><a href="../../index.html">Table
|
237
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
246
238
|
<ul>
|
247
239
|
<li><a class="reference internal" href="#">7.10.1. QueryExpanderTSV</a><ul>
|
248
240
|
<li><a class="reference internal" href="#summary">7.10.1.1. Summary</a></li>
|
@@ -267,12 +259,12 @@ loaded only at the plugin load time.</p>
|
|
267
259
|
title="next chapter">7.11. Scorer</a></p>
|
268
260
|
<div id="searchbox" style="display: none" role="search">
|
269
261
|
<h3>Quick search</h3>
|
262
|
+
<div class="searchformwrapper">
|
270
263
|
<form class="search" action="../../search.html" method="get">
|
271
|
-
<
|
272
|
-
<
|
273
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
274
|
-
<input type="hidden" name="area" value="default" />
|
264
|
+
<input type="text" name="q" />
|
265
|
+
<input type="submit" value="Go" />
|
275
266
|
</form>
|
267
|
+
</div>
|
276
268
|
</div>
|
277
269
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
278
270
|
</div>
|
@@ -291,13 +283,13 @@ loaded only at the plugin load time.</p>
|
|
291
283
|
<li class="right" >
|
292
284
|
<a href="../query_expanders.html" title="7.10. Query expanders"
|
293
285
|
>previous</a> |</li>
|
294
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
286
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
295
287
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
296
288
|
<li class="nav-item nav-item-2"><a href="../query_expanders.html" >7.10. Query expanders</a> »</li>
|
297
289
|
</ul>
|
298
290
|
</div>
|
299
291
|
<div class="footer" role="contentinfo">
|
300
|
-
© Copyright 2009-
|
292
|
+
© Copyright 2009-2019, Brazil, Inc.
|
301
293
|
</div>
|
302
294
|
</body>
|
303
295
|
</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.
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.14. Regular expression — 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
|
-
<link rel="next" title="7.
|
29
|
-
<link rel="prev" title="7.
|
30
|
-
</head>
|
31
|
-
<body>
|
21
|
+
<link rel="next" title="7.15. Function" href="function.html" />
|
22
|
+
<link rel="prev" title="7.13.2. Script syntax" href="grn_expr/script_syntax.html" />
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../index.html">
|
@@ -53,12 +45,12 @@
|
|
53
45
|
<a href="../genindex.html" title="General Index"
|
54
46
|
accesskey="I">index</a></li>
|
55
47
|
<li class="right" >
|
56
|
-
<a href="function.html" title="7.
|
48
|
+
<a href="function.html" title="7.15. Function"
|
57
49
|
accesskey="N">next</a> |</li>
|
58
50
|
<li class="right" >
|
59
|
-
<a href="grn_expr/script_syntax.html" title="7.
|
51
|
+
<a href="grn_expr/script_syntax.html" title="7.13.2. Script syntax"
|
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" accesskey="U">7. Reference manual</a> »</li>
|
63
55
|
</ul>
|
64
56
|
</div>
|
@@ -69,67 +61,78 @@
|
|
69
61
|
<div class="body" role="main">
|
70
62
|
|
71
63
|
<div class="section" id="regular-expression">
|
72
|
-
<h1>7.
|
64
|
+
<h1>7.14. Regular expression<a class="headerlink" href="#regular-expression" title="Permalink to this headline">¶</a></h1>
|
73
65
|
<div class="section" id="summary">
|
74
|
-
<h2>7.
|
66
|
+
<h2>7.14.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
75
67
|
<div class="admonition note">
|
76
|
-
<p class="
|
77
|
-
<p
|
68
|
+
<p class="admonition-title">Note</p>
|
69
|
+
<p>Regular expression support is an experimental feature.</p>
|
78
70
|
</div>
|
79
71
|
<div class="versionadded">
|
80
|
-
<p><span class="versionmodified">New in version 5.0.1.</span></p>
|
72
|
+
<p><span class="versionmodified added">New in version 5.0.1.</span></p>
|
81
73
|
</div>
|
82
74
|
<p>Groonga supports pattern match by regular expression. Regular
|
83
75
|
expression is widely used format to describe a pattern. Regular
|
84
76
|
expression is useful to represent complex pattern.</p>
|
85
77
|
<p>In most cases, pattern match by regular expression is evaluated as
|
86
|
-
sequential search. It
|
78
|
+
sequential search. It’ll be slow for many records and many texts.</p>
|
87
79
|
<p>In some cases, pattern match by regular expression can be evaluated
|
88
|
-
by index. It
|
80
|
+
by index. It’s very fast rather than sequential search. Patterns
|
89
81
|
that can be evaluated by index are described later.</p>
|
90
82
|
<div class="versionadded">
|
91
|
-
<p><span class="versionmodified">New in version 5.0.7: </span>Groonga normalizes match target text by <a class="reference internal" href="normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a>
|
92
|
-
normalizer when Groonga doesn
|
83
|
+
<p><span class="versionmodified added">New in version 5.0.7: </span>Groonga normalizes match target text by <a class="reference internal" href="normalizers/normalizer_auto.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a>
|
84
|
+
normalizer when Groonga doesn’t use index for regular expression
|
93
85
|
search. It means that regular expression that has upper case such
|
94
|
-
as <code class="docutils literal"><span class="pre">Groonga</span></code> never match. Because <a class="reference internal" href="normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a>
|
95
|
-
normalizer normalizes all alphabets to lower case. <code class="docutils literal"><span class="pre">groonga</span></code>
|
96
|
-
matches to both <code class="docutils literal"><span class="pre">Groonga</span></code> and <code class="docutils literal"><span class="pre">groonga</span></code>.</p>
|
97
|
-
<p>Why is match target text normalizered? It
|
98
|
-
search-able patterns. If Groonga doesn
|
86
|
+
as <code class="docutils literal notranslate"><span class="pre">Groonga</span></code> never match. Because <a class="reference internal" href="normalizers/normalizer_auto.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a>
|
87
|
+
normalizer normalizes all alphabets to lower case. <code class="docutils literal notranslate"><span class="pre">groonga</span></code>
|
88
|
+
matches to both <code class="docutils literal notranslate"><span class="pre">Groonga</span></code> and <code class="docutils literal notranslate"><span class="pre">groonga</span></code>.</p>
|
89
|
+
<p>Why is match target text normalizered? It’s for increasing index
|
90
|
+
search-able patterns. If Groonga doesn’t normalize match target
|
99
91
|
text, you need to write complex regular expression such as
|
100
|
-
<code class="docutils literal"><span class="pre">[Dd][Ii][Ss][Kk]</span></code> and <code class="docutils literal"><span class="pre">(?i)disk</span></code> for case-insensitive match.
|
101
|
-
Groonga can
|
102
|
-
<p>If you write <code class="docutils literal"><span class="pre">disk</span></code> regular expression for case-insensitive
|
103
|
-
match, Groonga can search the pattern with index. It
|
92
|
+
<code class="docutils literal notranslate"><span class="pre">[Dd][Ii][Ss][Kk]</span></code> and <code class="docutils literal notranslate"><span class="pre">(?i)disk</span></code> for case-insensitive match.
|
93
|
+
Groonga can’t use index against complex regular expression.</p>
|
94
|
+
<p>If you write <code class="docutils literal notranslate"><span class="pre">disk</span></code> regular expression for case-insensitive
|
95
|
+
match, Groonga can search the pattern with index. It’s fast.</p>
|
96
|
+
<p>By full text search normally, Groonga normalize search keywords
|
97
|
+
using the normalizer specified in a lexicon.
|
98
|
+
By using regular expression search, Groonga doesn’t normalize search
|
99
|
+
keywords.
|
100
|
+
Because the regular expression has specified meaning in uppercase and
|
101
|
+
lowercase.</p>
|
102
|
+
<p>So, if you regular expression search that doesn’t use the index,
|
103
|
+
we suggest that use <a class="reference internal" href="commands/normalize.html"><span class="doc">normalize</span></a> command to
|
104
|
+
normalize search keywords before a search.
|
105
|
+
By using <a class="reference internal" href="commands/normalize.html"><span class="doc">normalize</span></a> command, you don’t have
|
106
|
+
to need to think about how to normalize search keywords.</p>
|
104
107
|
<p>You may feel the behavior is strange. But fast search based on this
|
105
108
|
behavior will help you.</p>
|
106
109
|
</div>
|
107
110
|
<p>There are many regular expression syntaxes. Groonga uses the same
|
108
111
|
syntax in Ruby. Because Groonga uses the same regular expression
|
109
112
|
engine as Ruby. The regular expression engine is <a class="reference external" href="https://github.com/k-takata/Onigmo/">Onigmo</a>. Characteristic difference
|
110
|
-
with other regular expression syntax is <code class="docutils literal"><span class="pre">^</span></code> and <code class="docutils literal"><span class="pre">$</span></code>. The regular
|
111
|
-
expression syntax in Ruby, <code class="docutils literal"><span class="pre">^</span></code> means the beginning of line and <code class="docutils literal"><span class="pre">$</span></code>
|
112
|
-
means the end of line. <code class="docutils literal"><span class="pre">^</span></code> means the beginning of text and <code class="docutils literal"><span class="pre">$</span></code>
|
113
|
+
with other regular expression syntax is <code class="docutils literal notranslate"><span class="pre">^</span></code> and <code class="docutils literal notranslate"><span class="pre">$</span></code>. The regular
|
114
|
+
expression syntax in Ruby, <code class="docutils literal notranslate"><span class="pre">^</span></code> means the beginning of line and <code class="docutils literal notranslate"><span class="pre">$</span></code>
|
115
|
+
means the end of line. <code class="docutils literal notranslate"><span class="pre">^</span></code> means the beginning of text and <code class="docutils literal notranslate"><span class="pre">$</span></code>
|
113
116
|
means the end of text in other most regular expression syntaxes. The regular
|
114
|
-
expression syntax in Ruby uses <code class="docutils literal"><span class="pre">\A</span></code> for the beginning of text and
|
115
|
-
<code class="docutils literal"><span class="pre">\z</span></code> for the end of text.</p>
|
117
|
+
expression syntax in Ruby uses <code class="docutils literal notranslate"><span class="pre">\A</span></code> for the beginning of text and
|
118
|
+
<code class="docutils literal notranslate"><span class="pre">\z</span></code> for the end of text.</p>
|
116
119
|
<div class="versionadded">
|
117
|
-
<p><span class="versionmodified">New in version 5.0.6: </span>Groonga uses multiline mode since 5.0.6. It means that <code class="docutils literal"><span class="pre">.</span></code>
|
118
|
-
matches on <code class="docutils literal"><span class="pre">\n</span></code>.</p>
|
119
|
-
<p>But it
|
120
|
-
<a class="reference internal" href="normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer.</p>
|
120
|
+
<p><span class="versionmodified added">New in version 5.0.6: </span>Groonga uses multiline mode since 5.0.6. It means that <code class="docutils literal notranslate"><span class="pre">.</span></code>
|
121
|
+
matches on <code class="docutils literal notranslate"><span class="pre">\n</span></code>.</p>
|
122
|
+
<p>But it’s meaningless. Because <code class="docutils literal notranslate"><span class="pre">\n</span></code> is removed by
|
123
|
+
<a class="reference internal" href="normalizers/normalizer_auto.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer.</p>
|
121
124
|
</div>
|
122
125
|
<p>You can use regular expression in <a class="reference internal" href="commands/select.html#select-query"><span class="std std-ref">query</span></a> and
|
123
126
|
<a class="reference internal" href="commands/select.html#select-filter"><span class="std std-ref">filter</span></a> options of <a class="reference internal" href="commands/select.html"><span class="doc">select</span></a>
|
124
127
|
command.</p>
|
125
128
|
</div>
|
126
129
|
<div class="section" id="usage">
|
127
|
-
<h2>7.
|
130
|
+
<h2>7.14.2. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
128
131
|
<p>Here are a schema definition and sample data to show usage. There is
|
129
|
-
only one table, <code class="docutils literal"><span class="pre">Logs</span></code>. <code class="docutils literal"><span class="pre">Logs</span></code> table has only <code class="docutils literal"><span class="pre">message</span></code>
|
130
|
-
column. Log messages are stored into the <code class="docutils literal"><span class="pre">message</span></code> column.</p>
|
132
|
+
only one table, <code class="docutils literal notranslate"><span class="pre">Logs</span></code>. <code class="docutils literal notranslate"><span class="pre">Logs</span></code> table has only <code class="docutils literal notranslate"><span class="pre">message</span></code>
|
133
|
+
column. Log messages are stored into the <code class="docutils literal notranslate"><span class="pre">message</span></code> column.</p>
|
131
134
|
<p>Execution example:</p>
|
132
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Logs TABLE_NO_KEY
|
135
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Logs TABLE_NO_KEY
|
133
136
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
134
137
|
column_create Logs message COLUMN_SCALAR Text
|
135
138
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -146,9 +149,9 @@ load --table Logs
|
|
146
149
|
</div>
|
147
150
|
<p>Here is an example that uses regular expression in
|
148
151
|
<a class="reference internal" href="commands/select.html#select-query"><span class="std std-ref">query</span></a>. You need to use
|
149
|
-
<code class="docutils literal"><span class="pre">${COLUMN}:~${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
152
|
+
<code class="docutils literal notranslate"><span class="pre">${COLUMN}:~${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
150
153
|
<p>Execution example:</p>
|
151
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --query 'message:~"disk (space|full)"'
|
154
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --query 'message:~"disk (space|full)"'
|
152
155
|
# [
|
153
156
|
# [
|
154
157
|
# 0,
|
@@ -185,9 +188,9 @@ load --table Logs
|
|
185
188
|
</div>
|
186
189
|
<p>Here is an example that uses regular expression in
|
187
190
|
<a class="reference internal" href="commands/select.html#select-filter"><span class="std std-ref">filter</span></a>. You need to use
|
188
|
-
<code class="docutils literal"><span class="pre">${COLUMN}</span> <span class="pre">@~</span> <span class="pre">${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
191
|
+
<code class="docutils literal notranslate"><span class="pre">${COLUMN}</span> <span class="pre">@~</span> <span class="pre">${REGULAR_EXPRESSION}</span></code> syntax.</p>
|
189
192
|
<p>Execution example:</p>
|
190
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "disk (space|full)"'
|
193
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "disk (space|full)"'
|
191
194
|
# [
|
192
195
|
# [
|
193
196
|
# 0,
|
@@ -224,35 +227,35 @@ load --table Logs
|
|
224
227
|
</div>
|
225
228
|
</div>
|
226
229
|
<div class="section" id="index">
|
227
|
-
<span id="regular-expression-index"></span><h2>7.
|
228
|
-
<p>Groonga can search records by regular expression with index. It
|
230
|
+
<span id="regular-expression-index"></span><h2>7.14.3. Index<a class="headerlink" href="#index" title="Permalink to this headline">¶</a></h2>
|
231
|
+
<p>Groonga can search records by regular expression with index. It’s very
|
229
232
|
fast rather than sequential search.</p>
|
230
|
-
<p>But it doesn
|
233
|
+
<p>But it doesn’t support all regular expression patterns. It supports
|
231
234
|
only the following regular expression patterns. The patterns will be
|
232
235
|
increased in the future.</p>
|
233
236
|
<blockquote>
|
234
237
|
<div><ul class="simple">
|
235
|
-
<li>Literal only pattern such as <code class="docutils literal"><span class="pre">disk</span></code></li>
|
236
|
-
<li>The begging of text and literal only pattern such as <code class="docutils literal"><span class="pre">\Adisk</span></code></li>
|
237
|
-
<li>The end of text and literal only pattern such as <code class="docutils literal"><span class="pre">disk\z</span></code></li>
|
238
|
+
<li><p>Literal only pattern such as <code class="docutils literal notranslate"><span class="pre">disk</span></code></p></li>
|
239
|
+
<li><p>The begging of text and literal only pattern such as <code class="docutils literal notranslate"><span class="pre">\Adisk</span></code></p></li>
|
240
|
+
<li><p>The end of text and literal only pattern such as <code class="docutils literal notranslate"><span class="pre">disk\z</span></code></p></li>
|
238
241
|
</ul>
|
239
242
|
</div></blockquote>
|
240
243
|
<p>You need to create an index for fast regular expression search. Here
|
241
244
|
are requirements of index:</p>
|
242
245
|
<blockquote>
|
243
246
|
<div><ul class="simple">
|
244
|
-
<li>Lexicon must be <a class="reference internal" href="tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> table.</li>
|
245
|
-
<li>Lexicon must use <a class="reference internal" href="tokenizers.html#token-regexp"><span class="std std-ref">TokenRegexp</span></a> tokenizer.</li>
|
246
|
-
<li>Index column must has <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> flag.</li>
|
247
|
+
<li><p>Lexicon must be <a class="reference internal" href="tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> table.</p></li>
|
248
|
+
<li><p>Lexicon must use <a class="reference internal" href="tokenizers/token_regexp.html#token-regexp"><span class="std std-ref">TokenRegexp</span></a> tokenizer.</p></li>
|
249
|
+
<li><p>Index column must has <code class="docutils literal notranslate"><span class="pre">WITH_POSITION</span></code> flag.</p></li>
|
247
250
|
</ul>
|
248
251
|
</div></blockquote>
|
249
|
-
<p>Other configurations such as lexicon
|
252
|
+
<p>Other configurations such as lexicon’s normalizer are optional. You
|
250
253
|
can choose what you like. If you want to use case-insensitive search,
|
251
|
-
use <a class="reference internal" href="normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer.</p>
|
252
|
-
<p>Here are recommended index definitions. In general, it
|
254
|
+
use <a class="reference internal" href="normalizers/normalizer_auto.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer.</p>
|
255
|
+
<p>Here are recommended index definitions. In general, it’s reasonable
|
253
256
|
index definitions.</p>
|
254
257
|
<p>Execution example:</p>
|
255
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create RegexpLexicon TABLE_PAT_KEY ShortText \
|
258
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create RegexpLexicon TABLE_PAT_KEY ShortText \
|
256
259
|
--default_tokenizer TokenRegexp \
|
257
260
|
--normalizer NormalizerAuto
|
258
261
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -262,10 +265,10 @@ column_create RegexpLexicon logs_message_index \
|
|
262
265
|
</pre></div>
|
263
266
|
</div>
|
264
267
|
<p>Now, you can use index for regular expression search. The following
|
265
|
-
regular expression can be evaluated by index because it uses only
|
266
|
-
beginning of text
|
268
|
+
regular expression can be evaluated by index because it uses only “the
|
269
|
+
beginning of text” and “literal”.</p>
|
267
270
|
<p>Execution example:</p>
|
268
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --query message:~\\\\Ahost1
|
271
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --query message:~\\\\Ahost1
|
269
272
|
# [
|
270
273
|
# [
|
271
274
|
# 0,
|
@@ -308,7 +311,7 @@ beginning of text" and "literal".</p>
|
|
308
311
|
<a class="reference internal" href="commands/select.html#select-query"><span class="std std-ref">query</span></a>. It uses the same regular expression as the
|
309
312
|
previous example.</p>
|
310
313
|
<p>Execution example:</p>
|
311
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "\\\\Ahost1:"'
|
314
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "\\\\Ahost1:"'
|
312
315
|
# [
|
313
316
|
# [
|
314
317
|
# 0,
|
@@ -347,45 +350,45 @@ previous example.</p>
|
|
347
350
|
# ]
|
348
351
|
</pre></div>
|
349
352
|
</div>
|
350
|
-
<p><code class="docutils literal"><span class="pre">\</span></code> escape will confuse you because there are some steps that
|
353
|
+
<p><code class="docutils literal notranslate"><span class="pre">\</span></code> escape will confuse you because there are some steps that
|
351
354
|
require escape between you and Groonga. Here are steps that require
|
352
|
-
<code class="docutils literal"><span class="pre">\</span></code> escape:</p>
|
355
|
+
<code class="docutils literal notranslate"><span class="pre">\</span></code> escape:</p>
|
353
356
|
<blockquote>
|
354
357
|
<div><ul>
|
355
|
-
<li><p
|
358
|
+
<li><p>Shell only when you pass Groonga command from command line the
|
356
359
|
following:</p>
|
357
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% groonga /tmp/db select Logs --filter '"message @~ \"\\\\Ahost1:"\"'
|
360
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% groonga /tmp/db select Logs --filter '"message @~ \"\\\\Ahost1:"\"'
|
358
361
|
</pre></div>
|
359
362
|
</div>
|
360
|
-
<p><code class="docutils literal"><span class="pre">--filter</span> <span class="pre">'"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""'</span></code> is evaluated as the
|
363
|
+
<p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""'</span></code> is evaluated as the
|
361
364
|
following two arguments by shell:</p>
|
362
365
|
<blockquote>
|
363
366
|
<div><ul class="simple">
|
364
|
-
<li><code class="docutils literal"><span class="pre">--filter</span></code></li>
|
365
|
-
<li><code class="docutils literal"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code></li>
|
367
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span></code></p></li>
|
368
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code></p></li>
|
366
369
|
</ul>
|
367
370
|
</div></blockquote>
|
368
371
|
</li>
|
369
|
-
<li><p
|
370
|
-
command line style (<code class="docutils literal"><span class="pre">COMMAND</span> <span class="pre">ARG1_VALUE</span> <span class="pre">ARG2_VALUE</span> <span class="pre">...</span></code>) not
|
372
|
+
<li><p>Groonga command parser only when you pass Groonga command by
|
373
|
+
command line style (<code class="docutils literal notranslate"><span class="pre">COMMAND</span> <span class="pre">ARG1_VALUE</span> <span class="pre">ARG2_VALUE</span> <span class="pre">...</span></code>) not
|
371
374
|
HTTP path style
|
372
|
-
(<code class="docutils literal"><span class="pre">/d/COMMAND?ARG1_NAME=ARG1_VALUE&ARG2_NAME=ARG3_VALUE</span></code>).</p>
|
373
|
-
<p><code class="docutils literal"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code> is evaluated as the following
|
375
|
+
(<code class="docutils literal notranslate"><span class="pre">/d/COMMAND?ARG1_NAME=ARG1_VALUE&ARG2_NAME=ARG3_VALUE</span></code>).</p>
|
376
|
+
<p><code class="docutils literal notranslate"><span class="pre">"message</span> <span class="pre">@~</span> <span class="pre">\"\\\\Ahost1:\""</span></code> is evaluated as the following
|
374
377
|
value by Groonga command parser:</p>
|
375
378
|
<blockquote>
|
376
379
|
<div><ul class="simple">
|
377
|
-
<li><code class="docutils literal"><span class="pre">message</span> <span class="pre">@~</span> <span class="pre">"\\Ahost1:"</span></code></li>
|
380
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">message</span> <span class="pre">@~</span> <span class="pre">"\\Ahost1:"</span></code></p></li>
|
378
381
|
</ul>
|
379
382
|
</div></blockquote>
|
380
383
|
</li>
|
381
|
-
<li><p
|
384
|
+
<li><p><a class="reference internal" href="grn_expr.html"><span class="doc">grn_expr</span></a> parser. <code class="docutils literal notranslate"><span class="pre">\</span></code> escape is required in both
|
382
385
|
<a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> and
|
383
386
|
<a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a>.</p>
|
384
|
-
<p><code class="docutils literal"><span class="pre">"\\Ahost1:"</span></code> string literal in script syntax is evaluated as
|
387
|
+
<p><code class="docutils literal notranslate"><span class="pre">"\\Ahost1:"</span></code> string literal in script syntax is evaluated as
|
385
388
|
the following value:</p>
|
386
389
|
<blockquote>
|
387
390
|
<div><ul class="simple">
|
388
|
-
<li><code class="docutils literal"><span class="pre">\Ahost1</span></code></li>
|
391
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\Ahost1</span></code></p></li>
|
389
392
|
</ul>
|
390
393
|
</div></blockquote>
|
391
394
|
<p>The value is evaluated as regular expression.</p>
|
@@ -394,55 +397,55 @@ the following value:</p>
|
|
394
397
|
</div></blockquote>
|
395
398
|
</div>
|
396
399
|
<div class="section" id="syntax">
|
397
|
-
<span id="regular-expression-syntax"></span><h2>7.
|
400
|
+
<span id="regular-expression-syntax"></span><h2>7.14.4. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
398
401
|
<p>This section describes about only commonly used syntaxes. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE">Onigmo
|
399
402
|
syntax documentation</a> for other
|
400
403
|
syntaxes and details.</p>
|
401
404
|
<div class="section" id="escape">
|
402
|
-
<span id="regular-expression-escape"></span><h3>7.
|
405
|
+
<span id="regular-expression-escape"></span><h3>7.14.4.1. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h3>
|
403
406
|
<p>In regular expression, there are the following special characters:</p>
|
404
407
|
<blockquote>
|
405
408
|
<div><ul class="simple">
|
406
|
-
<li><code class="docutils literal"><span class="pre">\</span></code></li>
|
407
|
-
<li><code class="docutils literal"><span class="pre">|</span></code></li>
|
408
|
-
<li><code class="docutils literal"><span class="pre">(</span></code></li>
|
409
|
-
<li><code class="docutils literal"><span class="pre">)</span></code></li>
|
410
|
-
<li><code class="docutils literal"><span class="pre">[</span></code></li>
|
411
|
-
<li><code class="docutils literal"><span class="pre">]</span></code></li>
|
412
|
-
<li><code class="docutils literal"><span class="pre">.</span></code></li>
|
413
|
-
<li><code class="docutils literal"><span class="pre">*</span></code></li>
|
414
|
-
<li><code class="docutils literal"><span class="pre">+</span></code></li>
|
415
|
-
<li><code class="docutils literal"><span class="pre">?</span></code></li>
|
416
|
-
<li><code class="docutils literal"><span class="pre">{</span></code></li>
|
417
|
-
<li><code class="docutils literal"><span class="pre">}</span></code></li>
|
418
|
-
<li><code class="docutils literal"><span class="pre">^</span></code></li>
|
419
|
-
<li><code class="docutils literal"><span class="pre">$</span></code></li>
|
409
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\</span></code></p></li>
|
410
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">|</span></code></p></li>
|
411
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">(</span></code></p></li>
|
412
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">)</span></code></p></li>
|
413
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">[</span></code></p></li>
|
414
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">]</span></code></p></li>
|
415
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">.</span></code></p></li>
|
416
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">*</span></code></p></li>
|
417
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">+</span></code></p></li>
|
418
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">?</span></code></p></li>
|
419
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">{</span></code></p></li>
|
420
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">}</span></code></p></li>
|
421
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">^</span></code></p></li>
|
422
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">$</span></code></p></li>
|
420
423
|
</ul>
|
421
424
|
</div></blockquote>
|
422
425
|
<p>If you want to write pattern that matches these special character as
|
423
426
|
is, you need to escape them.</p>
|
424
|
-
<p>You can escape them by putting <code class="docutils literal"><span class="pre">\</span></code> before special character. Here
|
427
|
+
<p>You can escape them by putting <code class="docutils literal notranslate"><span class="pre">\</span></code> before special character. Here
|
425
428
|
are regular expressions that match special character itself:</p>
|
426
429
|
<blockquote>
|
427
430
|
<div><ul class="simple">
|
428
|
-
<li><code class="docutils literal"><span class="pre">\\</span></code></li>
|
429
|
-
<li><code class="docutils literal"><span class="pre">\|</span></code></li>
|
430
|
-
<li><code class="docutils literal"><span class="pre">\(</span></code></li>
|
431
|
-
<li><code class="docutils literal"><span class="pre">\)</span></code></li>
|
432
|
-
<li><code class="docutils literal"><span class="pre">\[</span></code></li>
|
433
|
-
<li><code class="docutils literal"><span class="pre">\]</span></code></li>
|
434
|
-
<li><code class="docutils literal"><span class="pre">\.</span></code></li>
|
435
|
-
<li><code class="docutils literal"><span class="pre">\*</span></code></li>
|
436
|
-
<li><code class="docutils literal"><span class="pre">\+</span></code></li>
|
437
|
-
<li><code class="docutils literal"><span class="pre">\?</span></code></li>
|
438
|
-
<li><code class="docutils literal"><span class="pre">\{</span></code></li>
|
439
|
-
<li><code class="docutils literal"><span class="pre">\}</span></code></li>
|
440
|
-
<li><code class="docutils literal"><span class="pre">\^</span></code></li>
|
441
|
-
<li><code class="docutils literal"><span class="pre">\$</span></code></li>
|
431
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\\</span></code></p></li>
|
432
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\|</span></code></p></li>
|
433
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\(</span></code></p></li>
|
434
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\)</span></code></p></li>
|
435
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\[</span></code></p></li>
|
436
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\]</span></code></p></li>
|
437
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\.</span></code></p></li>
|
438
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\*</span></code></p></li>
|
439
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\+</span></code></p></li>
|
440
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\?</span></code></p></li>
|
441
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\{</span></code></p></li>
|
442
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\}</span></code></p></li>
|
443
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\^</span></code></p></li>
|
444
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\$</span></code></p></li>
|
442
445
|
</ul>
|
443
446
|
</div></blockquote>
|
444
447
|
<p>Execution example:</p>
|
445
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "warning|info"'
|
448
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "warning|info"'
|
446
449
|
# [
|
447
450
|
# [
|
448
451
|
# 0,
|
@@ -477,15 +480,15 @@ are regular expressions that match special character itself:</p>
|
|
477
480
|
# ]
|
478
481
|
</pre></div>
|
479
482
|
</div>
|
480
|
-
<p>If your regular expression doesn
|
483
|
+
<p>If your regular expression doesn’t work as you expected, confirm that
|
481
484
|
some special characters are used without escaping.</p>
|
482
485
|
</div>
|
483
486
|
<div class="section" id="choice">
|
484
|
-
<span id="regular-expression-choice"></span><h3>7.
|
485
|
-
<p>Choice syntax is <code class="docutils literal"><span class="pre">A|B</span></code>. The regular expression matches when either
|
486
|
-
<code class="docutils literal"><span class="pre">A</span></code> pattern or <code class="docutils literal"><span class="pre">B</span></code> pattern is matched.</p>
|
487
|
+
<span id="regular-expression-choice"></span><h3>7.14.4.2. Choice<a class="headerlink" href="#choice" title="Permalink to this headline">¶</a></h3>
|
488
|
+
<p>Choice syntax is <code class="docutils literal notranslate"><span class="pre">A|B</span></code>. The regular expression matches when either
|
489
|
+
<code class="docutils literal notranslate"><span class="pre">A</span></code> pattern or <code class="docutils literal notranslate"><span class="pre">B</span></code> pattern is matched.</p>
|
487
490
|
<p>Execution example:</p>
|
488
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "warning|info"'
|
491
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "warning|info"'
|
489
492
|
# [
|
490
493
|
# [
|
491
494
|
# 0,
|
@@ -521,25 +524,25 @@ some special characters are used without escaping.</p>
|
|
521
524
|
</pre></div>
|
522
525
|
</div>
|
523
526
|
<div class="admonition caution">
|
524
|
-
<p class="
|
525
|
-
<p
|
527
|
+
<p class="admonition-title">Caution</p>
|
528
|
+
<p>Regular expression that uses this syntax can’t be evaluated by
|
526
529
|
index.</p>
|
527
530
|
</div>
|
528
531
|
</div>
|
529
532
|
<div class="section" id="group">
|
530
|
-
<span id="regular-expression-group"></span><h3>7.
|
531
|
-
<p>Group syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. Group provides the following features:</p>
|
533
|
+
<span id="regular-expression-group"></span><h3>7.14.4.3. Group<a class="headerlink" href="#group" title="Permalink to this headline">¶</a></h3>
|
534
|
+
<p>Group syntax is <code class="docutils literal notranslate"><span class="pre">(...)</span></code>. Group provides the following features:</p>
|
532
535
|
<blockquote>
|
533
536
|
<div><ul class="simple">
|
534
|
-
<li>Back reference</li>
|
535
|
-
<li>Scope reducing</li>
|
537
|
+
<li><p>Back reference</p></li>
|
538
|
+
<li><p>Scope reducing</p></li>
|
536
539
|
</ul>
|
537
540
|
</div></blockquote>
|
538
|
-
<p>You can refer matched groups by <code class="docutils literal"><span class="pre">\n</span></code> (<code class="docutils literal"><span class="pre">n</span></code> is the group number)
|
539
|
-
syntax. For example, <code class="docutils literal"><span class="pre">e(r)\1o\1</span></code> matches <code class="docutils literal"><span class="pre">error</span></code>. Because <code class="docutils literal"><span class="pre">\1</span></code>
|
540
|
-
is replaced with match result (<code class="docutils literal"><span class="pre">r</span></code>) of the first group <code class="docutils literal"><span class="pre">(r)</span></code>.</p>
|
541
|
+
<p>You can refer matched groups by <code class="docutils literal notranslate"><span class="pre">\n</span></code> (<code class="docutils literal notranslate"><span class="pre">n</span></code> is the group number)
|
542
|
+
syntax. For example, <code class="docutils literal notranslate"><span class="pre">e(r)\1o\1</span></code> matches <code class="docutils literal notranslate"><span class="pre">error</span></code>. Because <code class="docutils literal notranslate"><span class="pre">\1</span></code>
|
543
|
+
is replaced with match result (<code class="docutils literal notranslate"><span class="pre">r</span></code>) of the first group <code class="docutils literal notranslate"><span class="pre">(r)</span></code>.</p>
|
541
544
|
<p>Execution example:</p>
|
542
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "e(r)\\\\1o\\\\1"'
|
545
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "e(r)\\\\1o\\\\1"'
|
543
546
|
# [
|
544
547
|
# [
|
545
548
|
# 0,
|
@@ -578,14 +581,14 @@ is replaced with match result (<code class="docutils literal"><span class="pre">
|
|
578
581
|
# ]
|
579
582
|
</pre></div>
|
580
583
|
</div>
|
581
|
-
<p>You can also use more powerful back reference features. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L302"
|
582
|
-
reference
|
584
|
+
<p>You can also use more powerful back reference features. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L302">“8. Back
|
585
|
+
reference” section in Onigmo documentation</a> for
|
583
586
|
details.</p>
|
584
|
-
<p>Group syntax reduces scope. For example, <code class="docutils literal"><span class="pre">\[(warning|info)\]</span></code>
|
587
|
+
<p>Group syntax reduces scope. For example, <code class="docutils literal notranslate"><span class="pre">\[(warning|info)\]</span></code>
|
585
588
|
reduces choice syntax scope. The regular expression matches
|
586
|
-
<code class="docutils literal"><span class="pre">[warning]</span></code> and <code class="docutils literal"><span class="pre">[info]</span></code>.</p>
|
589
|
+
<code class="docutils literal notranslate"><span class="pre">[warning]</span></code> and <code class="docutils literal notranslate"><span class="pre">[info]</span></code>.</p>
|
587
590
|
<p>Execution example:</p>
|
588
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "\\\\[(warning|info)\\\\]"'
|
591
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "\\\\[(warning|info)\\\\]"'
|
589
592
|
# [
|
590
593
|
# [
|
591
594
|
# 0,
|
@@ -621,21 +624,21 @@ reduces choice syntax scope. The regular expression matches
|
|
621
624
|
</pre></div>
|
622
625
|
</div>
|
623
626
|
<p>You can also use more powerful group related features. See
|
624
|
-
<a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L225"
|
627
|
+
<a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L225">“7. Extended groups” section in Onigmo documentation</a> for
|
625
628
|
details.</p>
|
626
629
|
<div class="admonition caution">
|
627
|
-
<p class="
|
628
|
-
<p
|
630
|
+
<p class="admonition-title">Caution</p>
|
631
|
+
<p>Regular expression that uses this syntax can’t be evaluated by
|
629
632
|
index.</p>
|
630
633
|
</div>
|
631
634
|
</div>
|
632
635
|
<div class="section" id="character-class">
|
633
|
-
<span id="regular-expression-character-class"></span><h3>7.
|
634
|
-
<p>Character class syntax is <code class="docutils literal"><span class="pre">[...]</span></code>. Character class is useful to
|
636
|
+
<span id="regular-expression-character-class"></span><h3>7.14.4.4. Character class<a class="headerlink" href="#character-class" title="Permalink to this headline">¶</a></h3>
|
637
|
+
<p>Character class syntax is <code class="docutils literal notranslate"><span class="pre">[...]</span></code>. Character class is useful to
|
635
638
|
specify multiple characters to be matched.</p>
|
636
|
-
<p>For example, <code class="docutils literal"><span class="pre">[12]</span></code> matches <code class="docutils literal"><span class="pre">1</span></code> or <code class="docutils literal"><span class="pre">2</span></code>.</p>
|
639
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">[12]</span></code> matches <code class="docutils literal notranslate"><span class="pre">1</span></code> or <code class="docutils literal notranslate"><span class="pre">2</span></code>.</p>
|
637
640
|
<p>Execution example:</p>
|
638
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "host[12]"'
|
641
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "host[12]"'
|
639
642
|
# [
|
640
643
|
# [
|
641
644
|
# 0,
|
@@ -682,10 +685,10 @@ specify multiple characters to be matched.</p>
|
|
682
685
|
# ]
|
683
686
|
</pre></div>
|
684
687
|
</div>
|
685
|
-
<p>You can specify characters by range. For example, <code class="docutils literal"><span class="pre">[0-9]</span></code> matches
|
688
|
+
<p>You can specify characters by range. For example, <code class="docutils literal notranslate"><span class="pre">[0-9]</span></code> matches
|
686
689
|
one digit.</p>
|
687
690
|
<p>Execution example:</p>
|
688
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "[0-9][0-9]%"'
|
691
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "[0-9][0-9]%"'
|
689
692
|
# [
|
690
693
|
# [
|
691
694
|
# 0,
|
@@ -717,52 +720,52 @@ one digit.</p>
|
|
717
720
|
</pre></div>
|
718
721
|
</div>
|
719
722
|
<p>You can also use more powerful character class related features. See
|
720
|
-
<a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L164"
|
723
|
+
<a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L164">“6. Character class” section in Onigmo documentation</a> for
|
721
724
|
details.</p>
|
722
725
|
<div class="admonition caution">
|
723
|
-
<p class="
|
724
|
-
<p
|
726
|
+
<p class="admonition-title">Caution</p>
|
727
|
+
<p>Regular expression that uses this syntax can’t be evaluated by
|
725
728
|
index.</p>
|
726
729
|
</div>
|
727
730
|
</div>
|
728
731
|
<div class="section" id="anchor">
|
729
|
-
<span id="regular-expression-anchor"></span><h3>7.
|
732
|
+
<span id="regular-expression-anchor"></span><h3>7.14.4.5. Anchor<a class="headerlink" href="#anchor" title="Permalink to this headline">¶</a></h3>
|
730
733
|
<p>There are the following commonly used anchor syntaxes. Some anchors
|
731
734
|
can be evaluated by index.</p>
|
732
|
-
<table
|
735
|
+
<table class="docutils align-center">
|
733
736
|
<colgroup>
|
734
|
-
<col
|
735
|
-
<col
|
736
|
-
<col
|
737
|
+
<col style="width: 33%" />
|
738
|
+
<col style="width: 33%" />
|
739
|
+
<col style="width: 33%" />
|
737
740
|
</colgroup>
|
738
|
-
<thead
|
739
|
-
<tr class="row-odd"><th class="head">Anchor</th>
|
740
|
-
<th class="head">Description</th>
|
741
|
-
<th class="head">Index ready</th>
|
741
|
+
<thead>
|
742
|
+
<tr class="row-odd"><th class="head"><p>Anchor</p></th>
|
743
|
+
<th class="head"><p>Description</p></th>
|
744
|
+
<th class="head"><p>Index ready</p></th>
|
742
745
|
</tr>
|
743
746
|
</thead>
|
744
|
-
<tbody
|
745
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">^</span></code></td>
|
746
|
-
<td>The beginning of line</td>
|
747
|
-
<td>o</td>
|
747
|
+
<tbody>
|
748
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">^</span></code></p></td>
|
749
|
+
<td><p>The beginning of line</p></td>
|
750
|
+
<td><p>o</p></td>
|
748
751
|
</tr>
|
749
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">$</span></code></td>
|
750
|
-
<td>The end of line</td>
|
751
|
-
<td>x</td>
|
752
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">$</span></code></p></td>
|
753
|
+
<td><p>The end of line</p></td>
|
754
|
+
<td><p>x</p></td>
|
752
755
|
</tr>
|
753
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">\A</span></code></td>
|
754
|
-
<td>The beginning of text</td>
|
755
|
-
<td>o</td>
|
756
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">\A</span></code></p></td>
|
757
|
+
<td><p>The beginning of text</p></td>
|
758
|
+
<td><p>o</p></td>
|
756
759
|
</tr>
|
757
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">\z</span></code></td>
|
758
|
-
<td>The end of text</td>
|
759
|
-
<td>x</td>
|
760
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">\z</span></code></p></td>
|
761
|
+
<td><p>The end of text</p></td>
|
762
|
+
<td><p>x</p></td>
|
760
763
|
</tr>
|
761
764
|
</tbody>
|
762
765
|
</table>
|
763
|
-
<p>Here is an example that uses <code class="docutils literal"><span class="pre">\z</span></code>.</p>
|
766
|
+
<p>Here is an example that uses <code class="docutils literal notranslate"><span class="pre">\z</span></code>.</p>
|
764
767
|
<p>Execution example:</p>
|
765
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "%\\\\z"'
|
768
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "%\\\\z"'
|
766
769
|
# [
|
767
770
|
# [
|
768
771
|
# 0,
|
@@ -793,43 +796,43 @@ can be evaluated by index.</p>
|
|
793
796
|
# ]
|
794
797
|
</pre></div>
|
795
798
|
</div>
|
796
|
-
<p>You can also use more anchors. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L152"
|
799
|
+
<p>You can also use more anchors. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L152">“5. Anchors” section in Onigmo
|
797
800
|
documentation</a> for
|
798
801
|
details.</p>
|
799
802
|
<div class="admonition caution">
|
800
|
-
<p class="
|
801
|
-
<p
|
802
|
-
can
|
803
|
+
<p class="admonition-title">Caution</p>
|
804
|
+
<p>Regular expression that uses this syntax except <code class="docutils literal notranslate"><span class="pre">\A</span></code> and <code class="docutils literal notranslate"><span class="pre">\z</span></code>
|
805
|
+
can’t be evaluated by index.</p>
|
803
806
|
</div>
|
804
807
|
</div>
|
805
808
|
<div class="section" id="quantifier">
|
806
|
-
<span id="regular-expression-quantifier"></span><h3>7.
|
809
|
+
<span id="regular-expression-quantifier"></span><h3>7.14.4.6. Quantifier<a class="headerlink" href="#quantifier" title="Permalink to this headline">¶</a></h3>
|
807
810
|
<p>There are the following commonly used quantifier syntaxes.</p>
|
808
|
-
<table
|
811
|
+
<table class="docutils align-center">
|
809
812
|
<colgroup>
|
810
|
-
<col
|
811
|
-
<col
|
813
|
+
<col style="width: 50%" />
|
814
|
+
<col style="width: 50%" />
|
812
815
|
</colgroup>
|
813
|
-
<thead
|
814
|
-
<tr class="row-odd"><th class="head">Quantifier</th>
|
815
|
-
<th class="head">Description</th>
|
816
|
+
<thead>
|
817
|
+
<tr class="row-odd"><th class="head"><p>Quantifier</p></th>
|
818
|
+
<th class="head"><p>Description</p></th>
|
816
819
|
</tr>
|
817
820
|
</thead>
|
818
|
-
<tbody
|
819
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">?</span></code></td>
|
820
|
-
<td>0 or 1 time</td>
|
821
|
+
<tbody>
|
822
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">?</span></code></p></td>
|
823
|
+
<td><p>0 or 1 time</p></td>
|
821
824
|
</tr>
|
822
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">*</span></code></td>
|
823
|
-
<td>0 or more times</td>
|
825
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">*</span></code></p></td>
|
826
|
+
<td><p>0 or more times</p></td>
|
824
827
|
</tr>
|
825
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">+</span></code></td>
|
826
|
-
<td>1 or more times</td>
|
828
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">+</span></code></p></td>
|
829
|
+
<td><p>1 or more times</p></td>
|
827
830
|
</tr>
|
828
831
|
</tbody>
|
829
832
|
</table>
|
830
|
-
<p>For example, <code class="docutils literal"><span class="pre">er+or</span></code> matches <code class="docutils literal"><span class="pre">error</span></code>, <code class="docutils literal"><span class="pre">errror</span></code> and so on.</p>
|
833
|
+
<p>For example, <code class="docutils literal notranslate"><span class="pre">er+or</span></code> matches <code class="docutils literal notranslate"><span class="pre">error</span></code>, <code class="docutils literal notranslate"><span class="pre">errror</span></code> and so on.</p>
|
831
834
|
<p>Execution example:</p>
|
832
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "er+or"'
|
835
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Logs --filter 'message @~ "er+or"'
|
833
836
|
# [
|
834
837
|
# [
|
835
838
|
# 0,
|
@@ -868,20 +871,20 @@ can't be evaluated by index.</p>
|
|
868
871
|
# ]
|
869
872
|
</pre></div>
|
870
873
|
</div>
|
871
|
-
<p>You can also use more quantifiers. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L119"
|
874
|
+
<p>You can also use more quantifiers. See <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE#L119">“4. Quantifier” section in Onigmo
|
872
875
|
documentation</a> for
|
873
876
|
details.</p>
|
874
877
|
<div class="admonition caution">
|
875
|
-
<p class="
|
876
|
-
<p
|
878
|
+
<p class="admonition-title">Caution</p>
|
879
|
+
<p>Regular expression that uses this syntax can’t be evaluated by
|
877
880
|
index.</p>
|
878
881
|
</div>
|
879
882
|
</div>
|
880
883
|
<div class="section" id="others">
|
881
|
-
<h3>7.
|
882
|
-
<p>There are more syntaxes. If you
|
884
|
+
<h3>7.14.4.7. Others<a class="headerlink" href="#others" title="Permalink to this headline">¶</a></h3>
|
885
|
+
<p>There are more syntaxes. If you’re interested in them, see <a class="reference external" href="https://github.com/k-takata/Onigmo/blob/master/doc/RE">Onigmo
|
883
886
|
documentation</a> for
|
884
|
-
details. You may be interested in
|
887
|
+
details. You may be interested in “character type” and “character”
|
885
888
|
syntaxes.</p>
|
886
889
|
</div>
|
887
890
|
</div>
|
@@ -893,20 +896,20 @@ syntaxes.</p>
|
|
893
896
|
</div>
|
894
897
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
895
898
|
<div class="sphinxsidebarwrapper">
|
896
|
-
<h3><a href="../index.html">Table
|
899
|
+
<h3><a href="../index.html">Table of Contents</a></h3>
|
897
900
|
<ul>
|
898
|
-
<li><a class="reference internal" href="#">7.
|
899
|
-
<li><a class="reference internal" href="#summary">7.
|
900
|
-
<li><a class="reference internal" href="#usage">7.
|
901
|
-
<li><a class="reference internal" href="#index">7.
|
902
|
-
<li><a class="reference internal" href="#syntax">7.
|
903
|
-
<li><a class="reference internal" href="#escape">7.
|
904
|
-
<li><a class="reference internal" href="#choice">7.
|
905
|
-
<li><a class="reference internal" href="#group">7.
|
906
|
-
<li><a class="reference internal" href="#character-class">7.
|
907
|
-
<li><a class="reference internal" href="#anchor">7.
|
908
|
-
<li><a class="reference internal" href="#quantifier">7.
|
909
|
-
<li><a class="reference internal" href="#others">7.
|
901
|
+
<li><a class="reference internal" href="#">7.14. Regular expression</a><ul>
|
902
|
+
<li><a class="reference internal" href="#summary">7.14.1. Summary</a></li>
|
903
|
+
<li><a class="reference internal" href="#usage">7.14.2. Usage</a></li>
|
904
|
+
<li><a class="reference internal" href="#index">7.14.3. Index</a></li>
|
905
|
+
<li><a class="reference internal" href="#syntax">7.14.4. Syntax</a><ul>
|
906
|
+
<li><a class="reference internal" href="#escape">7.14.4.1. Escape</a></li>
|
907
|
+
<li><a class="reference internal" href="#choice">7.14.4.2. Choice</a></li>
|
908
|
+
<li><a class="reference internal" href="#group">7.14.4.3. Group</a></li>
|
909
|
+
<li><a class="reference internal" href="#character-class">7.14.4.4. Character class</a></li>
|
910
|
+
<li><a class="reference internal" href="#anchor">7.14.4.5. Anchor</a></li>
|
911
|
+
<li><a class="reference internal" href="#quantifier">7.14.4.6. Quantifier</a></li>
|
912
|
+
<li><a class="reference internal" href="#others">7.14.4.7. Others</a></li>
|
910
913
|
</ul>
|
911
914
|
</li>
|
912
915
|
</ul>
|
@@ -915,18 +918,18 @@ syntaxes.</p>
|
|
915
918
|
|
916
919
|
<h4>Previous topic</h4>
|
917
920
|
<p class="topless"><a href="grn_expr/script_syntax.html"
|
918
|
-
title="previous chapter">7.
|
921
|
+
title="previous chapter">7.13.2. Script syntax</a></p>
|
919
922
|
<h4>Next topic</h4>
|
920
923
|
<p class="topless"><a href="function.html"
|
921
|
-
title="next chapter">7.
|
924
|
+
title="next chapter">7.15. Function</a></p>
|
922
925
|
<div id="searchbox" style="display: none" role="search">
|
923
926
|
<h3>Quick search</h3>
|
927
|
+
<div class="searchformwrapper">
|
924
928
|
<form class="search" action="../search.html" method="get">
|
925
|
-
<
|
926
|
-
<
|
927
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
928
|
-
<input type="hidden" name="area" value="default" />
|
929
|
+
<input type="text" name="q" />
|
930
|
+
<input type="submit" value="Go" />
|
929
931
|
</form>
|
932
|
+
</div>
|
930
933
|
</div>
|
931
934
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
932
935
|
</div>
|
@@ -940,17 +943,17 @@ syntaxes.</p>
|
|
940
943
|
<a href="../genindex.html" title="General Index"
|
941
944
|
>index</a></li>
|
942
945
|
<li class="right" >
|
943
|
-
<a href="function.html" title="7.
|
946
|
+
<a href="function.html" title="7.15. Function"
|
944
947
|
>next</a> |</li>
|
945
948
|
<li class="right" >
|
946
|
-
<a href="grn_expr/script_syntax.html" title="7.
|
949
|
+
<a href="grn_expr/script_syntax.html" title="7.13.2. Script syntax"
|
947
950
|
>previous</a> |</li>
|
948
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
951
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v9.0.2 documentation</a> »</li>
|
949
952
|
<li class="nav-item nav-item-1"><a href="../reference.html" >7. Reference manual</a> »</li>
|
950
953
|
</ul>
|
951
954
|
</div>
|
952
955
|
<div class="footer" role="contentinfo">
|
953
|
-
© Copyright 2009-
|
956
|
+
© Copyright 2009-2019, Brazil, Inc.
|
954
957
|
</div>
|
955
958
|
</body>
|
956
959
|
</html>
|