rroonga 6.0.9-x86-mingw32 → 6.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +8 -0
- data/ext/groonga/rb-grn-index-column.c +54 -0
- data/ext/groonga/rb-grn-object.c +4 -0
- data/ext/groonga/rb-grn-table.c +18 -0
- data/ext/groonga/rb-grn.h +2 -2
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga/dumper.rb +8 -1
- data/lib/groonga/schema.rb +2 -1
- data/rroonga-build.rb +2 -2
- data/test/test-index-column.rb +124 -1
- data/test/test-schema-dumper.rb +82 -4
- 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/libonig-5.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 +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- 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/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/logical_table_remove.rb +9 -4
- 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/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.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/command_line/grndb.rb +1 -0
- 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 +0 -0
- data/vendor/local/lib/libmecab.a +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/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +1 -1
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +61 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +741 -42
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +47 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +7 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/development.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/genindex.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/index.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/others.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/limitations.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +128 -72
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +983 -66
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +66 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/search.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/package.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +61 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +741 -42
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +47 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +7 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/development.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +130 -72
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +823 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +11 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/search.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/spec.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -8
- data/vendor/local/share/groonga/html/admin/index.html +3 -3
- data/vendor/local/share/groonga/html/admin/scripts/{scripts.a1c295fa.js → scripts.d3e19381.js} +207 -148
- data/vendor/local/share/groonga/html/admin/scripts/{vendor.2c228d46.js → vendor.6c1a277a.js} +3854 -2816
- data/vendor/local/share/groonga/html/admin/styles/{main.d9de008c.css → main.db676f1c.css} +156 -137
- metadata +62 -129
- data/vendor/local/etc/groonga/httpd/fastcgi.conf +0 -26
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +0 -26
- data/vendor/local/etc/groonga/httpd/fastcgi_params +0 -25
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +0 -25
- data/vendor/local/etc/groonga/httpd/html/50x.html +0 -21
- data/vendor/local/etc/groonga/httpd/html/index.html +0 -25
- data/vendor/local/etc/groonga/httpd/koi-utf +0 -109
- data/vendor/local/etc/groonga/httpd/koi-win +0 -103
- data/vendor/local/etc/groonga/httpd/mime.types +0 -89
- data/vendor/local/etc/groonga/httpd/mime.types.default +0 -89
- data/vendor/local/etc/groonga/httpd/nginx.conf.default +0 -117
- data/vendor/local/etc/groonga/httpd/scgi_params +0 -17
- data/vendor/local/etc/groonga/httpd/scgi_params.default +0 -17
- data/vendor/local/etc/groonga/httpd/uwsgi_params +0 -17
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +0 -17
- data/vendor/local/etc/groonga/httpd/win-utf +0 -126
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.svg +0 -118
- data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.svg +0 -97
- data/vendor/local/share/groonga/images/logo/groonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.svg +0 -108
- data/vendor/local/share/groonga/images/logo/groonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-logo.svg +0 -118
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.svg +0 -170
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.svg +0 -186
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.svg +0 -183
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.svg +0 -179
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.svg +0 -201
- data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.svg +0 -97
- data/vendor/local/share/groonga/images/logo/mroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/mroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-logo.svg +0 -106
- data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.svg +0 -107
- data/vendor/local/share/groonga/images/logo/nroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/nroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-logo.svg +0 -117
- data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.svg +0 -107
- data/vendor/local/share/groonga/images/logo/rroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/rroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-logo.svg +0 -117
@@ -7,6 +7,65 @@
|
|
7
7
|
News
|
8
8
|
====
|
9
9
|
|
10
|
+
.. _release-6-1-0:
|
11
|
+
|
12
|
+
Release 6.1.0 - 2016-10-29
|
13
|
+
--------------------------
|
14
|
+
|
15
|
+
Improvements
|
16
|
+
^^^^^^^^^^^^
|
17
|
+
|
18
|
+
* [:doc:`/reference/commands/dump`] Supported to sort load table names by key instead of ID to make output stable. This is incompatible change but it makes easy to compare result of dump command.
|
19
|
+
|
20
|
+
* [:doc:`/reference/commands/table_create`][:doc:`/reference/commands/column_create`]
|
21
|
+
Revised outdated descriptions with execution examples. English
|
22
|
+
documentation is also published and section about small/medium index
|
23
|
+
column is also added.
|
24
|
+
|
25
|
+
* [experimental][httpd] Supported mruby to customize configuration
|
26
|
+
settings in groonga-httpd.conf.
|
27
|
+
|
28
|
+
* [windows] Updated bundled Groonga Admin to 0.9.5. It is recommended
|
29
|
+
to upgrade because amount of memory usage is drastically
|
30
|
+
reduced. Note that this version drops Groonga 5.0.8 or earlier
|
31
|
+
support.
|
32
|
+
|
33
|
+
* Added log token and token ID on error. [Gitter:groonga/ja:58043f77614116a2568d529c]
|
34
|
+
[Suggested by torinky]
|
35
|
+
|
36
|
+
* [:doc:`/reference/tables`] Updated description about the max record ID.
|
37
|
+
|
38
|
+
* [mruby] Suppported to convert time of ``mrb_value`` to ``grn_bulk``.
|
39
|
+
[GitHub:#607] [Patch by Naoya Murakami]
|
40
|
+
|
41
|
+
* [ubuntu] Supported Ubuntu 16.10 (Yakkety Yak)
|
42
|
+
|
43
|
+
* [httpd] Updated bundled nginx to 1.11.5.
|
44
|
+
|
45
|
+
Fixes
|
46
|
+
^^^^^
|
47
|
+
|
48
|
+
* Fixed a bug that table of index column was reported in log instead of
|
49
|
+
correct index column.
|
50
|
+
|
51
|
+
* Fixed a bug that unexpected "invalid cursor error" is recorded in
|
52
|
+
log file. [Gitter:groonga/ja:57f2ff87d45d7f0f525e2216] [Reported by
|
53
|
+
torinky]
|
54
|
+
|
55
|
+
* Fixed a memory leak on static index construction.
|
56
|
+
|
57
|
+
* [hash] Fixed a memory leak for many token filters are set case.
|
58
|
+
|
59
|
+
* [:doc:`/reference/commands/select`] Fixed a bug that wrong column
|
60
|
+
name that starts with number in output_columns is not ignored. It
|
61
|
+
caused a syntax error.
|
62
|
+
|
63
|
+
Thanks
|
64
|
+
^^^^^^
|
65
|
+
|
66
|
+
* torinky
|
67
|
+
* Naoya Murakami
|
68
|
+
|
10
69
|
.. _release-6-0-9:
|
11
70
|
|
12
71
|
Release 6.0.9 - 2016-09-29
|
@@ -50,7 +109,7 @@ Fixes
|
|
50
109
|
|
51
110
|
* [doc] Fixed a missing entry in Groonga 6.0.2 news that sequential
|
52
111
|
search is also executed as a fallback for :doc:`/reference/functions/geo_in_circle` [Reported by Gurunavi,
|
53
|
-
Inc]
|
112
|
+
Inc.]
|
54
113
|
|
55
114
|
* [:doc:`/reference/commands/table_create`] Fixed a bug that
|
56
115
|
``table_create`` command accepts no key type for ``TABLE_PAT_KEY``,
|
@@ -68,7 +127,7 @@ Thanks
|
|
68
127
|
|
69
128
|
* Brad Smith
|
70
129
|
* Kazuhiko
|
71
|
-
* Gurunavi, Inc
|
130
|
+
* Gurunavi, Inc.
|
72
131
|
|
73
132
|
.. _release-6-0-8:
|
74
133
|
|
@@ -2,100 +2,799 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_column_create
|
7
|
+
|
5
8
|
``column_create``
|
6
9
|
=================
|
7
10
|
|
8
11
|
Summary
|
9
12
|
-------
|
10
13
|
|
11
|
-
column_create
|
14
|
+
``column_create`` creates a new column in a table.
|
12
15
|
|
13
|
-
|
16
|
+
You need to create one or more columns to store multiple data in one
|
17
|
+
record.
|
14
18
|
|
15
|
-
|
19
|
+
Groonga provides an index as a column. It's different from other
|
20
|
+
systems. An index is just an index in other systems. Implementing an
|
21
|
+
index as a column provides flexibility. For example, you can add
|
22
|
+
metadata to each token.
|
16
23
|
|
24
|
+
See :doc:`/reference/column` for column details.
|
17
25
|
|
18
26
|
Syntax
|
19
27
|
------
|
20
|
-
::
|
21
28
|
|
22
|
-
|
29
|
+
This command takes many parameters.
|
30
|
+
|
31
|
+
Most parameters are required::
|
32
|
+
|
33
|
+
column_create table
|
34
|
+
name
|
35
|
+
flags
|
36
|
+
type
|
37
|
+
[source=null]
|
23
38
|
|
24
39
|
Usage
|
25
40
|
-----
|
26
41
|
|
27
|
-
|
42
|
+
This section describes about the followings:
|
43
|
+
|
44
|
+
* :ref:`column-create-scalar`
|
45
|
+
* :ref:`column-create-vector`
|
46
|
+
* :ref:`column-create-vector-weight`
|
47
|
+
* :ref:`column-create-reference`
|
48
|
+
* :ref:`column-create-index`
|
49
|
+
* :ref:`column-create-index-full-text-search`
|
50
|
+
* :ref:`column-create-index-multiple-columns`
|
51
|
+
* :ref:`column-create-index-small`
|
52
|
+
* :ref:`column-create-index-medium`
|
53
|
+
|
54
|
+
Here is the ``People`` table definition. The ``People`` table is used
|
55
|
+
in examples:
|
56
|
+
|
57
|
+
.. groonga-command
|
58
|
+
.. include:: ../../example/reference/commands/column_create/usage_table.log
|
59
|
+
.. table_create \
|
60
|
+
.. --name People \
|
61
|
+
.. --flags TABLE_HASH_KEY \
|
62
|
+
.. --key_type ShortText
|
63
|
+
|
64
|
+
.. _column-create-scalar:
|
65
|
+
|
66
|
+
Create a scalar column
|
67
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
68
|
+
|
69
|
+
Groonga provides scalar column to store one value. For example, scalar
|
70
|
+
column should be used for storing age into a person record. Because a
|
71
|
+
person record must have only one age.
|
72
|
+
|
73
|
+
If you want to store multiple values into a record, scalar column
|
74
|
+
isn't suitable. Use :ref:`column-create-vector` instead.
|
75
|
+
|
76
|
+
You must specify ``COLUMN_SCALAR`` to the ``flags`` parameter to
|
77
|
+
create a scalar column.
|
78
|
+
|
79
|
+
Here is an example to create the ``age`` column to the ``People``
|
80
|
+
table. ``age`` column is a scalar column. It can store one ``UInt8``
|
81
|
+
(``0-255``) value as its value:
|
82
|
+
|
83
|
+
.. groonga-command
|
84
|
+
.. include:: ../../example/reference/commands/column_create/usage_scalar_create.log
|
85
|
+
.. column_create \
|
86
|
+
.. --table People \
|
87
|
+
.. --name age \
|
88
|
+
.. --flags COLUMN_SCALAR \
|
89
|
+
.. --type UInt8
|
90
|
+
|
91
|
+
You can store one value (``7``) by the following :doc:`load` command:
|
92
|
+
|
93
|
+
.. groonga-command
|
94
|
+
.. include:: ../../example/reference/commands/column_create/usage_scalar_load.log
|
95
|
+
.. load --table People
|
96
|
+
.. [
|
97
|
+
.. {"_key": "alice", "age": 7}
|
98
|
+
.. ]
|
99
|
+
|
100
|
+
You can confirm the stored one value (``7``) by the following
|
101
|
+
:doc:`select` command:
|
102
|
+
|
103
|
+
.. groonga-command
|
104
|
+
.. include:: ../../example/reference/commands/column_create/usage_scalar_select.log
|
105
|
+
.. select --table People
|
106
|
+
|
107
|
+
.. _column-create-vector:
|
108
|
+
|
109
|
+
Create a vector column
|
110
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
111
|
+
|
112
|
+
Groonga provides vector column to store multiple values. For example,
|
113
|
+
vector column may be used for storing roles into a person
|
114
|
+
record. Because a person record may have multiple roles.
|
115
|
+
|
116
|
+
If you want to store only one value into a record, vector column isn't
|
117
|
+
suitable. Use :ref:`column-create-scalar` instead.
|
118
|
+
|
119
|
+
You must specify ``COLUMN_VECTOR`` to the ``flags`` parameter to
|
120
|
+
create a vector column.
|
121
|
+
|
122
|
+
Here is an example to create the ``roles`` column to the ``People``
|
123
|
+
table. ``roles`` column is a vector column. It can store zero or more
|
124
|
+
``ShortText`` values as its value:
|
28
125
|
|
29
|
-
|
30
|
-
|
126
|
+
.. groonga-command
|
127
|
+
.. include:: ../../example/reference/commands/column_create/usage_vector_create.log
|
128
|
+
.. column_create \
|
129
|
+
.. --table People \
|
130
|
+
.. --name roles \
|
131
|
+
.. --flags COLUMN_VECTOR \
|
132
|
+
.. --type ShortText
|
31
133
|
|
32
|
-
|
134
|
+
You can store multiple values (``["adventurer", "younger-sister"]``)
|
135
|
+
by the following :doc:`load` command:
|
33
136
|
|
34
|
-
|
35
|
-
|
137
|
+
.. groonga-command
|
138
|
+
.. include:: ../../example/reference/commands/column_create/usage_scalar_load.log
|
139
|
+
.. load --table People
|
140
|
+
.. [
|
141
|
+
.. {"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
142
|
+
.. ]
|
143
|
+
|
144
|
+
You can confirm the stored multiple values (``["adventurer",
|
145
|
+
"younger-sister"]``) by the following :doc:`select` command:
|
146
|
+
|
147
|
+
.. groonga-command
|
148
|
+
.. include:: ../../example/reference/commands/column_create/usage_vector_select.log
|
149
|
+
.. select --table People
|
150
|
+
|
151
|
+
.. _column-create-vector-weight:
|
152
|
+
|
153
|
+
Create a weight vector column
|
154
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
155
|
+
|
156
|
+
TODO: See also :ref:`weight-vector-column` and :ref:`select-adjuster`.
|
157
|
+
|
158
|
+
.. _column-create-reference:
|
159
|
+
|
160
|
+
Create a column that refers a table's record
|
161
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
162
|
+
|
163
|
+
Both scalar column and vector column can store reference to record of
|
164
|
+
an existing table as column value. It's useful to store relationship
|
165
|
+
between records.
|
166
|
+
|
167
|
+
For example, using a column that refers a person record is better for
|
168
|
+
storing a character into a book record. Because one person may be
|
169
|
+
appeared in some books.
|
170
|
+
|
171
|
+
You must specify table name to be referenced to the ``type`` parameter
|
172
|
+
to create a column that refers a table's record.
|
173
|
+
|
174
|
+
Here is an example to create the ``character`` column to the ``Books``
|
175
|
+
table. The ``character`` column refers the ``People`` table. It can
|
176
|
+
store one ``People`` table's record.
|
177
|
+
|
178
|
+
Here is the ``Books`` table definition:
|
179
|
+
|
180
|
+
.. groonga-command
|
181
|
+
.. include:: ../../example/reference/commands/column_create/usage_reference_create_table.log
|
182
|
+
.. table_create \
|
183
|
+
.. --name Books \
|
184
|
+
.. --flags TABLE_HASH_KEY \
|
185
|
+
.. --key_type ShortText
|
186
|
+
|
187
|
+
Here is the ``character`` column definition in the ``Books``
|
188
|
+
table. ``--type People`` is important:
|
189
|
+
|
190
|
+
.. groonga-command
|
191
|
+
.. include:: ../../example/reference/commands/column_create/usage_reference_create_column.log
|
192
|
+
.. column_create \
|
193
|
+
.. --table Books \
|
194
|
+
.. --name character \
|
195
|
+
.. --flags COLUMN_SCALAR \
|
196
|
+
.. --type People
|
197
|
+
|
198
|
+
You can store one reference (``"alice"``) by the following :doc:`load`
|
199
|
+
command. You can use key value (``People._key`` value) for referring a
|
200
|
+
record:
|
201
|
+
|
202
|
+
.. groonga-command
|
203
|
+
.. include:: ../../example/reference/commands/column_create/usage_reference_load.log
|
204
|
+
.. load --table Books
|
205
|
+
.. [
|
206
|
+
.. {"_key": "Alice's Adventure in Wonderland", "character": "alice"}
|
207
|
+
.. ]
|
208
|
+
|
209
|
+
You can confirm the stored reference (``"alice"`` record) by the
|
210
|
+
following :doc:`select` command. It retrieves the ``age`` column and
|
211
|
+
the ``roles`` column values:
|
212
|
+
|
213
|
+
.. groonga-command
|
214
|
+
.. include:: ../../example/reference/commands/column_create/usage_reference_select.log
|
215
|
+
.. select \
|
216
|
+
.. --table Books \
|
217
|
+
.. --output_columns _key,character._key,character.age,character.roles
|
218
|
+
|
219
|
+
.. _column-create-index:
|
220
|
+
|
221
|
+
Create an index column
|
222
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
223
|
+
|
224
|
+
Groonga provides index column for fast search. It doesn't store your
|
225
|
+
data. It stores data for fast search.
|
226
|
+
|
227
|
+
You don't need to update index column by yourself. Index column is
|
228
|
+
updated automatically when you store data into a data column (scalar
|
229
|
+
column or vector column) that is marked as index target column. You
|
230
|
+
can set multiple columns as index target columns to one index column.
|
231
|
+
|
232
|
+
If Groonga has an index column for the ``age`` column of the
|
233
|
+
``People`` table, Groonga can do fast equal search, fast comparison
|
234
|
+
search and fast range search against ``age`` column values.
|
235
|
+
|
236
|
+
You must specify the following parameters to create an index column:
|
237
|
+
|
238
|
+
* The ``flags`` parameter: ``COLUMN_INDEX``
|
239
|
+
|
240
|
+
* The ``type`` parameter: The table name of index target column such
|
241
|
+
as ``People``
|
242
|
+
|
243
|
+
* The ``source`` parameter: The index target column name such as
|
244
|
+
``age``
|
245
|
+
|
246
|
+
You don't need additional flags to the ``flags`` parameter for equal
|
247
|
+
search, comparison search and range search index column. You need
|
248
|
+
additional flags to the ``flags`` parameter for full text search index
|
249
|
+
column or multiple column index column. See
|
250
|
+
:ref:`column-create-index-full-text-search` and
|
251
|
+
:ref:`column-create-index-multiple-columns` for details.
|
252
|
+
|
253
|
+
Here is an example to create an index column for the ``age`` column of
|
254
|
+
the ``People`` table.
|
255
|
+
|
256
|
+
First, you need to create a table for range index column. See
|
257
|
+
:ref:`table-create-range-index-table` for details. This example
|
258
|
+
creates the ``Ages`` table as :ref:`table-pat-key`:
|
259
|
+
|
260
|
+
.. groonga-command
|
261
|
+
.. include:: ../../example/reference/commands/column_create/usage_index_create_table.log
|
262
|
+
.. table_create \
|
263
|
+
.. --name Ages \
|
264
|
+
.. --flags TABLE_PAT_KEY \
|
265
|
+
.. --key_type UInt8
|
266
|
+
|
267
|
+
Now, you can create an index column for the ``age`` column of the
|
268
|
+
``People`` table. ``COLUMN_INDEX`` in the ``flags`` parameter,
|
269
|
+
``People`` in the ``type`` parameter and ``age`` in the ``source``
|
270
|
+
parameter are important:
|
271
|
+
|
272
|
+
.. groonga-command
|
273
|
+
.. include:: ../../example/reference/commands/column_create/usage_index_create_column.log
|
274
|
+
.. column_create \
|
275
|
+
.. --table Ages \
|
276
|
+
.. --name people_age_index \
|
277
|
+
.. --flags COLUMN_INDEX \
|
278
|
+
.. --type People \
|
279
|
+
.. --source age
|
280
|
+
|
281
|
+
You can confirm that ``age > 5`` is evaluated by the
|
282
|
+
``Ages.people_age_index`` newly created index column from log. Groonga
|
283
|
+
reports used index columns in ``info`` log level. You can change log
|
284
|
+
level dynamically by :doc:`log_level` command.
|
285
|
+
|
286
|
+
.. groonga-command
|
287
|
+
.. log: true
|
288
|
+
.. include:: ../../example/reference/commands/column_create/usage_index_select.log
|
289
|
+
.. log_level --level info
|
290
|
+
.. select \
|
291
|
+
.. --table People \
|
292
|
+
.. --filter 'age > 5'
|
293
|
+
.. log_level --level notice
|
294
|
+
.. log: false
|
295
|
+
|
296
|
+
You can confirm that the ``Ages.people_age_index`` is used from the
|
297
|
+
following log::
|
298
|
+
|
299
|
+
[table][select][index][range] <Ages.people_age_index>
|
300
|
+
|
301
|
+
The log says ``Ages.people_age_index`` index column is used for range
|
302
|
+
search.
|
303
|
+
|
304
|
+
.. _column-create-index-full-text-search:
|
305
|
+
|
306
|
+
Create an index column for full text search
|
307
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
308
|
+
|
309
|
+
There is a difference between for non full text search (equal search,
|
310
|
+
comparison search or range search) index column and for full text
|
311
|
+
search index column. You need to add ``WITH_POSITION`` to the
|
312
|
+
``flags`` parameter. It means that you need to specify
|
313
|
+
``COLUMN_INDEX|WITH_POSITION`` to the ``flags`` parameter. It's the
|
314
|
+
difference.
|
315
|
+
|
316
|
+
Here is an example to create a full text search index column for the
|
317
|
+
``roles`` column of the ``People`` table.
|
318
|
+
|
319
|
+
First, you need to create a table for full text search index
|
320
|
+
column. See :ref:`table-create-lexicon` for details. This example
|
321
|
+
creates the ``Terms`` table as :ref:`table-pat-key` with
|
322
|
+
:ref:`token-bigram` tokenizer and :ref:`normalizer-auto` normalizer:
|
323
|
+
|
324
|
+
.. groonga-command
|
325
|
+
.. include:: ../../example/reference/commands/column_create/usage_full_text_search_index_create_table.log
|
326
|
+
.. table_create \
|
327
|
+
.. --name Terms \
|
328
|
+
.. --flags TABLE_PAT_KEY \
|
329
|
+
.. --key_type ShortText \
|
330
|
+
.. --default_tokenizer TokenBigram \
|
331
|
+
.. --normalizer NormalizerAuto
|
332
|
+
|
333
|
+
Now, you can create a full text search index column for the ``roles``
|
334
|
+
column of the ``People`` table. ``COLUMN_INDEX|WITH_POSITION`` in the
|
335
|
+
``flags`` parameter, ``People`` in the ``type`` parameter and
|
336
|
+
``roles`` in the ``source`` parameter are important:
|
337
|
+
|
338
|
+
.. groonga-command
|
339
|
+
.. include:: ../../example/reference/commands/column_create/usage_full_text_search_index_create_column.log
|
340
|
+
.. column_create \
|
341
|
+
.. --table Terms \
|
342
|
+
.. --name people_roles_index \
|
343
|
+
.. --flags COLUMN_INDEX|WITH_POSITION \
|
344
|
+
.. --type People \
|
345
|
+
.. --source roles
|
346
|
+
|
347
|
+
You can confirm that ``--match_columns roles`` and ``--query Sister``
|
348
|
+
are evaluated by the ``Terms.people_roles_index`` newly created full
|
349
|
+
text search index column from log. Groonga reports used index columns
|
350
|
+
in ``info`` log level. You can change log level dynamically by
|
351
|
+
:doc:`log_level` command.
|
352
|
+
|
353
|
+
.. groonga-command
|
354
|
+
.. log: true
|
355
|
+
.. include:: ../../example/reference/commands/column_create/usage_full_text_search_index_select.log
|
356
|
+
.. log_level --level info
|
357
|
+
.. select \
|
358
|
+
.. --table People \
|
359
|
+
.. --match_columns roles \
|
360
|
+
.. --query Sister
|
361
|
+
.. log_level --level notice
|
362
|
+
.. log: false
|
363
|
+
|
364
|
+
You can confirm that the ``Terms.people_roles_index`` is used from the
|
365
|
+
following log::
|
366
|
+
|
367
|
+
[object][search][index][key][exact] <Terms.people_roles_index>
|
368
|
+
|
369
|
+
The log says ``Terms.people_roles_index`` index column is used for
|
370
|
+
full text search. (To be precise, the index column is used for exact
|
371
|
+
term search by inverted index.)
|
372
|
+
|
373
|
+
.. _column-create-index-multiple-columns:
|
374
|
+
|
375
|
+
Create a multiple columns index column
|
376
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
377
|
+
|
378
|
+
You can create an index column for multiple columns. It means that you
|
379
|
+
can do fast search for multiple columns with one index
|
380
|
+
column. Multiple columns index column has better space efficiency than
|
381
|
+
single column index column only when multiple columns have many same
|
382
|
+
tokens. Multiple columns index column may be slower than single column
|
383
|
+
index column. Because multiple columns index column will be a bigger
|
384
|
+
index column.
|
385
|
+
|
386
|
+
You can't use multiples columns in different tables as index target
|
387
|
+
columns in the same multiple columns index column. You must specify
|
388
|
+
columns in the same tables as index target columns to one multiple
|
389
|
+
columns index column. For example, you can't create a multiple columns
|
390
|
+
index for ``People._key`` and ``Books._key`` because they are columns
|
391
|
+
of different tables. You can create a multiple columns index column
|
392
|
+
for ``People._key`` and ``People.roles`` because they are columns of
|
393
|
+
the same table.
|
394
|
+
|
395
|
+
There is a difference between for single column index column and for
|
396
|
+
multiple columns index column. You need to add ``WITH_SECTION`` to the
|
397
|
+
``flags`` parameter. It means that you need to specify
|
398
|
+
``COLUMN_INDEX|WITH_SECTION`` to the ``flags`` parameter. It's the
|
399
|
+
difference.
|
400
|
+
|
401
|
+
If you want to create a multiple columns index column for full text
|
402
|
+
search, you need to specify
|
403
|
+
``COLUMN_INDEX|WITH_POSITION|WITH_SECTION`` to the ``flags``
|
404
|
+
parameter. See :ref:`column-create-index-full-text-search` for full
|
405
|
+
text search index column details.
|
406
|
+
|
407
|
+
Here is an example to create a multiple columns full text search index
|
408
|
+
column for the key of the ``People`` table and the ``roles`` column of
|
409
|
+
the ``People`` table.
|
410
|
+
|
411
|
+
There is no difference between index table for single column index
|
412
|
+
column and multiple columns index column. In this example, the
|
413
|
+
``Terms`` table created at :ref:`column-create-index-full-text-search`
|
414
|
+
is used.
|
415
|
+
|
416
|
+
You can create a multiple columns full text search index column for
|
417
|
+
the key of the ``People`` table and ``roles`` column of the ``People``
|
418
|
+
table. ``COLUMN_INDEX|WITH_POSITION|WITH_SECTION`` in the ``flags``
|
419
|
+
parameter, ``People`` in the ``type`` parameter and ``_key,roles`` in
|
420
|
+
the ``source`` parameter are important:
|
421
|
+
|
422
|
+
.. groonga-command
|
423
|
+
.. include:: ../../example/reference/commands/column_create/usage_multiple_columns_index_create_column.log
|
424
|
+
.. column_create \
|
425
|
+
.. --table Terms \
|
426
|
+
.. --name people_key_roles_index \
|
427
|
+
.. --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
|
428
|
+
.. --type People \
|
429
|
+
.. --source _key,roles
|
430
|
+
|
431
|
+
You can confirm that ``--match_columns _key`` and ``--query
|
432
|
+
Alice`` are evaluated by the ``Terms.people_key_roles_index`` newly
|
433
|
+
created multiple columns full text search index column from log. Groonga
|
434
|
+
reports used index columns in ``info`` log level. You can change log level
|
435
|
+
dynamically by :doc:`log_level` command.
|
436
|
+
|
437
|
+
.. groonga-command
|
438
|
+
.. log: true
|
439
|
+
.. include:: ../../example/reference/commands/column_create/usage_multiple_columns_index_select.log
|
440
|
+
.. log_level --level info
|
441
|
+
.. select \
|
442
|
+
.. --table People \
|
443
|
+
.. --match_columns _key,roles \
|
444
|
+
.. --query Alice
|
445
|
+
.. log_level --level notice
|
446
|
+
.. log: false
|
447
|
+
|
448
|
+
You can confirm that the ``Terms.people_roles_index`` is used from the
|
449
|
+
following log::
|
450
|
+
|
451
|
+
[object][search][index][key][exact] <Terms.people_key_roles_index>
|
452
|
+
|
453
|
+
The log says ``Terms.people_roles_index`` index column is used for
|
454
|
+
full text search. (To be precise, the index column is used for exact
|
455
|
+
term search by inverted index.)
|
456
|
+
|
457
|
+
.. _column-create-index-small:
|
458
|
+
|
459
|
+
Create a small index column
|
460
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
461
|
+
|
462
|
+
If you know index target data are small, you can reduce memory usage
|
463
|
+
for the index column. Memory usage is ``1/256`` of the default index
|
464
|
+
column.
|
465
|
+
|
466
|
+
How many data are small? It depends on data. Small index column can't
|
467
|
+
handle 1 billion records at least. If index target is only one
|
468
|
+
scalar column with no text family type (``ShortText``, ``Text`` or
|
469
|
+
``LongText``), the maximum handleable records are depends of the
|
470
|
+
number of kinds of index target data. If index target column has
|
471
|
+
``1``, ``1``, ``2`` and ``3``, the number of kinds of them are ``3``
|
472
|
+
(``1`` and ``2`` and ``3``). The following table shows the
|
473
|
+
relationship between the number of kinds of index target data and the
|
474
|
+
number of handleable records:
|
475
|
+
|
476
|
+
.. list-table:: The number of kinds of index target data and the number of handleable records in a small index column
|
477
|
+
:header-rows: 1
|
478
|
+
|
479
|
+
* - The number of kinds of index target data
|
480
|
+
- The number of hanleable records
|
481
|
+
* - 1
|
482
|
+
- 16779234
|
483
|
+
* - 2
|
484
|
+
- 4648070
|
485
|
+
* - 4
|
486
|
+
- 7238996
|
487
|
+
* - 8
|
488
|
+
- 8308622
|
489
|
+
* - 16
|
490
|
+
- 11068624
|
491
|
+
* - 32
|
492
|
+
- 12670817
|
493
|
+
* - 64
|
494
|
+
- 18524211
|
495
|
+
* - 128
|
496
|
+
- 38095511
|
497
|
+
* - 256
|
498
|
+
- 51265384
|
499
|
+
|
500
|
+
You need to add ``INDEX_SMALL`` to the ``flags`` parameter such as
|
501
|
+
``COLUMN_INDEX|INDEX_SMALL`` to create a small index column.
|
502
|
+
|
503
|
+
If the ``People`` table has only 1 million records, you can use a
|
504
|
+
small index column for the ``age`` column:
|
505
|
+
|
506
|
+
.. groonga-command
|
507
|
+
.. include:: ../../example/reference/commands/column_create/usage_small_index_create_column.log
|
508
|
+
.. column_create \
|
509
|
+
.. --table Ages \
|
510
|
+
.. --name people_age_small_index \
|
511
|
+
.. --flags COLUMN_INDEX|INDEX_SMALL \
|
512
|
+
.. --type People \
|
513
|
+
.. --source age
|
514
|
+
|
515
|
+
.. _column-create-index-medium:
|
516
|
+
|
517
|
+
Create a medium index column
|
518
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
519
|
+
|
520
|
+
If you know index target data are medium, you can reduce memory usage
|
521
|
+
for the index column. Memory usage is ``5/24`` of the default index
|
522
|
+
column.
|
523
|
+
|
524
|
+
How many data are medium? It depends on data.
|
525
|
+
|
526
|
+
If index target is only one scalar column, a medium index column
|
527
|
+
can handle all records.
|
528
|
+
|
529
|
+
A medium index column may not handle all records at the following
|
530
|
+
cases:
|
531
|
+
|
532
|
+
* Index target is one text family (``ShortText``, ``Text`` or
|
533
|
+
``LongText``) scalar column
|
534
|
+
* Index target is one vector column
|
535
|
+
* Index targets are multiple columns
|
536
|
+
* Index table has tokenizer
|
537
|
+
|
538
|
+
You need to add ``INDEX_MEDIUM`` to the ``flags`` parameter such as
|
539
|
+
``COLUMN_INDEX|INDEX_MEDIUM`` to create a medium index column.
|
540
|
+
|
541
|
+
You can use a medium index column for an index column of the ``age``
|
542
|
+
column of the ``People`` table safely. Because it's one scalar column
|
543
|
+
with ``UInt8`` type.
|
544
|
+
|
545
|
+
Here is an example to create a medium index column:
|
546
|
+
|
547
|
+
.. groonga-command
|
548
|
+
.. include:: ../../example/reference/commands/column_create/usage_medium_index_create_column.log
|
549
|
+
.. column_create \
|
550
|
+
.. --table Ages \
|
551
|
+
.. --name people_age_medium_index \
|
552
|
+
.. --flags COLUMN_INDEX|INDEX_MEDIUM \
|
553
|
+
.. --type People \
|
554
|
+
.. --source age
|
36
555
|
|
37
556
|
Parameters
|
38
557
|
----------
|
39
558
|
|
559
|
+
This section describes all parameters.
|
560
|
+
|
561
|
+
Required parameters
|
562
|
+
^^^^^^^^^^^^^^^^^^^
|
563
|
+
|
564
|
+
There are some required parameters.
|
565
|
+
|
566
|
+
.. _column-create-table:
|
567
|
+
|
40
568
|
``table``
|
569
|
+
"""""""""
|
570
|
+
|
571
|
+
Specifies an existing table name for the new column.
|
41
572
|
|
42
|
-
|
573
|
+
.. _column-create-name:
|
43
574
|
|
44
575
|
``name``
|
576
|
+
""""""""
|
577
|
+
|
578
|
+
Specifies the column name to be created.
|
579
|
+
|
580
|
+
The column name must be unique in the same table.
|
581
|
+
|
582
|
+
Here are available characters:
|
583
|
+
|
584
|
+
* ``0`` .. ``9`` (digit)
|
585
|
+
* ``a`` .. ``z`` (alphabet, lower case)
|
586
|
+
* ``A`` .. ``Z`` (alphabet, upper case)
|
587
|
+
* ``#`` (hash)
|
588
|
+
* ``@`` (at mark)
|
589
|
+
* ``-`` (hyphen)
|
590
|
+
* ``_`` (underscore) (NOTE: Underscore can't be used as the first
|
591
|
+
character.)
|
592
|
+
|
593
|
+
You need to create a name with one or more the above characters. Note
|
594
|
+
that you can't use ``_`` as the first character such as ``_name``.
|
45
595
|
|
46
|
-
作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければなりません。
|
47
596
|
|
48
|
-
|
597
|
+
.. _column-create-flags:
|
49
598
|
|
50
599
|
``flags``
|
600
|
+
"""""""""
|
51
601
|
|
52
|
-
|
602
|
+
Specifies the column type and column customize options.
|
53
603
|
|
54
|
-
|
55
|
-
単一の値が格納できるカラムを作成します。
|
56
|
-
1, ``COLUMN_VECTOR``
|
57
|
-
複数の値の配列を格納できるカラムを作成します。
|
58
|
-
2, ``COLUMN_INDEX``
|
59
|
-
インデックス型のカラムを作成します。
|
604
|
+
Here are available flags:
|
60
605
|
|
61
|
-
|
606
|
+
.. list-table::
|
607
|
+
:header-rows: 1
|
62
608
|
|
63
|
-
|
64
|
-
|
65
|
-
32, ``COMPRESS_LZO``
|
66
|
-
Compress the value of column by using lzo. This flag is enabled when you build Groonga with ``--with-lzo``.
|
609
|
+
* - Flag
|
610
|
+
- Description
|
67
611
|
|
68
|
-
|
69
|
-
|
612
|
+
* - ``COLUMN_SCALAR``
|
613
|
+
- Scalar column. It can store one value. See also
|
614
|
+
:doc:`/reference/columns/scalar` or
|
615
|
+
:ref:`column-create-scalar`.
|
70
616
|
|
71
|
-
|
72
|
-
|
617
|
+
* - ``COLUMN_VECTOR``
|
618
|
+
- Vector column. It can store multiple values. See also
|
619
|
+
:doc:`/reference/columns/vector` or
|
620
|
+
:ref:`column-create-vector`.
|
73
621
|
|
74
|
-
|
75
|
-
|
622
|
+
* - ``COLUMN_INDEX``
|
623
|
+
- Index column. It stores data for fast search. See also
|
624
|
+
:doc:`/reference/columns/index` or
|
625
|
+
:ref:`column-create-index`.
|
76
626
|
|
77
|
-
|
78
|
-
|
627
|
+
* - ``COMPRESS_ZLIB``
|
628
|
+
- It enables column value compression by zlib. You need Groonga
|
629
|
+
that enables zlib support.
|
630
|
+
|
631
|
+
Compression by zlib is higher space efficiency than compression
|
632
|
+
by LZ4. But compression by zlib is slower than compression by
|
633
|
+
LZ4.
|
634
|
+
|
635
|
+
This flag is available only for ``COLUMN_SCALAR`` and
|
636
|
+
``COLUMN_VECTOR``.
|
637
|
+
|
638
|
+
* - ``COMPRESS_LZ4``
|
639
|
+
- It enables column value compression by LZ4. You need Groonga
|
640
|
+
that enables LZ4 support.
|
641
|
+
|
642
|
+
Compression by LZ4 is faster than compression by zlib. But
|
643
|
+
compression by LZ4 is lower space efficiency than compression
|
644
|
+
by zlib.
|
645
|
+
|
646
|
+
This flag is available only for ``COLUMN_SCALAR`` and
|
647
|
+
``COLUMN_VECTOR``.
|
648
|
+
|
649
|
+
* - ``WITH_SECTION``
|
650
|
+
- It enables section support to index column.
|
651
|
+
|
652
|
+
If section support is enabled, you can support multiple
|
653
|
+
documents in the same index column.
|
654
|
+
|
655
|
+
You must specify this flag to create a multiple columns index
|
656
|
+
column. See also :ref:`column-create-index-multiple-columns` for
|
657
|
+
details.
|
658
|
+
|
659
|
+
Section support requires additional spaces. If you don't need
|
660
|
+
section support, you should not enable section support.
|
661
|
+
|
662
|
+
This flag is available only for ``COLUMN_INDEX``.
|
663
|
+
|
664
|
+
* - ``WITH_WEIGHT``
|
665
|
+
- It enables weight support to vector column or index column.
|
666
|
+
|
667
|
+
If weight support is enabled for vector column, you can add
|
668
|
+
weight for each element. If weight support is enabled for index
|
669
|
+
column, you can add weight for each posting. They are useful to
|
670
|
+
compute suitable search score.
|
671
|
+
|
672
|
+
You must specify this flag to use :ref:`select-adjuster`. See
|
673
|
+
also :ref:`column-create-vector-weight` for details.
|
674
|
+
|
675
|
+
Weight support requires additional spaces. If you don't need
|
676
|
+
weight support, you should not enable weight support.
|
677
|
+
|
678
|
+
This flag is available only for ``COLUMN_VECTOR`` or
|
679
|
+
``COLUMN_INDEX``.
|
680
|
+
|
681
|
+
* - ``WITH_POSITION``
|
682
|
+
- It enables position support to index column. It means that the
|
683
|
+
index column is full inverted index. (Index column is
|
684
|
+
implemented as inverted index.)
|
685
|
+
|
686
|
+
If position support is enabled, you can add position in the
|
687
|
+
document for each posting. It's required for phrase search. It
|
688
|
+
means that index column for full text search must enable
|
689
|
+
position support because most full text search uses phrase
|
690
|
+
search.
|
691
|
+
|
692
|
+
You must specify this flag to create a full text search index
|
693
|
+
column. See also :ref:`column-create-index-full-text-search` for
|
694
|
+
details.
|
695
|
+
|
696
|
+
Position support requires additional spaces. If you don't need
|
697
|
+
position support, you should not enable position support.
|
698
|
+
|
699
|
+
This flag is available only for ``COLUMN_INDEX``.
|
700
|
+
|
701
|
+
* - ``INDEX_SMALL``
|
702
|
+
- .. versionadded:: 6.0.8
|
703
|
+
|
704
|
+
It requires to create a small index column.
|
705
|
+
|
706
|
+
If index target data are small, small index column is enough.
|
707
|
+
Small index column uses fewer memory than a normal index column
|
708
|
+
or a medium index column. See also
|
709
|
+
:ref:`column-create-index-small` for knowing what are "small
|
710
|
+
data" and how to use this flag.
|
711
|
+
|
712
|
+
This flag is available only for ``COLUMN_INDEX``.
|
713
|
+
|
714
|
+
* - ``INDEX_MEDIUM``
|
715
|
+
- .. versionadded:: 6.0.8
|
716
|
+
|
717
|
+
It requires to create a medium index column.
|
718
|
+
|
719
|
+
If index target data are medium, medium index column is enough.
|
720
|
+
Medium index column uses fewer memory than a normal index
|
721
|
+
column. See also :ref:`column-create-index-medium` for knowing
|
722
|
+
what are "medium data" and how to use this flag.
|
723
|
+
|
724
|
+
This flag is available only for ``COLUMN_INDEX``.
|
725
|
+
|
726
|
+
You must specify one of ``COLUMN_${TYPE}`` flags. You can't specify
|
727
|
+
two or more ``COLUMN_${TYPE}`` flags. For example,
|
728
|
+
``COLUMN_SCALAR|COLUMN_VECTOR`` is invalid.
|
729
|
+
|
730
|
+
You can combine flags with ``|`` (vertical bar) such as
|
731
|
+
``COLUMN_INDEX|WITH_SECTION|WITH_POSITION``.
|
732
|
+
|
733
|
+
.. _column-create-type:
|
79
734
|
|
80
735
|
``type``
|
736
|
+
""""""""
|
737
|
+
|
738
|
+
Specifies type of the column value.
|
739
|
+
|
740
|
+
If the column is scalar column or vector column, here are available
|
741
|
+
types:
|
742
|
+
|
743
|
+
* Builtin types described in :doc:`/reference/types`
|
744
|
+
* Tables defined by users
|
81
745
|
|
82
|
-
|
746
|
+
If the column is index column, here are available types:
|
747
|
+
|
748
|
+
* Tables defined by users
|
749
|
+
|
750
|
+
See also the followings:
|
751
|
+
|
752
|
+
* :ref:`column-create-scalar`
|
753
|
+
* :ref:`column-create-vector`
|
754
|
+
* :ref:`column-create-reference`
|
755
|
+
* :ref:`column-create-index`
|
756
|
+
|
757
|
+
Optional parameters
|
758
|
+
^^^^^^^^^^^^^^^^^^^
|
759
|
+
|
760
|
+
There is an optional parameter.
|
761
|
+
|
762
|
+
.. _column-create-source:
|
83
763
|
|
84
764
|
``source``
|
765
|
+
""""""""""
|
85
766
|
|
86
|
-
|
767
|
+
Specifies index target columns. You can specify one or more columns to
|
768
|
+
the ``source`` parameter.
|
769
|
+
|
770
|
+
This parameter is only available for index column.
|
771
|
+
|
772
|
+
You can only specify columns of the table specified as
|
773
|
+
:ref:`column-create-type`. You can also use the ``_key`` pseudo column
|
774
|
+
for specifying the table key as index target.
|
775
|
+
|
776
|
+
If you specify multiple columns to the ``source`` parameter, separate
|
777
|
+
columns with ``,`` (comma) such as ``_key,roles``.
|
87
778
|
|
88
779
|
Return value
|
89
780
|
------------
|
90
781
|
|
91
|
-
::
|
782
|
+
``column_create`` returns ``true`` as body on success such as::
|
783
|
+
|
784
|
+
[HEADER, true]
|
785
|
+
|
786
|
+
If ``column_create`` fails, ``column_create`` returns ``false`` as
|
787
|
+
body::
|
92
788
|
|
93
|
-
|
789
|
+
[HEADER, false]
|
94
790
|
|
95
|
-
``HEADER
|
791
|
+
Error details are in ``HEADER``.
|
96
792
|
|
97
|
-
|
793
|
+
See :doc:`/reference/command/output_format` for ``HEADER``.
|
98
794
|
|
99
|
-
|
795
|
+
See also
|
796
|
+
--------
|
100
797
|
|
101
|
-
|
798
|
+
* :doc:`/reference/column`
|
799
|
+
* :doc:`/reference/commands/table_create`
|
800
|
+
* :doc:`/reference/command/output_format`
|