rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,34 +1,26 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>4.9. Additional information about lexicon for full text search — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>4.9. Additional information about lexicon for full text search — 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="4.10. Let
|
21
|
+
<link rel="next" title="4.10. Let’s create micro-blog" href="micro_blog.html" />
|
29
22
|
<link rel="prev" title="4.8. Prefix search with patricia trie" href="patricia_trie.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../index.html">
|
@@ -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="micro_blog.html" title="4.10. Let
|
48
|
+
<a href="micro_blog.html" title="4.10. Let’s create micro-blog"
|
57
49
|
accesskey="N">next</a> |</li>
|
58
50
|
<li class="right" >
|
59
51
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
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="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
63
55
|
</ul>
|
64
56
|
</div>
|
@@ -86,15 +78,15 @@ For example, Groonga holds frequency of word, flags for stop word, importance of
|
|
86
78
|
title="previous chapter">4.8. Prefix search with patricia trie</a></p>
|
87
79
|
<h4>Next topic</h4>
|
88
80
|
<p class="topless"><a href="micro_blog.html"
|
89
|
-
title="next chapter">4.10. Let
|
81
|
+
title="next chapter">4.10. Let’s create micro-blog</a></p>
|
90
82
|
<div id="searchbox" style="display: none" role="search">
|
91
83
|
<h3>Quick search</h3>
|
84
|
+
<div class="searchformwrapper">
|
92
85
|
<form class="search" action="../search.html" method="get">
|
93
|
-
<
|
94
|
-
<
|
95
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
96
|
-
<input type="hidden" name="area" value="default" />
|
86
|
+
<input type="text" name="q" />
|
87
|
+
<input type="submit" value="Go" />
|
97
88
|
</form>
|
89
|
+
</div>
|
98
90
|
</div>
|
99
91
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
100
92
|
</div>
|
@@ -108,17 +100,17 @@ For example, Groonga holds frequency of word, flags for stop word, importance of
|
|
108
100
|
<a href="../genindex.html" title="General Index"
|
109
101
|
>index</a></li>
|
110
102
|
<li class="right" >
|
111
|
-
<a href="micro_blog.html" title="4.10. Let
|
103
|
+
<a href="micro_blog.html" title="4.10. Let’s create micro-blog"
|
112
104
|
>next</a> |</li>
|
113
105
|
<li class="right" >
|
114
106
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
115
107
|
>previous</a> |</li>
|
116
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
108
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v9.0.2 documentation</a> »</li>
|
117
109
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
118
110
|
</ul>
|
119
111
|
</div>
|
120
112
|
<div class="footer" role="contentinfo">
|
121
|
-
© Copyright 2009-
|
113
|
+
© Copyright 2009-2019, Brazil, Inc.
|
122
114
|
</div>
|
123
115
|
</body>
|
124
116
|
</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>4.7. match_columns parameter — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>4.7. match_columns parameter — Groonga v9.0.2 documentation</title>
|
10
9
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../_static/language_data.js"></script>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../search.html" />
|
28
21
|
<link rel="next" title="4.8. Prefix search with patricia trie" href="patricia_trie.html" />
|
29
22
|
<link rel="prev" title="4.6. Tag search and reverse resolution of reference relationships" href="index.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../index.html">
|
@@ -58,7 +50,7 @@
|
|
58
50
|
<li class="right" >
|
59
51
|
<a href="index.html" title="4.6. Tag search and reverse resolution of reference relationships"
|
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="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
63
55
|
</ul>
|
64
56
|
</div>
|
@@ -72,15 +64,15 @@
|
|
72
64
|
<h1>4.7. match_columns parameter<a class="headerlink" href="#match-columns-parameter" title="Permalink to this headline">¶</a></h1>
|
73
65
|
<div class="section" id="full-text-search-against-multiple-columns">
|
74
66
|
<h2>4.7.1. Full-text search against multiple columns<a class="headerlink" href="#full-text-search-against-multiple-columns" title="Permalink to this headline">¶</a></h2>
|
75
|
-
<p>Groonga supports full-text search against multiple columns. Let
|
67
|
+
<p>Groonga supports full-text search against multiple columns. Let’s consider blog site. Usually, blog site has a table which contains title column and content column. How do you search the blog entry which contains specified keywords in title or content?</p>
|
76
68
|
<p>In such a case, there are two ways to create indexes. One way is creating column index against each column. The other way is creating one column index against multiple columns. Either way, Groonga supports similar full-text search syntax.</p>
|
77
69
|
<div class="section" id="creating-column-index-against-each-column">
|
78
70
|
<h3>4.7.1.1. Creating column index against each column<a class="headerlink" href="#creating-column-index-against-each-column" title="Permalink to this headline">¶</a></h3>
|
79
71
|
<p>Here is the example which create column index against each column.</p>
|
80
|
-
<p>First, create <code class="docutils literal"><span class="pre">Blog1</span></code> table, add <code class="docutils literal"><span class="pre">title</span></code> column which stores title string, <code class="docutils literal"><span class="pre">message</span></code> column which stores content of blog entry.</p>
|
81
|
-
<p>Then create <code class="docutils literal"><span class="pre">IndexBlog1</span></code> table for column indexes, add <code class="docutils literal"><span class="pre">index_title</span></code> column for <code class="docutils literal"><span class="pre">title</span></code> column, <code class="docutils literal"><span class="pre">index_message</span></code> column for <code class="docutils literal"><span class="pre">message</span></code> column.</p>
|
72
|
+
<p>First, create <code class="docutils literal notranslate"><span class="pre">Blog1</span></code> table, add <code class="docutils literal notranslate"><span class="pre">title</span></code> column which stores title string, <code class="docutils literal notranslate"><span class="pre">message</span></code> column which stores content of blog entry.</p>
|
73
|
+
<p>Then create <code class="docutils literal notranslate"><span class="pre">IndexBlog1</span></code> table for column indexes, add <code class="docutils literal notranslate"><span class="pre">index_title</span></code> column for <code class="docutils literal notranslate"><span class="pre">title</span></code> column, <code class="docutils literal notranslate"><span class="pre">index_message</span></code> column for <code class="docutils literal notranslate"><span class="pre">message</span></code> column.</p>
|
82
74
|
<p>Execution example:</p>
|
83
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText
|
75
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText
|
84
76
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
85
77
|
column_create --table Blog1 --name title --flags COLUMN_SCALAR --type ShortText
|
86
78
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -101,11 +93,11 @@ load --table Blog1
|
|
101
93
|
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
102
94
|
</pre></div>
|
103
95
|
</div>
|
104
|
-
<p><code class="docutils literal"><span class="pre">match_columns</span></code> option of <code class="docutils literal"><span class="pre">select</span></code> command accepts multiple columns as search target.
|
105
|
-
Specify query string to <code class="docutils literal"><span class="pre">query</span></code> option. Then you can do full-text search title and content of blog entries.</p>
|
106
|
-
<p>Let
|
96
|
+
<p><code class="docutils literal notranslate"><span class="pre">match_columns</span></code> option of <code class="docutils literal notranslate"><span class="pre">select</span></code> command accepts multiple columns as search target.
|
97
|
+
Specify query string to <code class="docutils literal notranslate"><span class="pre">query</span></code> option. Then you can do full-text search title and content of blog entries.</p>
|
98
|
+
<p>Let’s try to search blog entries.</p>
|
107
99
|
<p>Execution example:</p>
|
108
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Blog1 --match_columns title||message --query groonga
|
100
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Blog1 --match_columns title||message --query groonga
|
109
101
|
# [
|
110
102
|
# [
|
111
103
|
# 0,
|
@@ -249,7 +241,7 @@ select --table Blog1 --match_columns title --query message
|
|
249
241
|
<p>The difference for previous example is only one column index exists. Thus, There is one common column index against title and message column.</p>
|
250
242
|
<p>Even though same column index is used, Groonga supports to search against title column only, message column only and title or message column.</p>
|
251
243
|
<p>Execution example:</p>
|
252
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText
|
244
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText
|
253
245
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
254
246
|
column_create --table Blog2 --name title --flags COLUMN_SCALAR --type ShortText
|
255
247
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -268,9 +260,9 @@ load --table Blog2
|
|
268
260
|
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
269
261
|
</pre></div>
|
270
262
|
</div>
|
271
|
-
<p>Let
|
263
|
+
<p>Let’s search same query in previous section. You can get same search results.</p>
|
272
264
|
<p>Execution example:</p>
|
273
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Blog2 --match_columns title||message --query groonga
|
265
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Blog2 --match_columns title||message --query groonga
|
274
266
|
# [
|
275
267
|
# [
|
276
268
|
# 0,
|
@@ -408,12 +400,12 @@ select --table Blog2 --match_columns title --query message
|
|
408
400
|
</pre></div>
|
409
401
|
</div>
|
410
402
|
<div class="admonition note">
|
411
|
-
<p class="
|
412
|
-
<p>There may be a question that
|
403
|
+
<p class="admonition-title">Note</p>
|
404
|
+
<p>There may be a question that “which is the better solution for indexing.”
|
413
405
|
It depends on the case.</p>
|
414
|
-
<ul class="
|
415
|
-
<li>Indexes for each column - The update performance tends to be better than multiple colum index because there is enough buffer for updating. On the other hand, the efficiency of disk usage is not so good.</li>
|
416
|
-
<li>Indexes for multiple column - It saves disk usage because it shares common buffer. On the other hand, the update performance is not so good.</li>
|
406
|
+
<ul class="simple">
|
407
|
+
<li><p>Indexes for each column - The update performance tends to be better than multiple colum index because there is enough buffer for updating. On the other hand, the efficiency of disk usage is not so good.</p></li>
|
408
|
+
<li><p>Indexes for multiple column - It saves disk usage because it shares common buffer. On the other hand, the update performance is not so good.</p></li>
|
417
409
|
</ul>
|
418
410
|
</div>
|
419
411
|
</div>
|
@@ -424,7 +416,7 @@ It depends on the case.</p>
|
|
424
416
|
<p>In this section, you learn how to use specific index column efficiently.</p>
|
425
417
|
<p>Here is the concrete example about specific index name.</p>
|
426
418
|
<p>Execution example:</p>
|
427
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Entries TABLE_HASH_KEY ShortText
|
419
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_HASH_KEY ShortText
|
428
420
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
429
421
|
column_create Entries title COLUMN_SCALAR ShortText
|
430
422
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -452,14 +444,14 @@ column_create Terms entries_whole COLUMN_INDEX|WITH_POSITION|WITH_SECTION Entrie
|
|
452
444
|
And the terms table has index columns for title and body to entries table.</p>
|
453
445
|
<p>There are three index columns in terms table.</p>
|
454
446
|
<ul class="simple">
|
455
|
-
<li>entries_title: index column for title</li>
|
456
|
-
<li>entries_body: index column for body</li>
|
457
|
-
<li>entries_whole: index column for title and body</li>
|
447
|
+
<li><p>entries_title: index column for title</p></li>
|
448
|
+
<li><p>entries_body: index column for body</p></li>
|
449
|
+
<li><p>entries_whole: index column for title and body</p></li>
|
458
450
|
</ul>
|
459
451
|
<p>If you specify index column which is related to specific data column, related data column is searched with that index implicitly.</p>
|
460
|
-
<p>For example, if you want to search title or body only, specify <code class="docutils literal"><span class="pre">Terms.entries_title</span></code> or <code class="docutils literal"><span class="pre">Terms.entries_body</span></code> index column.</p>
|
452
|
+
<p>For example, if you want to search title or body only, specify <code class="docutils literal notranslate"><span class="pre">Terms.entries_title</span></code> or <code class="docutils literal notranslate"><span class="pre">Terms.entries_body</span></code> index column.</p>
|
461
453
|
<p>Execution example:</p>
|
462
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Entries --output_columns title --match_columns Terms.entries_title --query "Groonga"
|
454
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Entries --output_columns title --match_columns Terms.entries_title --query "Groonga"
|
463
455
|
# [
|
464
456
|
# [
|
465
457
|
# 0,
|
@@ -491,9 +483,9 @@ And the terms table has index columns for title and body to entries table.</p>
|
|
491
483
|
# ]
|
492
484
|
</pre></div>
|
493
485
|
</div>
|
494
|
-
<p>This example uses <code class="docutils literal"><span class="pre">Terms.entries_title</span></code> as index, then search
|
486
|
+
<p>This example uses <code class="docutils literal notranslate"><span class="pre">Terms.entries_title</span></code> as index, then search “Groonga” against title data column.</p>
|
495
487
|
<p>Execution example:</p>
|
496
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Entries --output_columns body --match_columns Terms.entries_body --query "Groonga"
|
488
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Entries --output_columns body --match_columns Terms.entries_body --query "Groonga"
|
497
489
|
# [
|
498
490
|
# [
|
499
491
|
# 0,
|
@@ -519,11 +511,11 @@ And the terms table has index columns for title and body to entries table.</p>
|
|
519
511
|
# ]
|
520
512
|
</pre></div>
|
521
513
|
</div>
|
522
|
-
<p>This example uses <code class="docutils literal"><span class="pre">Terms.entries_body</span></code> as index, then search
|
523
|
-
<p>If you specify multiple index column which is related to specific data columns, you can also specify data column name as suffix. It means that
|
524
|
-
<p>For example, if you want to search title or body only with <code class="docutils literal"><span class="pre">entries_whole</span></code> index, specify <code class="docutils literal"><span class="pre">Terms.entries_whole.title</span></code> or <code class="docutils literal"><span class="pre">Terms.entries_whole.body</span></code>. It uses <code class="docutils literal"><span class="pre">Terms.entries_whole</span></code> index and search <code class="docutils literal"><span class="pre">title</span></code> column or <code class="docutils literal"><span class="pre">body</span></code> column explicitly.</p>
|
514
|
+
<p>This example uses <code class="docutils literal notranslate"><span class="pre">Terms.entries_body</span></code> as index, then search “Groonga” against body data column.</p>
|
515
|
+
<p>If you specify multiple index column which is related to specific data columns, you can also specify data column name as suffix. It means that “Use specific index and search specific data column explicitly”.</p>
|
516
|
+
<p>For example, if you want to search title or body only with <code class="docutils literal notranslate"><span class="pre">entries_whole</span></code> index, specify <code class="docutils literal notranslate"><span class="pre">Terms.entries_whole.title</span></code> or <code class="docutils literal notranslate"><span class="pre">Terms.entries_whole.body</span></code>. It uses <code class="docutils literal notranslate"><span class="pre">Terms.entries_whole</span></code> index and search <code class="docutils literal notranslate"><span class="pre">title</span></code> column or <code class="docutils literal notranslate"><span class="pre">body</span></code> column explicitly.</p>
|
525
517
|
<p>Execution example:</p>
|
526
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Entries --output_columns title --match_columns Terms.entries_whole.title --query "Groonga"
|
518
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Entries --output_columns title --match_columns Terms.entries_whole.title --query "Groonga"
|
527
519
|
# [
|
528
520
|
# [
|
529
521
|
# 0,
|
@@ -555,9 +547,9 @@ And the terms table has index columns for title and body to entries table.</p>
|
|
555
547
|
# ]
|
556
548
|
</pre></div>
|
557
549
|
</div>
|
558
|
-
<p>This example uses <code class="docutils literal"><span class="pre">Terms.entries_whole</span></code> as index, then search
|
550
|
+
<p>This example uses <code class="docutils literal notranslate"><span class="pre">Terms.entries_whole</span></code> as index, then search “Groonga” against title data column.</p>
|
559
551
|
<p>Execution example:</p>
|
560
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Entries --output_columns body --match_columns Terms.entries_whole.body --query "Groonga"
|
552
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Entries --output_columns body --match_columns Terms.entries_whole.body --query "Groonga"
|
561
553
|
# [
|
562
554
|
# [
|
563
555
|
# 0,
|
@@ -583,7 +575,7 @@ And the terms table has index columns for title and body to entries table.</p>
|
|
583
575
|
# ]
|
584
576
|
</pre></div>
|
585
577
|
</div>
|
586
|
-
<p>This example uses <code class="docutils literal"><span class="pre">Terms.entries_whole</span></code> as index, then search
|
578
|
+
<p>This example uses <code class="docutils literal notranslate"><span class="pre">Terms.entries_whole</span></code> as index, then search “Groonga” against body data column.</p>
|
587
579
|
</div>
|
588
580
|
<div class="section" id="nested-index-search-among-related-table-by-column-index">
|
589
581
|
<span id="nested-index-search"></span><h2>4.7.3. Nested index search among related table by column index<a class="headerlink" href="#nested-index-search-among-related-table-by-column-index" title="Permalink to this headline">¶</a></h2>
|
@@ -599,7 +591,7 @@ you need to execute fulltext search for table of comment, then search the record
|
|
599
591
|
<p>But, you can search the records by specifying the reference column index at once.</p>
|
600
592
|
<p>Here is the sample schema.</p>
|
601
593
|
<p>Execution example:</p>
|
602
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Comments TABLE_HASH_KEY UInt32
|
594
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Comments TABLE_HASH_KEY UInt32
|
603
595
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
604
596
|
column_create Comments content COLUMN_SCALAR ShortText
|
605
597
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -621,7 +613,7 @@ column_create Comments article COLUMN_INDEX Articles comment
|
|
621
613
|
</div>
|
622
614
|
<p>Here is the sample data.</p>
|
623
615
|
<p>Execution example:</p>
|
624
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Comments
|
616
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table Comments
|
625
617
|
[
|
626
618
|
{"_key": 1, "content": "I'm using Groonga too!"},
|
627
619
|
{"_key": 2, "content": "I'm using Groonga and Mroonga!"},
|
@@ -639,14 +631,14 @@ load --table Articles
|
|
639
631
|
</div>
|
640
632
|
<p>You can write the query that search the records which contains specified keyword as a comment, then fetch the articles which refers to it.</p>
|
641
633
|
<p>Query for searching the records described above:</p>
|
642
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
634
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
643
635
|
</pre></div>
|
644
636
|
</div>
|
645
|
-
<p>You need to concatenate comment column of Articles table and content column of Comments table with period( <code class="docutils literal"><span class="pre">.</span></code> ) as <code class="docutils literal"><span class="pre">--match_columns</span></code> arguments.</p>
|
637
|
+
<p>You need to concatenate comment column of Articles table and content column of Comments table with period( <code class="docutils literal notranslate"><span class="pre">.</span></code> ) as <code class="docutils literal notranslate"><span class="pre">--match_columns</span></code> arguments.</p>
|
646
638
|
<p>At first, this query execute fulltext search from content of Comments table, then fetch the records of Articles table which refers to already searched records of Comments table.
|
647
|
-
(Because of this, if you comment out the query which creates index column <code class="docutils literal"><span class="pre">article</span></code> of Comments table, you can
|
639
|
+
(Because of this, if you comment out the query which creates index column <code class="docutils literal notranslate"><span class="pre">article</span></code> of Comments table, you can’t get intended search results.)</p>
|
648
640
|
<p>Execution example:</p>
|
649
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
641
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
650
642
|
# [
|
651
643
|
# [
|
652
644
|
# 0,
|
@@ -689,9 +681,9 @@ load --table Articles
|
|
689
681
|
</div>
|
690
682
|
<p>Now, you can search articles which contains specific keywords as a comment.</p>
|
691
683
|
<p>The feature of nested index search is not limited to the relationship between two table only.</p>
|
692
|
-
<p>Here is the sample schema similar to previous one. The difference is added table which express
|
684
|
+
<p>Here is the sample schema similar to previous one. The difference is added table which express ‘Reply’ and relationship is extended to three tables.</p>
|
693
685
|
<p>Execution example:</p>
|
694
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Replies2 TABLE_HASH_KEY UInt32
|
686
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Replies2 TABLE_HASH_KEY UInt32
|
695
687
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
696
688
|
column_create Replies2 content COLUMN_SCALAR ShortText
|
697
689
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -723,7 +715,7 @@ column_create Replies2 reply_to COLUMN_INDEX Comments2 comment
|
|
723
715
|
</div>
|
724
716
|
<p>Here is the sample data.</p>
|
725
717
|
<p>Execution example:</p>
|
726
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Replies2
|
718
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table Replies2
|
727
719
|
[
|
728
720
|
{"_key": 1, "content": "I'm using Rroonga too!"},
|
729
721
|
{"_key": 2, "content": "I'm using Groonga and Mroonga and Rroonga!"},
|
@@ -747,13 +739,13 @@ load --table Articles2
|
|
747
739
|
</pre></div>
|
748
740
|
</div>
|
749
741
|
<p>Query for searching the records described above:</p>
|
750
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
742
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
751
743
|
select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
752
744
|
</pre></div>
|
753
745
|
</div>
|
754
|
-
<p>The first query searches <code class="docutils literal"><span class="pre">mroonga</span></code> from <code class="docutils literal"><span class="pre">Comments2</span></code> table, the second one searches <code class="docutils literal"><span class="pre">mroonga</span></code> from <code class="docutils literal"><span class="pre">Replies2</span></code> and <code class="docutils literal"><span class="pre">Comments2</span></code> table by using reference column index.</p>
|
746
|
+
<p>The first query searches <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> from <code class="docutils literal notranslate"><span class="pre">Comments2</span></code> table, the second one searches <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> from <code class="docutils literal notranslate"><span class="pre">Replies2</span></code> and <code class="docutils literal notranslate"><span class="pre">Comments2</span></code> table by using reference column index.</p>
|
755
747
|
<p>Execution example:</p>
|
756
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
748
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
757
749
|
# [
|
758
750
|
# [
|
759
751
|
# 0,
|
@@ -839,8 +831,8 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
839
831
|
# ]
|
840
832
|
</pre></div>
|
841
833
|
</div>
|
842
|
-
<p>As a result, the first query matches two article because of <code class="docutils literal"><span class="pre">Comments2</span></code> table has two records which contains <code class="docutils literal"><span class="pre">mroonga</span></code> as keyword.</p>
|
843
|
-
<p>On the other hand, the second one matches one article only because of <code class="docutils literal"><span class="pre">Replies2</span></code> table has only one record which contains <code class="docutils literal"><span class="pre">mroonga</span></code> as keyword, and there is one record which contains same keyword and refers to the record in <code class="docutils literal"><span class="pre">Comments2</span></code> table.</p>
|
834
|
+
<p>As a result, the first query matches two article because of <code class="docutils literal notranslate"><span class="pre">Comments2</span></code> table has two records which contains <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> as keyword.</p>
|
835
|
+
<p>On the other hand, the second one matches one article only because of <code class="docutils literal notranslate"><span class="pre">Replies2</span></code> table has only one record which contains <code class="docutils literal notranslate"><span class="pre">mroonga</span></code> as keyword, and there is one record which contains same keyword and refers to the record in <code class="docutils literal notranslate"><span class="pre">Comments2</span></code> table.</p>
|
844
836
|
</div>
|
845
837
|
<div class="section" id="indexes-with-weight">
|
846
838
|
<h2>4.7.4. Indexes with Weight<a class="headerlink" href="#indexes-with-weight" title="Permalink to this headline">¶</a></h2>
|
@@ -854,7 +846,7 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
854
846
|
</div>
|
855
847
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
856
848
|
<div class="sphinxsidebarwrapper">
|
857
|
-
<h3><a href="../index.html">Table
|
849
|
+
<h3><a href="../index.html">Table of Contents</a></h3>
|
858
850
|
<ul>
|
859
851
|
<li><a class="reference internal" href="#">4.7. match_columns parameter</a><ul>
|
860
852
|
<li><a class="reference internal" href="#full-text-search-against-multiple-columns">4.7.1. Full-text search against multiple columns</a><ul>
|
@@ -877,12 +869,12 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
877
869
|
title="next chapter">4.8. Prefix search with patricia trie</a></p>
|
878
870
|
<div id="searchbox" style="display: none" role="search">
|
879
871
|
<h3>Quick search</h3>
|
872
|
+
<div class="searchformwrapper">
|
880
873
|
<form class="search" action="../search.html" method="get">
|
881
|
-
<
|
882
|
-
<
|
883
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
884
|
-
<input type="hidden" name="area" value="default" />
|
874
|
+
<input type="text" name="q" />
|
875
|
+
<input type="submit" value="Go" />
|
885
876
|
</form>
|
877
|
+
</div>
|
886
878
|
</div>
|
887
879
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
888
880
|
</div>
|
@@ -901,12 +893,12 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
901
893
|
<li class="right" >
|
902
894
|
<a href="index.html" title="4.6. Tag search and reverse resolution of reference relationships"
|
903
895
|
>previous</a> |</li>
|
904
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
896
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v9.0.2 documentation</a> »</li>
|
905
897
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
906
898
|
</ul>
|
907
899
|
</div>
|
908
900
|
<div class="footer" role="contentinfo">
|
909
|
-
© Copyright 2009-
|
901
|
+
© Copyright 2009-2019, Brazil, Inc.
|
910
902
|
</div>
|
911
903
|
</body>
|
912
904
|
</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>4.10. Let
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>4.10. Let’s create micro-blog — Groonga v9.0.2 documentation</title>
|
10
9
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../_static/language_data.js"></script>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../search.html" />
|
28
21
|
<link rel="next" title="4.11. Query expansion" href="query_expansion.html" />
|
29
22
|
<link rel="prev" title="4.9. Additional information about lexicon for full text search" href="lexicon.html" />
|
30
|
-
</head>
|
31
|
-
<body>
|
23
|
+
</head><body>
|
32
24
|
<div class="header">
|
33
25
|
<h1 class="title">
|
34
26
|
<a id="top-link" href="../index.html">
|
@@ -58,7 +50,7 @@
|
|
58
50
|
<li class="right" >
|
59
51
|
<a href="lexicon.html" title="4.9. Additional information about lexicon for full text search"
|
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="../tutorial.html" accesskey="U">4. Tutorial</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="let-s-create-micro-blog">
|
72
|
-
<h1>4.10. Let
|
73
|
-
<p>Let
|
64
|
+
<h1>4.10. Let’s create micro-blog<a class="headerlink" href="#let-s-create-micro-blog" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<p>Let’s create micro-blog with full text search by Groonga.
|
74
66
|
Micro-blog is one of the broadcast medium in the forms of blog. It is mainly used to post small messages like a Twitter.</p>
|
75
67
|
<div class="section" id="create-a-table">
|
76
68
|
<h2>4.10.1. Create a table<a class="headerlink" href="#create-a-table" title="Permalink to this headline">¶</a></h2>
|
77
|
-
<p>Let
|
78
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText
|
69
|
+
<p>Let’s create table.</p>
|
70
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText
|
79
71
|
table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText
|
80
72
|
table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText
|
81
73
|
table_create --name Bigram --flags TABLE_PAT_KEY --key_type ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
@@ -111,91 +103,91 @@ column_create --table GeoIndex --name comments_location --type Comments --flags
|
|
111
103
|
<h3>4.10.1.1. Users table<a class="headerlink" href="#users-table" title="Permalink to this headline">¶</a></h3>
|
112
104
|
<p>This is the table which stores user information.
|
113
105
|
It stores name of user, profile, list of follower and so on.</p>
|
114
|
-
<dl class="
|
115
|
-
<dt><code class="docutils literal"><span class="pre">_key</span></code></dt>
|
116
|
-
|
117
|
-
<dt><code class="docutils literal"><span class="pre">name</span></code></dt>
|
118
|
-
|
119
|
-
<dt><code class="docutils literal"><span class="pre">follower</span></code></dt>
|
120
|
-
|
121
|
-
<dt><code class="docutils literal"><span class="pre">favorites</span></code></dt>
|
122
|
-
|
123
|
-
<dt><code class="docutils literal"><span class="pre">location</span></code></dt>
|
124
|
-
|
125
|
-
<dt><code class="docutils literal"><span class="pre">location_str</span></code></dt>
|
126
|
-
|
127
|
-
<dt><code class="docutils literal"><span class="pre">description</span></code></dt>
|
128
|
-
|
129
|
-
<dt><code class="docutils literal"><span class="pre">followee</span></code></dt>
|
130
|
-
|
131
|
-
|
106
|
+
<dl class="simple">
|
107
|
+
<dt><code class="docutils literal notranslate"><span class="pre">_key</span></code></dt><dd><p>User ID</p>
|
108
|
+
</dd>
|
109
|
+
<dt><code class="docutils literal notranslate"><span class="pre">name</span></code></dt><dd><p>User name</p>
|
110
|
+
</dd>
|
111
|
+
<dt><code class="docutils literal notranslate"><span class="pre">follower</span></code></dt><dd><p>List of following users</p>
|
112
|
+
</dd>
|
113
|
+
<dt><code class="docutils literal notranslate"><span class="pre">favorites</span></code></dt><dd><p>List of favorite comments</p>
|
114
|
+
</dd>
|
115
|
+
<dt><code class="docutils literal notranslate"><span class="pre">location</span></code></dt><dd><p>Current location of user (geolocation)</p>
|
116
|
+
</dd>
|
117
|
+
<dt><code class="docutils literal notranslate"><span class="pre">location_str</span></code></dt><dd><p>Current location of user (string)</p>
|
118
|
+
</dd>
|
119
|
+
<dt><code class="docutils literal notranslate"><span class="pre">description</span></code></dt><dd><p>User profile</p>
|
120
|
+
</dd>
|
121
|
+
<dt><code class="docutils literal notranslate"><span class="pre">followee</span></code></dt><dd><p>Indexes for <code class="docutils literal notranslate"><span class="pre">follower</span></code> column in <code class="docutils literal notranslate"><span class="pre">Users</span></code> table.
|
122
|
+
With this indexes, you can search users who follows the person.</p>
|
123
|
+
</dd>
|
132
124
|
</dl>
|
133
125
|
</div>
|
134
126
|
<div class="section" id="comments-table">
|
135
127
|
<h3>4.10.1.2. Comments table<a class="headerlink" href="#comments-table" title="Permalink to this headline">¶</a></h3>
|
136
128
|
<p>This is the table which stores comments and its metadata.
|
137
129
|
It stores content of comment, posted date, comment which reply to, and so on.</p>
|
138
|
-
<dl class="
|
139
|
-
<dt><code class="docutils literal"><span class="pre">_key</span></code></dt>
|
140
|
-
|
141
|
-
<dt><code class="docutils literal"><span class="pre">comment</span></code></dt>
|
142
|
-
|
143
|
-
<dt><code class="docutils literal"><span class="pre">last_modified</span></code></dt>
|
144
|
-
|
145
|
-
<dt><code class="docutils literal"><span class="pre">replied_to</span></code></dt>
|
146
|
-
|
147
|
-
<dt><code class="docutils literal"><span class="pre">replied_users</span></code></dt>
|
148
|
-
|
149
|
-
<dt><code class="docutils literal"><span class="pre">hash_tags</span></code></dt>
|
150
|
-
|
151
|
-
<dt><code class="docutils literal"><span class="pre">location</span></code></dt>
|
152
|
-
|
153
|
-
<dt><code class="docutils literal"><span class="pre">posted_by</span></code></dt>
|
154
|
-
|
155
|
-
<dt><code class="docutils literal"><span class="pre">favorited_by</span></code></dt>
|
156
|
-
|
157
|
-
|
130
|
+
<dl class="simple">
|
131
|
+
<dt><code class="docutils literal notranslate"><span class="pre">_key</span></code></dt><dd><p>Comment ID</p>
|
132
|
+
</dd>
|
133
|
+
<dt><code class="docutils literal notranslate"><span class="pre">comment</span></code></dt><dd><p>Content of comment</p>
|
134
|
+
</dd>
|
135
|
+
<dt><code class="docutils literal notranslate"><span class="pre">last_modified</span></code></dt><dd><p>Posted date</p>
|
136
|
+
</dd>
|
137
|
+
<dt><code class="docutils literal notranslate"><span class="pre">replied_to</span></code></dt><dd><p>Comment which you reply to someone</p>
|
138
|
+
</dd>
|
139
|
+
<dt><code class="docutils literal notranslate"><span class="pre">replied_users</span></code></dt><dd><p>List of users who you reply to</p>
|
140
|
+
</dd>
|
141
|
+
<dt><code class="docutils literal notranslate"><span class="pre">hash_tags</span></code></dt><dd><p>List of hash tags about comment</p>
|
142
|
+
</dd>
|
143
|
+
<dt><code class="docutils literal notranslate"><span class="pre">location</span></code></dt><dd><p>Posted place (for geolocation)</p>
|
144
|
+
</dd>
|
145
|
+
<dt><code class="docutils literal notranslate"><span class="pre">posted_by</span></code></dt><dd><p>Person who write comment</p>
|
146
|
+
</dd>
|
147
|
+
<dt><code class="docutils literal notranslate"><span class="pre">favorited_by</span></code></dt><dd><p>Indexes for <code class="docutils literal notranslate"><span class="pre">favorites</span></code> column in <code class="docutils literal notranslate"><span class="pre">Users</span></code> table.
|
148
|
+
With this indexes, you can search the person who mark comment as favorite one.</p>
|
149
|
+
</dd>
|
158
150
|
</dl>
|
159
151
|
</div>
|
160
152
|
<div class="section" id="hashtags-table">
|
161
153
|
<h3>4.10.1.3. HashTags table<a class="headerlink" href="#hashtags-table" title="Permalink to this headline">¶</a></h3>
|
162
154
|
<p>This is the table which stores hash tags for comments.</p>
|
163
|
-
<dl class="
|
164
|
-
<dt><code class="docutils literal"><span class="pre">_key</span></code></dt>
|
165
|
-
|
166
|
-
<dt><code class="docutils literal"><span class="pre">hash_index</span></code></dt>
|
167
|
-
|
168
|
-
|
155
|
+
<dl class="simple">
|
156
|
+
<dt><code class="docutils literal notranslate"><span class="pre">_key</span></code></dt><dd><p>Hash tag</p>
|
157
|
+
</dd>
|
158
|
+
<dt><code class="docutils literal notranslate"><span class="pre">hash_index</span></code></dt><dd><p>Indexes for <code class="docutils literal notranslate"><span class="pre">Comments.hash_tags</span></code>.
|
159
|
+
With this indexes, you can search list of comments with specified hash tags.</p>
|
160
|
+
</dd>
|
169
161
|
</dl>
|
170
162
|
</div>
|
171
163
|
<div class="section" id="bigram-table">
|
172
164
|
<h3>4.10.1.4. Bigram table<a class="headerlink" href="#bigram-table" title="Permalink to this headline">¶</a></h3>
|
173
165
|
<p>This is the table which stores indexes for full text search by user information or comments.</p>
|
174
|
-
<dl class="
|
175
|
-
<dt><code class="docutils literal"><span class="pre">_key</span></code></dt>
|
176
|
-
|
177
|
-
<dt><code class="docutils literal"><span class="pre">users_index</span></code></dt>
|
178
|
-
|
179
|
-
|
180
|
-
<dt><code class="docutils literal"><span class="pre">comment_index</span></code></dt>
|
181
|
-
|
166
|
+
<dl class="simple">
|
167
|
+
<dt><code class="docutils literal notranslate"><span class="pre">_key</span></code></dt><dd><p>Word</p>
|
168
|
+
</dd>
|
169
|
+
<dt><code class="docutils literal notranslate"><span class="pre">users_index</span></code></dt><dd><p>Indexes of user information.
|
170
|
+
This column contains indexes of user name (<code class="docutils literal notranslate"><span class="pre">Users.name</span></code>), current location (<code class="docutils literal notranslate"><span class="pre">Users.location_str</span></code>), profile (<code class="docutils literal notranslate"><span class="pre">Users.description</span></code>).</p>
|
171
|
+
</dd>
|
172
|
+
<dt><code class="docutils literal notranslate"><span class="pre">comment_index</span></code></dt><dd><p>Indexes about content of comments (<code class="docutils literal notranslate"><span class="pre">Comments.comment</span></code>).</p>
|
173
|
+
</dd>
|
182
174
|
</dl>
|
183
175
|
</div>
|
184
176
|
<div class="section" id="geoindex-table">
|
185
177
|
<h3>4.10.1.5. GeoIndex table<a class="headerlink" href="#geoindex-table" title="Permalink to this headline">¶</a></h3>
|
186
178
|
<p>This is the table which stores indexes of location column to search geo location effectively.</p>
|
187
|
-
<dl class="
|
188
|
-
<dt><code class="docutils literal"><span class="pre">users_location</span></code></dt>
|
189
|
-
|
190
|
-
<dt><code class="docutils literal"><span class="pre">comments_location</span></code></dt>
|
191
|
-
|
179
|
+
<dl class="simple">
|
180
|
+
<dt><code class="docutils literal notranslate"><span class="pre">users_location</span></code></dt><dd><p>Indexes of location column for Users table</p>
|
181
|
+
</dd>
|
182
|
+
<dt><code class="docutils literal notranslate"><span class="pre">comments_location</span></code></dt><dd><p>Indexes of location column for Comments table</p>
|
183
|
+
</dd>
|
192
184
|
</dl>
|
193
185
|
</div>
|
194
186
|
</div>
|
195
187
|
<div class="section" id="loading-data">
|
196
188
|
<h2>4.10.2. Loading data<a class="headerlink" href="#loading-data" title="Permalink to this headline">¶</a></h2>
|
197
189
|
<p>Then, load example data.</p>
|
198
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Users
|
190
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table Users
|
199
191
|
[
|
200
192
|
{
|
201
193
|
"_key": "alice",
|
@@ -290,25 +282,25 @@ load --table Comments
|
|
290
282
|
]
|
291
283
|
</pre></div>
|
292
284
|
</div>
|
293
|
-
<p><code class="docutils literal"><span class="pre">follower</span></code> column and <code class="docutils literal"><span class="pre">favorites</span></code> column in <code class="docutils literal"><span class="pre">Users</span></code> table and <code class="docutils literal"><span class="pre">replied_users</span></code> column in <code class="docutils literal"><span class="pre">Comments</span></code> table are vector column, so specify the value as an array.</p>
|
294
|
-
<p><code class="docutils literal"><span class="pre">location</span></code> column in <code class="docutils literal"><span class="pre">Users</span></code> table, <code class="docutils literal"><span class="pre">location</span></code> column in <code class="docutils literal"><span class="pre">Comments</span></code> table use GeoPoint type. This type accepts
|
295
|
-
<p><code class="docutils literal"><span class="pre">last_modified</span></code> column in <code class="docutils literal"><span class="pre">Comments</span></code> table use Time type.</p>
|
285
|
+
<p><code class="docutils literal notranslate"><span class="pre">follower</span></code> column and <code class="docutils literal notranslate"><span class="pre">favorites</span></code> column in <code class="docutils literal notranslate"><span class="pre">Users</span></code> table and <code class="docutils literal notranslate"><span class="pre">replied_users</span></code> column in <code class="docutils literal notranslate"><span class="pre">Comments</span></code> table are vector column, so specify the value as an array.</p>
|
286
|
+
<p><code class="docutils literal notranslate"><span class="pre">location</span></code> column in <code class="docutils literal notranslate"><span class="pre">Users</span></code> table, <code class="docutils literal notranslate"><span class="pre">location</span></code> column in <code class="docutils literal notranslate"><span class="pre">Comments</span></code> table use GeoPoint type. This type accepts “[latitude]x[longitude]”.</p>
|
287
|
+
<p><code class="docutils literal notranslate"><span class="pre">last_modified</span></code> column in <code class="docutils literal notranslate"><span class="pre">Comments</span></code> table use Time type.</p>
|
296
288
|
<p>There are two way to specify the value.
|
297
289
|
First, specify epoch (seconds since Jan, 1, 1970 AM 00:00:00) directly. In this case, you can specify micro seconds as fractional part.
|
298
290
|
The value is converted from factional part to the time which is micro seconds based one when data is loaded.
|
299
|
-
The second, specify the timestamp as string in following format:
|
291
|
+
The second, specify the timestamp as string in following format: “(YEAR)/(MONTH)/(DAY) (HOUR):(MINUTE):(SECOND)”. In this way, the string is casted to proper micro seconds
|
300
292
|
when data is loaded.</p>
|
301
293
|
</div>
|
302
294
|
<div class="section" id="search">
|
303
295
|
<h2>4.10.3. Search<a class="headerlink" href="#search" title="Permalink to this headline">¶</a></h2>
|
304
|
-
<p>Let
|
296
|
+
<p>Let’s search micro-blog.</p>
|
305
297
|
<div class="section" id="search-users-by-keyword">
|
306
298
|
<h3>4.10.3.1. Search users by keyword<a class="headerlink" href="#search-users-by-keyword" title="Permalink to this headline">¶</a></h3>
|
307
299
|
<p>In this section, we search micro-blog against multiple column by keyword.
|
308
300
|
See <a class="reference internal" href="match_columns.html"><span class="doc">match_columns parameter</span></a> to search multiple column at once.</p>
|
309
|
-
<p>Let
|
301
|
+
<p>Let’s search user from micro-blog’s user name, location, description entries.</p>
|
310
302
|
<p>Execution example:</p>
|
311
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Users --match_columns name,location_str,description --query "New York" --output_columns _key,name
|
303
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Users --match_columns name,location_str,description --query "New York" --output_columns _key,name
|
312
304
|
# [
|
313
305
|
# [
|
314
306
|
# 0,
|
@@ -339,7 +331,7 @@ See <a class="reference internal" href="match_columns.html"><span class="doc">ma
|
|
339
331
|
# ]
|
340
332
|
</pre></div>
|
341
333
|
</div>
|
342
|
-
<p>By using
|
334
|
+
<p>By using “New York” as searching keyword for user, “Bob” who lives in “New York” is listed in search result.</p>
|
343
335
|
</div>
|
344
336
|
<div class="section" id="search-users-by-geolocation-data-geopoint">
|
345
337
|
<h3>4.10.3.2. Search users by geolocation data (GeoPoint)<a class="headerlink" href="#search-users-by-geolocation-data-geopoint" title="Permalink to this headline">¶</a></h3>
|
@@ -347,7 +339,7 @@ See <a class="reference internal" href="match_columns.html"><span class="doc">ma
|
|
347
339
|
See <a class="reference internal" href="search.html"><span class="doc">Various search conditions</span></a> about GeoPoint column.</p>
|
348
340
|
<p>Following example searches users who live in within 20km from specified location.</p>
|
349
341
|
<p>Execution example:</p>
|
350
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Users --filter 'geo_in_circle(location,"146710080x-266315480",20000)' --output_columns _key,name
|
342
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Users --filter 'geo_in_circle(location,"146710080x-266315480",20000)' --output_columns _key,name
|
351
343
|
# [
|
352
344
|
# [
|
353
345
|
# 0,
|
@@ -382,14 +374,14 @@ See <a class="reference internal" href="search.html"><span class="doc">Various s
|
|
382
374
|
# ]
|
383
375
|
</pre></div>
|
384
376
|
</div>
|
385
|
-
<p>It shows that
|
377
|
+
<p>It shows that “Bob” and “Charlie” lives in within 20 km from station of “Grand Central Terminal”.</p>
|
386
378
|
</div>
|
387
379
|
<div class="section" id="search-users-who-follows-specific-user">
|
388
380
|
<h3>4.10.3.3. Search users who follows specific user<a class="headerlink" href="#search-users-who-follows-specific-user" title="Permalink to this headline">¶</a></h3>
|
389
381
|
<p>In this section, we do reverse resolution of reference relationships which is described at <a class="reference internal" href="index.html"><span class="doc">Tag search and reverse resolution of reference relationships</span></a>.</p>
|
390
|
-
<p>Following examples shows reverse resolution about <code class="docutils literal"><span class="pre">follower</span></code> column of <code class="docutils literal"><span class="pre">Users</span></code> table.</p>
|
382
|
+
<p>Following examples shows reverse resolution about <code class="docutils literal notranslate"><span class="pre">follower</span></code> column of <code class="docutils literal notranslate"><span class="pre">Users</span></code> table.</p>
|
391
383
|
<p>Execution example:</p>
|
392
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Users --query follower:@bob --output_columns _key,name
|
384
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Users --query follower:@bob --output_columns _key,name
|
393
385
|
# [
|
394
386
|
# [
|
395
387
|
# 0,
|
@@ -424,7 +416,7 @@ See <a class="reference internal" href="search.html"><span class="doc">Various s
|
|
424
416
|
# ]
|
425
417
|
</pre></div>
|
426
418
|
</div>
|
427
|
-
<p>It shows that
|
419
|
+
<p>It shows that “Alice” and “Charlie” follows “Bob”.</p>
|
428
420
|
</div>
|
429
421
|
<div class="section" id="search-comments-by-using-the-value-of-geopoint-type">
|
430
422
|
<h3>4.10.3.4. Search comments by using the value of GeoPoint type<a class="headerlink" href="#search-comments-by-using-the-value-of-geopoint-type" title="Permalink to this headline">¶</a></h3>
|
@@ -433,7 +425,7 @@ See <a class="reference internal" href="search.html"><span class="doc">Various s
|
|
433
425
|
Following example shows how to drill down against search results.
|
434
426
|
As a result, we get the value of count which is grouped by user, and hash tags respectively.</p>
|
435
427
|
<p>Execution example:</p>
|
436
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Comments --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
428
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Comments --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
437
429
|
# [
|
438
430
|
# [
|
439
431
|
# 0,
|
@@ -529,9 +521,9 @@ You know that search results contain 2 #groonga hash tags and one #travel hash t
|
|
529
521
|
<div class="section" id="search-comments-by-keyword">
|
530
522
|
<h3>4.10.3.5. Search comments by keyword<a class="headerlink" href="#search-comments-by-keyword" title="Permalink to this headline">¶</a></h3>
|
531
523
|
<p>In this section, we search comments which contains specific keyword.
|
532
|
-
And more, Let
|
524
|
+
And more, Let’s calculate the value of <cite>_score</cite> which is described at <a class="reference internal" href="search.html"><span class="doc">Various search conditions</span></a>.</p>
|
533
525
|
<p>Execution example:</p>
|
534
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Comments --query comment:@Now --output_columns comment,_score
|
526
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Comments --query comment:@Now --output_columns comment,_score
|
535
527
|
# [
|
536
528
|
# [
|
537
529
|
# 0,
|
@@ -566,14 +558,14 @@ And more, Let's calculate the value of <cite>_score</cite> which is described at
|
|
566
558
|
# ]
|
567
559
|
</pre></div>
|
568
560
|
</div>
|
569
|
-
<p>By using
|
561
|
+
<p>By using ‘Now’ as a keyword, above query returns 2 comments. It also contains count of ‘Now’ as the value of <cite>_score</cite>.</p>
|
570
562
|
</div>
|
571
563
|
<div class="section" id="search-comments-by-keyword-and-geolocation">
|
572
564
|
<h3>4.10.3.6. Search comments by keyword and geolocation<a class="headerlink" href="#search-comments-by-keyword-and-geolocation" title="Permalink to this headline">¶</a></h3>
|
573
565
|
<p>In this section, we search comments by specific keyword and geolocation.
|
574
|
-
By using <cite
|
566
|
+
By using <cite>–query</cite> and <cite>–filter</cite> option, following query returns records which are matched to both conditions.</p>
|
575
567
|
<p>Execution example:</p>
|
576
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Comments --query comment:@New --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
568
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Comments --query comment:@New --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
577
569
|
# [
|
578
570
|
# [
|
579
571
|
# 0,
|
@@ -652,9 +644,9 @@ It also returns result of drilldown. There is 1 comment which is commented by Bo
|
|
652
644
|
<div class="section" id="search-comments-by-hash-tags">
|
653
645
|
<h3>4.10.3.7. Search comments by hash tags<a class="headerlink" href="#search-comments-by-hash-tags" title="Permalink to this headline">¶</a></h3>
|
654
646
|
<p>In this section, we search comments which contains specific hash tags.
|
655
|
-
Let
|
647
|
+
Let’s use reverse resolution of reference relationships.</p>
|
656
648
|
<p>Execution example:</p>
|
657
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
649
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
658
650
|
# [
|
659
651
|
# [
|
660
652
|
# 0,
|
@@ -715,7 +707,7 @@ It also returns result of drilldown grouped by person who posted it. It shows th
|
|
715
707
|
<h3>4.10.3.8. Search comments by user id<a class="headerlink" href="#search-comments-by-user-id" title="Permalink to this headline">¶</a></h3>
|
716
708
|
<p>In this section, we search comments which are posted by specific user.</p>
|
717
709
|
<p>Execution example:</p>
|
718
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Comments --query posted_by:bob --output_columns comment --drilldown hash_tags
|
710
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Comments --query posted_by:bob --output_columns comment --drilldown hash_tags
|
719
711
|
# [
|
720
712
|
# [
|
721
713
|
# 0,
|
@@ -777,22 +769,22 @@ It also returns result of drilldown grouped by person who posted it. It shows th
|
|
777
769
|
It also returns result of drilldown by hash tags. There are 2 comments which contains #groonga, and 1 comment which contains #travel as hash tag.</p>
|
778
770
|
</div>
|
779
771
|
<div class="section" id="search-user-s-favorite-comments">
|
780
|
-
<h3>4.10.3.9. Search user
|
781
|
-
<p>In this section, we search user
|
772
|
+
<h3>4.10.3.9. Search user’s favorite comments<a class="headerlink" href="#search-user-s-favorite-comments" title="Permalink to this headline">¶</a></h3>
|
773
|
+
<p>In this section, we search user’s favorite comments.</p>
|
782
774
|
<p>Execution example:</p>
|
783
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table Users --query _key:bob --output_columns favorites.posted_by,favorites.comment
|
775
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table Users --query _key:bob --output_columns favorites.posted_by,favorites.comment
|
784
776
|
# [[0, 1337566253.89858, 0.000355720520019531], [[[0], []]]]
|
785
777
|
</pre></div>
|
786
778
|
</div>
|
787
|
-
<p>Above query returns Bob
|
779
|
+
<p>Above query returns Bob’s favorite comments.</p>
|
788
780
|
</div>
|
789
781
|
<div class="section" id="search-comments-by-posted-time">
|
790
782
|
<h3>4.10.3.10. Search comments by posted time<a class="headerlink" href="#search-comments-by-posted-time" title="Permalink to this headline">¶</a></h3>
|
791
783
|
<p>In this section, we search comments by posted time.
|
792
784
|
See type of <cite>Time</cite> in <a class="reference internal" href="data.html"><span class="doc">Various data types</span></a>.</p>
|
793
|
-
<p>Let
|
785
|
+
<p>Let’s search comments that posted time are older than specified time.</p>
|
794
786
|
<p>Execution example:</p>
|
795
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select Comments --filter 'last_modified<=1268802000' --output_columns posted_by.name,comment,last_modified --drilldown hash_tags,posted_by
|
787
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Comments --filter 'last_modified<=1268802000' --output_columns posted_by.name,comment,last_modified --drilldown hash_tags,posted_by
|
796
788
|
# [
|
797
789
|
# [
|
798
790
|
# 0,
|
@@ -902,9 +894,9 @@ It also returns result of drilldown by posted person. There are 2 comments by Al
|
|
902
894
|
</div>
|
903
895
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
904
896
|
<div class="sphinxsidebarwrapper">
|
905
|
-
<h3><a href="../index.html">Table
|
897
|
+
<h3><a href="../index.html">Table of Contents</a></h3>
|
906
898
|
<ul>
|
907
|
-
<li><a class="reference internal" href="#">4.10. Let
|
899
|
+
<li><a class="reference internal" href="#">4.10. Let’s create micro-blog</a><ul>
|
908
900
|
<li><a class="reference internal" href="#create-a-table">4.10.1. Create a table</a><ul>
|
909
901
|
<li><a class="reference internal" href="#users-table">4.10.1.1. Users table</a></li>
|
910
902
|
<li><a class="reference internal" href="#comments-table">4.10.1.2. Comments table</a></li>
|
@@ -923,7 +915,7 @@ It also returns result of drilldown by posted person. There are 2 comments by Al
|
|
923
915
|
<li><a class="reference internal" href="#search-comments-by-keyword-and-geolocation">4.10.3.6. Search comments by keyword and geolocation</a></li>
|
924
916
|
<li><a class="reference internal" href="#search-comments-by-hash-tags">4.10.3.7. Search comments by hash tags</a></li>
|
925
917
|
<li><a class="reference internal" href="#search-comments-by-user-id">4.10.3.8. Search comments by user id</a></li>
|
926
|
-
<li><a class="reference internal" href="#search-user-s-favorite-comments">4.10.3.9. Search user
|
918
|
+
<li><a class="reference internal" href="#search-user-s-favorite-comments">4.10.3.9. Search user’s favorite comments</a></li>
|
927
919
|
<li><a class="reference internal" href="#search-comments-by-posted-time">4.10.3.10. Search comments by posted time</a></li>
|
928
920
|
</ul>
|
929
921
|
</li>
|
@@ -939,12 +931,12 @@ It also returns result of drilldown by posted person. There are 2 comments by Al
|
|
939
931
|
title="next chapter">4.11. Query expansion</a></p>
|
940
932
|
<div id="searchbox" style="display: none" role="search">
|
941
933
|
<h3>Quick search</h3>
|
934
|
+
<div class="searchformwrapper">
|
942
935
|
<form class="search" action="../search.html" method="get">
|
943
|
-
<
|
944
|
-
<
|
945
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
946
|
-
<input type="hidden" name="area" value="default" />
|
936
|
+
<input type="text" name="q" />
|
937
|
+
<input type="submit" value="Go" />
|
947
938
|
</form>
|
939
|
+
</div>
|
948
940
|
</div>
|
949
941
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
950
942
|
</div>
|
@@ -963,12 +955,12 @@ It also returns result of drilldown by posted person. There are 2 comments by Al
|
|
963
955
|
<li class="right" >
|
964
956
|
<a href="lexicon.html" title="4.9. Additional information about lexicon for full text search"
|
965
957
|
>previous</a> |</li>
|
966
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga
|
958
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v9.0.2 documentation</a> »</li>
|
967
959
|
<li class="nav-item nav-item-1"><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
968
960
|
</ul>
|
969
961
|
</div>
|
970
962
|
<div class="footer" role="contentinfo">
|
971
|
-
© Copyright 2009-
|
963
|
+
© Copyright 2009-2019, Brazil, Inc.
|
972
964
|
</div>
|
973
965
|
</body>
|
974
966
|
</html>
|