rroonga 7.1.1-x64-mingw32 → 9.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,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.13. grn_expr — 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.13.1. Query syntax" href="grn_expr/query_syntax.html" />
|
22
|
+
<link rel="prev" title="7.12. Cast" href="cast.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="grn_expr/query_syntax.html" title="7.
|
48
|
+
<a href="grn_expr/query_syntax.html" title="7.13.1. Query syntax"
|
57
49
|
accesskey="N">next</a> |</li>
|
58
50
|
<li class="right" >
|
59
|
-
<a href="
|
51
|
+
<a href="cast.html" title="7.12. Cast"
|
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,13 +61,13 @@
|
|
69
61
|
<div class="body" role="main">
|
70
62
|
|
71
63
|
<div class="section" id="grn-expr">
|
72
|
-
<h1>7.
|
64
|
+
<h1>7.13. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
|
73
65
|
<p>Grn_expr is an object that searches records with specified conditions
|
74
|
-
and manipulates a database. It
|
66
|
+
and manipulates a database. It’s pronounced as <code class="docutils literal notranslate"><span class="pre">gurun</span> <span class="pre">expression</span></code>.</p>
|
75
67
|
<p>Conditions for searching records from a database can be represented by
|
76
|
-
conbining condition expressions such as <code class="docutils literal"><span class="pre">equal</span> <span class="pre">condition</span> <span class="pre">expression</span></code>
|
77
|
-
and <code class="docutils literal"><span class="pre">less</span> <span class="pre">than</span> <span class="pre">condition</span> <span class="pre">expression</span></code> with set operations such as
|
78
|
-
<code class="docutils literal"><span class="pre">AND</span></code>, <code class="docutils literal"><span class="pre">OR</span></code> and <code class="docutils literal"><span class="pre">NOT</span></code>. Grn_expr executes those conditions to
|
68
|
+
conbining condition expressions such as <code class="docutils literal notranslate"><span class="pre">equal</span> <span class="pre">condition</span> <span class="pre">expression</span></code>
|
69
|
+
and <code class="docutils literal notranslate"><span class="pre">less</span> <span class="pre">than</span> <span class="pre">condition</span> <span class="pre">expression</span></code> with set operations such as
|
70
|
+
<code class="docutils literal notranslate"><span class="pre">AND</span></code>, <code class="docutils literal notranslate"><span class="pre">OR</span></code> and <code class="docutils literal notranslate"><span class="pre">NOT</span></code>. Grn_expr executes those conditions to
|
79
71
|
search records. You can also use advanced searches such as similar
|
80
72
|
search and near search by grn_expr. You can also use flexible full
|
81
73
|
text search. For example, you can control hit scores for specified
|
@@ -85,39 +77,39 @@ matched rescords is used.</p>
|
|
85
77
|
<p>There are three ways to create grn_expr:</p>
|
86
78
|
<blockquote>
|
87
79
|
<div><ul class="simple">
|
88
|
-
<li>Parsing <a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> string.</li>
|
89
|
-
<li>Parsing <a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a> string.</li>
|
90
|
-
<li>Calling grn_expr related APIs.</li>
|
80
|
+
<li><p>Parsing <a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> string.</p></li>
|
81
|
+
<li><p>Parsing <a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a> string.</p></li>
|
82
|
+
<li><p>Calling grn_expr related APIs.</p></li>
|
91
83
|
</ul>
|
92
84
|
</div></blockquote>
|
93
85
|
<p><a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> is for common search form in
|
94
|
-
Internet search site. It
|
86
|
+
Internet search site. It’s simple and easy to use but it has a
|
95
87
|
limitation. You can not use all condition expressions and set
|
96
88
|
operations in <a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a>. You can use
|
97
|
-
<a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> with <code class="docutils literal"><span class="pre">query</span></code> option in
|
89
|
+
<a class="reference internal" href="grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> with <code class="docutils literal notranslate"><span class="pre">query</span></code> option in
|
98
90
|
<a class="reference internal" href="commands/select.html"><span class="doc">select</span></a>.</p>
|
99
91
|
<p><a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a> is ECMAScript like
|
100
92
|
syntax. You can use all condition expressions and set operations in
|
101
93
|
<a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a>. You can use
|
102
|
-
<a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a> with <code class="docutils literal"><span class="pre">filter</span></code> option and
|
103
|
-
<code class="docutils literal"><span class="pre">scorer</span></code> option in <a class="reference internal" href="commands/select.html"><span class="doc">select</span></a>.</p>
|
94
|
+
<a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a> with <code class="docutils literal notranslate"><span class="pre">filter</span></code> option and
|
95
|
+
<code class="docutils literal notranslate"><span class="pre">scorer</span></code> option in <a class="reference internal" href="commands/select.html"><span class="doc">select</span></a>.</p>
|
104
96
|
<p>You can use groonga as a library and create a grn_expr by calling
|
105
97
|
grn_expr related APIs. You can use full features with calling APIs
|
106
98
|
like <a class="reference internal" href="grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a>. Calling APIs is useful
|
107
99
|
creating a custom syntax to create grn_expr. They are used in <a class="reference external" href="http://ranguba.org/#about-rroonga">rroonga</a> that is Ruby bindings
|
108
|
-
of Groonga. Rroonga can create a grn_expr by Ruby
|
100
|
+
of Groonga. Rroonga can create a grn_expr by Ruby’s syntax instead of
|
109
101
|
parsing string.</p>
|
110
102
|
<div class="toctree-wrapper compound">
|
111
103
|
<ul>
|
112
|
-
<li class="toctree-l1"><a class="reference internal" href="grn_expr/query_syntax.html">7.
|
113
|
-
<li class="toctree-l1"><a class="reference internal" href="grn_expr/script_syntax.html">7.
|
104
|
+
<li class="toctree-l1"><a class="reference internal" href="grn_expr/query_syntax.html">7.13.1. Query syntax</a></li>
|
105
|
+
<li class="toctree-l1"><a class="reference internal" href="grn_expr/script_syntax.html">7.13.2. Script syntax</a></li>
|
114
106
|
</ul>
|
115
107
|
</div>
|
116
108
|
<div class="section" id="see-also">
|
117
|
-
<h2>7.
|
109
|
+
<h2>7.13.3. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
118
110
|
<blockquote>
|
119
111
|
<div><ul class="simple">
|
120
|
-
<li><a class="reference internal" href="api/grn_expr.html"><span class="doc">grn_expr</span></a>: grn_expr related APIs</li>
|
112
|
+
<li><p><a class="reference internal" href="api/grn_expr.html"><span class="doc">grn_expr</span></a>: grn_expr related APIs</p></li>
|
121
113
|
</ul>
|
122
114
|
</div></blockquote>
|
123
115
|
</div>
|
@@ -129,28 +121,28 @@ parsing string.</p>
|
|
129
121
|
</div>
|
130
122
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
131
123
|
<div class="sphinxsidebarwrapper">
|
132
|
-
<h3><a href="../index.html">Table
|
124
|
+
<h3><a href="../index.html">Table of Contents</a></h3>
|
133
125
|
<ul>
|
134
|
-
<li><a class="reference internal" href="#">7.
|
135
|
-
<li><a class="reference internal" href="#see-also">7.
|
126
|
+
<li><a class="reference internal" href="#">7.13. grn_expr</a><ul>
|
127
|
+
<li><a class="reference internal" href="#see-also">7.13.3. See also</a></li>
|
136
128
|
</ul>
|
137
129
|
</li>
|
138
130
|
</ul>
|
139
131
|
|
140
132
|
<h4>Previous topic</h4>
|
141
|
-
<p class="topless"><a href="
|
142
|
-
title="previous chapter">7.
|
133
|
+
<p class="topless"><a href="cast.html"
|
134
|
+
title="previous chapter">7.12. Cast</a></p>
|
143
135
|
<h4>Next topic</h4>
|
144
136
|
<p class="topless"><a href="grn_expr/query_syntax.html"
|
145
|
-
title="next chapter">7.
|
137
|
+
title="next chapter">7.13.1. Query syntax</a></p>
|
146
138
|
<div id="searchbox" style="display: none" role="search">
|
147
139
|
<h3>Quick search</h3>
|
140
|
+
<div class="searchformwrapper">
|
148
141
|
<form class="search" action="../search.html" method="get">
|
149
|
-
<
|
150
|
-
<
|
151
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
152
|
-
<input type="hidden" name="area" value="default" />
|
142
|
+
<input type="text" name="q" />
|
143
|
+
<input type="submit" value="Go" />
|
153
144
|
</form>
|
145
|
+
</div>
|
154
146
|
</div>
|
155
147
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
156
148
|
</div>
|
@@ -164,17 +156,17 @@ parsing string.</p>
|
|
164
156
|
<a href="../genindex.html" title="General Index"
|
165
157
|
>index</a></li>
|
166
158
|
<li class="right" >
|
167
|
-
<a href="grn_expr/query_syntax.html" title="7.
|
159
|
+
<a href="grn_expr/query_syntax.html" title="7.13.1. Query syntax"
|
168
160
|
>next</a> |</li>
|
169
161
|
<li class="right" >
|
170
|
-
<a href="
|
162
|
+
<a href="cast.html" title="7.12. Cast"
|
171
163
|
>previous</a> |</li>
|
172
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
164
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v9.0.2 documentation</a> »</li>
|
173
165
|
<li class="nav-item nav-item-1"><a href="../reference.html" >7. Reference manual</a> »</li>
|
174
166
|
</ul>
|
175
167
|
</div>
|
176
168
|
<div class="footer" role="contentinfo">
|
177
|
-
© Copyright 2009-
|
169
|
+
© Copyright 2009-2019, Brazil, Inc.
|
178
170
|
</div>
|
179
171
|
</body>
|
180
172
|
</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.13.1. Query syntax — 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.13.2. Script syntax" href="script_syntax.html" />
|
22
|
+
<link rel="prev" title="7.13. grn_expr" href="../grn_expr.html" />
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../../index.html">
|
@@ -53,14 +45,14 @@
|
|
53
45
|
<a href="../../genindex.html" title="General Index"
|
54
46
|
accesskey="I">index</a></li>
|
55
47
|
<li class="right" >
|
56
|
-
<a href="script_syntax.html" title="7.
|
48
|
+
<a href="script_syntax.html" title="7.13.2. Script syntax"
|
57
49
|
accesskey="N">next</a> |</li>
|
58
50
|
<li class="right" >
|
59
|
-
<a href="../grn_expr.html" title="7.
|
51
|
+
<a href="../grn_expr.html" title="7.13. grn_expr"
|
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
|
-
<li class="nav-item nav-item-2"><a href="../grn_expr.html" accesskey="U">7.
|
55
|
+
<li class="nav-item nav-item-2"><a href="../grn_expr.html" accesskey="U">7.13. grn_expr</a> »</li>
|
64
56
|
</ul>
|
65
57
|
</div>
|
66
58
|
|
@@ -70,27 +62,27 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="query-syntax">
|
73
|
-
<h1>7.
|
65
|
+
<h1>7.13.1. Query syntax<a class="headerlink" href="#query-syntax" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<p>Query syntax is a syntax to specify search condition for common Web
|
75
|
-
search form. It is similar to the syntax of Google
|
76
|
-
example, <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></code> means that groonga searches records that
|
77
|
-
contain both <code class="docutils literal"><span class="pre">word1</span></code> and <code class="docutils literal"><span class="pre">word2</span></code>. <code class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></code> means that
|
78
|
-
|
79
|
-
<p>Query syntax consists of <code class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></code>, <code class="docutils literal"><span class="pre">combind</span>
|
80
|
-
<span class="pre">expression</span></code> and <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code>. Nomrally <code class="docutils literal"><span class="pre">assignment</span>
|
81
|
-
<span class="pre">expression</span></code> can be ignored. Because <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code> is
|
82
|
-
disabled in <code class="docutils literal"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. You can use
|
67
|
+
search form. It is similar to the syntax of Google’s search form. For
|
68
|
+
example, <code class="docutils literal notranslate"><span class="pre">word1</span> <span class="pre">word2</span></code> means that groonga searches records that
|
69
|
+
contain both <code class="docutils literal notranslate"><span class="pre">word1</span></code> and <code class="docutils literal notranslate"><span class="pre">word2</span></code>. <code class="docutils literal notranslate"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></code> means that
|
70
|
+
groonga searches records that contain either <code class="docutils literal notranslate"><span class="pre">word1</span></code> or <code class="docutils literal notranslate"><span class="pre">word2</span></code>.</p>
|
71
|
+
<p>Query syntax consists of <code class="docutils literal notranslate"><span class="pre">conditional</span> <span class="pre">expression</span></code>, <code class="docutils literal notranslate"><span class="pre">combind</span>
|
72
|
+
<span class="pre">expression</span></code> and <code class="docutils literal notranslate"><span class="pre">assignment</span> <span class="pre">expression</span></code>. Nomrally <code class="docutils literal notranslate"><span class="pre">assignment</span>
|
73
|
+
<span class="pre">expression</span></code> can be ignored. Because <code class="docutils literal notranslate"><span class="pre">assignment</span> <span class="pre">expression</span></code> is
|
74
|
+
disabled in <code class="docutils literal notranslate"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. You can use
|
83
75
|
it if you use groonga as library and customize query syntax parser
|
84
76
|
options.</p>
|
85
|
-
<p><code class="docutils literal"><span class="pre">Conditinal</span> <span class="pre">expression</span></code> specifies an condition. <code class="docutils literal"><span class="pre">Combinded</span>
|
86
|
-
<span class="pre">expression</span></code> consists of one or more <code class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></code>,
|
87
|
-
<code class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></code> or <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code>. <code class="docutils literal"><span class="pre">Assignment</span>
|
77
|
+
<p><code class="docutils literal notranslate"><span class="pre">Conditinal</span> <span class="pre">expression</span></code> specifies an condition. <code class="docutils literal notranslate"><span class="pre">Combinded</span>
|
78
|
+
<span class="pre">expression</span></code> consists of one or more <code class="docutils literal notranslate"><span class="pre">conditional</span> <span class="pre">expression</span></code>,
|
79
|
+
<code class="docutils literal notranslate"><span class="pre">combined</span> <span class="pre">expression</span></code> or <code class="docutils literal notranslate"><span class="pre">assignment</span> <span class="pre">expression</span></code>. <code class="docutils literal notranslate"><span class="pre">Assignment</span>
|
88
80
|
<span class="pre">expression</span></code> can assigns a column to a value.</p>
|
89
81
|
<div class="section" id="sample-data">
|
90
|
-
<h2>7.
|
82
|
+
<h2>7.13.1.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
91
83
|
<p>Here are a schema definition and sample data to show usage.</p>
|
92
84
|
<p>Execution example:</p>
|
93
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries TABLE_PAT_KEY ShortText
|
85
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_PAT_KEY ShortText
|
94
86
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
95
87
|
column_create Entries content COLUMN_SCALAR Text
|
96
88
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -123,74 +115,73 @@ load --table Entries
|
|
123
115
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
124
116
|
</pre></div>
|
125
117
|
</div>
|
126
|
-
<p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
|
118
|
+
<p>There is a table, <code class="docutils literal notranslate"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
|
127
119
|
content and the number of likes for the entry. Title is key of
|
128
|
-
<code class="docutils literal"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal"><span class="pre">Entries.content</span></code> column. The
|
129
|
-
number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
|
130
|
-
<p><code class="docutils literal"><span class="pre">Entries._key</span></code> column and <code class="docutils literal"><span class="pre">Entries.content</span></code> column are indexed
|
131
|
-
using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal"><span class="pre">Entries._key</span></code> and
|
132
|
-
<code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
|
120
|
+
<code class="docutils literal notranslate"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal notranslate"><span class="pre">Entries.content</span></code> column. The
|
121
|
+
number of likes is value of <code class="docutils literal notranslate"><span class="pre">Entries.n_likes</span></code> column.</p>
|
122
|
+
<p><code class="docutils literal notranslate"><span class="pre">Entries._key</span></code> column and <code class="docutils literal notranslate"><span class="pre">Entries.content</span></code> column are indexed
|
123
|
+
using <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal notranslate"><span class="pre">Entries._key</span></code> and
|
124
|
+
<code class="docutils literal notranslate"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
|
133
125
|
<p>OK. The schema and data for examples are ready.</p>
|
134
126
|
</div>
|
135
127
|
<div class="section" id="escape">
|
136
|
-
<h2>7.
|
128
|
+
<h2>7.13.1.2. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h2>
|
137
129
|
<p>There are special characters in query syntax. To use a special
|
138
|
-
character as itself, it should be escaped by prepending <code class="docutils literal"><span class="pre">\</span></code>. For
|
139
|
-
example, <code class="docutils literal"><span class="pre">"</span></code> is a special character. It is escaped as <code class="docutils literal"><span class="pre">\"</span></code>.</p>
|
130
|
+
character as itself, it should be escaped by prepending <code class="docutils literal notranslate"><span class="pre">\</span></code>. For
|
131
|
+
example, <code class="docutils literal notranslate"><span class="pre">"</span></code> is a special character. It is escaped as <code class="docutils literal notranslate"><span class="pre">\"</span></code>.</p>
|
140
132
|
<p>Here is a special character list:</p>
|
141
133
|
<blockquote>
|
142
134
|
<div><ul class="simple">
|
143
|
-
<li><code class="docutils literal"><span class="pre">[space]</span></code> (escaped as <code class="docutils literal"><span class="pre">[backslash][space]</span></code>) (You should
|
144
|
-
substitute <code class="docutils literal"><span class="pre">[space]</span></code> with a white space character that is 0x20
|
145
|
-
in ASCII and <code class="docutils literal"><span class="pre">[backslash]</span></code> with <code class="docutils literal"><span class="pre">\\</span></code>.)</li>
|
146
|
-
<li><code class="docutils literal"><span class="pre">"</span></code> (escaped as <code class="docutils literal"><span class="pre">\"</span></code>)</li>
|
147
|
-
<li><code class="docutils literal"><span class="pre">
|
148
|
-
<li><code class="docutils literal"><span class="pre">
|
149
|
-
<li><code class="docutils literal"><span class="pre"
|
150
|
-
<li><code class="docutils literal"><span class="pre">\</span></code> (escaped as <code class="docutils literal"><span class="pre">\\</span></code>)</li>
|
135
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">[space]</span></code> (escaped as <code class="docutils literal notranslate"><span class="pre">[backslash][space]</span></code>) (You should
|
136
|
+
substitute <code class="docutils literal notranslate"><span class="pre">[space]</span></code> with a white space character that is 0x20
|
137
|
+
in ASCII and <code class="docutils literal notranslate"><span class="pre">[backslash]</span></code> with <code class="docutils literal notranslate"><span class="pre">\\</span></code>.)</p></li>
|
138
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">"</span></code> (escaped as <code class="docutils literal notranslate"><span class="pre">\"</span></code>)</p></li>
|
139
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">(</span></code> (escaped as <code class="docutils literal notranslate"><span class="pre">\(</span></code>)</p></li>
|
140
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">)</span></code> (escaped as <code class="docutils literal notranslate"><span class="pre">\)</span></code>)</p></li>
|
141
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">\</span></code> (escaped as <code class="docutils literal notranslate"><span class="pre">\\</span></code>)</p></li>
|
151
142
|
</ul>
|
152
143
|
</div></blockquote>
|
153
|
-
<p>You can use quote instead of escape special characters except <code class="docutils literal"><span class="pre">\</span></code>
|
144
|
+
<p>You can use quote instead of escape special characters except <code class="docutils literal notranslate"><span class="pre">\</span></code>
|
154
145
|
(backslash). You need to use backslash for escaping backslash like
|
155
|
-
<code class="docutils literal"><span class="pre">\\</span></code> in quote.</p>
|
156
|
-
<p>Quote syntax is <code class="docutils literal"><span class="pre">"..."</span></code
|
157
|
-
<code class="docutils literal"><span class="pre">\"</span></code> in <code class="docutils literal"><span class="pre">"..."</span></code> quote syntax.
|
158
|
-
<code class="docutils literal"><span class="pre"
|
159
|
-
|
146
|
+
<code class="docutils literal notranslate"><span class="pre">\\</span></code> in quote.</p>
|
147
|
+
<p>Quote syntax is <code class="docutils literal notranslate"><span class="pre">"..."</span></code>. You need escape <code class="docutils literal notranslate"><span class="pre">"</span></code> as
|
148
|
+
<code class="docutils literal notranslate"><span class="pre">\"</span></code> in <code class="docutils literal notranslate"><span class="pre">"..."</span></code> quote syntax. For example, <code class="docutils literal notranslate"><span class="pre">You</span> <span class="pre">say</span> <span class="pre">"Hello</span> <span class="pre">Alice!"</span></code> can be
|
149
|
+
quoted <code class="docutils literal notranslate"><span class="pre">"You</span> <span class="pre">say</span> <span class="pre">\"Hello</span> <span class="pre">Alice!\""</span></code>.</p>
|
150
|
+
<p>In addition <code class="docutils literal notranslate"><span class="pre">'...'</span></code> isn’t available in query syntax.</p>
|
160
151
|
<div class="admonition note">
|
161
|
-
<p class="
|
162
|
-
<p
|
152
|
+
<p class="admonition-title">Note</p>
|
153
|
+
<p>There is an important point which you have to care. The <code class="docutils literal notranslate"><span class="pre">\</span></code>
|
163
154
|
(backslash) character is interpreted by command line shell. So if
|
164
|
-
you want to search <code class="docutils literal"><span class="pre">(</span></code> itself for example, you need to escape
|
165
|
-
twice (<code class="docutils literal"><span class="pre">\\(</span></code>) in command line shell. The command line shell
|
166
|
-
interprets <code class="docutils literal"><span class="pre">\\(</span></code> as <code class="docutils literal"><span class="pre">\(</span></code>, then pass such a literal to
|
167
|
-
Groonga. Groonga regards <code class="docutils literal"><span class="pre">\(</span></code> as <code class="docutils literal"><span class="pre">(</span></code>, then search <code class="docutils literal"><span class="pre">(</span></code> itself
|
168
|
-
from database. If you can
|
155
|
+
you want to search <code class="docutils literal notranslate"><span class="pre">(</span></code> itself for example, you need to escape
|
156
|
+
twice (<code class="docutils literal notranslate"><span class="pre">\\(</span></code>) in command line shell. The command line shell
|
157
|
+
interprets <code class="docutils literal notranslate"><span class="pre">\\(</span></code> as <code class="docutils literal notranslate"><span class="pre">\(</span></code>, then pass such a literal to
|
158
|
+
Groonga. Groonga regards <code class="docutils literal notranslate"><span class="pre">\(</span></code> as <code class="docutils literal notranslate"><span class="pre">(</span></code>, then search <code class="docutils literal notranslate"><span class="pre">(</span></code> itself
|
159
|
+
from database. If you can’t do intended search by Groonga, confirm
|
169
160
|
whether special character is escaped properly.</p>
|
170
161
|
</div>
|
171
162
|
</div>
|
172
163
|
<div class="section" id="conditional-expression">
|
173
|
-
<span id="query-syntax-conditional-expression"></span><h2>7.
|
164
|
+
<span id="query-syntax-conditional-expression"></span><h2>7.13.1.3. Conditional expression<a class="headerlink" href="#conditional-expression" title="Permalink to this headline">¶</a></h2>
|
174
165
|
<p>Here is available conditional expression list.</p>
|
175
166
|
<div class="section" id="full-text-search-condition">
|
176
|
-
<span id="query-syntax-full-text-search-condition"></span><h3>7.
|
177
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">keyword</span></code>.</p>
|
178
|
-
<p><code class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a full text search condition
|
167
|
+
<span id="query-syntax-full-text-search-condition"></span><h3>7.13.1.3.1. Full text search condition<a class="headerlink" href="#full-text-search-condition" title="Permalink to this headline">¶</a></h3>
|
168
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">keyword</span></code>.</p>
|
169
|
+
<p><code class="docutils literal notranslate"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a full text search condition
|
179
170
|
against the default match columns. Match columns are full text search
|
180
171
|
target columns.</p>
|
181
172
|
<p>You should specify the default match columns for full text
|
182
|
-
search. They can be specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
183
|
-
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. If you don
|
173
|
+
search. They can be specified by <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option of
|
174
|
+
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. If you don’t specify the default match
|
184
175
|
columns, this conditional expression fails.</p>
|
185
176
|
<p>This conditional expression does full text search with
|
186
|
-
<code class="docutils literal"><span class="pre">keyword</span></code>. <code class="docutils literal"><span class="pre">keyword</span></code> should not contain any spaces. If <code class="docutils literal"><span class="pre">keyword</span></code>
|
187
|
-
contains a space such as <code class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></code>, it means two full text
|
188
|
-
search conditions; <code class="docutils literal"><span class="pre">search</span></code> and <code class="docutils literal"><span class="pre">keyword</span></code>. If you want to
|
177
|
+
<code class="docutils literal notranslate"><span class="pre">keyword</span></code>. <code class="docutils literal notranslate"><span class="pre">keyword</span></code> should not contain any spaces. If <code class="docutils literal notranslate"><span class="pre">keyword</span></code>
|
178
|
+
contains a space such as <code class="docutils literal notranslate"><span class="pre">search</span> <span class="pre">keyword</span></code>, it means two full text
|
179
|
+
search conditions; <code class="docutils literal notranslate"><span class="pre">search</span></code> and <code class="docutils literal notranslate"><span class="pre">keyword</span></code>. If you want to
|
189
180
|
specifies a keyword that contains one or more spaces, you can use
|
190
|
-
<code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> that is described below.</p>
|
181
|
+
<code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> that is described below.</p>
|
191
182
|
<p>Here is a simple example.</p>
|
192
183
|
<p>Execution example:</p>
|
193
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query fast
|
184
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --match_columns content --query fast
|
194
185
|
# [
|
195
186
|
# [
|
196
187
|
# 0,
|
@@ -237,28 +228,28 @@ specifies a keyword that contains one or more spaces, you can use
|
|
237
228
|
# ]
|
238
229
|
</pre></div>
|
239
230
|
</div>
|
240
|
-
<p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
|
241
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
242
|
-
<p><code class="docutils literal"><span class="pre">content</span></code> column is the default match column.</p>
|
231
|
+
<p>The expression matches records that contain a word <code class="docutils literal notranslate"><span class="pre">fast</span></code> in
|
232
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value.</p>
|
233
|
+
<p><code class="docutils literal notranslate"><span class="pre">content</span></code> column is the default match column.</p>
|
243
234
|
</div>
|
244
235
|
<div class="section" id="phrase-search-condition">
|
245
|
-
<span id="query-syntax-phrase-search-condition"></span><h3>7.
|
246
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></code>.</p>
|
247
|
-
<p><code class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a phrase search condition
|
236
|
+
<span id="query-syntax-phrase-search-condition"></span><h3>7.13.1.3.2. Phrase search condition<a class="headerlink" href="#phrase-search-condition" title="Permalink to this headline">¶</a></h3>
|
237
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">"search</span> <span class="pre">keyword"</span></code>.</p>
|
238
|
+
<p><code class="docutils literal notranslate"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a phrase search condition
|
248
239
|
against the default match columns.</p>
|
249
240
|
<p>You should specify the default match columns for full text
|
250
|
-
search. They can be specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
251
|
-
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. If you don
|
241
|
+
search. They can be specified by <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option of
|
242
|
+
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>. If you don’t specify the default match
|
252
243
|
columns, this conditional expression fails.</p>
|
253
|
-
<p>This conditional expression does phrase search with <code class="docutils literal"><span class="pre">search</span>
|
254
|
-
<span class="pre">keyword</span></code>. Phrase search searches records that contain <code class="docutils literal"><span class="pre">search</span></code> and
|
255
|
-
<code class="docutils literal"><span class="pre">keyword</span></code> and those terms are appeared in the same order and
|
256
|
-
adjacent. Thus, <code class="docutils literal"><span class="pre">Put</span> <span class="pre">a</span> <span class="pre">search</span> <span class="pre">keyword</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">form</span></code> is matched but
|
257
|
-
<code class="docutils literal"><span class="pre">Search</span> <span class="pre">by</span> <span class="pre">the</span> <span class="pre">keyword</span></code> and <code class="docutils literal"><span class="pre">There</span> <span class="pre">is</span> <span class="pre">a</span> <span class="pre">keyword.</span> <span class="pre">Search</span> <span class="pre">by</span> <span class="pre">it!</span></code>
|
258
|
-
aren
|
244
|
+
<p>This conditional expression does phrase search with <code class="docutils literal notranslate"><span class="pre">search</span>
|
245
|
+
<span class="pre">keyword</span></code>. Phrase search searches records that contain <code class="docutils literal notranslate"><span class="pre">search</span></code> and
|
246
|
+
<code class="docutils literal notranslate"><span class="pre">keyword</span></code> and those terms are appeared in the same order and
|
247
|
+
adjacent. Thus, <code class="docutils literal notranslate"><span class="pre">Put</span> <span class="pre">a</span> <span class="pre">search</span> <span class="pre">keyword</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">form</span></code> is matched but
|
248
|
+
<code class="docutils literal notranslate"><span class="pre">Search</span> <span class="pre">by</span> <span class="pre">the</span> <span class="pre">keyword</span></code> and <code class="docutils literal notranslate"><span class="pre">There</span> <span class="pre">is</span> <span class="pre">a</span> <span class="pre">keyword.</span> <span class="pre">Search</span> <span class="pre">by</span> <span class="pre">it!</span></code>
|
249
|
+
aren’t matched.</p>
|
259
250
|
<p>Here is a simple example.</p>
|
260
251
|
<p>Execution example:</p>
|
261
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --match_columns content --query '"I started"'
|
252
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --match_columns content --query '"I started"'
|
262
253
|
# [
|
263
254
|
# [
|
264
255
|
# 0,
|
@@ -299,41 +290,41 @@ aren't matched.</p>
|
|
299
290
|
# ]
|
300
291
|
</pre></div>
|
301
292
|
</div>
|
302
|
-
<p>The expression matches records that contain a phrase <code class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></code> in
|
303
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn
|
304
|
-
<code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">started</span></code> aren
|
305
|
-
<p><code class="docutils literal"><span class="pre">content</span></code> column is the default match column.</p>
|
293
|
+
<p>The expression matches records that contain a phrase <code class="docutils literal notranslate"><span class="pre">I</span> <span class="pre">started</span></code> in
|
294
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value. <code class="docutils literal notranslate"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn’t matched because
|
295
|
+
<code class="docutils literal notranslate"><span class="pre">I</span></code> and <code class="docutils literal notranslate"><span class="pre">started</span></code> aren’t adjacent.</p>
|
296
|
+
<p><code class="docutils literal notranslate"><span class="pre">content</span></code> column is the default match column.</p>
|
306
297
|
</div>
|
307
298
|
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
308
|
-
<span id="query-syntax-full-text-search-condition-with-explicit-match-column"></span><h3>7.
|
309
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:@keyword</span></code>.</p>
|
310
|
-
<p>It
|
299
|
+
<span id="query-syntax-full-text-search-condition-with-explicit-match-column"></span><h3>7.13.1.3.3. Full text search condition (with explicit match column)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
300
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:@keyword</span></code>.</p>
|
301
|
+
<p>It’s similar to <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> but it doesn’t require
|
311
302
|
the default match columns. You need to specify match column for the
|
312
|
-
full text search condition by <code class="docutils literal"><span class="pre">column:</span></code> instead of
|
313
|
-
<code class="docutils literal"><span class="pre">--match_columns</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>.</p>
|
303
|
+
full text search condition by <code class="docutils literal notranslate"><span class="pre">column:</span></code> instead of
|
304
|
+
<code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>.</p>
|
314
305
|
<p>This condtional expression is useful when you want to use two or more
|
315
306
|
full text search against different columns. The default match columns
|
316
|
-
specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option can
|
307
|
+
specified by <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option can’t be specified multiple
|
317
308
|
times. You need to specify the second match column by this conditional
|
318
309
|
expression.</p>
|
319
|
-
<p>The different between <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
310
|
+
<p>The different between <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
320
311
|
<span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> is whether advanced
|
321
|
-
match columns are supported or not. <code class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code>
|
322
|
-
supports advanced match columns but <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
323
|
-
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> isn
|
312
|
+
match columns are supported or not. <code class="docutils literal notranslate"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code>
|
313
|
+
supports advanced match columns but <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
314
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> isn’t supported. Advanced match columns has
|
324
315
|
the following features:</p>
|
325
316
|
<blockquote>
|
326
317
|
<div><ul class="simple">
|
327
|
-
<li>Weight is supported.</li>
|
328
|
-
<li>Using multiple columns are supported.</li>
|
329
|
-
<li>Using index column as a match column is supported.</li>
|
318
|
+
<li><p>Weight is supported.</p></li>
|
319
|
+
<li><p>Using multiple columns are supported.</p></li>
|
320
|
+
<li><p>Using index column as a match column is supported.</p></li>
|
330
321
|
</ul>
|
331
322
|
</div></blockquote>
|
332
|
-
<p>See description of <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
323
|
+
<p>See description of <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option of
|
333
324
|
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a> about them.</p>
|
334
325
|
<p>Here is a simple example.</p>
|
335
326
|
<p>Execution example:</p>
|
336
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query content:@fast
|
327
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query content:@fast
|
337
328
|
# [
|
338
329
|
# [
|
339
330
|
# 0,
|
@@ -380,26 +371,26 @@ the following features:</p>
|
|
380
371
|
# ]
|
381
372
|
</pre></div>
|
382
373
|
</div>
|
383
|
-
<p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
|
384
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
374
|
+
<p>The expression matches records that contain a word <code class="docutils literal notranslate"><span class="pre">fast</span></code> in
|
375
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value.</p>
|
385
376
|
</div>
|
386
377
|
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
387
|
-
<h3>7.
|
388
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></code>.</p>
|
389
|
-
<p>It
|
378
|
+
<h3>7.13.1.3.4. Phrase search condition (with explicit match column)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
379
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></code>.</p>
|
380
|
+
<p>It’s similar to <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> but it doesn’t require the
|
390
381
|
default match columns. You need to specify match column for the phrase
|
391
|
-
search condition by <code class="docutils literal"><span class="pre">column:</span></code> instead of <code class="docutils literal"><span class="pre">--match_columns</span></code> option
|
382
|
+
search condition by <code class="docutils literal notranslate"><span class="pre">column:</span></code> instead of <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> option
|
392
383
|
of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>.</p>
|
393
|
-
<p>The different between <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span>
|
394
|
-
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> is similar to between <code class="docutils literal"><span class="pre">full</span>
|
395
|
-
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
396
|
-
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code>. <code class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> supports
|
397
|
-
advanced match columns but <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span>
|
398
|
-
<span class="pre">match</span> <span class="pre">column)</span></code> isn
|
384
|
+
<p>The different between <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span>
|
385
|
+
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> is similar to between <code class="docutils literal notranslate"><span class="pre">full</span>
|
386
|
+
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
387
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code>. <code class="docutils literal notranslate"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> supports
|
388
|
+
advanced match columns but <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span>
|
389
|
+
<span class="pre">match</span> <span class="pre">column)</span></code> isn’t supported. See description of <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span>
|
399
390
|
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> about advanced match columns.</p>
|
400
391
|
<p>Here is a simple example.</p>
|
401
392
|
<p>Execution example:</p>
|
402
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query 'content:@"I started"'
|
393
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query 'content:@"I started"'
|
403
394
|
# [
|
404
395
|
# [
|
405
396
|
# 0,
|
@@ -440,29 +431,29 @@ advanced match columns but <code class="docutils literal"><span class="pre">phra
|
|
440
431
|
# ]
|
441
432
|
</pre></div>
|
442
433
|
</div>
|
443
|
-
<p>The expression matches records that contain a phrase <code class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></code> in
|
444
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn
|
445
|
-
<code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">started</span></code> aren
|
434
|
+
<p>The expression matches records that contain a phrase <code class="docutils literal notranslate"><span class="pre">I</span> <span class="pre">started</span></code> in
|
435
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value. <code class="docutils literal notranslate"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn’t matched because
|
436
|
+
<code class="docutils literal notranslate"><span class="pre">I</span></code> and <code class="docutils literal notranslate"><span class="pre">started</span></code> aren’t adjacent.</p>
|
446
437
|
</div>
|
447
438
|
<div class="section" id="prefix-search-condition">
|
448
|
-
<span id="query-syntax-prefix-search-condition"></span><h3>7.
|
449
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:^value</span></code> or <code class="docutils literal"><span class="pre">value*</span></code>.</p>
|
450
|
-
<p>This conditional expression does prefix search with <code class="docutils literal"><span class="pre">value</span></code>. Prefix
|
451
|
-
search searches records that contain a word that starts with <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
439
|
+
<span id="query-syntax-prefix-search-condition"></span><h3>7.13.1.3.5. Prefix search condition<a class="headerlink" href="#prefix-search-condition" title="Permalink to this headline">¶</a></h3>
|
440
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:^value</span></code> or <code class="docutils literal notranslate"><span class="pre">value*</span></code>.</p>
|
441
|
+
<p>This conditional expression does prefix search with <code class="docutils literal notranslate"><span class="pre">value</span></code>. Prefix
|
442
|
+
search searches records that contain a word that starts with <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
452
443
|
<p>You can use fast prefix search against a column. The column must be
|
453
444
|
indexed and index table must be patricia trie table
|
454
|
-
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
|
455
|
-
(<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
|
456
|
-
<code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
|
457
|
-
table. You don
|
445
|
+
(<code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
|
446
|
+
(<code class="docutils literal notranslate"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
|
447
|
+
<code class="docutils literal notranslate"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
|
448
|
+
table. You don’t need to index <code class="docutils literal notranslate"><span class="pre">_key</span></code>.</p>
|
458
449
|
<p>Prefix search can be used with other table types but it causes all
|
459
|
-
records scan. It
|
450
|
+
records scan. It’s not problem for small records but it spends more
|
460
451
|
time for large records.</p>
|
461
|
-
<p>It doesn
|
462
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
452
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
453
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
463
454
|
<p>Here is a simple example.</p>
|
464
455
|
<p>Execution example:</p>
|
465
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query '_key:^Goo'
|
456
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query '_key:^Goo'
|
466
457
|
# [
|
467
458
|
# [
|
468
459
|
# 0,
|
@@ -510,40 +501,40 @@ time for large records.</p>
|
|
510
501
|
</pre></div>
|
511
502
|
</div>
|
512
503
|
<p>The expression matches records that contain a word that starts with
|
513
|
-
<code class="docutils literal"><span class="pre">Goo</span></code> in <code class="docutils literal"><span class="pre">_key</span></code> pseudo column value. <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></code> and
|
514
|
-
<code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
|
504
|
+
<code class="docutils literal notranslate"><span class="pre">Goo</span></code> in <code class="docutils literal notranslate"><span class="pre">_key</span></code> pseudo column value. <code class="docutils literal notranslate"><span class="pre">Good-bye</span> <span class="pre">Senna</span></code> and
|
505
|
+
<code class="docutils literal notranslate"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
|
515
506
|
</div>
|
516
507
|
<div class="section" id="suffix-search-condition">
|
517
|
-
<span id="query-syntax-suffix-search-condition"></span><h3>7.
|
518
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:$value</span></code>.</p>
|
519
|
-
<p>This conditional expression does suffix search with <code class="docutils literal"><span class="pre">value</span></code>. Suffix
|
520
|
-
search searches records that contain a word that ends with <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
508
|
+
<span id="query-syntax-suffix-search-condition"></span><h3>7.13.1.3.6. Suffix search condition<a class="headerlink" href="#suffix-search-condition" title="Permalink to this headline">¶</a></h3>
|
509
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:$value</span></code>.</p>
|
510
|
+
<p>This conditional expression does suffix search with <code class="docutils literal notranslate"><span class="pre">value</span></code>. Suffix
|
511
|
+
search searches records that contain a word that ends with <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
521
512
|
<p>You can use fast suffix search against a column. The column must be
|
522
513
|
indexed and index table must be patricia trie table
|
523
|
-
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You can also use fast
|
524
|
-
suffix search against <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table
|
525
|
-
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You don
|
526
|
-
index <code class="docutils literal"><span class="pre">_key</span></code>. We recommended that you use index column based fast
|
527
|
-
suffix search instead of <code class="docutils literal"><span class="pre">_key</span></code> based fast suffix search. <code class="docutils literal"><span class="pre">_key</span></code>
|
514
|
+
(<code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal notranslate"><span class="pre">KEY_WITH_SIS</span></code> flag. You can also use fast
|
515
|
+
suffix search against <code class="docutils literal notranslate"><span class="pre">_key</span></code> pseudo column of patricia trie table
|
516
|
+
(<code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal notranslate"><span class="pre">KEY_WITH_SIS</span></code> flag. You don’t need to
|
517
|
+
index <code class="docutils literal notranslate"><span class="pre">_key</span></code>. We recommended that you use index column based fast
|
518
|
+
suffix search instead of <code class="docutils literal notranslate"><span class="pre">_key</span></code> based fast suffix search. <code class="docutils literal notranslate"><span class="pre">_key</span></code>
|
528
519
|
based fast suffix search returns automatically registered
|
529
520
|
substrings. (TODO: write document about suffix search and link to it
|
530
521
|
from here.)</p>
|
531
522
|
<div class="admonition note">
|
532
|
-
<p class="
|
533
|
-
<p
|
523
|
+
<p class="admonition-title">Note</p>
|
524
|
+
<p>Fast suffix search can be used only for non-ASCII characters such
|
534
525
|
as hiragana in Japanese. You cannot use fast suffix search for
|
535
526
|
ASCII character.</p>
|
536
527
|
</div>
|
537
528
|
<p>Suffix search can be used with other table types or patricia trie
|
538
|
-
table without <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
|
539
|
-
scan. It
|
529
|
+
table without <code class="docutils literal notranslate"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
|
530
|
+
scan. It’s not problem for small records but it spends more time for
|
540
531
|
large records.</p>
|
541
|
-
<p>It doesn
|
542
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
532
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
533
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
543
534
|
<p>Here is a simple example. It uses fast suffix search for hiragana in
|
544
535
|
Japanese that is one of non-ASCII characters.</p>
|
545
536
|
<p>Execution example:</p>
|
546
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Titles TABLE_NO_KEY
|
537
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Titles TABLE_NO_KEY
|
547
538
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
548
539
|
column_create Titles content COLUMN_SCALAR ShortText
|
549
540
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -594,27 +585,27 @@ select Titles --query 'content:$んが'
|
|
594
585
|
# ]
|
595
586
|
</pre></div>
|
596
587
|
</div>
|
597
|
-
<p>The expression matches records that have value that ends with <code class="docutils literal"><span class="pre">んが</span></code>
|
598
|
-
in <code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">ぐるんが</span></code> and <code class="docutils literal"><span class="pre">むるんが</span></code> are matched
|
588
|
+
<p>The expression matches records that have value that ends with <code class="docutils literal notranslate"><span class="pre">んが</span></code>
|
589
|
+
in <code class="docutils literal notranslate"><span class="pre">content</span></code> column value. <code class="docutils literal notranslate"><span class="pre">ぐるんが</span></code> and <code class="docutils literal notranslate"><span class="pre">むるんが</span></code> are matched
|
599
590
|
with the expression.</p>
|
600
591
|
</div>
|
601
592
|
<div class="section" id="near-search-condition">
|
602
|
-
<span id="query-syntax-near-search-condition"></span><h3>7.
|
593
|
+
<span id="query-syntax-near-search-condition"></span><h3>7.13.1.3.7. Near search condition<a class="headerlink" href="#near-search-condition" title="Permalink to this headline">¶</a></h3>
|
603
594
|
<p>TODO</p>
|
604
595
|
</div>
|
605
596
|
<div class="section" id="similar-search-condition">
|
606
|
-
<span id="query-syntax-similar-search-condition"></span><h3>7.
|
597
|
+
<span id="query-syntax-similar-search-condition"></span><h3>7.13.1.3.8. Similar search condition<a class="headerlink" href="#similar-search-condition" title="Permalink to this headline">¶</a></h3>
|
607
598
|
<p>TODO</p>
|
608
599
|
</div>
|
609
600
|
<div class="section" id="equal-condition">
|
610
|
-
<span id="query-syntax-equal-condition"></span><h3>7.
|
611
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:value</span></code>.</p>
|
612
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is equal to <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
613
|
-
<p>It doesn
|
614
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
601
|
+
<span id="query-syntax-equal-condition"></span><h3>7.13.1.3.9. Equal condition<a class="headerlink" href="#equal-condition" title="Permalink to this headline">¶</a></h3>
|
602
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:value</span></code>.</p>
|
603
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is equal to <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
604
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
605
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
615
606
|
<p>Here is a simple example.</p>
|
616
607
|
<p>Execution example:</p>
|
617
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query _key:Groonga
|
608
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query _key:Groonga
|
618
609
|
# [
|
619
610
|
# [
|
620
611
|
# 0,
|
@@ -655,18 +646,18 @@ with the expression.</p>
|
|
655
646
|
# ]
|
656
647
|
</pre></div>
|
657
648
|
</div>
|
658
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is
|
659
|
-
equal to <code class="docutils literal"><span class="pre">Groonga</span></code>.</p>
|
649
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">_key</span></code> column value is
|
650
|
+
equal to <code class="docutils literal notranslate"><span class="pre">Groonga</span></code>.</p>
|
660
651
|
</div>
|
661
652
|
<div class="section" id="not-equal-condition">
|
662
|
-
<span id="query-syntax-not-equal-condition"></span><h3>7.
|
663
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:!value</span></code>.</p>
|
664
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value isn
|
665
|
-
<p>It doesn
|
666
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
653
|
+
<span id="query-syntax-not-equal-condition"></span><h3>7.13.1.3.10. Not equal condition<a class="headerlink" href="#not-equal-condition" title="Permalink to this headline">¶</a></h3>
|
654
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:!value</span></code>.</p>
|
655
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value isn’t equal to <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
656
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
657
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
667
658
|
<p>Here is a simple example.</p>
|
668
659
|
<p>Execution example:</p>
|
669
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query _key:!Groonga
|
660
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query _key:!Groonga
|
670
661
|
# [
|
671
662
|
# [
|
672
663
|
# 0,
|
@@ -725,22 +716,22 @@ equal to <code class="docutils literal"><span class="pre">Groonga</span></code>.
|
|
725
716
|
# ]
|
726
717
|
</pre></div>
|
727
718
|
</div>
|
728
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is not equal
|
729
|
-
to <code class="docutils literal"><span class="pre">Groonga</span></code>.</p>
|
719
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">_key</span></code> column value is not equal
|
720
|
+
to <code class="docutils literal notranslate"><span class="pre">Groonga</span></code>.</p>
|
730
721
|
</div>
|
731
722
|
<div class="section" id="less-than-condition">
|
732
|
-
<span id="query-syntax-less-than-condition"></span><h3>7.
|
733
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:<value</span></code>.</p>
|
734
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is less than <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
735
|
-
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
736
|
-
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
737
|
-
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
723
|
+
<span id="query-syntax-less-than-condition"></span><h3>7.13.1.3.11. Less than condition<a class="headerlink" href="#less-than-condition" title="Permalink to this headline">¶</a></h3>
|
724
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:<value</span></code>.</p>
|
725
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is less than <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
726
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal notranslate"><span class="pre">Int32</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code>
|
727
|
+
value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is text
|
728
|
+
type such as <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code> value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are
|
738
729
|
compared as bit sequence.</p>
|
739
|
-
<p>It doesn
|
740
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
730
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
731
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
741
732
|
<p>Here is a simple example.</p>
|
742
733
|
<p>Execution example:</p>
|
743
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query n_likes:<10
|
734
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query n_likes:<10
|
744
735
|
# [
|
745
736
|
# [
|
746
737
|
# 0,
|
@@ -793,22 +784,22 @@ compared as bit sequence.</p>
|
|
793
784
|
# ]
|
794
785
|
</pre></div>
|
795
786
|
</div>
|
796
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is less
|
797
|
-
than <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
787
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is less
|
788
|
+
than <code class="docutils literal notranslate"><span class="pre">10</span></code>.</p>
|
798
789
|
</div>
|
799
790
|
<div class="section" id="greater-than-condition">
|
800
|
-
<span id="query-syntax-greater-than-condition"></span><h3>7.
|
801
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:>value</span></code>.</p>
|
802
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is greater than <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
803
|
-
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
804
|
-
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
805
|
-
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
791
|
+
<span id="query-syntax-greater-than-condition"></span><h3>7.13.1.3.12. Greater than condition<a class="headerlink" href="#greater-than-condition" title="Permalink to this headline">¶</a></h3>
|
792
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:>value</span></code>.</p>
|
793
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is greater than <code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
794
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal notranslate"><span class="pre">Int32</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code>
|
795
|
+
value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is text
|
796
|
+
type such as <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code> value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are
|
806
797
|
compared as bit sequence.</p>
|
807
|
-
<p>It doesn
|
808
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
798
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
799
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
809
800
|
<p>Here is a simple example.</p>
|
810
801
|
<p>Execution example:</p>
|
811
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query n_likes:>10
|
802
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query n_likes:>10
|
812
803
|
# [
|
813
804
|
# [
|
814
805
|
# 0,
|
@@ -849,23 +840,23 @@ compared as bit sequence.</p>
|
|
849
840
|
# ]
|
850
841
|
</pre></div>
|
851
842
|
</div>
|
852
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is greater
|
853
|
-
than <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
843
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is greater
|
844
|
+
than <code class="docutils literal notranslate"><span class="pre">10</span></code>.</p>
|
854
845
|
</div>
|
855
846
|
<div class="section" id="less-than-or-equal-to-condition">
|
856
|
-
<span id="query-syntax-less-than-or-equal-condition"></span><h3>7.
|
857
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:<=value</span></code>.</p>
|
858
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is less than or equal to
|
859
|
-
<code class="docutils literal"><span class="pre">value</span></code>.</p>
|
860
|
-
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
861
|
-
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
862
|
-
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
847
|
+
<span id="query-syntax-less-than-or-equal-condition"></span><h3>7.13.1.3.13. Less than or equal to condition<a class="headerlink" href="#less-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
848
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:<=value</span></code>.</p>
|
849
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is less than or equal to
|
850
|
+
<code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
851
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal notranslate"><span class="pre">Int32</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code>
|
852
|
+
value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is text
|
853
|
+
type such as <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code> value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are
|
863
854
|
compared as bit sequence.</p>
|
864
|
-
<p>It doesn
|
865
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
855
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
856
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
866
857
|
<p>Here is a simple example.</p>
|
867
858
|
<p>Execution example:</p>
|
868
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query n_likes:<=10
|
859
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query n_likes:<=10
|
869
860
|
# [
|
870
861
|
# [
|
871
862
|
# 0,
|
@@ -924,23 +915,23 @@ compared as bit sequence.</p>
|
|
924
915
|
# ]
|
925
916
|
</pre></div>
|
926
917
|
</div>
|
927
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is less
|
928
|
-
than or equal to <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
918
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is less
|
919
|
+
than or equal to <code class="docutils literal notranslate"><span class="pre">10</span></code>.</p>
|
929
920
|
</div>
|
930
921
|
<div class="section" id="greater-than-or-equal-to-condition">
|
931
|
-
<span id="query-syntax-greater-than-or-equal-condition"></span><h3>7.
|
932
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:>=value</span></code>.</p>
|
933
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is greater than or equal to
|
934
|
-
<code class="docutils literal"><span class="pre">value</span></code>.</p>
|
935
|
-
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
936
|
-
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
937
|
-
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
922
|
+
<span id="query-syntax-greater-than-or-equal-condition"></span><h3>7.13.1.3.14. Greater than or equal to condition<a class="headerlink" href="#greater-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
923
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:>=value</span></code>.</p>
|
924
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is greater than or equal to
|
925
|
+
<code class="docutils literal notranslate"><span class="pre">value</span></code>.</p>
|
926
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal notranslate"><span class="pre">Int32</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code>
|
927
|
+
value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal notranslate"><span class="pre">column</span></code> type is text
|
928
|
+
type such as <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span></code> value and <code class="docutils literal notranslate"><span class="pre">value</span></code> are
|
938
929
|
compared as bit sequence.</p>
|
939
|
-
<p>It doesn
|
940
|
-
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
930
|
+
<p>It doesn’t require the default match columns such as <code class="docutils literal notranslate"><span class="pre">full</span> <span class="pre">text</span>
|
931
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal notranslate"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
941
932
|
<p>Here is a simple example.</p>
|
942
933
|
<p>Execution example:</p>
|
943
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query n_likes:>=10
|
934
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query n_likes:>=10
|
944
935
|
# [
|
945
936
|
# [
|
946
937
|
# 0,
|
@@ -987,22 +978,22 @@ compared as bit sequence.</p>
|
|
987
978
|
# ]
|
988
979
|
</pre></div>
|
989
980
|
</div>
|
990
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
991
|
-
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
981
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is
|
982
|
+
greater than or equal to <code class="docutils literal notranslate"><span class="pre">10</span></code>.</p>
|
992
983
|
</div>
|
993
984
|
<div class="section" id="regular-expression-condition">
|
994
|
-
<span id="query-syntax-regular-expression-condition"></span><h3>7.
|
985
|
+
<span id="query-syntax-regular-expression-condition"></span><h3>7.13.1.3.15. Regular expression condition<a class="headerlink" href="#regular-expression-condition" title="Permalink to this headline">¶</a></h3>
|
995
986
|
<div class="versionadded">
|
996
|
-
<p><span class="versionmodified">New in version 5.0.1.</span></p>
|
987
|
+
<p><span class="versionmodified added">New in version 5.0.1.</span></p>
|
997
988
|
</div>
|
998
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">column:~pattern</span></code>.</p>
|
999
|
-
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is matched to
|
1000
|
-
<code class="docutils literal"><span class="pre">pattern</span></code>. <code class="docutils literal"><span class="pre">pattern</span></code> must be valid
|
989
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">column:~pattern</span></code>.</p>
|
990
|
+
<p>It matches records that <code class="docutils literal notranslate"><span class="pre">column</span></code> value is matched to
|
991
|
+
<code class="docutils literal notranslate"><span class="pre">pattern</span></code>. <code class="docutils literal notranslate"><span class="pre">pattern</span></code> must be valid
|
1001
992
|
<a class="reference internal" href="../regular_expression.html"><span class="doc">Regular expression</span></a>.</p>
|
1002
|
-
<p>The following example uses <code class="docutils literal"><span class="pre">.roonga</span></code> as pattern. It matches
|
1003
|
-
<code class="docutils literal"><span class="pre">Groonga</span></code>, <code class="docutils literal"><span class="pre">Mroonga</span></code> and so on.</p>
|
993
|
+
<p>The following example uses <code class="docutils literal notranslate"><span class="pre">.roonga</span></code> as pattern. It matches
|
994
|
+
<code class="docutils literal notranslate"><span class="pre">Groonga</span></code>, <code class="docutils literal notranslate"><span class="pre">Mroonga</span></code> and so on.</p>
|
1004
995
|
<p>Execution example:</p>
|
1005
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query content:~.roonga
|
996
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query content:~.roonga
|
1006
997
|
# [
|
1007
998
|
# [
|
1008
999
|
# 0,
|
@@ -1051,22 +1042,22 @@ greater than or equal to <code class="docutils literal"><span class="pre">10</sp
|
|
1051
1042
|
</div>
|
1052
1043
|
<p>In most cases, regular expression is evaluated sequentially. So it may
|
1053
1044
|
be slow against many records.</p>
|
1054
|
-
<p>In some cases, Groonga evaluates regular expression by index. It
|
1045
|
+
<p>In some cases, Groonga evaluates regular expression by index. It’s
|
1055
1046
|
very fast. See <a class="reference internal" href="../regular_expression.html"><span class="doc">Regular expression</span></a> for details.</p>
|
1056
1047
|
</div>
|
1057
1048
|
</div>
|
1058
1049
|
<div class="section" id="combined-expression">
|
1059
|
-
<span id="query-syntax-combined-expression"></span><h2>7.
|
1050
|
+
<span id="query-syntax-combined-expression"></span><h2>7.13.1.4. Combined expression<a class="headerlink" href="#combined-expression" title="Permalink to this headline">¶</a></h2>
|
1060
1051
|
<p>Here is available combined expression list.</p>
|
1061
1052
|
<div class="section" id="logical-or">
|
1062
|
-
<h3>7.
|
1063
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code>.</p>
|
1064
|
-
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1053
|
+
<h3>7.13.1.4.1. Logical OR<a class="headerlink" href="#logical-or" title="Permalink to this headline">¶</a></h3>
|
1054
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code>.</p>
|
1055
|
+
<p><code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1065
1056
|
assignment expressions.</p>
|
1066
|
-
<p>If at least one of <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code> is matched.</p>
|
1057
|
+
<p>If at least one of <code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> are matched, <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code> is matched.</p>
|
1067
1058
|
<p>Here is a simple example.</p>
|
1068
1059
|
<p>Execution example:</p>
|
1069
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>10 OR content:@senna'
|
1060
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>10 OR content:@senna'
|
1070
1061
|
# [
|
1071
1062
|
# [
|
1072
1063
|
# 0,
|
@@ -1113,21 +1104,21 @@ assignment expressions.</p>
|
|
1113
1104
|
# ]
|
1114
1105
|
</pre></div>
|
1115
1106
|
</div>
|
1116
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1117
|
-
greater than <code class="docutils literal"><span class="pre">10</span></code> or contain a word <code class="docutils literal"><span class="pre">senna</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column
|
1107
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is
|
1108
|
+
greater than <code class="docutils literal notranslate"><span class="pre">10</span></code> or contain a word <code class="docutils literal notranslate"><span class="pre">senna</span></code> in <code class="docutils literal notranslate"><span class="pre">content</span></code> column
|
1118
1109
|
value.</p>
|
1119
1110
|
</div>
|
1120
1111
|
<div class="section" id="logical-and">
|
1121
|
-
<h3>7.
|
1122
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> or just <code class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></code>.</p>
|
1123
|
-
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1112
|
+
<h3>7.13.1.4.2. Logical AND<a class="headerlink" href="#logical-and" title="Permalink to this headline">¶</a></h3>
|
1113
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> or just <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">b</span></code>.</p>
|
1114
|
+
<p><code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1124
1115
|
assignment expressions.</p>
|
1125
|
-
<p>If both <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> is matched.</p>
|
1126
|
-
<p>You can specify <code class="docutils literal"><span class="pre">+</span></code> the first expression such as <code class="docutils literal"><span class="pre">+a</span></code>. The <code class="docutils literal"><span class="pre">+</span></code>
|
1116
|
+
<p>If both <code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> are matched, <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> is matched.</p>
|
1117
|
+
<p>You can specify <code class="docutils literal notranslate"><span class="pre">+</span></code> the first expression such as <code class="docutils literal notranslate"><span class="pre">+a</span></code>. The <code class="docutils literal notranslate"><span class="pre">+</span></code>
|
1127
1118
|
is just ignored.</p>
|
1128
1119
|
<p>Here is a simple example.</p>
|
1129
1120
|
<p>Execution example:</p>
|
1130
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>=10 + content:@groonga'
|
1121
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>=10 + content:@groonga'
|
1131
1122
|
# [
|
1132
1123
|
# [
|
1133
1124
|
# 0,
|
@@ -1168,21 +1159,21 @@ is just ignored.</p>
|
|
1168
1159
|
# ]
|
1169
1160
|
</pre></div>
|
1170
1161
|
</div>
|
1171
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1172
|
-
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code> and contain a word <code class="docutils literal"><span class="pre">groonga</span></code> in
|
1173
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
1162
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is
|
1163
|
+
greater than or equal to <code class="docutils literal notranslate"><span class="pre">10</span></code> and contain a word <code class="docutils literal notranslate"><span class="pre">groonga</span></code> in
|
1164
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value.</p>
|
1174
1165
|
</div>
|
1175
1166
|
<div class="section" id="logical-not">
|
1176
|
-
<h3>7.
|
1177
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code>.</p>
|
1178
|
-
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1167
|
+
<h3>7.13.1.4.3. Logical NOT<a class="headerlink" href="#logical-not" title="Permalink to this headline">¶</a></h3>
|
1168
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code>.</p>
|
1169
|
+
<p><code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1179
1170
|
assignment expressions.</p>
|
1180
|
-
<p>If <code class="docutils literal"><span class="pre">a</span></code> is matched and <code class="docutils literal"><span class="pre">b</span></code> is not matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code> is matched.</p>
|
1181
|
-
<p>You can not specify <code class="docutils literal"><span class="pre">-</span></code> the first expression such as <code class="docutils literal"><span class="pre">-a</span></code>. It
|
1171
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">a</span></code> is matched and <code class="docutils literal notranslate"><span class="pre">b</span></code> is not matched, <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code> is matched.</p>
|
1172
|
+
<p>You can not specify <code class="docutils literal notranslate"><span class="pre">-</span></code> the first expression such as <code class="docutils literal notranslate"><span class="pre">-a</span></code>. It’s
|
1182
1173
|
syntax error.</p>
|
1183
1174
|
<p>Here is a simple example.</p>
|
1184
1175
|
<p>Execution example:</p>
|
1185
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>=10 - content:@groonga'
|
1176
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:>=10 - content:@groonga'
|
1186
1177
|
# [
|
1187
1178
|
# [
|
1188
1179
|
# 0,
|
@@ -1223,20 +1214,20 @@ syntax error.</p>
|
|
1223
1214
|
# ]
|
1224
1215
|
</pre></div>
|
1225
1216
|
</div>
|
1226
|
-
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1227
|
-
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code> and don
|
1228
|
-
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
1217
|
+
<p>The expression matches records that <code class="docutils literal notranslate"><span class="pre">n_likes</span></code> column value is
|
1218
|
+
greater than or equal to <code class="docutils literal notranslate"><span class="pre">10</span></code> and don’t contain a word <code class="docutils literal notranslate"><span class="pre">groonga</span></code> in
|
1219
|
+
<code class="docutils literal notranslate"><span class="pre">content</span></code> column value.</p>
|
1229
1220
|
</div>
|
1230
1221
|
<div class="section" id="grouping">
|
1231
|
-
<h3>7.
|
1232
|
-
<p>Its syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. <code class="docutils literal"><span class="pre">...</span></code> is space separated expression list.</p>
|
1233
|
-
<p><code class="docutils literal"><span class="pre">(...)</span></code> groups one ore more expressions and they can be
|
1234
|
-
processed as an expression. <code class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code>
|
1235
|
-
are matched or <code class="docutils literal"><span class="pre">c</span></code> is matched. <code class="docutils literal"><span class="pre">a</span> <span class="pre">(b</span> <span class="pre">OR</span> <span class="pre">c)</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and
|
1236
|
-
one of <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code> are matched.</p>
|
1222
|
+
<h3>7.13.1.4.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h3>
|
1223
|
+
<p>Its syntax is <code class="docutils literal notranslate"><span class="pre">(...)</span></code>. <code class="docutils literal notranslate"><span class="pre">...</span></code> is space separated expression list.</p>
|
1224
|
+
<p><code class="docutils literal notranslate"><span class="pre">(...)</span></code> groups one ore more expressions and they can be
|
1225
|
+
processed as an expression. <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></code> means that <code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code>
|
1226
|
+
are matched or <code class="docutils literal notranslate"><span class="pre">c</span></code> is matched. <code class="docutils literal notranslate"><span class="pre">a</span> <span class="pre">(b</span> <span class="pre">OR</span> <span class="pre">c)</span></code> means that <code class="docutils literal notranslate"><span class="pre">a</span></code> and
|
1227
|
+
one of <code class="docutils literal notranslate"><span class="pre">b</span></code> and <code class="docutils literal notranslate"><span class="pre">c</span></code> are matched.</p>
|
1237
1228
|
<p>Here is a simple example.</p>
|
1238
1229
|
<p>Execution example:</p>
|
1239
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
1230
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
1240
1231
|
# [
|
1241
1232
|
# [
|
1242
1233
|
# 0,
|
@@ -1328,30 +1319,30 @@ select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
|
1328
1319
|
# ]
|
1329
1320
|
</pre></div>
|
1330
1321
|
</div>
|
1331
|
-
<p>The first expression doesn
|
1332
|
-
<code class="docutils literal"><span class="pre">n_likes:<5</span></code> and <code class="docutils literal"><span class="pre">content:@senna</span></code> are matched or
|
1333
|
-
<code class="docutils literal"><span class="pre">content:@fast</span></code> is matched.</p>
|
1322
|
+
<p>The first expression doesn’t use grouping. It matches records that
|
1323
|
+
<code class="docutils literal notranslate"><span class="pre">n_likes:<5</span></code> and <code class="docutils literal notranslate"><span class="pre">content:@senna</span></code> are matched or
|
1324
|
+
<code class="docutils literal notranslate"><span class="pre">content:@fast</span></code> is matched.</p>
|
1334
1325
|
<p>The second expression uses grouping. It matches records that
|
1335
|
-
<code class="docutils literal"><span class="pre">n_likes:<5</span></code> and one of <code class="docutils literal"><span class="pre">content:@senna</span></code> or <code class="docutils literal"><span class="pre">content:@fast</span></code>
|
1326
|
+
<code class="docutils literal notranslate"><span class="pre">n_likes:<5</span></code> and one of <code class="docutils literal notranslate"><span class="pre">content:@senna</span></code> or <code class="docutils literal notranslate"><span class="pre">content:@fast</span></code>
|
1336
1327
|
are matched.</p>
|
1337
1328
|
</div>
|
1338
1329
|
</div>
|
1339
1330
|
<div class="section" id="assignment-expression">
|
1340
|
-
<h2>7.
|
1331
|
+
<h2>7.13.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
|
1341
1332
|
<p>This section is for advanced users. Because assignment expression is
|
1342
|
-
disabled in <code class="docutils literal"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a> by
|
1343
|
-
default. You need to specify <code class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code> as
|
1344
|
-
<code class="docutils literal"><span class="pre">--query_flags</span></code> option value to enable assignment expression.</p>
|
1333
|
+
disabled in <code class="docutils literal notranslate"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a> by
|
1334
|
+
default. You need to specify <code class="docutils literal notranslate"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code> as
|
1335
|
+
<code class="docutils literal notranslate"><span class="pre">--query_flags</span></code> option value to enable assignment expression.</p>
|
1345
1336
|
<p>Assignment expression in query syntax has some limitations. So you
|
1346
1337
|
should use <a class="reference internal" href="script_syntax.html"><span class="doc">Script syntax</span></a> instead of query syntax for
|
1347
1338
|
assignment.</p>
|
1348
|
-
<p>There is only one syntax for assignment expression. It
|
1349
|
-
<p><code class="docutils literal"><span class="pre">value</span></code> is assigend to <code class="docutils literal"><span class="pre">column</span></code>. <code class="docutils literal"><span class="pre">value</span></code> is always processed as
|
1350
|
-
string in query syntax. <code class="docutils literal"><span class="pre">value</span></code> is casted to the type of <code class="docutils literal"><span class="pre">column</span></code>
|
1339
|
+
<p>There is only one syntax for assignment expression. It’s <code class="docutils literal notranslate"><span class="pre">column:=value</span></code>.</p>
|
1340
|
+
<p><code class="docutils literal notranslate"><span class="pre">value</span></code> is assigend to <code class="docutils literal notranslate"><span class="pre">column</span></code>. <code class="docutils literal notranslate"><span class="pre">value</span></code> is always processed as
|
1341
|
+
string in query syntax. <code class="docutils literal notranslate"><span class="pre">value</span></code> is casted to the type of <code class="docutils literal notranslate"><span class="pre">column</span></code>
|
1351
1342
|
automatically. It causes some limitations. For example, you cannot use
|
1352
|
-
boolean literal such as <code class="docutils literal"><span class="pre">true</span></code> and <code class="docutils literal"><span class="pre">false</span></code> for <code class="docutils literal"><span class="pre">Bool</span></code> type
|
1353
|
-
column. You need to use empty string for <code class="docutils literal"><span class="pre">false</span></code> but query syntax
|
1354
|
-
doesn
|
1343
|
+
boolean literal such as <code class="docutils literal notranslate"><span class="pre">true</span></code> and <code class="docutils literal notranslate"><span class="pre">false</span></code> for <code class="docutils literal notranslate"><span class="pre">Bool</span></code> type
|
1344
|
+
column. You need to use empty string for <code class="docutils literal notranslate"><span class="pre">false</span></code> but query syntax
|
1345
|
+
doesn’t support <code class="docutils literal notranslate"><span class="pre">column:=</span></code> syntax.</p>
|
1355
1346
|
<p>See <a class="reference internal" href="../cast.html"><span class="doc">Cast</span></a> about cast.</p>
|
1356
1347
|
</div>
|
1357
1348
|
</div>
|
@@ -1362,55 +1353,55 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1362
1353
|
</div>
|
1363
1354
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
1364
1355
|
<div class="sphinxsidebarwrapper">
|
1365
|
-
<h3><a href="../../index.html">Table
|
1356
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
1366
1357
|
<ul>
|
1367
|
-
<li><a class="reference internal" href="#">7.
|
1368
|
-
<li><a class="reference internal" href="#sample-data">7.
|
1369
|
-
<li><a class="reference internal" href="#escape">7.
|
1370
|
-
<li><a class="reference internal" href="#conditional-expression">7.
|
1371
|
-
<li><a class="reference internal" href="#full-text-search-condition">7.
|
1372
|
-
<li><a class="reference internal" href="#phrase-search-condition">7.
|
1373
|
-
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">7.
|
1374
|
-
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">7.
|
1375
|
-
<li><a class="reference internal" href="#prefix-search-condition">7.
|
1376
|
-
<li><a class="reference internal" href="#suffix-search-condition">7.
|
1377
|
-
<li><a class="reference internal" href="#near-search-condition">7.
|
1378
|
-
<li><a class="reference internal" href="#similar-search-condition">7.
|
1379
|
-
<li><a class="reference internal" href="#equal-condition">7.
|
1380
|
-
<li><a class="reference internal" href="#not-equal-condition">7.
|
1381
|
-
<li><a class="reference internal" href="#less-than-condition">7.
|
1382
|
-
<li><a class="reference internal" href="#greater-than-condition">7.
|
1383
|
-
<li><a class="reference internal" href="#less-than-or-equal-to-condition">7.
|
1384
|
-
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">7.
|
1385
|
-
<li><a class="reference internal" href="#regular-expression-condition">7.
|
1358
|
+
<li><a class="reference internal" href="#">7.13.1. Query syntax</a><ul>
|
1359
|
+
<li><a class="reference internal" href="#sample-data">7.13.1.1. Sample data</a></li>
|
1360
|
+
<li><a class="reference internal" href="#escape">7.13.1.2. Escape</a></li>
|
1361
|
+
<li><a class="reference internal" href="#conditional-expression">7.13.1.3. Conditional expression</a><ul>
|
1362
|
+
<li><a class="reference internal" href="#full-text-search-condition">7.13.1.3.1. Full text search condition</a></li>
|
1363
|
+
<li><a class="reference internal" href="#phrase-search-condition">7.13.1.3.2. Phrase search condition</a></li>
|
1364
|
+
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">7.13.1.3.3. Full text search condition (with explicit match column)</a></li>
|
1365
|
+
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">7.13.1.3.4. Phrase search condition (with explicit match column)</a></li>
|
1366
|
+
<li><a class="reference internal" href="#prefix-search-condition">7.13.1.3.5. Prefix search condition</a></li>
|
1367
|
+
<li><a class="reference internal" href="#suffix-search-condition">7.13.1.3.6. Suffix search condition</a></li>
|
1368
|
+
<li><a class="reference internal" href="#near-search-condition">7.13.1.3.7. Near search condition</a></li>
|
1369
|
+
<li><a class="reference internal" href="#similar-search-condition">7.13.1.3.8. Similar search condition</a></li>
|
1370
|
+
<li><a class="reference internal" href="#equal-condition">7.13.1.3.9. Equal condition</a></li>
|
1371
|
+
<li><a class="reference internal" href="#not-equal-condition">7.13.1.3.10. Not equal condition</a></li>
|
1372
|
+
<li><a class="reference internal" href="#less-than-condition">7.13.1.3.11. Less than condition</a></li>
|
1373
|
+
<li><a class="reference internal" href="#greater-than-condition">7.13.1.3.12. Greater than condition</a></li>
|
1374
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-condition">7.13.1.3.13. Less than or equal to condition</a></li>
|
1375
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">7.13.1.3.14. Greater than or equal to condition</a></li>
|
1376
|
+
<li><a class="reference internal" href="#regular-expression-condition">7.13.1.3.15. Regular expression condition</a></li>
|
1386
1377
|
</ul>
|
1387
1378
|
</li>
|
1388
|
-
<li><a class="reference internal" href="#combined-expression">7.
|
1389
|
-
<li><a class="reference internal" href="#logical-or">7.
|
1390
|
-
<li><a class="reference internal" href="#logical-and">7.
|
1391
|
-
<li><a class="reference internal" href="#logical-not">7.
|
1392
|
-
<li><a class="reference internal" href="#grouping">7.
|
1379
|
+
<li><a class="reference internal" href="#combined-expression">7.13.1.4. Combined expression</a><ul>
|
1380
|
+
<li><a class="reference internal" href="#logical-or">7.13.1.4.1. Logical OR</a></li>
|
1381
|
+
<li><a class="reference internal" href="#logical-and">7.13.1.4.2. Logical AND</a></li>
|
1382
|
+
<li><a class="reference internal" href="#logical-not">7.13.1.4.3. Logical NOT</a></li>
|
1383
|
+
<li><a class="reference internal" href="#grouping">7.13.1.4.4. Grouping</a></li>
|
1393
1384
|
</ul>
|
1394
1385
|
</li>
|
1395
|
-
<li><a class="reference internal" href="#assignment-expression">7.
|
1386
|
+
<li><a class="reference internal" href="#assignment-expression">7.13.1.5. Assignment expression</a></li>
|
1396
1387
|
</ul>
|
1397
1388
|
</li>
|
1398
1389
|
</ul>
|
1399
1390
|
|
1400
1391
|
<h4>Previous topic</h4>
|
1401
1392
|
<p class="topless"><a href="../grn_expr.html"
|
1402
|
-
title="previous chapter">7.
|
1393
|
+
title="previous chapter">7.13. grn_expr</a></p>
|
1403
1394
|
<h4>Next topic</h4>
|
1404
1395
|
<p class="topless"><a href="script_syntax.html"
|
1405
|
-
title="next chapter">7.
|
1396
|
+
title="next chapter">7.13.2. Script syntax</a></p>
|
1406
1397
|
<div id="searchbox" style="display: none" role="search">
|
1407
1398
|
<h3>Quick search</h3>
|
1399
|
+
<div class="searchformwrapper">
|
1408
1400
|
<form class="search" action="../../search.html" method="get">
|
1409
|
-
<
|
1410
|
-
<
|
1411
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
1412
|
-
<input type="hidden" name="area" value="default" />
|
1401
|
+
<input type="text" name="q" />
|
1402
|
+
<input type="submit" value="Go" />
|
1413
1403
|
</form>
|
1404
|
+
</div>
|
1414
1405
|
</div>
|
1415
1406
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1416
1407
|
</div>
|
@@ -1424,18 +1415,18 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1424
1415
|
<a href="../../genindex.html" title="General Index"
|
1425
1416
|
>index</a></li>
|
1426
1417
|
<li class="right" >
|
1427
|
-
<a href="script_syntax.html" title="7.
|
1418
|
+
<a href="script_syntax.html" title="7.13.2. Script syntax"
|
1428
1419
|
>next</a> |</li>
|
1429
1420
|
<li class="right" >
|
1430
|
-
<a href="../grn_expr.html" title="7.
|
1421
|
+
<a href="../grn_expr.html" title="7.13. grn_expr"
|
1431
1422
|
>previous</a> |</li>
|
1432
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
1423
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
1433
1424
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1434
|
-
<li class="nav-item nav-item-2"><a href="../grn_expr.html" >7.
|
1425
|
+
<li class="nav-item nav-item-2"><a href="../grn_expr.html" >7.13. grn_expr</a> »</li>
|
1435
1426
|
</ul>
|
1436
1427
|
</div>
|
1437
1428
|
<div class="footer" role="contentinfo">
|
1438
|
-
© Copyright 2009-
|
1429
|
+
© Copyright 2009-2019, Brazil, Inc.
|
1439
1430
|
</div>
|
1440
1431
|
</body>
|
1441
1432
|
</html>
|