rroonga 7.1.1-x64-mingw32 → 9.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,34 +1,26 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.3.11. column_create — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.3.11. column_create — Groonga v9.0.2 documentation</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
17
|
+
|
25
18
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
26
19
|
<link rel="index" title="Index" href="../../genindex.html" />
|
27
20
|
<link rel="search" title="Search" href="../../search.html" />
|
28
21
|
<link rel="next" title="7.3.12. column_list" href="column_list.html" />
|
29
22
|
<link rel="prev" title="7.3.10. column_copy" href="column_copy.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="column_copy.html" title="7.3.10. column_copy"
|
60
52
|
accesskey="P">previous</a> |</li>
|
61
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
53
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
62
54
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
63
55
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
64
56
|
</ul>
|
@@ -70,13 +62,13 @@
|
|
70
62
|
<div class="body" role="main">
|
71
63
|
|
72
64
|
<div class="section" id="column-create">
|
73
|
-
<h1>7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code><a class="headerlink" href="#column-create" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<h1>7.3.11. <code class="docutils literal notranslate"><span class="pre">column_create</span></code><a class="headerlink" href="#column-create" title="Permalink to this headline">¶</a></h1>
|
74
66
|
<div class="section" id="summary">
|
75
67
|
<h2>7.3.11.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
76
|
-
<p><code class="docutils literal"><span class="pre">column_create</span></code> creates a new column in a table.</p>
|
68
|
+
<p><code class="docutils literal notranslate"><span class="pre">column_create</span></code> creates a new column in a table.</p>
|
77
69
|
<p>You need to create one or more columns to store multiple data in one
|
78
70
|
record.</p>
|
79
|
-
<p>Groonga provides an index as a column. It
|
71
|
+
<p>Groonga provides an index as a column. It’s different from other
|
80
72
|
systems. An index is just an index in other systems. Implementing an
|
81
73
|
index as a column provides flexibility. For example, you can add
|
82
74
|
metadata to each token.</p>
|
@@ -86,7 +78,7 @@ metadata to each token.</p>
|
|
86
78
|
<h2>7.3.11.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
87
79
|
<p>This command takes many parameters.</p>
|
88
80
|
<p>Most parameters are required:</p>
|
89
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create table
|
81
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create table
|
90
82
|
name
|
91
83
|
flags
|
92
84
|
type
|
@@ -99,21 +91,22 @@ metadata to each token.</p>
|
|
99
91
|
<p>This section describes about the followings:</p>
|
100
92
|
<blockquote>
|
101
93
|
<div><ul class="simple">
|
102
|
-
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
|
103
|
-
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
|
104
|
-
<li><a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a></li>
|
105
|
-
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table
|
106
|
-
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
|
107
|
-
<li><a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a></li>
|
108
|
-
<li><a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a></li>
|
109
|
-
<li><a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a></li>
|
110
|
-
<li><a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a></li>
|
94
|
+
<li><p><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></p></li>
|
95
|
+
<li><p><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></p></li>
|
96
|
+
<li><p><a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a></p></li>
|
97
|
+
<li><p><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table’s record</span></a></p></li>
|
98
|
+
<li><p><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></p></li>
|
99
|
+
<li><p><a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a></p></li>
|
100
|
+
<li><p><a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a></p></li>
|
101
|
+
<li><p><a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a></p></li>
|
102
|
+
<li><p><a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a></p></li>
|
103
|
+
<li><p><a class="reference internal" href="#column-create-index-large"><span class="std std-ref">Create a large index column</span></a></p></li>
|
111
104
|
</ul>
|
112
105
|
</div></blockquote>
|
113
|
-
<p>Here is the <code class="docutils literal"><span class="pre">People</span></code> table definition. The <code class="docutils literal"><span class="pre">People</span></code> table is used
|
106
|
+
<p>Here is the <code class="docutils literal notranslate"><span class="pre">People</span></code> table definition. The <code class="docutils literal notranslate"><span class="pre">People</span></code> table is used
|
114
107
|
in examples:</p>
|
115
108
|
<p>Execution example:</p>
|
116
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
109
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create \
|
117
110
|
--name People \
|
118
111
|
--flags TABLE_HASH_KEY \
|
119
112
|
--key_type ShortText
|
@@ -126,14 +119,14 @@ in examples:</p>
|
|
126
119
|
column should be used for storing age into a person record. Because a
|
127
120
|
person record must have only one age.</p>
|
128
121
|
<p>If you want to store multiple values into a record, scalar column
|
129
|
-
isn
|
130
|
-
<p>You must specify <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter to
|
122
|
+
isn’t suitable. Use <a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a> instead.</p>
|
123
|
+
<p>You must specify <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter to
|
131
124
|
create a scalar column.</p>
|
132
|
-
<p>Here is an example to create the <code class="docutils literal"><span class="pre">age</span></code> column to the <code class="docutils literal"><span class="pre">People</span></code>
|
133
|
-
table. <code class="docutils literal"><span class="pre">age</span></code> column is a scalar column. It can store one <code class="docutils literal"><span class="pre">UInt8</span></code>
|
134
|
-
(<code class="docutils literal"><span class="pre">0-255</span></code>) value as its value:</p>
|
125
|
+
<p>Here is an example to create the <code class="docutils literal notranslate"><span class="pre">age</span></code> column to the <code class="docutils literal notranslate"><span class="pre">People</span></code>
|
126
|
+
table. <code class="docutils literal notranslate"><span class="pre">age</span></code> column is a scalar column. It can store one <code class="docutils literal notranslate"><span class="pre">UInt8</span></code>
|
127
|
+
(<code class="docutils literal notranslate"><span class="pre">0-255</span></code>) value as its value:</p>
|
135
128
|
<p>Execution example:</p>
|
136
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
129
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
137
130
|
--table People \
|
138
131
|
--name age \
|
139
132
|
--flags COLUMN_SCALAR \
|
@@ -141,19 +134,19 @@ table. <code class="docutils literal"><span class="pre">age</span></code> column
|
|
141
134
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
142
135
|
</pre></div>
|
143
136
|
</div>
|
144
|
-
<p>You can store one value (<code class="docutils literal"><span class="pre">7</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
|
137
|
+
<p>You can store one value (<code class="docutils literal notranslate"><span class="pre">7</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
|
145
138
|
<p>Execution example:</p>
|
146
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
139
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table People
|
147
140
|
[
|
148
141
|
{"_key": "alice", "age": 7}
|
149
142
|
]
|
150
143
|
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
151
144
|
</pre></div>
|
152
145
|
</div>
|
153
|
-
<p>You can confirm the stored one value (<code class="docutils literal"><span class="pre">7</span></code>) by the following
|
146
|
+
<p>You can confirm the stored one value (<code class="docutils literal notranslate"><span class="pre">7</span></code>) by the following
|
154
147
|
<a class="reference internal" href="select.html"><span class="doc">select</span></a> command:</p>
|
155
148
|
<p>Execution example:</p>
|
156
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
149
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table People
|
157
150
|
# [
|
158
151
|
# [
|
159
152
|
# 0,
|
@@ -195,15 +188,15 @@ table. <code class="docutils literal"><span class="pre">age</span></code> column
|
|
195
188
|
<p>Groonga provides vector column to store multiple values. For example,
|
196
189
|
vector column may be used for storing roles into a person
|
197
190
|
record. Because a person record may have multiple roles.</p>
|
198
|
-
<p>If you want to store only one value into a record, vector column isn
|
191
|
+
<p>If you want to store only one value into a record, vector column isn’t
|
199
192
|
suitable. Use <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a> instead.</p>
|
200
|
-
<p>You must specify <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter to
|
193
|
+
<p>You must specify <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter to
|
201
194
|
create a vector column.</p>
|
202
|
-
<p>Here is an example to create the <code class="docutils literal"><span class="pre">roles</span></code> column to the <code class="docutils literal"><span class="pre">People</span></code>
|
203
|
-
table. <code class="docutils literal"><span class="pre">roles</span></code> column is a vector column. It can store zero or more
|
204
|
-
<code class="docutils literal"><span class="pre">ShortText</span></code> values as its value:</p>
|
195
|
+
<p>Here is an example to create the <code class="docutils literal notranslate"><span class="pre">roles</span></code> column to the <code class="docutils literal notranslate"><span class="pre">People</span></code>
|
196
|
+
table. <code class="docutils literal notranslate"><span class="pre">roles</span></code> column is a vector column. It can store zero or more
|
197
|
+
<code class="docutils literal notranslate"><span class="pre">ShortText</span></code> values as its value:</p>
|
205
198
|
<p>Execution example:</p>
|
206
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
199
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
207
200
|
--table People \
|
208
201
|
--name roles \
|
209
202
|
--flags COLUMN_VECTOR \
|
@@ -211,20 +204,20 @@ table. <code class="docutils literal"><span class="pre">roles</span></code> colu
|
|
211
204
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
212
205
|
</pre></div>
|
213
206
|
</div>
|
214
|
-
<p>You can store multiple values (<code class="docutils literal"><span class="pre">["adventurer",</span> <span class="pre">"younger-sister"]</span></code>)
|
207
|
+
<p>You can store multiple values (<code class="docutils literal notranslate"><span class="pre">["adventurer",</span> <span class="pre">"younger-sister"]</span></code>)
|
215
208
|
by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
|
216
209
|
<p>Execution example:</p>
|
217
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
210
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table People
|
218
211
|
[
|
219
212
|
{"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
220
213
|
]
|
221
214
|
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
222
215
|
</pre></div>
|
223
216
|
</div>
|
224
|
-
<p>You can confirm the stored multiple values (<code class="docutils literal"><span class="pre">["adventurer",</span>
|
217
|
+
<p>You can confirm the stored multiple values (<code class="docutils literal notranslate"><span class="pre">["adventurer",</span>
|
225
218
|
<span class="pre">"younger-sister"]</span></code>) by the following <a class="reference internal" href="select.html"><span class="doc">select</span></a> command:</p>
|
226
219
|
<p>Execution example:</p>
|
227
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
220
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select --table People
|
228
221
|
# [
|
229
222
|
# [
|
230
223
|
# 0,
|
@@ -274,31 +267,31 @@ by the following <a class="reference internal" href="load.html"><span class="doc
|
|
274
267
|
<p>TODO: See also <a class="reference internal" href="../columns/vector.html#weight-vector-column"><span class="std std-ref">Weight vector column</span></a> and <a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a>.</p>
|
275
268
|
</div>
|
276
269
|
<div class="section" id="create-a-column-that-refers-a-table-s-record">
|
277
|
-
<span id="column-create-reference"></span><h3>7.3.11.3.4. Create a column that refers a table
|
270
|
+
<span id="column-create-reference"></span><h3>7.3.11.3.4. Create a column that refers a table’s record<a class="headerlink" href="#create-a-column-that-refers-a-table-s-record" title="Permalink to this headline">¶</a></h3>
|
278
271
|
<p>Both scalar column and vector column can store reference to record of
|
279
|
-
an existing table as column value. It
|
272
|
+
an existing table as column value. It’s useful to store relationship
|
280
273
|
between records.</p>
|
281
274
|
<p>For example, using a column that refers a person record is better for
|
282
275
|
storing a character into a book record. Because one person may be
|
283
276
|
appeared in some books.</p>
|
284
|
-
<p>You must specify table name to be referenced to the <code class="docutils literal"><span class="pre">type</span></code> parameter
|
285
|
-
to create a column that refers a table
|
286
|
-
<p>Here is an example to create the <code class="docutils literal"><span class="pre">character</span></code> column to the <code class="docutils literal"><span class="pre">Books</span></code>
|
287
|
-
table. The <code class="docutils literal"><span class="pre">character</span></code> column refers the <code class="docutils literal"><span class="pre">People</span></code> table. It can
|
288
|
-
store one <code class="docutils literal"><span class="pre">People</span></code> table
|
289
|
-
<p>Here is the <code class="docutils literal"><span class="pre">Books</span></code> table definition:</p>
|
277
|
+
<p>You must specify table name to be referenced to the <code class="docutils literal notranslate"><span class="pre">type</span></code> parameter
|
278
|
+
to create a column that refers a table’s record.</p>
|
279
|
+
<p>Here is an example to create the <code class="docutils literal notranslate"><span class="pre">character</span></code> column to the <code class="docutils literal notranslate"><span class="pre">Books</span></code>
|
280
|
+
table. The <code class="docutils literal notranslate"><span class="pre">character</span></code> column refers the <code class="docutils literal notranslate"><span class="pre">People</span></code> table. It can
|
281
|
+
store one <code class="docutils literal notranslate"><span class="pre">People</span></code> table’s record.</p>
|
282
|
+
<p>Here is the <code class="docutils literal notranslate"><span class="pre">Books</span></code> table definition:</p>
|
290
283
|
<p>Execution example:</p>
|
291
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
284
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create \
|
292
285
|
--name Books \
|
293
286
|
--flags TABLE_HASH_KEY \
|
294
287
|
--key_type ShortText
|
295
288
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
296
289
|
</pre></div>
|
297
290
|
</div>
|
298
|
-
<p>Here is the <code class="docutils literal"><span class="pre">character</span></code> column definition in the <code class="docutils literal"><span class="pre">Books</span></code>
|
299
|
-
table. <code class="docutils literal"><span class="pre">--type</span> <span class="pre">People</span></code> is important:</p>
|
291
|
+
<p>Here is the <code class="docutils literal notranslate"><span class="pre">character</span></code> column definition in the <code class="docutils literal notranslate"><span class="pre">Books</span></code>
|
292
|
+
table. <code class="docutils literal notranslate"><span class="pre">--type</span> <span class="pre">People</span></code> is important:</p>
|
300
293
|
<p>Execution example:</p>
|
301
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
294
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
302
295
|
--table Books \
|
303
296
|
--name character \
|
304
297
|
--flags COLUMN_SCALAR \
|
@@ -306,22 +299,22 @@ table. <code class="docutils literal"><span class="pre">--type</span> <span clas
|
|
306
299
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
307
300
|
</pre></div>
|
308
301
|
</div>
|
309
|
-
<p>You can store one reference (<code class="docutils literal"><span class="pre">"alice"</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a>
|
310
|
-
command. You can use key value (<code class="docutils literal"><span class="pre">People._key</span></code> value) for referring a
|
302
|
+
<p>You can store one reference (<code class="docutils literal notranslate"><span class="pre">"alice"</span></code>) by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a>
|
303
|
+
command. You can use key value (<code class="docutils literal notranslate"><span class="pre">People._key</span></code> value) for referring a
|
311
304
|
record:</p>
|
312
305
|
<p>Execution example:</p>
|
313
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Books
|
306
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>load --table Books
|
314
307
|
[
|
315
308
|
{"_key": "Alice's Adventure in Wonderland", "character": "alice"}
|
316
309
|
]
|
317
310
|
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
318
311
|
</pre></div>
|
319
312
|
</div>
|
320
|
-
<p>You can confirm the stored reference (<code class="docutils literal"><span class="pre">"alice"</span></code> record) by the
|
321
|
-
following <a class="reference internal" href="select.html"><span class="doc">select</span></a> command. It retrieves the <code class="docutils literal"><span class="pre">age</span></code> column and
|
322
|
-
the <code class="docutils literal"><span class="pre">roles</span></code> column values:</p>
|
313
|
+
<p>You can confirm the stored reference (<code class="docutils literal notranslate"><span class="pre">"alice"</span></code> record) by the
|
314
|
+
following <a class="reference internal" href="select.html"><span class="doc">select</span></a> command. It retrieves the <code class="docutils literal notranslate"><span class="pre">age</span></code> column and
|
315
|
+
the <code class="docutils literal notranslate"><span class="pre">roles</span></code> column values:</p>
|
323
316
|
<p>Execution example:</p>
|
324
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>select \
|
317
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select \
|
325
318
|
--table Books \
|
326
319
|
--output_columns _key,character._key,character.age,character.roles
|
327
320
|
# [
|
@@ -370,50 +363,50 @@ the <code class="docutils literal"><span class="pre">roles</span></code> column
|
|
370
363
|
</div>
|
371
364
|
<div class="section" id="create-an-index-column">
|
372
365
|
<span id="column-create-index"></span><h3>7.3.11.3.5. Create an index column<a class="headerlink" href="#create-an-index-column" title="Permalink to this headline">¶</a></h3>
|
373
|
-
<p>Groonga provides index column for fast search. It doesn
|
366
|
+
<p>Groonga provides index column for fast search. It doesn’t store your
|
374
367
|
data. It stores data for fast search.</p>
|
375
|
-
<p>You don
|
368
|
+
<p>You don’t need to update index column by yourself. Index column is
|
376
369
|
updated automatically when you store data into a data column (scalar
|
377
370
|
column or vector column) that is marked as index target column. You
|
378
371
|
can set multiple columns as index target columns to one index column.</p>
|
379
|
-
<p>If Groonga has an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
|
380
|
-
<code class="docutils literal"><span class="pre">People</span></code> table, Groonga can do fast equal search, fast comparison
|
381
|
-
search and fast range search against <code class="docutils literal"><span class="pre">age</span></code> column values.</p>
|
372
|
+
<p>If Groonga has an index column for the <code class="docutils literal notranslate"><span class="pre">age</span></code> column of the
|
373
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> table, Groonga can do fast equal search, fast comparison
|
374
|
+
search and fast range search against <code class="docutils literal notranslate"><span class="pre">age</span></code> column values.</p>
|
382
375
|
<p>You must specify the following parameters to create an index column:</p>
|
383
376
|
<blockquote>
|
384
377
|
<div><ul class="simple">
|
385
|
-
<li>The <code class="docutils literal"><span class="pre">flags</span></code> parameter: <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></li>
|
386
|
-
<li>The <code class="docutils literal"><span class="pre">type</span></code> parameter: The table name of index target column such
|
387
|
-
as <code class="docutils literal"><span class="pre">People</span></code></li>
|
388
|
-
<li>The <code class="docutils literal"><span class="pre">source</span></code> parameter: The index target column name such as
|
389
|
-
<code class="docutils literal"><span class="pre">age</span></code></li>
|
378
|
+
<li><p>The <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter: <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code></p></li>
|
379
|
+
<li><p>The <code class="docutils literal notranslate"><span class="pre">type</span></code> parameter: The table name of index target column such
|
380
|
+
as <code class="docutils literal notranslate"><span class="pre">People</span></code></p></li>
|
381
|
+
<li><p>The <code class="docutils literal notranslate"><span class="pre">source</span></code> parameter: The index target column name such as
|
382
|
+
<code class="docutils literal notranslate"><span class="pre">age</span></code></p></li>
|
390
383
|
</ul>
|
391
384
|
</div></blockquote>
|
392
|
-
<p>You don
|
385
|
+
<p>You don’t need additional flags to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter for equal
|
393
386
|
search, comparison search and range search index column. You need
|
394
|
-
additional flags to the <code class="docutils literal"><span class="pre">flags</span></code> parameter for full text search index
|
387
|
+
additional flags to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter for full text search index
|
395
388
|
column or multiple column index column. See
|
396
389
|
<a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> and
|
397
390
|
<a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a> for details.</p>
|
398
|
-
<p>Here is an example to create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of
|
399
|
-
the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
|
391
|
+
<p>Here is an example to create an index column for the <code class="docutils literal notranslate"><span class="pre">age</span></code> column of
|
392
|
+
the <code class="docutils literal notranslate"><span class="pre">People</span></code> table.</p>
|
400
393
|
<p>First, you need to create a table for range index column. See
|
401
394
|
<a class="reference internal" href="table_create.html#table-create-range-index-table"><span class="std std-ref">Create range index table</span></a> for details. This example
|
402
|
-
creates the <code class="docutils literal"><span class="pre">Ages</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>:</p>
|
395
|
+
creates the <code class="docutils literal notranslate"><span class="pre">Ages</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>:</p>
|
403
396
|
<p>Execution example:</p>
|
404
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
397
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create \
|
405
398
|
--name Ages \
|
406
399
|
--flags TABLE_PAT_KEY \
|
407
400
|
--key_type UInt8
|
408
401
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
409
402
|
</pre></div>
|
410
403
|
</div>
|
411
|
-
<p>Now, you can create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
|
412
|
-
<code class="docutils literal"><span class="pre">People</span></code> table. <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> in the <code class="docutils literal"><span class="pre">flags</span></code> parameter,
|
413
|
-
<code class="docutils literal"><span class="pre">People</span></code> in the <code class="docutils literal"><span class="pre">type</span></code> parameter and <code class="docutils literal"><span class="pre">age</span></code> in the <code class="docutils literal"><span class="pre">source</span></code>
|
404
|
+
<p>Now, you can create an index column for the <code class="docutils literal notranslate"><span class="pre">age</span></code> column of the
|
405
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> table. <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code> in the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter,
|
406
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> in the <code class="docutils literal notranslate"><span class="pre">type</span></code> parameter and <code class="docutils literal notranslate"><span class="pre">age</span></code> in the <code class="docutils literal notranslate"><span class="pre">source</span></code>
|
414
407
|
parameter are important:</p>
|
415
408
|
<p>Execution example:</p>
|
416
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
409
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
417
410
|
--table Ages \
|
418
411
|
--name people_age_index \
|
419
412
|
--flags COLUMN_INDEX \
|
@@ -422,12 +415,12 @@ parameter are important:</p>
|
|
422
415
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
423
416
|
</pre></div>
|
424
417
|
</div>
|
425
|
-
<p>You can confirm that <code class="docutils literal"><span class="pre">age</span> <span class="pre">></span> <span class="pre">5</span></code> is evaluated by the
|
426
|
-
<code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> newly created index column from log. Groonga
|
427
|
-
reports used index columns in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log
|
418
|
+
<p>You can confirm that <code class="docutils literal notranslate"><span class="pre">age</span> <span class="pre">></span> <span class="pre">5</span></code> is evaluated by the
|
419
|
+
<code class="docutils literal notranslate"><span class="pre">Ages.people_age_index</span></code> newly created index column from log. Groonga
|
420
|
+
reports used index columns in <code class="docutils literal notranslate"><span class="pre">info</span></code> log level. You can change log
|
428
421
|
level dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
|
429
422
|
<p>Execution example:</p>
|
430
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
423
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_level --level info
|
431
424
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
432
425
|
select \
|
433
426
|
--table People \
|
@@ -473,35 +466,35 @@ select \
|
|
473
466
|
# ]
|
474
467
|
# ]
|
475
468
|
# ]
|
476
|
-
# log:
|
469
|
+
# log: 2019-04-02 18:35:32.349471|i| [table][select][index][range] <Ages.people_age_index>
|
477
470
|
log_level --level notice
|
478
471
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
479
472
|
</pre></div>
|
480
473
|
</div>
|
481
|
-
<p>You can confirm that the <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> is used from the
|
474
|
+
<p>You can confirm that the <code class="docutils literal notranslate"><span class="pre">Ages.people_age_index</span></code> is used from the
|
482
475
|
following log:</p>
|
483
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[table][select][index][range] <Ages.people_age_index>
|
476
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[table][select][index][range] <Ages.people_age_index>
|
484
477
|
</pre></div>
|
485
478
|
</div>
|
486
|
-
<p>The log says <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> index column is used for range
|
479
|
+
<p>The log says <code class="docutils literal notranslate"><span class="pre">Ages.people_age_index</span></code> index column is used for range
|
487
480
|
search.</p>
|
488
481
|
</div>
|
489
482
|
<div class="section" id="create-an-index-column-for-full-text-search">
|
490
483
|
<span id="column-create-index-full-text-search"></span><h3>7.3.11.3.6. Create an index column for full text search<a class="headerlink" href="#create-an-index-column-for-full-text-search" title="Permalink to this headline">¶</a></h3>
|
491
484
|
<p>There is a difference between for non full text search (equal search,
|
492
485
|
comparison search or range search) index column and for full text
|
493
|
-
search index column. You need to add <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> to the
|
494
|
-
<code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
495
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter. It
|
486
|
+
search index column. You need to add <code class="docutils literal notranslate"><span class="pre">WITH_POSITION</span></code> to the
|
487
|
+
<code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
488
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter. It’s the
|
496
489
|
difference.</p>
|
497
490
|
<p>Here is an example to create a full text search index column for the
|
498
|
-
|
491
|
+
key of the <code class="docutils literal notranslate"><span class="pre">People</span></code> table.</p>
|
499
492
|
<p>First, you need to create a table for full text search index
|
500
493
|
column. See <a class="reference internal" href="table_create.html#table-create-lexicon"><span class="std std-ref">Create lexicon</span></a> for details. This example
|
501
|
-
creates the <code class="docutils literal"><span class="pre">Terms</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> with
|
502
|
-
<a class="reference internal" href="../tokenizers.html#token-bigram"><span class="std std-ref">TokenBigram</span></a> tokenizer and <a class="reference internal" href="../normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer:</p>
|
494
|
+
creates the <code class="docutils literal notranslate"><span class="pre">Terms</span></code> table as <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> with
|
495
|
+
<a class="reference internal" href="../tokenizers/token_bigram.html#token-bigram"><span class="std std-ref">TokenBigram</span></a> tokenizer and <a class="reference internal" href="../normalizers/normalizer_auto.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> normalizer:</p>
|
503
496
|
<p>Execution example:</p>
|
504
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
497
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create \
|
505
498
|
--name Terms \
|
506
499
|
--flags TABLE_PAT_KEY \
|
507
500
|
--key_type ShortText \
|
@@ -510,32 +503,32 @@ creates the <code class="docutils literal"><span class="pre">Terms</span></code>
|
|
510
503
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
511
504
|
</pre></div>
|
512
505
|
</div>
|
513
|
-
<p>Now, you can create a full text search index column for the
|
514
|
-
|
515
|
-
<code class="docutils literal"><span class="pre">
|
516
|
-
<code class="docutils literal
|
506
|
+
<p>Now, you can create a full text search index column for the key of the
|
507
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> table. <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> in the <code class="docutils literal notranslate"><span class="pre">flags</span></code>
|
508
|
+
parameter, <code class="docutils literal notranslate"><span class="pre">People</span></code> in the <code class="docutils literal notranslate"><span class="pre">type</span></code> parameter and <code class="docutils literal notranslate"><span class="pre">_key</span></code> in the
|
509
|
+
<code class="docutils literal notranslate"><span class="pre">source</span></code> parameter are important:</p>
|
517
510
|
<p>Execution example:</p>
|
518
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
511
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
519
512
|
--table Terms \
|
520
|
-
--name
|
513
|
+
--name people_key_index \
|
521
514
|
--flags COLUMN_INDEX|WITH_POSITION \
|
522
515
|
--type People \
|
523
|
-
--source
|
516
|
+
--source _key
|
524
517
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
525
518
|
</pre></div>
|
526
519
|
</div>
|
527
|
-
<p>You can confirm that <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">
|
528
|
-
are evaluated by the <code class="docutils literal"><span class="pre">Terms.
|
520
|
+
<p>You can confirm that <code class="docutils literal notranslate"><span class="pre">--match_columns</span> <span class="pre">_key</span></code> and <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">Alice</span></code>
|
521
|
+
are evaluated by the <code class="docutils literal notranslate"><span class="pre">Terms.people_key_index</span></code> newly created full
|
529
522
|
text search index column from log. Groonga reports used index columns
|
530
|
-
in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log level dynamically by
|
523
|
+
in <code class="docutils literal notranslate"><span class="pre">info</span></code> log level. You can change log level dynamically by
|
531
524
|
<a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
|
532
525
|
<p>Execution example:</p>
|
533
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
526
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_level --level info
|
534
527
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
535
528
|
select \
|
536
529
|
--table People \
|
537
|
-
--match_columns
|
538
|
-
--query
|
530
|
+
--match_columns _key \
|
531
|
+
--query Alice
|
539
532
|
# [
|
540
533
|
# [
|
541
534
|
# 0,
|
@@ -577,23 +570,23 @@ select \
|
|
577
570
|
# ]
|
578
571
|
# ]
|
579
572
|
# ]
|
580
|
-
# log:
|
581
|
-
# log:
|
582
|
-
# log:
|
583
|
-
# log:
|
584
|
-
# log:
|
573
|
+
# log: 2019-04-02 18:35:33.044069|i| [object][search][index][key][exact] <Terms.people_key_index>
|
574
|
+
# log: 2019-04-02 18:35:33.044114|i| grn_ii_sel > (Alice)
|
575
|
+
# log: 2019-04-02 18:35:33.044226|i| n=1 (Alice)
|
576
|
+
# log: 2019-04-02 18:35:33.044305|i| exact: 1
|
577
|
+
# log: 2019-04-02 18:35:33.044318|i| hits=1
|
585
578
|
log_level --level notice
|
586
579
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
587
580
|
</pre></div>
|
588
581
|
</div>
|
589
|
-
<p>You can confirm that the <code class="docutils literal"><span class="pre">Terms.
|
582
|
+
<p>You can confirm that the <code class="docutils literal notranslate"><span class="pre">Terms.people_key_index</span></code> is used from the
|
590
583
|
following log:</p>
|
591
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.
|
584
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.people_key_index>
|
592
585
|
</pre></div>
|
593
586
|
</div>
|
594
|
-
<p>The log says <code class="docutils literal"><span class="pre">Terms.
|
595
|
-
|
596
|
-
|
587
|
+
<p>The log says <code class="docutils literal notranslate"><span class="pre">Terms.people_key_index</span></code> index column is used for full
|
588
|
+
text search. (To be precise, the index column is used for exact term
|
589
|
+
search by inverted index.)</p>
|
597
590
|
</div>
|
598
591
|
<div class="section" id="create-a-multiple-columns-index-column">
|
599
592
|
<span id="column-create-index-multiple-columns"></span><h3>7.3.11.3.7. Create a multiple columns index column<a class="headerlink" href="#create-a-multiple-columns-index-column" title="Permalink to this headline">¶</a></h3>
|
@@ -604,58 +597,67 @@ single column index column only when multiple columns have many same
|
|
604
597
|
tokens. Multiple columns index column may be slower than single column
|
605
598
|
index column. Because multiple columns index column will be a bigger
|
606
599
|
index column.</p>
|
607
|
-
<p>You can
|
600
|
+
<p>You can’t use multiples columns in different tables as index target
|
608
601
|
columns in the same multiple columns index column. You must specify
|
609
602
|
columns in the same tables as index target columns to one multiple
|
610
|
-
columns index column. For example, you can
|
611
|
-
index for <code class="docutils literal"><span class="pre">People._key</span></code> and <code class="docutils literal"><span class="pre">Books._key</span></code> because they are columns
|
603
|
+
columns index column. For example, you can’t create a multiple columns
|
604
|
+
index for <code class="docutils literal notranslate"><span class="pre">People._key</span></code> and <code class="docutils literal notranslate"><span class="pre">Books._key</span></code> because they are columns
|
612
605
|
of different tables. You can create a multiple columns index column
|
613
|
-
for <code class="docutils literal"><span class="pre">People._key</span></code> and <code class="docutils literal"><span class="pre">People.roles</span></code> because they are columns of
|
606
|
+
for <code class="docutils literal notranslate"><span class="pre">People._key</span></code> and <code class="docutils literal notranslate"><span class="pre">People.roles</span></code> because they are columns of
|
614
607
|
the same table.</p>
|
615
608
|
<p>There is a difference between for single column index column and for
|
616
|
-
multiple columns index column. You need to add <code class="docutils literal"><span class="pre">WITH_SECTION</span></code> to the
|
617
|
-
<code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
618
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter. It
|
609
|
+
multiple columns index column. You need to add <code class="docutils literal notranslate"><span class="pre">WITH_SECTION</span></code> to the
|
610
|
+
<code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
611
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_SECTION</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter. It’s the
|
619
612
|
difference.</p>
|
620
613
|
<p>If you want to create a multiple columns index column for full text
|
621
614
|
search, you need to specify
|
622
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code>
|
615
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code>
|
623
616
|
parameter. See <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> for full
|
624
617
|
text search index column details.</p>
|
625
|
-
<p>Here is an example to create a multiple columns
|
626
|
-
|
627
|
-
|
618
|
+
<p>Here is an example to create a multiple columns index column for the
|
619
|
+
key of the <code class="docutils literal notranslate"><span class="pre">People</span></code> table and the <code class="docutils literal notranslate"><span class="pre">roles</span></code> column of the <code class="docutils literal notranslate"><span class="pre">People</span></code>
|
620
|
+
table.</p>
|
628
621
|
<p>There is no difference between index table for single column index
|
629
|
-
column and multiple columns index column
|
630
|
-
<code class="docutils literal"><span class="pre">
|
631
|
-
|
632
|
-
|
633
|
-
the key of the <code class="docutils literal"><span class="pre">People</span></code> table and <code class="docutils literal"><span class="pre">roles</span></code> column of the <code class="docutils literal"><span class="pre">People</span></code>
|
634
|
-
table. <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> in the <code class="docutils literal"><span class="pre">flags</span></code>
|
635
|
-
parameter, <code class="docutils literal"><span class="pre">People</span></code> in the <code class="docutils literal"><span class="pre">type</span></code> parameter and <code class="docutils literal"><span class="pre">_key,roles</span></code> in
|
636
|
-
the <code class="docutils literal"><span class="pre">source</span></code> parameter are important:</p>
|
622
|
+
column and multiple columns index column.</p>
|
623
|
+
<p>In this example, <code class="docutils literal notranslate"><span class="pre">Names</span></code> table is created for equal search and
|
624
|
+
prefix search. It uses <code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code> because <code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code>
|
625
|
+
supports prefix search. See <a class="reference internal" href="../tables.html"><span class="doc">Tables</span></a> for details.</p>
|
637
626
|
<p>Execution example:</p>
|
638
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>
|
639
|
-
--
|
627
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create \
|
628
|
+
--name Names \
|
629
|
+
--flags TABLE_PAT_KEY \
|
630
|
+
--key_type ShortText \
|
631
|
+
--normalizer NormalizerAuto
|
632
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
633
|
+
</pre></div>
|
634
|
+
</div>
|
635
|
+
<p>You can create a multiple columns index column for the key of the
|
636
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> table and <code class="docutils literal notranslate"><span class="pre">roles</span></code> column of the <code class="docutils literal notranslate"><span class="pre">People</span></code>
|
637
|
+
table. <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_SECTION</span></code> in the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter,
|
638
|
+
<code class="docutils literal notranslate"><span class="pre">People</span></code> in the <code class="docutils literal notranslate"><span class="pre">type</span></code> parameter and <code class="docutils literal notranslate"><span class="pre">_key,roles</span></code> in the
|
639
|
+
<code class="docutils literal notranslate"><span class="pre">source</span></code> parameter are important:</p>
|
640
|
+
<p>Execution example:</p>
|
641
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
642
|
+
--table Names \
|
640
643
|
--name people_key_roles_index \
|
641
|
-
--flags COLUMN_INDEX|
|
644
|
+
--flags COLUMN_INDEX|WITH_SECTION \
|
642
645
|
--type People \
|
643
646
|
--source _key,roles
|
644
647
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
645
648
|
</pre></div>
|
646
649
|
</div>
|
647
|
-
<p>You can confirm that <code class="docutils literal"><span class="pre">--
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
650
|
+
<p>You can confirm that <code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'roles</span> <span class="pre">@^</span> <span class="pre">"Younger"</span></code> is evaluated by
|
651
|
+
the <code class="docutils literal notranslate"><span class="pre">Names.people_key_roles_index</span></code> newly created multiple columns
|
652
|
+
index column from log. Groonga reports used index columns in <code class="docutils literal notranslate"><span class="pre">info</span></code>
|
653
|
+
log level. You can change log level dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a>
|
654
|
+
command.</p>
|
652
655
|
<p>Execution example:</p>
|
653
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
656
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>log_level --level info
|
654
657
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
655
658
|
select \
|
656
659
|
--table People \
|
657
|
-
--
|
658
|
-
--query Alice
|
660
|
+
--filter 'roles @^ "Younger"'
|
659
661
|
# [
|
660
662
|
# [
|
661
663
|
# 0,
|
@@ -697,85 +699,80 @@ select \
|
|
697
699
|
# ]
|
698
700
|
# ]
|
699
701
|
# ]
|
700
|
-
# log:
|
701
|
-
# log: 2017-12-27 12:38:46.542078|i| grn_ii_sel > (Alice)
|
702
|
-
# log: 2017-12-27 12:38:46.542094|i| n=1 (Alice)
|
703
|
-
# log: 2017-12-27 12:38:46.542117|i| exact: 1
|
704
|
-
# log: 2017-12-27 12:38:46.542121|i| hits=1
|
702
|
+
# log: 2019-04-02 18:35:33.728665|i| [table][select][index][prefix] <Names.people_key_roles_index>
|
705
703
|
log_level --level notice
|
706
704
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
707
705
|
</pre></div>
|
708
706
|
</div>
|
709
|
-
<p>You can confirm that the <code class="docutils literal"><span class="pre">
|
710
|
-
following log:</p>
|
711
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
707
|
+
<p>You can confirm that the <code class="docutils literal notranslate"><span class="pre">Names.people_key_roles_index</span></code> is used from
|
708
|
+
the following log:</p>
|
709
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[table][select][index][prefix] <Names.people_key_roles_index>
|
712
710
|
</pre></div>
|
713
711
|
</div>
|
714
|
-
<p>The log says <code class="docutils literal"><span class="pre">
|
715
|
-
|
716
|
-
term search by inverted index.)</p>
|
712
|
+
<p>The log says <code class="docutils literal notranslate"><span class="pre">Names.people_key_roles_index</span></code> index column is used for
|
713
|
+
prefix search.</p>
|
717
714
|
</div>
|
718
715
|
<div class="section" id="create-a-small-index-column">
|
719
716
|
<span id="column-create-index-small"></span><h3>7.3.11.3.8. Create a small index column<a class="headerlink" href="#create-a-small-index-column" title="Permalink to this headline">¶</a></h3>
|
720
717
|
<p>If you know index target data are small, you can reduce memory usage
|
721
|
-
for the index column. Memory usage is <code class="docutils literal"><span class="pre">1/256</span></code> of the default index
|
718
|
+
for the index column. Memory usage is <code class="docutils literal notranslate"><span class="pre">1/256</span></code> of the default index
|
722
719
|
column.</p>
|
723
|
-
<p>How many data are small? It depends on data. Small index column can
|
720
|
+
<p>How many data are small? It depends on data. Small index column can’t
|
724
721
|
handle 1 billion records at least. If index target is only one
|
725
|
-
scalar column with no text family type (<code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">Text</span></code> or
|
726
|
-
<code class="docutils literal"><span class="pre">LongText</span></code>), the maximum handleable records are depends of the
|
722
|
+
scalar column with no text family type (<code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">Text</span></code> or
|
723
|
+
<code class="docutils literal notranslate"><span class="pre">LongText</span></code>), the maximum handleable records are depends of the
|
727
724
|
number of kinds of index target data. If index target column has
|
728
|
-
<code class="docutils literal"><span class="pre">1</span></code>, <code class="docutils literal"><span class="pre">1</span></code>, <code class="docutils literal"><span class="pre">2</span></code> and <code class="docutils literal"><span class="pre">3</span></code>, the number of kinds of them are <code class="docutils literal"><span class="pre">3</span></code>
|
729
|
-
(<code class="docutils literal"><span class="pre">1</span></code> and <code class="docutils literal"><span class="pre">2</span></code> and <code class="docutils literal"><span class="pre">3</span></code>). The following table shows the
|
725
|
+
<code class="docutils literal notranslate"><span class="pre">1</span></code>, <code class="docutils literal notranslate"><span class="pre">1</span></code>, <code class="docutils literal notranslate"><span class="pre">2</span></code> and <code class="docutils literal notranslate"><span class="pre">3</span></code>, the number of kinds of them are <code class="docutils literal notranslate"><span class="pre">3</span></code>
|
726
|
+
(<code class="docutils literal notranslate"><span class="pre">1</span></code> and <code class="docutils literal notranslate"><span class="pre">2</span></code> and <code class="docutils literal notranslate"><span class="pre">3</span></code>). The following table shows the
|
730
727
|
relationship between the number of kinds of index target data and the
|
731
728
|
number of handleable records:</p>
|
732
|
-
<table
|
729
|
+
<table class="docutils align-center" id="id1">
|
733
730
|
<caption><span class="caption-text">The number of kinds of index target data and the number of handleable records in a small index column</span><a class="headerlink" href="#id1" title="Permalink to this table">¶</a></caption>
|
734
731
|
<colgroup>
|
735
|
-
<col
|
736
|
-
<col
|
732
|
+
<col style="width: 50%" />
|
733
|
+
<col style="width: 50%" />
|
737
734
|
</colgroup>
|
738
|
-
<thead
|
739
|
-
<tr class="row-odd"><th class="head">The number of kinds of index target data</th>
|
740
|
-
<th class="head">The number of hanleable records</th>
|
735
|
+
<thead>
|
736
|
+
<tr class="row-odd"><th class="head"><p>The number of kinds of index target data</p></th>
|
737
|
+
<th class="head"><p>The number of hanleable records</p></th>
|
741
738
|
</tr>
|
742
739
|
</thead>
|
743
|
-
<tbody
|
744
|
-
<tr class="row-even"><td>1</td>
|
745
|
-
<td>16779234</td>
|
740
|
+
<tbody>
|
741
|
+
<tr class="row-even"><td><p>1</p></td>
|
742
|
+
<td><p>16779234</p></td>
|
746
743
|
</tr>
|
747
|
-
<tr class="row-odd"><td>2</td>
|
748
|
-
<td>4648070</td>
|
744
|
+
<tr class="row-odd"><td><p>2</p></td>
|
745
|
+
<td><p>4648070</p></td>
|
749
746
|
</tr>
|
750
|
-
<tr class="row-even"><td>4</td>
|
751
|
-
<td>7238996</td>
|
747
|
+
<tr class="row-even"><td><p>4</p></td>
|
748
|
+
<td><p>7238996</p></td>
|
752
749
|
</tr>
|
753
|
-
<tr class="row-odd"><td>8</td>
|
754
|
-
<td>8308622</td>
|
750
|
+
<tr class="row-odd"><td><p>8</p></td>
|
751
|
+
<td><p>8308622</p></td>
|
755
752
|
</tr>
|
756
|
-
<tr class="row-even"><td>16</td>
|
757
|
-
<td>11068624</td>
|
753
|
+
<tr class="row-even"><td><p>16</p></td>
|
754
|
+
<td><p>11068624</p></td>
|
758
755
|
</tr>
|
759
|
-
<tr class="row-odd"><td>32</td>
|
760
|
-
<td>12670817</td>
|
756
|
+
<tr class="row-odd"><td><p>32</p></td>
|
757
|
+
<td><p>12670817</p></td>
|
761
758
|
</tr>
|
762
|
-
<tr class="row-even"><td>64</td>
|
763
|
-
<td>18524211</td>
|
759
|
+
<tr class="row-even"><td><p>64</p></td>
|
760
|
+
<td><p>18524211</p></td>
|
764
761
|
</tr>
|
765
|
-
<tr class="row-odd"><td>128</td>
|
766
|
-
<td>38095511</td>
|
762
|
+
<tr class="row-odd"><td><p>128</p></td>
|
763
|
+
<td><p>38095511</p></td>
|
767
764
|
</tr>
|
768
|
-
<tr class="row-even"><td>256</td>
|
769
|
-
<td>51265384</td>
|
765
|
+
<tr class="row-even"><td><p>256</p></td>
|
766
|
+
<td><p>51265384</p></td>
|
770
767
|
</tr>
|
771
768
|
</tbody>
|
772
769
|
</table>
|
773
|
-
<p>You need to add <code class="docutils literal"><span class="pre">INDEX_SMALL</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter such as
|
774
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_SMALL</span></code> to create a small index column.</p>
|
775
|
-
<p>If the <code class="docutils literal"><span class="pre">People</span></code> table has only 1 million records, you can use a
|
776
|
-
small index column for the <code class="docutils literal"><span class="pre">age</span></code> column:</p>
|
770
|
+
<p>You need to add <code class="docutils literal notranslate"><span class="pre">INDEX_SMALL</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter such as
|
771
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|INDEX_SMALL</span></code> to create a small index column.</p>
|
772
|
+
<p>If the <code class="docutils literal notranslate"><span class="pre">People</span></code> table has only 1 million records, you can use a
|
773
|
+
small index column for the <code class="docutils literal notranslate"><span class="pre">age</span></code> column:</p>
|
777
774
|
<p>Execution example:</p>
|
778
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
775
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
779
776
|
--table Ages \
|
780
777
|
--name people_age_small_index \
|
781
778
|
--flags COLUMN_INDEX|INDEX_SMALL \
|
@@ -788,7 +785,7 @@ small index column for the <code class="docutils literal"><span class="pre">age<
|
|
788
785
|
<div class="section" id="create-a-medium-index-column">
|
789
786
|
<span id="column-create-index-medium"></span><h3>7.3.11.3.9. Create a medium index column<a class="headerlink" href="#create-a-medium-index-column" title="Permalink to this headline">¶</a></h3>
|
790
787
|
<p>If you know index target data are medium, you can reduce memory usage
|
791
|
-
for the index column. Memory usage is <code class="docutils literal"><span class="pre">5/24</span></code> of the default index
|
788
|
+
for the index column. Memory usage is <code class="docutils literal notranslate"><span class="pre">5/24</span></code> of the default index
|
792
789
|
column.</p>
|
793
790
|
<p>How many data are medium? It depends on data.</p>
|
794
791
|
<p>If index target is only one scalar column, a medium index column
|
@@ -797,21 +794,21 @@ can handle all records.</p>
|
|
797
794
|
cases:</p>
|
798
795
|
<blockquote>
|
799
796
|
<div><ul class="simple">
|
800
|
-
<li>Index target is one text family (<code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">Text</span></code> or
|
801
|
-
<code class="docutils literal"><span class="pre">LongText</span></code>) scalar column</li>
|
802
|
-
<li>Index target is one vector column</li>
|
803
|
-
<li>Index targets are multiple columns</li>
|
804
|
-
<li>Index table has tokenizer</li>
|
797
|
+
<li><p>Index target is one text family (<code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, <code class="docutils literal notranslate"><span class="pre">Text</span></code> or
|
798
|
+
<code class="docutils literal notranslate"><span class="pre">LongText</span></code>) scalar column</p></li>
|
799
|
+
<li><p>Index target is one vector column</p></li>
|
800
|
+
<li><p>Index targets are multiple columns</p></li>
|
801
|
+
<li><p>Index table has tokenizer</p></li>
|
805
802
|
</ul>
|
806
803
|
</div></blockquote>
|
807
|
-
<p>You need to add <code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code> to the <code class="docutils literal"><span class="pre">flags</span></code> parameter such as
|
808
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_MEDIUM</span></code> to create a medium index column.</p>
|
809
|
-
<p>You can use a medium index column for an index column of the <code class="docutils literal"><span class="pre">age</span></code>
|
810
|
-
column of the <code class="docutils literal"><span class="pre">People</span></code> table safely. Because it
|
811
|
-
with <code class="docutils literal"><span class="pre">UInt8</span></code> type.</p>
|
804
|
+
<p>You need to add <code class="docutils literal notranslate"><span class="pre">INDEX_MEDIUM</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter such as
|
805
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|INDEX_MEDIUM</span></code> to create a medium index column.</p>
|
806
|
+
<p>You can use a medium index column for an index column of the <code class="docutils literal notranslate"><span class="pre">age</span></code>
|
807
|
+
column of the <code class="docutils literal notranslate"><span class="pre">People</span></code> table safely. Because it’s one scalar column
|
808
|
+
with <code class="docutils literal notranslate"><span class="pre">UInt8</span></code> type.</p>
|
812
809
|
<p>Here is an example to create a medium index column:</p>
|
813
810
|
<p>Execution example:</p>
|
814
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
811
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
815
812
|
--table Ages \
|
816
813
|
--name people_age_medium_index \
|
817
814
|
--flags COLUMN_INDEX|INDEX_MEDIUM \
|
@@ -821,6 +818,39 @@ with <code class="docutils literal"><span class="pre">UInt8</span></code> type.<
|
|
821
818
|
</pre></div>
|
822
819
|
</div>
|
823
820
|
</div>
|
821
|
+
<div class="section" id="create-a-large-index-column">
|
822
|
+
<span id="column-create-index-large"></span><h3>7.3.11.3.10. Create a large index column<a class="headerlink" href="#create-a-large-index-column" title="Permalink to this headline">¶</a></h3>
|
823
|
+
<p>If you know index target data are large, you need to use large index
|
824
|
+
column. It uses increases memory usage for the index column but it can
|
825
|
+
accept more data. Memory usage is 2 times larger than the default
|
826
|
+
index column.</p>
|
827
|
+
<p>How many data are large? It depends on data.</p>
|
828
|
+
<p>If index target is only one scalar column, it’s not large data.</p>
|
829
|
+
<p>Large data must have many records (normally at least 10 millions
|
830
|
+
records) and at least one of the following features:</p>
|
831
|
+
<blockquote>
|
832
|
+
<div><ul class="simple">
|
833
|
+
<li><p>Index targets are multiple columns</p></li>
|
834
|
+
<li><p>Index table has tokenizer</p></li>
|
835
|
+
</ul>
|
836
|
+
</div></blockquote>
|
837
|
+
<p>You need to add <code class="docutils literal notranslate"><span class="pre">INDEX_LARGE</span></code> to the <code class="docutils literal notranslate"><span class="pre">flags</span></code> parameter such as
|
838
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|INDEX_LARGE</span></code> to create a large index column.</p>
|
839
|
+
<p>You can use a large index column for an index column of the <code class="docutils literal notranslate"><span class="pre">_key</span></code>
|
840
|
+
of the <code class="docutils literal notranslate"><span class="pre">People</span></code> table and the <code class="docutils literal notranslate"><span class="pre">role</span></code> column of the <code class="docutils literal notranslate"><span class="pre">People</span></code>
|
841
|
+
table.</p>
|
842
|
+
<p>Here is an example to create a large index column:</p>
|
843
|
+
<p>Execution example:</p>
|
844
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create \
|
845
|
+
--table Terms \
|
846
|
+
--name people_roles_large_index \
|
847
|
+
--flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION|INDEX_LARGE \
|
848
|
+
--type People \
|
849
|
+
--source roles
|
850
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
851
|
+
</pre></div>
|
852
|
+
</div>
|
853
|
+
</div>
|
824
854
|
</div>
|
825
855
|
<div class="section" id="parameters">
|
826
856
|
<h2>7.3.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
@@ -829,186 +859,199 @@ with <code class="docutils literal"><span class="pre">UInt8</span></code> type.<
|
|
829
859
|
<h3>7.3.11.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
830
860
|
<p>There are some required parameters.</p>
|
831
861
|
<div class="section" id="table">
|
832
|
-
<span id="column-create-table"></span><h4>7.3.11.4.1.1. <code class="docutils literal"><span class="pre">table</span></code><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
|
862
|
+
<span id="column-create-table"></span><h4>7.3.11.4.1.1. <code class="docutils literal notranslate"><span class="pre">table</span></code><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
|
833
863
|
<p>Specifies an existing table name for the new column.</p>
|
834
864
|
</div>
|
835
865
|
<div class="section" id="name">
|
836
|
-
<span id="column-create-name"></span><h4>7.3.11.4.1.2. <code class="docutils literal"><span class="pre">name</span></code><a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h4>
|
866
|
+
<span id="column-create-name"></span><h4>7.3.11.4.1.2. <code class="docutils literal notranslate"><span class="pre">name</span></code><a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h4>
|
837
867
|
<p>Specifies the column name to be created.</p>
|
838
868
|
<p>The column name must be unique in the same table.</p>
|
839
869
|
<p>Here are available characters:</p>
|
840
870
|
<ul class="simple">
|
841
|
-
<li><code class="docutils literal"><span class="pre">0</span></code> .. <code class="docutils literal"><span class="pre">9</span></code> (digit)</li>
|
842
|
-
<li><code class="docutils literal"><span class="pre">a</span></code> .. <code class="docutils literal"><span class="pre">z</span></code> (alphabet, lower case)</li>
|
843
|
-
<li><code class="docutils literal"><span class="pre">A</span></code> .. <code class="docutils literal"><span class="pre">Z</span></code> (alphabet, upper case)</li>
|
844
|
-
<li><code class="docutils literal"><span class="pre">#</span></code> (hash)</li>
|
845
|
-
<li><code class="docutils literal"><span class="pre">@</span></code> (at mark)</li>
|
846
|
-
<li><code class="docutils literal"><span class="pre">-</span></code> (hyphen)</li>
|
847
|
-
<li><code class="docutils literal"><span class="pre">_</span></code> (underscore) (NOTE: Underscore can
|
848
|
-
character.)</li>
|
871
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">0</span></code> .. <code class="docutils literal notranslate"><span class="pre">9</span></code> (digit)</p></li>
|
872
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">a</span></code> .. <code class="docutils literal notranslate"><span class="pre">z</span></code> (alphabet, lower case)</p></li>
|
873
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">A</span></code> .. <code class="docutils literal notranslate"><span class="pre">Z</span></code> (alphabet, upper case)</p></li>
|
874
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">#</span></code> (hash)</p></li>
|
875
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">@</span></code> (at mark)</p></li>
|
876
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">-</span></code> (hyphen)</p></li>
|
877
|
+
<li><p><code class="docutils literal notranslate"><span class="pre">_</span></code> (underscore) (NOTE: Underscore can’t be used as the first
|
878
|
+
character.)</p></li>
|
849
879
|
</ul>
|
850
880
|
<p>You need to create a name with one or more the above characters. Note
|
851
|
-
that you can
|
881
|
+
that you can’t use <code class="docutils literal notranslate"><span class="pre">_</span></code> as the first character such as <code class="docutils literal notranslate"><span class="pre">_name</span></code>.</p>
|
852
882
|
</div>
|
853
883
|
<div class="section" id="flags">
|
854
|
-
<span id="column-create-flags"></span><h4>7.3.11.4.1.3. <code class="docutils literal"><span class="pre">flags</span></code><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
|
884
|
+
<span id="column-create-flags"></span><h4>7.3.11.4.1.3. <code class="docutils literal notranslate"><span class="pre">flags</span></code><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
|
855
885
|
<p>Specifies the column type and column customize options.</p>
|
856
886
|
<p>Here are available flags:</p>
|
857
|
-
<table
|
887
|
+
<table class="docutils align-center">
|
858
888
|
<colgroup>
|
859
|
-
<col
|
860
|
-
<col
|
889
|
+
<col style="width: 50%" />
|
890
|
+
<col style="width: 50%" />
|
861
891
|
</colgroup>
|
862
|
-
<thead
|
863
|
-
<tr class="row-odd"><th class="head">Flag</th>
|
864
|
-
<th class="head">Description</th>
|
892
|
+
<thead>
|
893
|
+
<tr class="row-odd"><th class="head"><p>Flag</p></th>
|
894
|
+
<th class="head"><p>Description</p></th>
|
865
895
|
</tr>
|
866
896
|
</thead>
|
867
|
-
<tbody
|
868
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code></td>
|
869
|
-
<td>Scalar column. It can store one value. See also
|
897
|
+
<tbody>
|
898
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code></p></td>
|
899
|
+
<td><p>Scalar column. It can store one value. See also
|
870
900
|
<a class="reference internal" href="../columns/scalar.html"><span class="doc">Scalar column</span></a> or
|
871
|
-
<a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a>.</td>
|
901
|
+
<a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a>.</p></td>
|
872
902
|
</tr>
|
873
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></td>
|
874
|
-
<td>Vector column. It can store multiple values. See also
|
903
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code></p></td>
|
904
|
+
<td><p>Vector column. It can store multiple values. See also
|
875
905
|
<a class="reference internal" href="../columns/vector.html"><span class="doc">Vector column</span></a> or
|
876
|
-
<a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a>.</td>
|
906
|
+
<a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a>.</p></td>
|
877
907
|
</tr>
|
878
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></td>
|
879
|
-
<td>Index column. It stores data for fast search. See also
|
908
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code></p></td>
|
909
|
+
<td><p>Index column. It stores data for fast search. See also
|
880
910
|
<a class="reference internal" href="../columns/index.html"><span class="doc">Index column</span></a> or
|
881
|
-
<a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a>.</td>
|
911
|
+
<a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a>.</p></td>
|
882
912
|
</tr>
|
883
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></td>
|
884
|
-
<td><p
|
913
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">COMPRESS_ZLIB</span></code></p></td>
|
914
|
+
<td><p>It enables column value compression by zlib. You need Groonga
|
885
915
|
that enables zlib support.</p>
|
886
916
|
<p>Compression by zlib is higher space efficiency than compression
|
887
917
|
by LZ4. But compression by zlib is slower than compression by
|
888
918
|
LZ4.</p>
|
889
|
-
<p
|
890
|
-
<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
919
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> and
|
920
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
891
921
|
</td>
|
892
922
|
</tr>
|
893
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COMPRESS_LZ4</span></code></td>
|
894
|
-
<td><p
|
923
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">COMPRESS_LZ4</span></code></p></td>
|
924
|
+
<td><p>It enables column value compression by LZ4. You need Groonga
|
895
925
|
that enables LZ4 support.</p>
|
896
926
|
<p>Compression by LZ4 is faster than compression by zlib. But
|
897
927
|
compression by LZ4 is lower space efficiency than compression
|
898
928
|
by zlib.</p>
|
899
|
-
<p
|
900
|
-
<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
929
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> and
|
930
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
901
931
|
</td>
|
902
932
|
</tr>
|
903
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COMPRESS_ZSTD</span></code></td>
|
904
|
-
<td><p
|
933
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">COMPRESS_ZSTD</span></code></p></td>
|
934
|
+
<td><p>It enables column value compression by Zstandard. You need
|
905
935
|
Groonga that enables Zstandard support.</p>
|
906
936
|
<p>Compression by Zstandard is faster than compression by zlib and
|
907
937
|
the same space efficiency as zlib.</p>
|
908
|
-
<p
|
909
|
-
<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
938
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR</span></code> and
|
939
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
910
940
|
</td>
|
911
941
|
</tr>
|
912
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">WITH_SECTION</span></code></td>
|
913
|
-
<td><p
|
942
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">WITH_SECTION</span></code></p></td>
|
943
|
+
<td><p>It enables section support to index column.</p>
|
914
944
|
<p>If section support is enabled, you can support multiple
|
915
945
|
documents in the same index column.</p>
|
916
946
|
<p>You must specify this flag to create a multiple columns index
|
917
947
|
column. See also <a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">Create a multiple columns index column</span></a> for
|
918
948
|
details.</p>
|
919
|
-
<p>Section support requires additional spaces. If you don
|
949
|
+
<p>Section support requires additional spaces. If you don’t need
|
920
950
|
section support, you should not enable section support.</p>
|
921
|
-
<p
|
951
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
922
952
|
</td>
|
923
953
|
</tr>
|
924
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></td>
|
925
|
-
<td><p
|
954
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">WITH_WEIGHT</span></code></p></td>
|
955
|
+
<td><p>It enables weight support to vector column or index column.</p>
|
926
956
|
<p>If weight support is enabled for vector column, you can add
|
927
957
|
weight for each element. If weight support is enabled for index
|
928
958
|
column, you can add weight for each posting. They are useful to
|
929
959
|
compute suitable search score.</p>
|
930
960
|
<p>You must specify this flag to use <a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a>. See
|
931
961
|
also <a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a> for details.</p>
|
932
|
-
<p>Weight support requires additional spaces. If you don
|
962
|
+
<p>Weight support requires additional spaces. If you don’t need
|
933
963
|
weight support, you should not enable weight support.</p>
|
934
|
-
<p
|
935
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
964
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_VECTOR</span></code> or
|
965
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
936
966
|
</td>
|
937
967
|
</tr>
|
938
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">WITH_POSITION</span></code></td>
|
939
|
-
<td><p
|
968
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">WITH_POSITION</span></code></p></td>
|
969
|
+
<td><p>It enables position support to index column. It means that the
|
940
970
|
index column is full inverted index. (Index column is
|
941
971
|
implemented as inverted index.)</p>
|
942
972
|
<p>If position support is enabled, you can add position in the
|
943
|
-
document for each posting. It
|
973
|
+
document for each posting. It’s required for phrase search. It
|
944
974
|
means that index column for full text search must enable
|
945
975
|
position support because most full text search uses phrase
|
946
976
|
search.</p>
|
947
977
|
<p>You must specify this flag to create a full text search index
|
948
978
|
column. See also <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">Create an index column for full text search</span></a> for
|
949
979
|
details.</p>
|
950
|
-
<p>Position support requires additional spaces. If you don
|
980
|
+
<p>Position support requires additional spaces. If you don’t need
|
951
981
|
position support, you should not enable position support.</p>
|
952
|
-
<p
|
982
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
953
983
|
</td>
|
954
984
|
</tr>
|
955
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">INDEX_SMALL</span></code></td>
|
956
|
-
<td><div class="
|
957
|
-
<p><span class="versionmodified">New in version 6.0.8.</span></p>
|
985
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">INDEX_SMALL</span></code></p></td>
|
986
|
+
<td><div class="versionadded">
|
987
|
+
<p><span class="versionmodified added">New in version 6.0.8.</span></p>
|
958
988
|
</div>
|
959
989
|
<p>It requires to create a small index column.</p>
|
960
990
|
<p>If index target data are small, small index column is enough.
|
961
991
|
Small index column uses fewer memory than a normal index column
|
962
992
|
or a medium index column. See also
|
963
|
-
<a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a> for knowing what are
|
964
|
-
data
|
965
|
-
<p
|
993
|
+
<a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a> for knowing what are “small
|
994
|
+
data” and how to use this flag.</p>
|
995
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
966
996
|
</td>
|
967
997
|
</tr>
|
968
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code></td>
|
969
|
-
<td><div class="
|
970
|
-
<p><span class="versionmodified">New in version 6.0.8.</span></p>
|
998
|
+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">INDEX_MEDIUM</span></code></p></td>
|
999
|
+
<td><div class="versionadded">
|
1000
|
+
<p><span class="versionmodified added">New in version 6.0.8.</span></p>
|
971
1001
|
</div>
|
972
1002
|
<p>It requires to create a medium index column.</p>
|
973
1003
|
<p>If index target data are medium, medium index column is enough.
|
974
1004
|
Medium index column uses fewer memory than a normal index
|
975
1005
|
column. See also <a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a> for knowing
|
976
|
-
what are
|
977
|
-
<p
|
1006
|
+
what are “medium data” and how to use this flag.</p>
|
1007
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
1008
|
+
</td>
|
1009
|
+
</tr>
|
1010
|
+
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">INDEX_LARGE</span></code></p></td>
|
1011
|
+
<td><div class="versionadded">
|
1012
|
+
<p><span class="versionmodified added">New in version 9.0.2.</span></p>
|
1013
|
+
</div>
|
1014
|
+
<p>It requires to create a large index column.</p>
|
1015
|
+
<p>If index target data are large, you need to use large index
|
1016
|
+
column. Large index column uses more memory than a normal index
|
1017
|
+
column but accepts more data than a normal index column. See
|
1018
|
+
also <a class="reference internal" href="#column-create-index-large"><span class="std std-ref">Create a large index column</span></a> for knowing what are
|
1019
|
+
“large data” and how to use this flag.</p>
|
1020
|
+
<p>This flag is available only for <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
978
1021
|
</td>
|
979
1022
|
</tr>
|
980
1023
|
</tbody>
|
981
1024
|
</table>
|
982
|
-
<p>You must specify one of <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. You can
|
983
|
-
two or more <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. For example,
|
984
|
-
<code class="docutils literal"><span class="pre">COLUMN_SCALAR|COLUMN_VECTOR</span></code> is invalid.</p>
|
985
|
-
<p>You can combine flags with <code class="docutils literal"><span class="pre">|</span></code> (vertical bar) such as
|
986
|
-
<code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION|WITH_POSITION</span></code>.</p>
|
1025
|
+
<p>You must specify one of <code class="docutils literal notranslate"><span class="pre">COLUMN_${TYPE}</span></code> flags. You can’t specify
|
1026
|
+
two or more <code class="docutils literal notranslate"><span class="pre">COLUMN_${TYPE}</span></code> flags. For example,
|
1027
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_SCALAR|COLUMN_VECTOR</span></code> is invalid.</p>
|
1028
|
+
<p>You can combine flags with <code class="docutils literal notranslate"><span class="pre">|</span></code> (vertical bar) such as
|
1029
|
+
<code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX|WITH_SECTION|WITH_POSITION</span></code>.</p>
|
987
1030
|
</div>
|
988
1031
|
<div class="section" id="type">
|
989
|
-
<span id="column-create-type"></span><h4>7.3.11.4.1.4. <code class="docutils literal"><span class="pre">type</span></code><a class="headerlink" href="#type" title="Permalink to this headline">¶</a></h4>
|
1032
|
+
<span id="column-create-type"></span><h4>7.3.11.4.1.4. <code class="docutils literal notranslate"><span class="pre">type</span></code><a class="headerlink" href="#type" title="Permalink to this headline">¶</a></h4>
|
990
1033
|
<p>Specifies type of the column value.</p>
|
991
1034
|
<p>If the column is scalar column or vector column, here are available
|
992
1035
|
types:</p>
|
993
1036
|
<blockquote>
|
994
1037
|
<div><ul class="simple">
|
995
|
-
<li>Builtin types described in <a class="reference internal" href="../types.html"><span class="doc">Data types</span></a></li>
|
996
|
-
<li>Tables defined by users</li>
|
1038
|
+
<li><p>Builtin types described in <a class="reference internal" href="../types.html"><span class="doc">Data types</span></a></p></li>
|
1039
|
+
<li><p>Tables defined by users</p></li>
|
997
1040
|
</ul>
|
998
1041
|
</div></blockquote>
|
999
1042
|
<p>If the column is index column, here are available types:</p>
|
1000
1043
|
<blockquote>
|
1001
1044
|
<div><ul class="simple">
|
1002
|
-
<li>Tables defined by users</li>
|
1045
|
+
<li><p>Tables defined by users</p></li>
|
1003
1046
|
</ul>
|
1004
1047
|
</div></blockquote>
|
1005
1048
|
<p>See also the followings:</p>
|
1006
1049
|
<blockquote>
|
1007
1050
|
<div><ul class="simple">
|
1008
|
-
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
|
1009
|
-
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
|
1010
|
-
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table
|
1011
|
-
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
|
1051
|
+
<li><p><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></p></li>
|
1052
|
+
<li><p><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></p></li>
|
1053
|
+
<li><p><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table’s record</span></a></p></li>
|
1054
|
+
<li><p><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></p></li>
|
1012
1055
|
</ul>
|
1013
1056
|
</div></blockquote>
|
1014
1057
|
</div>
|
@@ -1017,39 +1060,39 @@ types:</p>
|
|
1017
1060
|
<h3>7.3.11.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
1018
1061
|
<p>There is an optional parameter.</p>
|
1019
1062
|
<div class="section" id="source">
|
1020
|
-
<span id="column-create-source"></span><h4>7.3.11.4.2.1. <code class="docutils literal"><span class="pre">source</span></code><a class="headerlink" href="#source" title="Permalink to this headline">¶</a></h4>
|
1063
|
+
<span id="column-create-source"></span><h4>7.3.11.4.2.1. <code class="docutils literal notranslate"><span class="pre">source</span></code><a class="headerlink" href="#source" title="Permalink to this headline">¶</a></h4>
|
1021
1064
|
<p>Specifies index target columns. You can specify one or more columns to
|
1022
|
-
the <code class="docutils literal"><span class="pre">source</span></code> parameter.</p>
|
1065
|
+
the <code class="docutils literal notranslate"><span class="pre">source</span></code> parameter.</p>
|
1023
1066
|
<p>This parameter is only available for index column.</p>
|
1024
1067
|
<p>You can only specify columns of the table specified as
|
1025
|
-
<a class="reference internal" href="#column-create-type"><span class="std std-ref">type</span></a>. You can also use the <code class="docutils literal"><span class="pre">_key</span></code> pseudo column
|
1068
|
+
<a class="reference internal" href="#column-create-type"><span class="std std-ref">type</span></a>. You can also use the <code class="docutils literal notranslate"><span class="pre">_key</span></code> pseudo column
|
1026
1069
|
for specifying the table key as index target.</p>
|
1027
|
-
<p>If you specify multiple columns to the <code class="docutils literal"><span class="pre">source</span></code> parameter, separate
|
1028
|
-
columns with <code class="docutils literal"><span class="pre">,</span></code> (comma) such as <code class="docutils literal"><span class="pre">_key,roles</span></code>.</p>
|
1070
|
+
<p>If you specify multiple columns to the <code class="docutils literal notranslate"><span class="pre">source</span></code> parameter, separate
|
1071
|
+
columns with <code class="docutils literal notranslate"><span class="pre">,</span></code> (comma) such as <code class="docutils literal notranslate"><span class="pre">_key,roles</span></code>.</p>
|
1029
1072
|
</div>
|
1030
1073
|
</div>
|
1031
1074
|
</div>
|
1032
1075
|
<div class="section" id="return-value">
|
1033
1076
|
<h2>7.3.11.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
1034
|
-
<p><code class="docutils literal"><span class="pre">column_create</span></code> returns <code class="docutils literal"><span class="pre">true</span></code> as body on success such as:</p>
|
1035
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, true]
|
1077
|
+
<p><code class="docutils literal notranslate"><span class="pre">column_create</span></code> returns <code class="docutils literal notranslate"><span class="pre">true</span></code> as body on success such as:</p>
|
1078
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[HEADER, true]
|
1036
1079
|
</pre></div>
|
1037
1080
|
</div>
|
1038
|
-
<p>If <code class="docutils literal"><span class="pre">column_create</span></code> fails, <code class="docutils literal"><span class="pre">column_create</span></code> returns <code class="docutils literal"><span class="pre">false</span></code> as
|
1081
|
+
<p>If <code class="docutils literal notranslate"><span class="pre">column_create</span></code> fails, <code class="docutils literal notranslate"><span class="pre">column_create</span></code> returns <code class="docutils literal notranslate"><span class="pre">false</span></code> as
|
1039
1082
|
body:</p>
|
1040
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, false]
|
1083
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[HEADER, false]
|
1041
1084
|
</pre></div>
|
1042
1085
|
</div>
|
1043
|
-
<p>Error details are in <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
1044
|
-
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
1086
|
+
<p>Error details are in <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
1087
|
+
<p>See <a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a> for <code class="docutils literal notranslate"><span class="pre">HEADER</span></code>.</p>
|
1045
1088
|
</div>
|
1046
1089
|
<div class="section" id="see-also">
|
1047
1090
|
<h2>7.3.11.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
1048
1091
|
<blockquote>
|
1049
1092
|
<div><ul class="simple">
|
1050
|
-
<li><a class="reference internal" href="../column.html"><span class="doc">Column</span></a></li>
|
1051
|
-
<li><a class="reference internal" href="table_create.html"><span class="doc">table_create</span></a></li>
|
1052
|
-
<li><a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a></li>
|
1093
|
+
<li><p><a class="reference internal" href="../column.html"><span class="doc">Column</span></a></p></li>
|
1094
|
+
<li><p><a class="reference internal" href="table_create.html"><span class="doc">table_create</span></a></p></li>
|
1095
|
+
<li><p><a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a></p></li>
|
1053
1096
|
</ul>
|
1054
1097
|
</div></blockquote>
|
1055
1098
|
</div>
|
@@ -1061,33 +1104,34 @@ body:</p>
|
|
1061
1104
|
</div>
|
1062
1105
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
1063
1106
|
<div class="sphinxsidebarwrapper">
|
1064
|
-
<h3><a href="../../index.html">Table
|
1107
|
+
<h3><a href="../../index.html">Table of Contents</a></h3>
|
1065
1108
|
<ul>
|
1066
|
-
<li><a class="reference internal" href="#">7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code></a><ul>
|
1109
|
+
<li><a class="reference internal" href="#">7.3.11. <code class="docutils literal notranslate"><span class="pre">column_create</span></code></a><ul>
|
1067
1110
|
<li><a class="reference internal" href="#summary">7.3.11.1. Summary</a></li>
|
1068
1111
|
<li><a class="reference internal" href="#syntax">7.3.11.2. Syntax</a></li>
|
1069
1112
|
<li><a class="reference internal" href="#usage">7.3.11.3. Usage</a><ul>
|
1070
1113
|
<li><a class="reference internal" href="#create-a-scalar-column">7.3.11.3.1. Create a scalar column</a></li>
|
1071
1114
|
<li><a class="reference internal" href="#create-a-vector-column">7.3.11.3.2. Create a vector column</a></li>
|
1072
1115
|
<li><a class="reference internal" href="#create-a-weight-vector-column">7.3.11.3.3. Create a weight vector column</a></li>
|
1073
|
-
<li><a class="reference internal" href="#create-a-column-that-refers-a-table-s-record">7.3.11.3.4. Create a column that refers a table
|
1116
|
+
<li><a class="reference internal" href="#create-a-column-that-refers-a-table-s-record">7.3.11.3.4. Create a column that refers a table’s record</a></li>
|
1074
1117
|
<li><a class="reference internal" href="#create-an-index-column">7.3.11.3.5. Create an index column</a></li>
|
1075
1118
|
<li><a class="reference internal" href="#create-an-index-column-for-full-text-search">7.3.11.3.6. Create an index column for full text search</a></li>
|
1076
1119
|
<li><a class="reference internal" href="#create-a-multiple-columns-index-column">7.3.11.3.7. Create a multiple columns index column</a></li>
|
1077
1120
|
<li><a class="reference internal" href="#create-a-small-index-column">7.3.11.3.8. Create a small index column</a></li>
|
1078
1121
|
<li><a class="reference internal" href="#create-a-medium-index-column">7.3.11.3.9. Create a medium index column</a></li>
|
1122
|
+
<li><a class="reference internal" href="#create-a-large-index-column">7.3.11.3.10. Create a large index column</a></li>
|
1079
1123
|
</ul>
|
1080
1124
|
</li>
|
1081
1125
|
<li><a class="reference internal" href="#parameters">7.3.11.4. Parameters</a><ul>
|
1082
1126
|
<li><a class="reference internal" href="#required-parameters">7.3.11.4.1. Required parameters</a><ul>
|
1083
|
-
<li><a class="reference internal" href="#table">7.3.11.4.1.1. <code class="docutils literal"><span class="pre">table</span></code></a></li>
|
1084
|
-
<li><a class="reference internal" href="#name">7.3.11.4.1.2. <code class="docutils literal"><span class="pre">name</span></code></a></li>
|
1085
|
-
<li><a class="reference internal" href="#flags">7.3.11.4.1.3. <code class="docutils literal"><span class="pre">flags</span></code></a></li>
|
1086
|
-
<li><a class="reference internal" href="#type">7.3.11.4.1.4. <code class="docutils literal"><span class="pre">type</span></code></a></li>
|
1127
|
+
<li><a class="reference internal" href="#table">7.3.11.4.1.1. <code class="docutils literal notranslate"><span class="pre">table</span></code></a></li>
|
1128
|
+
<li><a class="reference internal" href="#name">7.3.11.4.1.2. <code class="docutils literal notranslate"><span class="pre">name</span></code></a></li>
|
1129
|
+
<li><a class="reference internal" href="#flags">7.3.11.4.1.3. <code class="docutils literal notranslate"><span class="pre">flags</span></code></a></li>
|
1130
|
+
<li><a class="reference internal" href="#type">7.3.11.4.1.4. <code class="docutils literal notranslate"><span class="pre">type</span></code></a></li>
|
1087
1131
|
</ul>
|
1088
1132
|
</li>
|
1089
1133
|
<li><a class="reference internal" href="#optional-parameters">7.3.11.4.2. Optional parameters</a><ul>
|
1090
|
-
<li><a class="reference internal" href="#source">7.3.11.4.2.1. <code class="docutils literal"><span class="pre">source</span></code></a></li>
|
1134
|
+
<li><a class="reference internal" href="#source">7.3.11.4.2.1. <code class="docutils literal notranslate"><span class="pre">source</span></code></a></li>
|
1091
1135
|
</ul>
|
1092
1136
|
</li>
|
1093
1137
|
</ul>
|
@@ -1100,18 +1144,18 @@ body:</p>
|
|
1100
1144
|
|
1101
1145
|
<h4>Previous topic</h4>
|
1102
1146
|
<p class="topless"><a href="column_copy.html"
|
1103
|
-
title="previous chapter">7.3.10. <code class="docutils literal"><span class="pre">column_copy</span></code></a></p>
|
1147
|
+
title="previous chapter">7.3.10. <code class="docutils literal notranslate"><span class="pre">column_copy</span></code></a></p>
|
1104
1148
|
<h4>Next topic</h4>
|
1105
1149
|
<p class="topless"><a href="column_list.html"
|
1106
|
-
title="next chapter">7.3.12. <code class="docutils literal"><span class="pre">column_list</span></code></a></p>
|
1150
|
+
title="next chapter">7.3.12. <code class="docutils literal notranslate"><span class="pre">column_list</span></code></a></p>
|
1107
1151
|
<div id="searchbox" style="display: none" role="search">
|
1108
1152
|
<h3>Quick search</h3>
|
1153
|
+
<div class="searchformwrapper">
|
1109
1154
|
<form class="search" action="../../search.html" method="get">
|
1110
|
-
<
|
1111
|
-
<
|
1112
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
1113
|
-
<input type="hidden" name="area" value="default" />
|
1155
|
+
<input type="text" name="q" />
|
1156
|
+
<input type="submit" value="Go" />
|
1114
1157
|
</form>
|
1158
|
+
</div>
|
1115
1159
|
</div>
|
1116
1160
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1117
1161
|
</div>
|
@@ -1130,13 +1174,13 @@ body:</p>
|
|
1130
1174
|
<li class="right" >
|
1131
1175
|
<a href="column_copy.html" title="7.3.10. column_copy"
|
1132
1176
|
>previous</a> |</li>
|
1133
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
1177
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2 documentation</a> »</li>
|
1134
1178
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1135
1179
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
1136
1180
|
</ul>
|
1137
1181
|
</div>
|
1138
1182
|
<div class="footer" role="contentinfo">
|
1139
|
-
© Copyright 2009-
|
1183
|
+
© Copyright 2009-2019, Brazil, Inc.
|
1140
1184
|
</div>
|
1141
1185
|
</body>
|
1142
1186
|
</html>
|