rroonga 6.0.9-x64-mingw32 → 6.1.0-x64-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,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.5. Request timeout
|
10
|
+
<title>7.3.5. Request timeout — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.6. Return code" href="return_code.html" />
|
31
33
|
<link rel="prev" title="7.3.4. Request ID" href="request_id.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="request_id.html" title="7.3.4. Request ID"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -196,13 +198,13 @@ the request is canceled after 1 second.</p>
|
|
196
198
|
<li class="right" >
|
197
199
|
<a href="request_id.html" title="7.3.4. Request ID"
|
198
200
|
>previous</a> |</li>
|
199
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
200
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
201
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
201
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
202
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
203
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
202
204
|
</ul>
|
203
205
|
</div>
|
204
206
|
<div class="footer" role="contentinfo">
|
205
|
-
|
207
|
+
© Copyright 2009-2016, Brazil, Inc.
|
206
208
|
</div>
|
207
209
|
</body>
|
208
210
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.6. Return code
|
10
|
+
<title>7.3.6. Return code — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.7. cache_limit" href="../commands/cache_limit.html" />
|
31
33
|
<link rel="prev" title="7.3.5. Request timeout" href="request_timeout.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="request_timeout.html" title="7.3.5. Request timeout"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -240,13 +242,13 @@ handling it as 2byte signed integer.</li>
|
|
240
242
|
<li class="right" >
|
241
243
|
<a href="request_timeout.html" title="7.3.5. Request timeout"
|
242
244
|
>previous</a> |</li>
|
243
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
244
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
245
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
245
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
246
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
247
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
246
248
|
</ul>
|
247
249
|
</div>
|
248
250
|
<div class="footer" role="contentinfo">
|
249
|
-
|
251
|
+
© Copyright 2009-2016, Brazil, Inc.
|
250
252
|
</div>
|
251
253
|
</body>
|
252
254
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.7. cache_limit
|
10
|
+
<title>7.3.7. cache_limit — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.8. check" href="check.html" />
|
31
33
|
<link rel="prev" title="7.3.6. Return code" href="../command/return_code.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="../command/return_code.html" title="7.3.6. Return code"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -205,13 +207,13 @@ is a number.</div></blockquote>
|
|
205
207
|
<li class="right" >
|
206
208
|
<a href="../command/return_code.html" title="7.3.6. Return code"
|
207
209
|
>previous</a> |</li>
|
208
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
209
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
210
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
210
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
211
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
212
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
211
213
|
</ul>
|
212
214
|
</div>
|
213
215
|
<div class="footer" role="contentinfo">
|
214
|
-
|
216
|
+
© Copyright 2009-2016, Brazil, Inc.
|
215
217
|
</div>
|
216
218
|
</body>
|
217
219
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.8. check
|
10
|
+
<title>7.3.8. check — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.9. clearlock" href="clearlock.html" />
|
31
33
|
<link rel="prev" title="7.3.7. cache_limit" href="cache_limit.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="cache_limit.html" title="7.3.7. cache_limit"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -265,13 +267,13 @@
|
|
265
267
|
<li class="right" >
|
266
268
|
<a href="cache_limit.html" title="7.3.7. cache_limit"
|
267
269
|
>previous</a> |</li>
|
268
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
269
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
270
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
270
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
271
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
272
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
271
273
|
</ul>
|
272
274
|
</div>
|
273
275
|
<div class="footer" role="contentinfo">
|
274
|
-
|
276
|
+
© Copyright 2009-2016, Brazil, Inc.
|
275
277
|
</div>
|
276
278
|
</body>
|
277
279
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.9. clearlock
|
10
|
+
<title>7.3.9. clearlock — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.10. column_copy" href="column_copy.html" />
|
31
33
|
<link rel="prev" title="7.3.8. check" href="check.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="check.html" title="7.3.8. check"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -180,13 +182,13 @@
|
|
180
182
|
<li class="right" >
|
181
183
|
<a href="check.html" title="7.3.8. check"
|
182
184
|
>previous</a> |</li>
|
183
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
184
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
185
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
185
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
186
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
187
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
186
188
|
</ul>
|
187
189
|
</div>
|
188
190
|
<div class="footer" role="contentinfo">
|
189
|
-
|
191
|
+
© Copyright 2009-2016, Brazil, Inc.
|
190
192
|
</div>
|
191
193
|
</body>
|
192
194
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.10. column_copy
|
10
|
+
<title>7.3.10. column_copy — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.11. column_create" href="column_create.html" />
|
31
33
|
<link rel="prev" title="7.3.9. clearlock" href="clearlock.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="clearlock.html" title="7.3.9. clearlock"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -781,13 +783,13 @@ select ToTable --output_columns _key,to_column
|
|
781
783
|
<li class="right" >
|
782
784
|
<a href="clearlock.html" title="7.3.9. clearlock"
|
783
785
|
>previous</a> |</li>
|
784
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
785
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
786
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
786
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
787
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
788
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
787
789
|
</ul>
|
788
790
|
</div>
|
789
791
|
<div class="footer" role="contentinfo">
|
790
|
-
|
792
|
+
© Copyright 2009-2016, Brazil, Inc.
|
791
793
|
</div>
|
792
794
|
</body>
|
793
795
|
</html>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.11. column_create
|
10
|
+
<title>7.3.11. column_create — Groonga v6.1.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '6.0
|
18
|
+
VERSION: '6.1.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="
|
28
|
+
<link rel="index" title="Index" href="../../genindex.html" />
|
29
|
+
<link rel="search" title="Search" href="../../search.html" />
|
30
|
+
<link rel="top" title="Groonga v6.1.0 documentation" href="../../index.html" />
|
29
31
|
<link rel="up" title="7.3. Command" href="../command.html" />
|
30
32
|
<link rel="next" title="7.3.12. column_list" href="column_list.html" />
|
31
33
|
<link rel="prev" title="7.3.10. column_copy" href="column_copy.html" />
|
@@ -60,9 +62,9 @@
|
|
60
62
|
<li class="right" >
|
61
63
|
<a href="column_copy.html" title="7.3.10. column_copy"
|
62
64
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
64
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
65
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a>
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
66
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
68
|
</ul>
|
67
69
|
</div>
|
68
70
|
|
@@ -75,86 +77,976 @@
|
|
75
77
|
<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>
|
76
78
|
<div class="section" id="summary">
|
77
79
|
<h2>7.3.11.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
-
<p>column_create
|
79
|
-
<p>
|
80
|
-
|
80
|
+
<p><code class="docutils literal"><span class="pre">column_create</span></code> creates a new column in a table.</p>
|
81
|
+
<p>You need to create one or more columns to store multiple data in one
|
82
|
+
record.</p>
|
83
|
+
<p>Groonga provides an index as a column. It's different from other
|
84
|
+
systems. An index is just an index in other systems. Implementing an
|
85
|
+
index as a column provides flexibility. For example, you can add
|
86
|
+
metadata to each token.</p>
|
87
|
+
<p>See <a class="reference internal" href="../column.html"><span class="doc">Column</span></a> for column details.</p>
|
81
88
|
</div>
|
82
89
|
<div class="section" id="syntax">
|
83
90
|
<h2>7.3.11.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
84
|
-
<
|
91
|
+
<p>This command takes many parameters.</p>
|
92
|
+
<p>Most parameters are required:</p>
|
93
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create table
|
94
|
+
name
|
95
|
+
flags
|
96
|
+
type
|
97
|
+
[source=null]
|
85
98
|
</pre></div>
|
86
99
|
</div>
|
87
100
|
</div>
|
88
101
|
<div class="section" id="usage">
|
89
102
|
<h2>7.3.11.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
90
|
-
<p
|
91
|
-
<
|
92
|
-
|
103
|
+
<p>This section describes about the followings:</p>
|
104
|
+
<blockquote>
|
105
|
+
<div><ul class="simple">
|
106
|
+
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
|
107
|
+
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
|
108
|
+
<li><a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">Create a weight vector column</span></a></li>
|
109
|
+
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table's record</span></a></li>
|
110
|
+
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
|
111
|
+
<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>
|
112
|
+
<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>
|
113
|
+
<li><a class="reference internal" href="#column-create-index-small"><span class="std std-ref">Create a small index column</span></a></li>
|
114
|
+
<li><a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">Create a medium index column</span></a></li>
|
115
|
+
</ul>
|
116
|
+
</div></blockquote>
|
117
|
+
<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
|
118
|
+
in examples:</p>
|
119
|
+
<p>Execution example:</p>
|
120
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
121
|
+
--name People \
|
122
|
+
--flags TABLE_HASH_KEY \
|
123
|
+
--key_type ShortText
|
124
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
93
125
|
</pre></div>
|
94
126
|
</div>
|
95
|
-
<
|
96
|
-
<
|
97
|
-
|
127
|
+
<div class="section" id="create-a-scalar-column">
|
128
|
+
<span id="column-create-scalar"></span><h3>7.3.11.3.1. Create a scalar column<a class="headerlink" href="#create-a-scalar-column" title="Permalink to this headline">¶</a></h3>
|
129
|
+
<p>Groonga provides scalar column to store one value. For example, scalar
|
130
|
+
column should be used for storing age into a person record. Because a
|
131
|
+
person record must have only one age.</p>
|
132
|
+
<p>If you want to store multiple values into a record, scalar column
|
133
|
+
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>
|
134
|
+
<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
|
135
|
+
create a scalar column.</p>
|
136
|
+
<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>
|
137
|
+
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>
|
138
|
+
(<code class="docutils literal"><span class="pre">0-255</span></code>) value as its value:</p>
|
139
|
+
<p>Execution example:</p>
|
140
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
141
|
+
--table People \
|
142
|
+
--name age \
|
143
|
+
--flags COLUMN_SCALAR \
|
144
|
+
--type UInt8
|
145
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
98
146
|
</pre></div>
|
99
147
|
</div>
|
148
|
+
<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>
|
149
|
+
<p>Execution example:</p>
|
150
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
151
|
+
[
|
152
|
+
{"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
153
|
+
]
|
154
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
155
|
+
</pre></div>
|
100
156
|
</div>
|
101
|
-
<
|
102
|
-
<
|
103
|
-
<p
|
157
|
+
<p>You can confirm the stored one value (<code class="docutils literal"><span class="pre">7</span></code>) by the following
|
158
|
+
<a class="reference internal" href="select.html"><span class="doc">select</span></a> command:</p>
|
159
|
+
<p>Execution example:</p>
|
160
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
161
|
+
# [
|
162
|
+
# [
|
163
|
+
# 0,
|
164
|
+
# 1337566253.89858,
|
165
|
+
# 0.000355720520019531
|
166
|
+
# ],
|
167
|
+
# [
|
168
|
+
# [
|
169
|
+
# [
|
170
|
+
# 1
|
171
|
+
# ],
|
172
|
+
# [
|
173
|
+
# [
|
174
|
+
# "_id",
|
175
|
+
# "UInt32"
|
176
|
+
# ],
|
177
|
+
# [
|
178
|
+
# "_key",
|
179
|
+
# "ShortText"
|
180
|
+
# ],
|
181
|
+
# [
|
182
|
+
# "age",
|
183
|
+
# "UInt8"
|
184
|
+
# ]
|
185
|
+
# ],
|
186
|
+
# [
|
187
|
+
# 1,
|
188
|
+
# "alice",
|
189
|
+
# 7
|
190
|
+
# ]
|
191
|
+
# ]
|
192
|
+
# ]
|
193
|
+
# ]
|
194
|
+
</pre></div>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
<div class="section" id="create-a-vector-column">
|
198
|
+
<span id="column-create-vector"></span><h3>7.3.11.3.2. Create a vector column<a class="headerlink" href="#create-a-vector-column" title="Permalink to this headline">¶</a></h3>
|
199
|
+
<p>Groonga provides vector column to store multiple values. For example,
|
200
|
+
vector column may be used for storing roles into a person
|
201
|
+
record. Because a person record may have multiple roles.</p>
|
202
|
+
<p>If you want to store only one value into a record, vector column isn't
|
203
|
+
suitable. Use <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a> instead.</p>
|
204
|
+
<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
|
205
|
+
create a vector column.</p>
|
206
|
+
<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>
|
207
|
+
table. <code class="docutils literal"><span class="pre">roles</span></code> column is a vector column. It can store zero or more
|
208
|
+
<code class="docutils literal"><span class="pre">ShortText</span></code> values as its value:</p>
|
209
|
+
<p>Execution example:</p>
|
210
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
211
|
+
--table People \
|
212
|
+
--name roles \
|
213
|
+
--flags COLUMN_VECTOR \
|
214
|
+
--type ShortText
|
215
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
216
|
+
</pre></div>
|
217
|
+
</div>
|
218
|
+
<p>You can store multiple values (<code class="docutils literal"><span class="pre">["adventurer",</span> <span class="pre">"younger-sister"]</span></code>)
|
219
|
+
by the following <a class="reference internal" href="load.html"><span class="doc">load</span></a> command:</p>
|
220
|
+
<p>Execution example:</p>
|
221
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
222
|
+
[
|
223
|
+
{"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
224
|
+
]
|
225
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
226
|
+
</pre></div>
|
227
|
+
</div>
|
228
|
+
<p>You can confirm the stored multiple values (<code class="docutils literal"><span class="pre">["adventurer",</span>
|
229
|
+
<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>
|
230
|
+
<p>Execution example:</p>
|
231
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
232
|
+
# [
|
233
|
+
# [
|
234
|
+
# 0,
|
235
|
+
# 1337566253.89858,
|
236
|
+
# 0.000355720520019531
|
237
|
+
# ],
|
238
|
+
# [
|
239
|
+
# [
|
240
|
+
# [
|
241
|
+
# 1
|
242
|
+
# ],
|
243
|
+
# [
|
244
|
+
# [
|
245
|
+
# "_id",
|
246
|
+
# "UInt32"
|
247
|
+
# ],
|
248
|
+
# [
|
249
|
+
# "_key",
|
250
|
+
# "ShortText"
|
251
|
+
# ],
|
252
|
+
# [
|
253
|
+
# "age",
|
254
|
+
# "UInt8"
|
255
|
+
# ],
|
256
|
+
# [
|
257
|
+
# "roles",
|
258
|
+
# "ShortText"
|
259
|
+
# ]
|
260
|
+
# ],
|
261
|
+
# [
|
262
|
+
# 1,
|
263
|
+
# "alice",
|
264
|
+
# 7,
|
265
|
+
# [
|
266
|
+
# "adventurer",
|
267
|
+
# "younger-sister"
|
268
|
+
# ]
|
269
|
+
# ]
|
270
|
+
# ]
|
271
|
+
# ]
|
272
|
+
# ]
|
273
|
+
</pre></div>
|
274
|
+
</div>
|
275
|
+
</div>
|
276
|
+
<div class="section" id="create-a-weight-vector-column">
|
277
|
+
<span id="column-create-vector-weight"></span><h3>7.3.11.3.3. Create a weight vector column<a class="headerlink" href="#create-a-weight-vector-column" title="Permalink to this headline">¶</a></h3>
|
278
|
+
<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>
|
279
|
+
</div>
|
280
|
+
<div class="section" id="create-a-column-that-refers-a-table-s-record">
|
281
|
+
<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>
|
282
|
+
<p>Both scalar column and vector column can store reference to record of
|
283
|
+
an existing table as column value. It's useful to store relationship
|
284
|
+
between records.</p>
|
285
|
+
<p>For example, using a column that refers a person record is better for
|
286
|
+
storing a character into a book record. Because one person may be
|
287
|
+
appeared in some books.</p>
|
288
|
+
<p>You must specify table name to be referenced to the <code class="docutils literal"><span class="pre">type</span></code> parameter
|
289
|
+
to create a column that refers a table's record.</p>
|
290
|
+
<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>
|
291
|
+
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
|
292
|
+
store one <code class="docutils literal"><span class="pre">People</span></code> table's record.</p>
|
293
|
+
<p>Here is the <code class="docutils literal"><span class="pre">Books</span></code> table definition:</p>
|
294
|
+
<p>Execution example:</p>
|
295
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
296
|
+
--name Books \
|
297
|
+
--flags TABLE_HASH_KEY \
|
298
|
+
--key_type ShortText
|
299
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
300
|
+
</pre></div>
|
301
|
+
</div>
|
302
|
+
<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>
|
303
|
+
table. <code class="docutils literal"><span class="pre">--type</span> <span class="pre">People</span></code> is important:</p>
|
304
|
+
<p>Execution example:</p>
|
305
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
306
|
+
--table Books \
|
307
|
+
--name character \
|
308
|
+
--flags COLUMN_SCALAR \
|
309
|
+
--type People
|
310
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
311
|
+
</pre></div>
|
312
|
+
</div>
|
313
|
+
<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>
|
314
|
+
command. You can use key value (<code class="docutils literal"><span class="pre">People._key</span></code> value) for referring a
|
315
|
+
record:</p>
|
316
|
+
<p>Execution example:</p>
|
317
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Books
|
318
|
+
[
|
319
|
+
{"_key": "Alice's Adventure in Wonderland", "character": "alice"}
|
320
|
+
]
|
321
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
322
|
+
</pre></div>
|
323
|
+
</div>
|
324
|
+
<p>You can confirm the stored reference (<code class="docutils literal"><span class="pre">"alice"</span></code> record) by the
|
325
|
+
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
|
326
|
+
the <code class="docutils literal"><span class="pre">roles</span></code> column values:</p>
|
327
|
+
<p>Execution example:</p>
|
328
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select \
|
329
|
+
--table Books \
|
330
|
+
--output_columns _key,character._key,character.age,character.roles
|
331
|
+
# [
|
332
|
+
# [
|
333
|
+
# 0,
|
334
|
+
# 1337566253.89858,
|
335
|
+
# 0.000355720520019531
|
336
|
+
# ],
|
337
|
+
# [
|
338
|
+
# [
|
339
|
+
# [
|
340
|
+
# 1
|
341
|
+
# ],
|
342
|
+
# [
|
343
|
+
# [
|
344
|
+
# "_key",
|
345
|
+
# "ShortText"
|
346
|
+
# ],
|
347
|
+
# [
|
348
|
+
# "character._key",
|
349
|
+
# "ShortText"
|
350
|
+
# ],
|
351
|
+
# [
|
352
|
+
# "character.age",
|
353
|
+
# "UInt8"
|
354
|
+
# ],
|
355
|
+
# [
|
356
|
+
# "character.roles",
|
357
|
+
# "ShortText"
|
358
|
+
# ]
|
359
|
+
# ],
|
360
|
+
# [
|
361
|
+
# "Alice's Adventure in Wonderland",
|
362
|
+
# "alice",
|
363
|
+
# 7,
|
364
|
+
# [
|
365
|
+
# "adventurer",
|
366
|
+
# "younger-sister"
|
367
|
+
# ]
|
368
|
+
# ]
|
369
|
+
# ]
|
370
|
+
# ]
|
371
|
+
# ]
|
372
|
+
</pre></div>
|
373
|
+
</div>
|
374
|
+
</div>
|
375
|
+
<div class="section" id="create-an-index-column">
|
376
|
+
<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>
|
377
|
+
<p>Groonga provides index column for fast search. It doesn't store your
|
378
|
+
data. It stores data for fast search.</p>
|
379
|
+
<p>You don't need to update index column by yourself. Index column is
|
380
|
+
updated automatically when you store data into a data column (scalar
|
381
|
+
column or vector column) that is marked as index target column. You
|
382
|
+
can set multiple columns as index target columns to one index column.</p>
|
383
|
+
<p>If Groonga has an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
|
384
|
+
<code class="docutils literal"><span class="pre">People</span></code> table, Groonga can do fast equal search, fast comparison
|
385
|
+
search and fast range search against <code class="docutils literal"><span class="pre">age</span></code> column values.</p>
|
386
|
+
<p>You must specify the following parameters to create an index column:</p>
|
104
387
|
<blockquote>
|
105
|
-
<div
|
106
|
-
<
|
388
|
+
<div><ul class="simple">
|
389
|
+
<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>
|
390
|
+
<li>The <code class="docutils literal"><span class="pre">type</span></code> parameter: The table name of index target column such
|
391
|
+
as <code class="docutils literal"><span class="pre">People</span></code></li>
|
392
|
+
<li>The <code class="docutils literal"><span class="pre">source</span></code> parameter: The index target column name such as
|
393
|
+
<code class="docutils literal"><span class="pre">age</span></code></li>
|
394
|
+
</ul>
|
395
|
+
</div></blockquote>
|
396
|
+
<p>You don't need additional flags to the <code class="docutils literal"><span class="pre">flags</span></code> parameter for equal
|
397
|
+
search, comparison search and range search index column. You need
|
398
|
+
additional flags to the <code class="docutils literal"><span class="pre">flags</span></code> parameter for full text search index
|
399
|
+
column or multiple column index column. See
|
400
|
+
<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
|
401
|
+
<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>
|
402
|
+
<p>Here is an example to create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of
|
403
|
+
the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
|
404
|
+
<p>First, you need to create a table for range index column. See
|
405
|
+
<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
|
406
|
+
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>
|
407
|
+
<p>Execution example:</p>
|
408
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
409
|
+
--name Ages \
|
410
|
+
--flags TABLE_PAT_KEY \
|
411
|
+
--key_type UInt8
|
412
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
413
|
+
</pre></div>
|
414
|
+
</div>
|
415
|
+
<p>Now, you can create an index column for the <code class="docutils literal"><span class="pre">age</span></code> column of the
|
416
|
+
<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,
|
417
|
+
<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>
|
418
|
+
parameter are important:</p>
|
419
|
+
<p>Execution example:</p>
|
420
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
421
|
+
--table Ages \
|
422
|
+
--name people_age_index \
|
423
|
+
--flags COLUMN_INDEX \
|
424
|
+
--type People \
|
425
|
+
--source age
|
426
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
427
|
+
</pre></div>
|
428
|
+
</div>
|
429
|
+
<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
|
430
|
+
<code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> newly created index column from log. Groonga
|
431
|
+
reports used index columns in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log
|
432
|
+
level dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
|
433
|
+
<p>Execution example:</p>
|
434
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
435
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
436
|
+
select \
|
437
|
+
--table People \
|
438
|
+
--filter 'age > 5'
|
439
|
+
# [
|
440
|
+
# [
|
441
|
+
# 0,
|
442
|
+
# 1337566253.89858,
|
443
|
+
# 0.000355720520019531
|
444
|
+
# ],
|
445
|
+
# [
|
446
|
+
# [
|
447
|
+
# [
|
448
|
+
# 1
|
449
|
+
# ],
|
450
|
+
# [
|
451
|
+
# [
|
452
|
+
# "_id",
|
453
|
+
# "UInt32"
|
454
|
+
# ],
|
455
|
+
# [
|
456
|
+
# "_key",
|
457
|
+
# "ShortText"
|
458
|
+
# ],
|
459
|
+
# [
|
460
|
+
# "age",
|
461
|
+
# "UInt8"
|
462
|
+
# ],
|
463
|
+
# [
|
464
|
+
# "roles",
|
465
|
+
# "ShortText"
|
466
|
+
# ]
|
467
|
+
# ],
|
468
|
+
# [
|
469
|
+
# 1,
|
470
|
+
# "alice",
|
471
|
+
# 7,
|
472
|
+
# [
|
473
|
+
# "adventurer",
|
474
|
+
# "younger-sister"
|
475
|
+
# ]
|
476
|
+
# ]
|
477
|
+
# ]
|
478
|
+
# ]
|
479
|
+
# ]
|
480
|
+
# log: 2016-10-13 19:10:02.292711|i| [table][select][index][range] <Ages.people_age_index>
|
481
|
+
log_level --level notice
|
482
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
483
|
+
</pre></div>
|
484
|
+
</div>
|
485
|
+
<p>You can confirm that the <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> is used from the
|
486
|
+
following log:</p>
|
487
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[table][select][index][range] <Ages.people_age_index>
|
488
|
+
</pre></div>
|
489
|
+
</div>
|
490
|
+
<p>The log says <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> index column is used for range
|
491
|
+
search.</p>
|
492
|
+
</div>
|
493
|
+
<div class="section" id="create-an-index-column-for-full-text-search">
|
494
|
+
<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>
|
495
|
+
<p>There is a difference between for non full text search (equal search,
|
496
|
+
comparison search or range search) index column and for full text
|
497
|
+
search index column. You need to add <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> to the
|
498
|
+
<code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
499
|
+
<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's the
|
500
|
+
difference.</p>
|
501
|
+
<p>Here is an example to create a full text search index column for the
|
502
|
+
<code class="docutils literal"><span class="pre">roles</span></code> column of the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
|
503
|
+
<p>First, you need to create a table for full text search index
|
504
|
+
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
|
505
|
+
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
|
506
|
+
<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>
|
507
|
+
<p>Execution example:</p>
|
508
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
509
|
+
--name Terms \
|
510
|
+
--flags TABLE_PAT_KEY \
|
511
|
+
--key_type ShortText \
|
512
|
+
--default_tokenizer TokenBigram \
|
513
|
+
--normalizer NormalizerAuto
|
514
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
515
|
+
</pre></div>
|
516
|
+
</div>
|
517
|
+
<p>Now, you can create a full text search index column for the <code class="docutils literal"><span class="pre">roles</span></code>
|
518
|
+
column of the <code class="docutils literal"><span class="pre">People</span></code> table. <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> in the
|
519
|
+
<code class="docutils literal"><span class="pre">flags</span></code> 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
|
520
|
+
<code class="docutils literal"><span class="pre">roles</span></code> in the <code class="docutils literal"><span class="pre">source</span></code> parameter are important:</p>
|
521
|
+
<p>Execution example:</p>
|
522
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
523
|
+
--table Terms \
|
524
|
+
--name people_roles_index \
|
525
|
+
--flags COLUMN_INDEX|WITH_POSITION \
|
526
|
+
--type People \
|
527
|
+
--source roles
|
528
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
529
|
+
</pre></div>
|
530
|
+
</div>
|
531
|
+
<p>You can confirm that <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">roles</span></code> and <code class="docutils literal"><span class="pre">--query</span> <span class="pre">Sister</span></code>
|
532
|
+
are evaluated by the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> newly created full
|
533
|
+
text search index column from log. Groonga reports used index columns
|
534
|
+
in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log level dynamically by
|
535
|
+
<a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
|
536
|
+
<p>Execution example:</p>
|
537
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
538
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
539
|
+
select \
|
540
|
+
--table People \
|
541
|
+
--match_columns roles \
|
542
|
+
--query Sister
|
543
|
+
# [
|
544
|
+
# [
|
545
|
+
# 0,
|
546
|
+
# 1337566253.89858,
|
547
|
+
# 0.000355720520019531
|
548
|
+
# ],
|
549
|
+
# [
|
550
|
+
# [
|
551
|
+
# [
|
552
|
+
# 1
|
553
|
+
# ],
|
554
|
+
# [
|
555
|
+
# [
|
556
|
+
# "_id",
|
557
|
+
# "UInt32"
|
558
|
+
# ],
|
559
|
+
# [
|
560
|
+
# "_key",
|
561
|
+
# "ShortText"
|
562
|
+
# ],
|
563
|
+
# [
|
564
|
+
# "age",
|
565
|
+
# "UInt8"
|
566
|
+
# ],
|
567
|
+
# [
|
568
|
+
# "roles",
|
569
|
+
# "ShortText"
|
570
|
+
# ]
|
571
|
+
# ],
|
572
|
+
# [
|
573
|
+
# 1,
|
574
|
+
# "alice",
|
575
|
+
# 7,
|
576
|
+
# [
|
577
|
+
# "adventurer",
|
578
|
+
# "younger-sister"
|
579
|
+
# ]
|
580
|
+
# ]
|
581
|
+
# ]
|
582
|
+
# ]
|
583
|
+
# ]
|
584
|
+
# log: 2016-10-13 19:10:02.953279|i| [object][search][index][key][exact] <Terms.people_roles_index>
|
585
|
+
# log: 2016-10-13 19:10:02.953301|i| grn_ii_sel > (Sister)
|
586
|
+
# log: 2016-10-13 19:10:02.953331|i| n=1 (Sister)
|
587
|
+
# log: 2016-10-13 19:10:02.953358|i| exact: 1
|
588
|
+
# log: 2016-10-13 19:10:02.953362|i| hits=1
|
589
|
+
log_level --level notice
|
590
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
591
|
+
</pre></div>
|
592
|
+
</div>
|
593
|
+
<p>You can confirm that the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> is used from the
|
594
|
+
following log:</p>
|
595
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.people_roles_index>
|
596
|
+
</pre></div>
|
597
|
+
</div>
|
598
|
+
<p>The log says <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> index column is used for
|
599
|
+
full text search. (To be precise, the index column is used for exact
|
600
|
+
term search by inverted index.)</p>
|
601
|
+
</div>
|
602
|
+
<div class="section" id="create-a-multiple-columns-index-column">
|
603
|
+
<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
|
+
<p>You can create an index column for multiple columns. It means that you
|
605
|
+
can do fast search for multiple columns with one index
|
606
|
+
column. Multiple columns index column has better space efficiency than
|
607
|
+
single column index column only when multiple columns have many same
|
608
|
+
tokens. Multiple columns index column may be slower than single column
|
609
|
+
index column. Because multiple columns index column will be a bigger
|
610
|
+
index column.</p>
|
611
|
+
<p>You can't use multiples columns in different tables as index target
|
612
|
+
columns in the same multiple columns index column. You must specify
|
613
|
+
columns in the same tables as index target columns to one multiple
|
614
|
+
columns index column. For example, you can't create a multiple columns
|
615
|
+
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
|
616
|
+
of different tables. You can create a multiple columns index column
|
617
|
+
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
|
618
|
+
the same table.</p>
|
619
|
+
<p>There is a difference between for single column index column and for
|
620
|
+
multiple columns index column. You need to add <code class="docutils literal"><span class="pre">WITH_SECTION</span></code> to the
|
621
|
+
<code class="docutils literal"><span class="pre">flags</span></code> parameter. It means that you need to specify
|
622
|
+
<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's the
|
623
|
+
difference.</p>
|
624
|
+
<p>If you want to create a multiple columns index column for full text
|
625
|
+
search, you need to specify
|
626
|
+
<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>
|
627
|
+
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
|
628
|
+
text search index column details.</p>
|
629
|
+
<p>Here is an example to create a multiple columns full text search index
|
630
|
+
column for the key of the <code class="docutils literal"><span class="pre">People</span></code> table and the <code class="docutils literal"><span class="pre">roles</span></code> column of
|
631
|
+
the <code class="docutils literal"><span class="pre">People</span></code> table.</p>
|
632
|
+
<p>There is no difference between index table for single column index
|
633
|
+
column and multiple columns index column. In this example, the
|
634
|
+
<code class="docutils literal"><span class="pre">Terms</span></code> table created at <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>
|
635
|
+
is used.</p>
|
636
|
+
<p>You can create a multiple columns full text search index column for
|
637
|
+
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>
|
638
|
+
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>
|
639
|
+
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
|
640
|
+
the <code class="docutils literal"><span class="pre">source</span></code> parameter are important:</p>
|
641
|
+
<p>Execution example:</p>
|
642
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
643
|
+
--table Terms \
|
644
|
+
--name people_key_roles_index \
|
645
|
+
--flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
|
646
|
+
--type People \
|
647
|
+
--source _key,roles
|
648
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
649
|
+
</pre></div>
|
650
|
+
</div>
|
651
|
+
<p>You can confirm that <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">_key</span></code> and <code class="docutils literal"><span class="pre">--query</span>
|
652
|
+
<span class="pre">Alice</span></code> are evaluated by the <code class="docutils literal"><span class="pre">Terms.people_key_roles_index</span></code> newly
|
653
|
+
created multiple columns full text search index column from log. Groonga
|
654
|
+
reports used index columns in <code class="docutils literal"><span class="pre">info</span></code> log level. You can change log level
|
655
|
+
dynamically by <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> command.</p>
|
656
|
+
<p>Execution example:</p>
|
657
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
658
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
659
|
+
select \
|
660
|
+
--table People \
|
661
|
+
--match_columns _key,roles \
|
662
|
+
--query Alice
|
663
|
+
# [
|
664
|
+
# [
|
665
|
+
# 0,
|
666
|
+
# 1337566253.89858,
|
667
|
+
# 0.000355720520019531
|
668
|
+
# ],
|
669
|
+
# [
|
670
|
+
# [
|
671
|
+
# [
|
672
|
+
# 1
|
673
|
+
# ],
|
674
|
+
# [
|
675
|
+
# [
|
676
|
+
# "_id",
|
677
|
+
# "UInt32"
|
678
|
+
# ],
|
679
|
+
# [
|
680
|
+
# "_key",
|
681
|
+
# "ShortText"
|
682
|
+
# ],
|
683
|
+
# [
|
684
|
+
# "age",
|
685
|
+
# "UInt8"
|
686
|
+
# ],
|
687
|
+
# [
|
688
|
+
# "roles",
|
689
|
+
# "ShortText"
|
690
|
+
# ]
|
691
|
+
# ],
|
692
|
+
# [
|
693
|
+
# 1,
|
694
|
+
# "alice",
|
695
|
+
# 7,
|
696
|
+
# [
|
697
|
+
# "adventurer",
|
698
|
+
# "younger-sister"
|
699
|
+
# ]
|
700
|
+
# ]
|
701
|
+
# ]
|
702
|
+
# ]
|
703
|
+
# ]
|
704
|
+
# log: 2016-10-13 19:10:03.513171|i| [object][search][index][key][exact] <Terms.people_key_roles_index>
|
705
|
+
# log: 2016-10-13 19:10:03.513194|i| grn_ii_sel > (Alice)
|
706
|
+
# log: 2016-10-13 19:10:03.513219|i| n=1 (Alice)
|
707
|
+
# log: 2016-10-13 19:10:03.513247|i| exact: 1
|
708
|
+
# log: 2016-10-13 19:10:03.513251|i| hits=1
|
709
|
+
log_level --level notice
|
710
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
711
|
+
</pre></div>
|
712
|
+
</div>
|
713
|
+
<p>You can confirm that the <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> is used from the
|
714
|
+
following log:</p>
|
715
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.people_key_roles_index>
|
716
|
+
</pre></div>
|
717
|
+
</div>
|
718
|
+
<p>The log says <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> index column is used for
|
719
|
+
full text search. (To be precise, the index column is used for exact
|
720
|
+
term search by inverted index.)</p>
|
721
|
+
</div>
|
722
|
+
<div class="section" id="create-a-small-index-column">
|
723
|
+
<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>
|
724
|
+
<p>If you know index target data are small, you can reduce memory usage
|
725
|
+
for the index column. Memory usage is <code class="docutils literal"><span class="pre">1/256</span></code> of the default index
|
726
|
+
column.</p>
|
727
|
+
<p>How many data are small? It depends on data. Small index column can't
|
728
|
+
handle 1 billion records at least. If index target is only one
|
729
|
+
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
|
730
|
+
<code class="docutils literal"><span class="pre">LongText</span></code>), the maximum handleable records are depends of the
|
731
|
+
number of kinds of index target data. If index target column has
|
732
|
+
<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>
|
733
|
+
(<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
|
734
|
+
relationship between the number of kinds of index target data and the
|
735
|
+
number of handleable records:</p>
|
736
|
+
<table border="1" class="docutils" id="id1">
|
737
|
+
<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>
|
738
|
+
<colgroup>
|
739
|
+
<col width="50%" />
|
740
|
+
<col width="50%" />
|
741
|
+
</colgroup>
|
742
|
+
<thead valign="bottom">
|
743
|
+
<tr class="row-odd"><th class="head">The number of kinds of index target data</th>
|
744
|
+
<th class="head">The number of hanleable records</th>
|
745
|
+
</tr>
|
746
|
+
</thead>
|
747
|
+
<tbody valign="top">
|
748
|
+
<tr class="row-even"><td>1</td>
|
749
|
+
<td>16779234</td>
|
750
|
+
</tr>
|
751
|
+
<tr class="row-odd"><td>2</td>
|
752
|
+
<td>4648070</td>
|
753
|
+
</tr>
|
754
|
+
<tr class="row-even"><td>4</td>
|
755
|
+
<td>7238996</td>
|
756
|
+
</tr>
|
757
|
+
<tr class="row-odd"><td>8</td>
|
758
|
+
<td>8308622</td>
|
759
|
+
</tr>
|
760
|
+
<tr class="row-even"><td>16</td>
|
761
|
+
<td>11068624</td>
|
762
|
+
</tr>
|
763
|
+
<tr class="row-odd"><td>32</td>
|
764
|
+
<td>12670817</td>
|
765
|
+
</tr>
|
766
|
+
<tr class="row-even"><td>64</td>
|
767
|
+
<td>18524211</td>
|
768
|
+
</tr>
|
769
|
+
<tr class="row-odd"><td>128</td>
|
770
|
+
<td>38095511</td>
|
771
|
+
</tr>
|
772
|
+
<tr class="row-even"><td>256</td>
|
773
|
+
<td>51265384</td>
|
774
|
+
</tr>
|
775
|
+
</tbody>
|
776
|
+
</table>
|
777
|
+
<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
|
778
|
+
<code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_SMALL</span></code> to create a small index column.</p>
|
779
|
+
<p>If the <code class="docutils literal"><span class="pre">People</span></code> table has only 1 million records, you can use a
|
780
|
+
small index column for the <code class="docutils literal"><span class="pre">age</span></code> column:</p>
|
781
|
+
<p>Execution example:</p>
|
782
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
783
|
+
--table Ages \
|
784
|
+
--name people_age_small_index \
|
785
|
+
--flags COLUMN_INDEX|INDEX_SMALL \
|
786
|
+
--type People \
|
787
|
+
--source age
|
788
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
789
|
+
</pre></div>
|
790
|
+
</div>
|
791
|
+
</div>
|
792
|
+
<div class="section" id="create-a-medium-index-column">
|
793
|
+
<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>
|
794
|
+
<p>If you know index target data are medium, you can reduce memory usage
|
795
|
+
for the index column. Memory usage is <code class="docutils literal"><span class="pre">5/24</span></code> of the default index
|
796
|
+
column.</p>
|
797
|
+
<p>How many data are medium? It depends on data.</p>
|
798
|
+
<p>If index target is only one scalar column, a medium index column
|
799
|
+
can handle all records.</p>
|
800
|
+
<p>A medium index column may not handle all records at the following
|
801
|
+
cases:</p>
|
107
802
|
<blockquote>
|
108
|
-
<div><
|
109
|
-
<
|
803
|
+
<div><ul class="simple">
|
804
|
+
<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
|
805
|
+
<code class="docutils literal"><span class="pre">LongText</span></code>) scalar column</li>
|
806
|
+
<li>Index target is one vector column</li>
|
807
|
+
<li>Index targets are multiple columns</li>
|
808
|
+
<li>Index table has tokenizer</li>
|
809
|
+
</ul>
|
110
810
|
</div></blockquote>
|
111
|
-
<p><code class="docutils literal"><span class="pre">flags</span></code
|
811
|
+
<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
|
812
|
+
<code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_MEDIUM</span></code> to create a medium index column.</p>
|
813
|
+
<p>You can use a medium index column for an index column of the <code class="docutils literal"><span class="pre">age</span></code>
|
814
|
+
column of the <code class="docutils literal"><span class="pre">People</span></code> table safely. Because it's one scalar column
|
815
|
+
with <code class="docutils literal"><span class="pre">UInt8</span></code> type.</p>
|
816
|
+
<p>Here is an example to create a medium index column:</p>
|
817
|
+
<p>Execution example:</p>
|
818
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
819
|
+
--table Ages \
|
820
|
+
--name people_age_medium_index \
|
821
|
+
--flags COLUMN_INDEX|INDEX_MEDIUM \
|
822
|
+
--type People \
|
823
|
+
--source age
|
824
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
825
|
+
</pre></div>
|
826
|
+
</div>
|
827
|
+
</div>
|
828
|
+
</div>
|
829
|
+
<div class="section" id="parameters">
|
830
|
+
<h2>7.3.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
831
|
+
<p>This section describes all parameters.</p>
|
832
|
+
<div class="section" id="required-parameters">
|
833
|
+
<h3>7.3.11.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
834
|
+
<p>There are some required parameters.</p>
|
835
|
+
<div class="section" id="table">
|
836
|
+
<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>
|
837
|
+
<p>Specifies an existing table name for the new column.</p>
|
838
|
+
</div>
|
839
|
+
<div class="section" id="name">
|
840
|
+
<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>
|
841
|
+
<p>Specifies the column name to be created.</p>
|
842
|
+
<p>The column name must be unique in the same table.</p>
|
843
|
+
<p>Here are available characters:</p>
|
844
|
+
<ul class="simple">
|
845
|
+
<li><code class="docutils literal"><span class="pre">0</span></code> .. <code class="docutils literal"><span class="pre">9</span></code> (digit)</li>
|
846
|
+
<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>
|
847
|
+
<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>
|
848
|
+
<li><code class="docutils literal"><span class="pre">#</span></code> (hash)</li>
|
849
|
+
<li><code class="docutils literal"><span class="pre">@</span></code> (at mark)</li>
|
850
|
+
<li><code class="docutils literal"><span class="pre">-</span></code> (hyphen)</li>
|
851
|
+
<li><code class="docutils literal"><span class="pre">_</span></code> (underscore) (NOTE: Underscore can't be used as the first
|
852
|
+
character.)</li>
|
853
|
+
</ul>
|
854
|
+
<p>You need to create a name with one or more the above characters. Note
|
855
|
+
that you can't use <code class="docutils literal"><span class="pre">_</span></code> as the first character such as <code class="docutils literal"><span class="pre">_name</span></code>.</p>
|
856
|
+
</div>
|
857
|
+
<div class="section" id="flags">
|
858
|
+
<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>
|
859
|
+
<p>Specifies the column type and column customize options.</p>
|
860
|
+
<p>Here are available flags:</p>
|
861
|
+
<table border="1" class="docutils">
|
862
|
+
<colgroup>
|
863
|
+
<col width="50%" />
|
864
|
+
<col width="50%" />
|
865
|
+
</colgroup>
|
866
|
+
<thead valign="bottom">
|
867
|
+
<tr class="row-odd"><th class="head">Flag</th>
|
868
|
+
<th class="head">Description</th>
|
869
|
+
</tr>
|
870
|
+
</thead>
|
871
|
+
<tbody valign="top">
|
872
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code></td>
|
873
|
+
<td>Scalar column. It can store one value. See also
|
874
|
+
<a class="reference internal" href="../columns/scalar.html"><span class="doc">Scalar column</span></a> or
|
875
|
+
<a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a>.</td>
|
876
|
+
</tr>
|
877
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></td>
|
878
|
+
<td>Vector column. It can store multiple values. See also
|
879
|
+
<a class="reference internal" href="../columns/vector.html"><span class="doc">Vector column</span></a> or
|
880
|
+
<a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a>.</td>
|
881
|
+
</tr>
|
882
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></td>
|
883
|
+
<td>Index column. It stores data for fast search. See also
|
884
|
+
<a class="reference internal" href="../columns/index.html"><span class="doc">Index column</span></a> or
|
885
|
+
<a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a>.</td>
|
886
|
+
</tr>
|
887
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></td>
|
888
|
+
<td><p class="first">It enables column value compression by zlib. You need Groonga
|
889
|
+
that enables zlib support.</p>
|
890
|
+
<p>Compression by zlib is higher space efficiency than compression
|
891
|
+
by LZ4. But compression by zlib is slower than compression by
|
892
|
+
LZ4.</p>
|
893
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> and
|
894
|
+
<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COMPRESS_LZ4</span></code></td>
|
898
|
+
<td><p class="first">It enables column value compression by LZ4. You need Groonga
|
899
|
+
that enables LZ4 support.</p>
|
900
|
+
<p>Compression by LZ4 is faster than compression by zlib. But
|
901
|
+
compression by LZ4 is lower space efficiency than compression
|
902
|
+
by zlib.</p>
|
903
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> and
|
904
|
+
<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>.</p>
|
905
|
+
</td>
|
906
|
+
</tr>
|
907
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_SECTION</span></code></td>
|
908
|
+
<td><p class="first">It enables section support to index column.</p>
|
909
|
+
<p>If section support is enabled, you can support multiple
|
910
|
+
documents in the same index column.</p>
|
911
|
+
<p>You must specify this flag to create a multiple columns index
|
912
|
+
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
|
913
|
+
details.</p>
|
914
|
+
<p>Section support requires additional spaces. If you don't need
|
915
|
+
section support, you should not enable section support.</p>
|
916
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
917
|
+
</td>
|
918
|
+
</tr>
|
919
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></td>
|
920
|
+
<td><p class="first">It enables weight support to vector column or index column.</p>
|
921
|
+
<p>If weight support is enabled for vector column, you can add
|
922
|
+
weight for each element. If weight support is enabled for index
|
923
|
+
column, you can add weight for each posting. They are useful to
|
924
|
+
compute suitable search score.</p>
|
925
|
+
<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
|
926
|
+
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>
|
927
|
+
<p>Weight support requires additional spaces. If you don't need
|
928
|
+
weight support, you should not enable weight support.</p>
|
929
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> or
|
930
|
+
<code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
931
|
+
</td>
|
932
|
+
</tr>
|
933
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_POSITION</span></code></td>
|
934
|
+
<td><p class="first">It enables position support to index column. It means that the
|
935
|
+
index column is full inverted index. (Index column is
|
936
|
+
implemented as inverted index.)</p>
|
937
|
+
<p>If position support is enabled, you can add position in the
|
938
|
+
document for each posting. It's required for phrase search. It
|
939
|
+
means that index column for full text search must enable
|
940
|
+
position support because most full text search uses phrase
|
941
|
+
search.</p>
|
942
|
+
<p>You must specify this flag to create a full text search index
|
943
|
+
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
|
944
|
+
details.</p>
|
945
|
+
<p>Position support requires additional spaces. If you don't need
|
946
|
+
position support, you should not enable position support.</p>
|
947
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
948
|
+
</td>
|
949
|
+
</tr>
|
950
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">INDEX_SMALL</span></code></td>
|
951
|
+
<td><div class="first versionadded">
|
952
|
+
<p><span class="versionmodified">New in version 6.0.8.</span></p>
|
953
|
+
</div>
|
954
|
+
<p>It requires to create a small index column.</p>
|
955
|
+
<p>If index target data are small, small index column is enough.
|
956
|
+
Small index column uses fewer memory than a normal index column
|
957
|
+
or a medium index column. See also
|
958
|
+
<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
|
959
|
+
data" and how to use this flag.</p>
|
960
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
961
|
+
</td>
|
962
|
+
</tr>
|
963
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code></td>
|
964
|
+
<td><div class="first versionadded">
|
965
|
+
<p><span class="versionmodified">New in version 6.0.8.</span></p>
|
966
|
+
</div>
|
967
|
+
<p>It requires to create a medium index column.</p>
|
968
|
+
<p>If index target data are medium, medium index column is enough.
|
969
|
+
Medium index column uses fewer memory than a normal index
|
970
|
+
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
|
971
|
+
what are "medium data" and how to use this flag.</p>
|
972
|
+
<p class="last">This flag is available only for <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code>.</p>
|
973
|
+
</td>
|
974
|
+
</tr>
|
975
|
+
</tbody>
|
976
|
+
</table>
|
977
|
+
<p>You must specify one of <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. You can't specify
|
978
|
+
two or more <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> flags. For example,
|
979
|
+
<code class="docutils literal"><span class="pre">COLUMN_SCALAR|COLUMN_VECTOR</span></code> is invalid.</p>
|
980
|
+
<p>You can combine flags with <code class="docutils literal"><span class="pre">|</span></code> (vertical bar) such as
|
981
|
+
<code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION|WITH_POSITION</span></code>.</p>
|
982
|
+
</div>
|
983
|
+
<div class="section" id="type">
|
984
|
+
<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>
|
985
|
+
<p>Specifies type of the column value.</p>
|
986
|
+
<p>If the column is scalar column or vector column, here are available
|
987
|
+
types:</p>
|
112
988
|
<blockquote>
|
113
|
-
<div><
|
114
|
-
<
|
115
|
-
<
|
116
|
-
|
117
|
-
<dt>1, <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></dt>
|
118
|
-
<dd>複数の値の配列を格納できるカラムを作成します。</dd>
|
119
|
-
<dt>2, <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></dt>
|
120
|
-
<dd>インデックス型のカラムを作成します。</dd>
|
121
|
-
</dl>
|
122
|
-
<p>There are two flags to compress the value of column, but you can't specify these flags for now because there are memory leaks issue <a class="reference external" href="https://github.com/groonga/groonga/issues/6">GitHub#6</a> when refers the value of column. This issue occurs both of them (zlib and lzo).</p>
|
123
|
-
<dl class="docutils">
|
124
|
-
<dt>16, <code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></dt>
|
125
|
-
<dd>Compress the value of column by using zlib. This flag is enabled when you build Groonga with <code class="docutils literal"><span class="pre">--with-zlib</span></code>.</dd>
|
126
|
-
<dt>32, <code class="docutils literal"><span class="pre">COMPRESS_LZO</span></code></dt>
|
127
|
-
<dd>Compress the value of column by using lzo. This flag is enabled when you build Groonga with <code class="docutils literal"><span class="pre">--with-lzo</span></code>.</dd>
|
128
|
-
</dl>
|
129
|
-
<p>インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追加の属
|
130
|
-
性を指定することができます。</p>
|
131
|
-
<dl class="docutils">
|
132
|
-
<dt>128, <code class="docutils literal"><span class="pre">WITH_SECTION</span></code></dt>
|
133
|
-
<dd>段落情報を格納するインデックスを作成します。</dd>
|
134
|
-
<dt>256, <code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></dt>
|
135
|
-
<dd>ウェイト情報を格納するインデックスを作成します。</dd>
|
136
|
-
<dt>512, <code class="docutils literal"><span class="pre">WITH_POSITION</span></code></dt>
|
137
|
-
<dd>位置情報を格納するインデックス(完全転置インデックス)を作成します。</dd>
|
138
|
-
</dl>
|
989
|
+
<div><ul class="simple">
|
990
|
+
<li>Builtin types described in <a class="reference internal" href="../types.html"><span class="doc">Data types</span></a></li>
|
991
|
+
<li>Tables defined by users</li>
|
992
|
+
</ul>
|
139
993
|
</div></blockquote>
|
140
|
-
<p
|
994
|
+
<p>If the column is index column, here are available types:</p>
|
141
995
|
<blockquote>
|
142
|
-
<div
|
143
|
-
<
|
996
|
+
<div><ul class="simple">
|
997
|
+
<li>Tables defined by users</li>
|
998
|
+
</ul>
|
999
|
+
</div></blockquote>
|
1000
|
+
<p>See also the followings:</p>
|
144
1001
|
<blockquote>
|
145
|
-
<div
|
1002
|
+
<div><ul class="simple">
|
1003
|
+
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">Create a scalar column</span></a></li>
|
1004
|
+
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">Create a vector column</span></a></li>
|
1005
|
+
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">Create a column that refers a table's record</span></a></li>
|
1006
|
+
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">Create an index column</span></a></li>
|
1007
|
+
</ul>
|
1008
|
+
</div></blockquote>
|
1009
|
+
</div>
|
1010
|
+
</div>
|
1011
|
+
<div class="section" id="optional-parameters">
|
1012
|
+
<h3>7.3.11.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
1013
|
+
<p>There is an optional parameter.</p>
|
1014
|
+
<div class="section" id="source">
|
1015
|
+
<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>
|
1016
|
+
<p>Specifies index target columns. You can specify one or more columns to
|
1017
|
+
the <code class="docutils literal"><span class="pre">source</span></code> parameter.</p>
|
1018
|
+
<p>This parameter is only available for index column.</p>
|
1019
|
+
<p>You can only specify columns of the table specified as
|
1020
|
+
<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
|
1021
|
+
for specifying the table key as index target.</p>
|
1022
|
+
<p>If you specify multiple columns to the <code class="docutils literal"><span class="pre">source</span></code> parameter, separate
|
1023
|
+
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>
|
1024
|
+
</div>
|
1025
|
+
</div>
|
146
1026
|
</div>
|
147
1027
|
<div class="section" id="return-value">
|
148
1028
|
<h2>7.3.11.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
149
|
-
<
|
1029
|
+
<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>
|
1030
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, true]
|
150
1031
|
</pre></div>
|
151
1032
|
</div>
|
152
|
-
<p><code class="docutils literal"><span class="pre">
|
153
|
-
|
154
|
-
<div
|
155
|
-
|
1033
|
+
<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
|
1034
|
+
body:</p>
|
1035
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, false]
|
1036
|
+
</pre></div>
|
1037
|
+
</div>
|
1038
|
+
<p>Error details are in <code class="docutils literal"><span class="pre">HEADER</span></code>.</p>
|
1039
|
+
<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>
|
1040
|
+
</div>
|
1041
|
+
<div class="section" id="see-also">
|
1042
|
+
<h2>7.3.11.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
156
1043
|
<blockquote>
|
157
|
-
<div
|
1044
|
+
<div><ul class="simple">
|
1045
|
+
<li><a class="reference internal" href="../column.html"><span class="doc">Column</span></a></li>
|
1046
|
+
<li><a class="reference internal" href="table_create.html"><span class="doc">table_create</span></a></li>
|
1047
|
+
<li><a class="reference internal" href="../command/output_format.html"><span class="doc">Output format</span></a></li>
|
1048
|
+
</ul>
|
1049
|
+
</div></blockquote>
|
158
1050
|
</div>
|
159
1051
|
</div>
|
160
1052
|
|
@@ -169,9 +1061,34 @@
|
|
169
1061
|
<li><a class="reference internal" href="#">7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code></a><ul>
|
170
1062
|
<li><a class="reference internal" href="#summary">7.3.11.1. Summary</a></li>
|
171
1063
|
<li><a class="reference internal" href="#syntax">7.3.11.2. Syntax</a></li>
|
172
|
-
<li><a class="reference internal" href="#usage">7.3.11.3. Usage</a
|
173
|
-
<li><a class="reference internal" href="#
|
1064
|
+
<li><a class="reference internal" href="#usage">7.3.11.3. Usage</a><ul>
|
1065
|
+
<li><a class="reference internal" href="#create-a-scalar-column">7.3.11.3.1. Create a scalar column</a></li>
|
1066
|
+
<li><a class="reference internal" href="#create-a-vector-column">7.3.11.3.2. Create a vector column</a></li>
|
1067
|
+
<li><a class="reference internal" href="#create-a-weight-vector-column">7.3.11.3.3. Create a weight vector column</a></li>
|
1068
|
+
<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>
|
1069
|
+
<li><a class="reference internal" href="#create-an-index-column">7.3.11.3.5. Create an index column</a></li>
|
1070
|
+
<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>
|
1071
|
+
<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>
|
1072
|
+
<li><a class="reference internal" href="#create-a-small-index-column">7.3.11.3.8. Create a small index column</a></li>
|
1073
|
+
<li><a class="reference internal" href="#create-a-medium-index-column">7.3.11.3.9. Create a medium index column</a></li>
|
1074
|
+
</ul>
|
1075
|
+
</li>
|
1076
|
+
<li><a class="reference internal" href="#parameters">7.3.11.4. Parameters</a><ul>
|
1077
|
+
<li><a class="reference internal" href="#required-parameters">7.3.11.4.1. Required parameters</a><ul>
|
1078
|
+
<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>
|
1079
|
+
<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>
|
1080
|
+
<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>
|
1081
|
+
<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>
|
1082
|
+
</ul>
|
1083
|
+
</li>
|
1084
|
+
<li><a class="reference internal" href="#optional-parameters">7.3.11.4.2. Optional parameters</a><ul>
|
1085
|
+
<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>
|
1086
|
+
</ul>
|
1087
|
+
</li>
|
1088
|
+
</ul>
|
1089
|
+
</li>
|
174
1090
|
<li><a class="reference internal" href="#return-value">7.3.11.5. Return value</a></li>
|
1091
|
+
<li><a class="reference internal" href="#see-also">7.3.11.6. See also</a></li>
|
175
1092
|
</ul>
|
176
1093
|
</li>
|
177
1094
|
</ul>
|
@@ -215,13 +1132,13 @@
|
|
215
1132
|
<li class="right" >
|
216
1133
|
<a href="column_copy.html" title="7.3.10. column_copy"
|
217
1134
|
>previous</a> |</li>
|
218
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
219
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a>
|
220
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a>
|
1135
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0 documentation</a> »</li>
|
1136
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1137
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. Command</a> »</li>
|
221
1138
|
</ul>
|
222
1139
|
</div>
|
223
1140
|
<div class="footer" role="contentinfo">
|
224
|
-
|
1141
|
+
© Copyright 2009-2016, Brazil, Inc.
|
225
1142
|
</div>
|
226
1143
|
</body>
|
227
1144
|
</html>
|