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. リクエストタイムアウト
|
10
|
+
<title>7.3.5. リクエストタイムアウト — Groonga v6.1.0ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.6. リターンコード" href="return_code.html" />
|
32
34
|
<link rel="prev" title="7.3.4. リクエストID" href="request_id.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="request_id.html" title="7.3.4. リクエストID"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -181,13 +183,13 @@
|
|
181
183
|
<li class="right" >
|
182
184
|
<a href="request_id.html" title="7.3.4. リクエストID"
|
183
185
|
>前へ</a> |</li>
|
184
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
185
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
186
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
186
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
187
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
188
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
187
189
|
</ul>
|
188
190
|
</div>
|
189
191
|
<div class="footer" role="contentinfo">
|
190
|
-
|
192
|
+
© Copyright 2009-2016, Brazil, Inc.
|
191
193
|
</div>
|
192
194
|
</body>
|
193
195
|
</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. リターンコード
|
10
|
+
<title>7.3.6. リターンコード — Groonga v6.1.0ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.7. cache_limit" href="../commands/cache_limit.html" />
|
32
34
|
<link rel="prev" title="7.3.5. リクエストタイムアウト" href="request_timeout.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="request_timeout.html" title="7.3.5. リクエストタイムアウト"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -231,13 +233,13 @@
|
|
231
233
|
<li class="right" >
|
232
234
|
<a href="request_timeout.html" title="7.3.5. リクエストタイムアウト"
|
233
235
|
>前へ</a> |</li>
|
234
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
235
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
236
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
236
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
237
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
238
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
237
239
|
</ul>
|
238
240
|
</div>
|
239
241
|
<div class="footer" role="contentinfo">
|
240
|
-
|
242
|
+
© Copyright 2009-2016, Brazil, Inc.
|
241
243
|
</div>
|
242
244
|
</body>
|
243
245
|
</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ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.8. check" href="check.html" />
|
32
34
|
<link rel="prev" title="7.3.6. リターンコード" href="../command/return_code.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="../command/return_code.html" title="7.3.6. リターンコード"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -198,13 +200,13 @@ cache_limit
|
|
198
200
|
<li class="right" >
|
199
201
|
<a href="../command/return_code.html" title="7.3.6. リターンコード"
|
200
202
|
>前へ</a> |</li>
|
201
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
202
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
203
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
203
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
204
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
205
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
204
206
|
</ul>
|
205
207
|
</div>
|
206
208
|
<div class="footer" role="contentinfo">
|
207
|
-
|
209
|
+
© Copyright 2009-2016, Brazil, Inc.
|
208
210
|
</div>
|
209
211
|
</body>
|
210
212
|
</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ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.9. clearlock" href="clearlock.html" />
|
32
34
|
<link rel="prev" title="7.3.7. cache_limit" href="cache_limit.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="cache_limit.html" title="7.3.7. cache_limit"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -266,13 +268,13 @@
|
|
266
268
|
<li class="right" >
|
267
269
|
<a href="cache_limit.html" title="7.3.7. cache_limit"
|
268
270
|
>前へ</a> |</li>
|
269
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
270
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
271
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
271
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
272
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
273
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
272
274
|
</ul>
|
273
275
|
</div>
|
274
276
|
<div class="footer" role="contentinfo">
|
275
|
-
|
277
|
+
© Copyright 2009-2016, Brazil, Inc.
|
276
278
|
</div>
|
277
279
|
</body>
|
278
280
|
</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ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.10. column_copy" href="column_copy.html" />
|
32
34
|
<link rel="prev" title="7.3.8. check" href="check.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="check.html" title="7.3.8. check"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -181,13 +183,13 @@
|
|
181
183
|
<li class="right" >
|
182
184
|
<a href="check.html" title="7.3.8. check"
|
183
185
|
>前へ</a> |</li>
|
184
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
185
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
186
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
186
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
187
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
188
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
187
189
|
</ul>
|
188
190
|
</div>
|
189
191
|
<div class="footer" role="contentinfo">
|
190
|
-
|
192
|
+
© Copyright 2009-2016, Brazil, Inc.
|
191
193
|
</div>
|
192
194
|
</body>
|
193
195
|
</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ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.11. column_create" href="column_create.html" />
|
32
34
|
<link rel="prev" title="7.3.9. clearlock" href="clearlock.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="clearlock.html" title="7.3.9. clearlock"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -766,13 +768,13 @@ select ToTable --output_columns _key,to_column
|
|
766
768
|
<li class="right" >
|
767
769
|
<a href="clearlock.html" title="7.3.9. clearlock"
|
768
770
|
>前へ</a> |</li>
|
769
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
770
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
771
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
771
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
772
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
773
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
772
774
|
</ul>
|
773
775
|
</div>
|
774
776
|
<div class="footer" role="contentinfo">
|
775
|
-
|
777
|
+
© Copyright 2009-2016, Brazil, Inc.
|
776
778
|
</div>
|
777
779
|
</body>
|
778
780
|
</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ドキュメント</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
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="
|
29
|
+
<link rel="index" title="索引" href="../../genindex.html" />
|
30
|
+
<link rel="search" title="検索" href="../../search.html" />
|
31
|
+
<link rel="top" title="Groonga v6.1.0ドキュメント" href="../../index.html" />
|
30
32
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
33
|
<link rel="next" title="7.3.12. column_list" href="column_list.html" />
|
32
34
|
<link rel="prev" title="7.3.10. column_copy" href="column_copy.html" />
|
@@ -61,9 +63,9 @@
|
|
61
63
|
<li class="right" >
|
62
64
|
<a href="column_copy.html" title="7.3.10. column_copy"
|
63
65
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
65
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a>
|
66
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
67
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
69
|
</ul>
|
68
70
|
</div>
|
69
71
|
|
@@ -76,89 +78,816 @@
|
|
76
78
|
<h1>7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code><a class="headerlink" href="#column-create" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
79
|
<div class="section" id="summary">
|
78
80
|
<h2>7.3.11.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
-
<p>column_create
|
80
|
-
<p>
|
81
|
-
<p>
|
81
|
+
<p><code class="docutils literal"><span class="pre">column_create</span></code> はテーブルに新しいカラムを作成します。</p>
|
82
|
+
<p>1つのレコードに複数の値を保存したい場合は1つ以上カラムを作成する必要があります。</p>
|
83
|
+
<p>Groongaはインデックスをカラムとして提供しています。これは他のシステムと異なります。他のシステムではインデックスはインデックスです。インデックスをカラムとして実装していることで高い柔軟性を実現しています。たとえば、各トークンにメタデータを追加することができます。</p>
|
84
|
+
<p>カラムの詳細は <a class="reference internal" href="../column.html"><span class="doc">カラム</span></a> を見てください。</p>
|
82
85
|
</div>
|
83
86
|
<div class="section" id="syntax">
|
84
87
|
<h2>7.3.11.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
85
|
-
<
|
88
|
+
<p>このコマンドにはたくさんの引数があります。</p>
|
89
|
+
<p>多くの引数は必須です:</p>
|
90
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create table
|
91
|
+
name
|
92
|
+
flags
|
93
|
+
type
|
94
|
+
[source=null]
|
86
95
|
</pre></div>
|
87
96
|
</div>
|
88
97
|
</div>
|
89
98
|
<div class="section" id="usage">
|
90
99
|
<h2>7.3.11.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
|
-
<p
|
92
|
-
<
|
93
|
-
|
100
|
+
<p>このセクションでは次のことについて説明します。</p>
|
101
|
+
<blockquote>
|
102
|
+
<div><ul class="simple">
|
103
|
+
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">スカラーカラムを作成</span></a></li>
|
104
|
+
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">ベクターカラムを作成</span></a></li>
|
105
|
+
<li><a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">重み付きベクターカラムの作成</span></a></li>
|
106
|
+
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">テーブルのレコードを参照するカラムを作成</span></a></li>
|
107
|
+
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">インデックスカラムを作成</span></a></li>
|
108
|
+
<li><a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">全文検索用のインデックスカラムを作成</span></a></li>
|
109
|
+
<li><a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">マルチカラムインデックスカラムを作成</span></a></li>
|
110
|
+
<li><a class="reference internal" href="#column-create-index-small"><span class="std std-ref">小さなインデックスカラムを作成</span></a></li>
|
111
|
+
<li><a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">中サイズのインデックスカラムを作成</span></a></li>
|
112
|
+
</ul>
|
113
|
+
</div></blockquote>
|
114
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルの定義です。例ではこの <code class="docutils literal"><span class="pre">People</span></code> テーブルを使います。</p>
|
115
|
+
<p>実行例:</p>
|
116
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
117
|
+
--name People \
|
118
|
+
--flags TABLE_HASH_KEY \
|
119
|
+
--key_type ShortText
|
120
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
94
121
|
</pre></div>
|
95
122
|
</div>
|
96
|
-
<
|
97
|
-
<
|
98
|
-
|
123
|
+
<div class="section" id="create-a-scalar-column">
|
124
|
+
<span id="column-create-scalar"></span><h3>7.3.11.3.1. スカラーカラムを作成<a class="headerlink" href="#create-a-scalar-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
125
|
+
<p>Groongaは1つの値を保存する用途としてスカラーカラムを提供しています。たとえば、「人」レコードに「年齢」情報を保存するときはスカラーカラムが適切です。なぜなら「人」レコードは「年齢」を1つだけ持つからです。</p>
|
126
|
+
<p>1つのレコードに複数の値を保存したい場合には、スカラーカラムは適していません。代わりに <a class="reference internal" href="#column-create-vector"><span class="std std-ref">ベクターカラムを作成</span></a> を使ってください。</p>
|
127
|
+
<p>スカラーカラムを作成するには <code class="docutils literal"><span class="pre">flags</span></code> 引数に <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> を指定します。</p>
|
128
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルに <code class="docutils literal"><span class="pre">age</span></code> カラムを作成する例です。 <code class="docutils literal"><span class="pre">age</span></code> カラムはスカラーカラムです。このカラムには <code class="docutils literal"><span class="pre">UInt8</span></code> ( <code class="docutils literal"><span class="pre">0-255</span></code> )の値を1つ保存できます。</p>
|
129
|
+
<p>実行例:</p>
|
130
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
131
|
+
--table People \
|
132
|
+
--name age \
|
133
|
+
--flags COLUMN_SCALAR \
|
134
|
+
--type UInt8
|
135
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
99
136
|
</pre></div>
|
100
137
|
</div>
|
138
|
+
<p>以下の <a class="reference internal" href="load.html"><span class="doc">load</span></a> コマンドで1つの値( <code class="docutils literal"><span class="pre">7</span></code> )を保存できます。</p>
|
139
|
+
<p>実行例:</p>
|
140
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
141
|
+
[
|
142
|
+
{"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
143
|
+
]
|
144
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
145
|
+
</pre></div>
|
101
146
|
</div>
|
102
|
-
<
|
103
|
-
<
|
104
|
-
<
|
147
|
+
<p>以下の <a class="reference internal" href="select.html"><span class="doc">select</span></a> コマンドで保存された1つの値( <code class="docutils literal"><span class="pre">7</span></code> )を確認できます。</p>
|
148
|
+
<p>実行例:</p>
|
149
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
150
|
+
# [
|
151
|
+
# [
|
152
|
+
# 0,
|
153
|
+
# 1337566253.89858,
|
154
|
+
# 0.000355720520019531
|
155
|
+
# ],
|
156
|
+
# [
|
157
|
+
# [
|
158
|
+
# [
|
159
|
+
# 1
|
160
|
+
# ],
|
161
|
+
# [
|
162
|
+
# [
|
163
|
+
# "_id",
|
164
|
+
# "UInt32"
|
165
|
+
# ],
|
166
|
+
# [
|
167
|
+
# "_key",
|
168
|
+
# "ShortText"
|
169
|
+
# ],
|
170
|
+
# [
|
171
|
+
# "age",
|
172
|
+
# "UInt8"
|
173
|
+
# ]
|
174
|
+
# ],
|
175
|
+
# [
|
176
|
+
# 1,
|
177
|
+
# "alice",
|
178
|
+
# 7
|
179
|
+
# ]
|
180
|
+
# ]
|
181
|
+
# ]
|
182
|
+
# ]
|
183
|
+
</pre></div>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<div class="section" id="create-a-vector-column">
|
187
|
+
<span id="column-create-vector"></span><h3>7.3.11.3.2. ベクターカラムを作成<a class="headerlink" href="#create-a-vector-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
188
|
+
<p>Groongaは複数の値を保存する用途としてベクターカラムを提供しています。たとえば、「人」レコードに複数の「役割」を保存する場合はベクターカラムが適切です。なぜなら「人」レコードは複数の「役割」を持つかもしれないからです。</p>
|
189
|
+
<p>もし1つのレコードに値を1つだけ保存したい場合はベクターカラムは向いていません。代わりに <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">スカラーカラムを作成</span></a> を使ってください。</p>
|
190
|
+
<p>ベクターカラムを作成するには <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> を指定します。</p>
|
191
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルに <code class="docutils literal"><span class="pre">roles</span></code> カラムを作成する例です。 <code class="docutils literal"><span class="pre">roles</span></code> カラムはベクターカラムです。カラムの値として0個以上の <code class="docutils literal"><span class="pre">ShortText</span></code> の値を保存できます。</p>
|
192
|
+
<p>実行例:</p>
|
193
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
194
|
+
--table People \
|
195
|
+
--name roles \
|
196
|
+
--flags COLUMN_VECTOR \
|
197
|
+
--type ShortText
|
198
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
199
|
+
</pre></div>
|
200
|
+
</div>
|
201
|
+
<p>以下の <a class="reference internal" href="load.html"><span class="doc">load</span></a> コマンドで複数の値( <code class="docutils literal"><span class="pre">["adventurer",</span> <span class="pre">"younger-sister"]</span></code> )を保存できます。</p>
|
202
|
+
<p>実行例:</p>
|
203
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table People
|
204
|
+
[
|
205
|
+
{"_key": "alice", "roles": ["adventurer", "younger-sister"]}
|
206
|
+
]
|
207
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
208
|
+
</pre></div>
|
209
|
+
</div>
|
210
|
+
<p>保存した複数の値( <code class="docutils literal"><span class="pre">["adventurer",</span> <span class="pre">"younger-sister"]</span></code> )は以下の <a class="reference internal" href="select.html"><span class="doc">select</span></a> コマンドで確認できます。</p>
|
211
|
+
<p>実行例:</p>
|
212
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select --table People
|
213
|
+
# [
|
214
|
+
# [
|
215
|
+
# 0,
|
216
|
+
# 1337566253.89858,
|
217
|
+
# 0.000355720520019531
|
218
|
+
# ],
|
219
|
+
# [
|
220
|
+
# [
|
221
|
+
# [
|
222
|
+
# 1
|
223
|
+
# ],
|
224
|
+
# [
|
225
|
+
# [
|
226
|
+
# "_id",
|
227
|
+
# "UInt32"
|
228
|
+
# ],
|
229
|
+
# [
|
230
|
+
# "_key",
|
231
|
+
# "ShortText"
|
232
|
+
# ],
|
233
|
+
# [
|
234
|
+
# "age",
|
235
|
+
# "UInt8"
|
236
|
+
# ],
|
237
|
+
# [
|
238
|
+
# "roles",
|
239
|
+
# "ShortText"
|
240
|
+
# ]
|
241
|
+
# ],
|
242
|
+
# [
|
243
|
+
# 1,
|
244
|
+
# "alice",
|
245
|
+
# 7,
|
246
|
+
# [
|
247
|
+
# "adventurer",
|
248
|
+
# "younger-sister"
|
249
|
+
# ]
|
250
|
+
# ]
|
251
|
+
# ]
|
252
|
+
# ]
|
253
|
+
# ]
|
254
|
+
</pre></div>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
<div class="section" id="create-a-weight-vector-column">
|
258
|
+
<span id="column-create-vector-weight"></span><h3>7.3.11.3.3. 重み付きベクターカラムの作成<a class="headerlink" href="#create-a-weight-vector-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
259
|
+
<p>TODO: See also <a class="reference internal" href="../columns/vector.html#weight-vector-column"><span class="std std-ref">重み付きベクターカラム</span></a> and <a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a>.</p>
|
260
|
+
</div>
|
261
|
+
<div class="section" id="create-a-column-that-refers-a-table-s-record">
|
262
|
+
<span id="column-create-reference"></span><h3>7.3.11.3.4. テーブルのレコードを参照するカラムを作成<a class="headerlink" href="#create-a-column-that-refers-a-table-s-record" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
263
|
+
<p>スカラーカラムもベクターカラムも既存のテーブルのレコードへの参照を保存することができます。これはレコード間の参照関係を保存する場合に便利です。</p>
|
264
|
+
<p>たとえば、「本」レコードで登場人物を保存する場合は、「人」レコードを参照するカラムを使うとよいです。なぜなら、同じ「人」が複数の本に登場するかもしれないからです。</p>
|
265
|
+
<p>テーブルのレコードを参照するカラムを作成するには <code class="docutils literal"><span class="pre">type</span></code> パラメーターに参照するテーブルの名前を指定します。</p>
|
266
|
+
<p>以下は <code class="docutils literal"><span class="pre">Books</span></code> テーブルに <code class="docutils literal"><span class="pre">character</span></code> カラムを作成する例です。 <code class="docutils literal"><span class="pre">character</span></code> カラムは <code class="docutils literal"><span class="pre">People</span></code> テーブルを参照しています。 <code class="docutils literal"><span class="pre">character</span></code> カラムには <code class="docutils literal"><span class="pre">People</span></code> テーブルのレコードを1つ保存できます。</p>
|
267
|
+
<p>以下が <code class="docutils literal"><span class="pre">Books</span></code> テーブルの定義です。</p>
|
268
|
+
<p>実行例:</p>
|
269
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
270
|
+
--name Books \
|
271
|
+
--flags TABLE_HASH_KEY \
|
272
|
+
--key_type ShortText
|
273
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
274
|
+
</pre></div>
|
275
|
+
</div>
|
276
|
+
<p>以下は <code class="docutils literal"><span class="pre">Books</span></code> テーブルにある <code class="docutils literal"><span class="pre">character</span></code> カラムの定義です。 <code class="docutils literal"><span class="pre">--type</span> <span class="pre">People</span></code> がポイントです。</p>
|
277
|
+
<p>実行例:</p>
|
278
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
279
|
+
--table Books \
|
280
|
+
--name character \
|
281
|
+
--flags COLUMN_SCALAR \
|
282
|
+
--type People
|
283
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
284
|
+
</pre></div>
|
285
|
+
</div>
|
286
|
+
<p>以下の <a class="reference internal" href="load.html"><span class="doc">load</span></a> コマンドで1つの参照( <code class="docutils literal"><span class="pre">"alice"</span></code> )を保存できます。レコードを参照するにはキーの値( <code class="docutils literal"><span class="pre">People._key</span></code> の値)を使います。</p>
|
287
|
+
<p>実行例:</p>
|
288
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>load --table Books
|
289
|
+
[
|
290
|
+
{"_key": "Alice's Adventure in Wonderland", "character": "alice"}
|
291
|
+
]
|
292
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
293
|
+
</pre></div>
|
294
|
+
</div>
|
295
|
+
<p>保存した参照( <code class="docutils literal"><span class="pre">"alice"</span></code> レコード)は以下の <a class="reference internal" href="select.html"><span class="doc">select</span></a> コマンドで確認できます。以下の例では <code class="docutils literal"><span class="pre">age</span></code> カラムの値と <code class="docutils literal"><span class="pre">roles</span></code> カラムの値を取得しています。</p>
|
296
|
+
<p>実行例:</p>
|
297
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>select \
|
298
|
+
--table Books \
|
299
|
+
--output_columns _key,character._key,character.age,character.roles
|
300
|
+
# [
|
301
|
+
# [
|
302
|
+
# 0,
|
303
|
+
# 1337566253.89858,
|
304
|
+
# 0.000355720520019531
|
305
|
+
# ],
|
306
|
+
# [
|
307
|
+
# [
|
308
|
+
# [
|
309
|
+
# 1
|
310
|
+
# ],
|
311
|
+
# [
|
312
|
+
# [
|
313
|
+
# "_key",
|
314
|
+
# "ShortText"
|
315
|
+
# ],
|
316
|
+
# [
|
317
|
+
# "character._key",
|
318
|
+
# "ShortText"
|
319
|
+
# ],
|
320
|
+
# [
|
321
|
+
# "character.age",
|
322
|
+
# "UInt8"
|
323
|
+
# ],
|
324
|
+
# [
|
325
|
+
# "character.roles",
|
326
|
+
# "ShortText"
|
327
|
+
# ]
|
328
|
+
# ],
|
329
|
+
# [
|
330
|
+
# "Alice's Adventure in Wonderland",
|
331
|
+
# "alice",
|
332
|
+
# 7,
|
333
|
+
# [
|
334
|
+
# "adventurer",
|
335
|
+
# "younger-sister"
|
336
|
+
# ]
|
337
|
+
# ]
|
338
|
+
# ]
|
339
|
+
# ]
|
340
|
+
# ]
|
341
|
+
</pre></div>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
<div class="section" id="create-an-index-column">
|
345
|
+
<span id="column-create-index"></span><h3>7.3.11.3.5. インデックスカラムを作成<a class="headerlink" href="#create-an-index-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
346
|
+
<p>Groongaは高速に検索する用途としてインデックスカラムを提供しています。インデックスカラムはあなたのデータを保存しません。インデックスカラムは高速な検索に必要なデータを保存します。</p>
|
347
|
+
<p>インデックスカラムは自分で更新する必要はありません。インデックス対象のデータカラム(スカラーカラムまたはベクターカラム)にデータを入れると、インデックスカラムは自動で更新されます。1つのインデックスカラムに複数のインデックス対象のカラムを指定することもできます。</p>
|
348
|
+
<p>もし、 <code class="docutils literal"><span class="pre">People</span></code> テーブルの <code class="docutils literal"><span class="pre">age</span></code> カラム用のインデックスカラムがあると、 <code class="docutils literal"><span class="pre">age</span></code> カラムの値に対する完全一致検索・比較検索・範囲検索を高速に処理することができます。</p>
|
349
|
+
<p>インデックスカラムを作成するには次のパラメーターを指定します。</p>
|
105
350
|
<blockquote>
|
106
|
-
<div
|
107
|
-
<p><code class="docutils literal"><span class="pre">
|
351
|
+
<div><ul class="simple">
|
352
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">flags</span></code> パラメーター: <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></p>
|
353
|
+
</li>
|
354
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">type</span></code> パラメーター: インデックス対象カラムのテーブル名(たとえば <code class="docutils literal"><span class="pre">People</span></code> )</p>
|
355
|
+
</li>
|
356
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">source</span></code> パラメーター:インデックス対象カラム名(たとえば <code class="docutils literal"><span class="pre">age</span></code> )</p>
|
357
|
+
</li>
|
358
|
+
</ul>
|
359
|
+
</div></blockquote>
|
360
|
+
<p>完全一致検索・比較検索・範囲検索用のインデックスカラムには <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに追加のフラグは必要ありません。全文検索用のインデックスカラム、マルチカラムインデックスカラムには追加のフラグが必要になります。詳細は <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">全文検索用のインデックスカラムを作成</span></a> と <a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">マルチカラムインデックスカラムを作成</span></a> を見てください。</p>
|
361
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルの <code class="docutils literal"><span class="pre">age</span></code> カラム用のインデックスカラムを作成する例です。</p>
|
362
|
+
<p>はじめに範囲インデックスカラム用のテーブルを作成します。詳細は <a class="reference internal" href="table_create.html#table-create-range-index-table"><span class="std std-ref">範囲検索用のインデックステーブルの作成</span></a> を見てください。この例では <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> として <code class="docutils literal"><span class="pre">Ages</span></code> テーブルを作成します。</p>
|
363
|
+
<p>実行例:</p>
|
364
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
365
|
+
--name Ages \
|
366
|
+
--flags TABLE_PAT_KEY \
|
367
|
+
--key_type UInt8
|
368
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
369
|
+
</pre></div>
|
370
|
+
</div>
|
371
|
+
<p>これで <code class="docutils literal"><span class="pre">People</span></code> テーブルの <code class="docutils literal"><span class="pre">age</span></code> カラム用のインデックスカラムを作れるようになりました。 <code class="docutils literal"><span class="pre">flags</span></code> パラメーターの <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> 、 <code class="docutils literal"><span class="pre">type</span></code> パラメーターの <code class="docutils literal"><span class="pre">People</span></code> 、 <code class="docutils literal"><span class="pre">source</span></code> パラメーターの <code class="docutils literal"><span class="pre">age</span></code> がポイントです。</p>
|
372
|
+
<p>実行例:</p>
|
373
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
374
|
+
--table Ages \
|
375
|
+
--name people_age_index \
|
376
|
+
--flags COLUMN_INDEX \
|
377
|
+
--type People \
|
378
|
+
--source age
|
379
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
380
|
+
</pre></div>
|
381
|
+
</div>
|
382
|
+
<p>ログを確認すると、新しく作成した <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> インデックスカラムを使って <code class="docutils literal"><span class="pre">age</span> <span class="pre">></span> <span class="pre">5</span></code> を評価していることがわかります。Groongaは使用したインデックスカラムを <code class="docutils literal"><span class="pre">info</span></code> ログレベルでログに出力します。ログレベルは <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> コマンドを使うと動的に変更できます。</p>
|
383
|
+
<p>実行例:</p>
|
384
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
385
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
386
|
+
select \
|
387
|
+
--table People \
|
388
|
+
--filter 'age > 5'
|
389
|
+
# [
|
390
|
+
# [
|
391
|
+
# 0,
|
392
|
+
# 1337566253.89858,
|
393
|
+
# 0.000355720520019531
|
394
|
+
# ],
|
395
|
+
# [
|
396
|
+
# [
|
397
|
+
# [
|
398
|
+
# 1
|
399
|
+
# ],
|
400
|
+
# [
|
401
|
+
# [
|
402
|
+
# "_id",
|
403
|
+
# "UInt32"
|
404
|
+
# ],
|
405
|
+
# [
|
406
|
+
# "_key",
|
407
|
+
# "ShortText"
|
408
|
+
# ],
|
409
|
+
# [
|
410
|
+
# "age",
|
411
|
+
# "UInt8"
|
412
|
+
# ],
|
413
|
+
# [
|
414
|
+
# "roles",
|
415
|
+
# "ShortText"
|
416
|
+
# ]
|
417
|
+
# ],
|
418
|
+
# [
|
419
|
+
# 1,
|
420
|
+
# "alice",
|
421
|
+
# 7,
|
422
|
+
# [
|
423
|
+
# "adventurer",
|
424
|
+
# "younger-sister"
|
425
|
+
# ]
|
426
|
+
# ]
|
427
|
+
# ]
|
428
|
+
# ]
|
429
|
+
# ]
|
430
|
+
# log: 2016-10-13 19:10:02.292711|i| [table][select][index][range] <Ages.people_age_index>
|
431
|
+
log_level --level notice
|
432
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
433
|
+
</pre></div>
|
434
|
+
</div>
|
435
|
+
<p>以下のログから <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> が使われたことを確認できます。</p>
|
436
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[table][select][index][range] <Ages.people_age_index>
|
437
|
+
</pre></div>
|
438
|
+
</div>
|
439
|
+
<p>このログは範囲検索に <code class="docutils literal"><span class="pre">Ages.people_age_index</span></code> インデックスカラムを使ったことを示しています。</p>
|
440
|
+
</div>
|
441
|
+
<div class="section" id="create-an-index-column-for-full-text-search">
|
442
|
+
<span id="column-create-index-full-text-search"></span><h3>7.3.11.3.6. 全文検索用のインデックスカラムを作成<a class="headerlink" href="#create-an-index-column-for-full-text-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
443
|
+
<p>非全文検索(完全一致検索・比較検索・範囲検索)用インデックスカラムと全文検索用インデックスカラムには1つ違いがあります。全文検索用インデックスカラムでは <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">WITH_POSITION</span></code> を追加する必要があります。つまり、 <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> を指定するということです。これが違いです。</p>
|
444
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルの <code class="docutils literal"><span class="pre">roles</span></code> カラム用の全文検索インデックスカラムを作成する例です。</p>
|
445
|
+
<p>はじめに全文検索インデックスカラム用のテーブルを作成します。詳細は <a class="reference internal" href="table_create.html#table-create-lexicon"><span class="std std-ref">語彙表の作成</span></a> を見てください。この例では <a class="reference internal" href="../tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> に <a class="reference internal" href="../tokenizers.html#token-bigram"><span class="std std-ref">TokenBigram</span></a> トークナイザーと <a class="reference internal" href="../normalizers.html#normalizer-auto"><span class="std std-ref">NormalizerAuto</span></a> ノーマライザーを指定した <code class="docutils literal"><span class="pre">Terms</span></code> テーブルを作成しています。</p>
|
446
|
+
<p>実行例:</p>
|
447
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create \
|
448
|
+
--name Terms \
|
449
|
+
--flags TABLE_PAT_KEY \
|
450
|
+
--key_type ShortText \
|
451
|
+
--default_tokenizer TokenBigram \
|
452
|
+
--normalizer NormalizerAuto
|
453
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
454
|
+
</pre></div>
|
455
|
+
</div>
|
456
|
+
<p>これで <code class="docutils literal"><span class="pre">Poeple</span></code> テーブルの <code class="docutils literal"><span class="pre">roles</span></code> カラム用の全文検索インデックスカラムを作成できるようになりました。 <code class="docutils literal"><span class="pre">flags</span></code> パラメーターの <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION</span></code> 、 <code class="docutils literal"><span class="pre">type</span></code> パラメーターの <code class="docutils literal"><span class="pre">People</span></code> 、 <code class="docutils literal"><span class="pre">source</span></code> パラメーターの <code class="docutils literal"><span class="pre">roles</span></code> がポイントです。</p>
|
457
|
+
<p>実行例:</p>
|
458
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
459
|
+
--table Terms \
|
460
|
+
--name people_roles_index \
|
461
|
+
--flags COLUMN_INDEX|WITH_POSITION \
|
462
|
+
--type People \
|
463
|
+
--source roles
|
464
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
465
|
+
</pre></div>
|
466
|
+
</div>
|
467
|
+
<p>ログを確認すると、新しく作成した <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> 全文検索インデックスカラムで <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">roles</span></code> と <code class="docutils literal"><span class="pre">--query</span> <span class="pre">Sister</span></code> を処理していることがわかります。Groongaは使用したインデックスカラムを <code class="docutils literal"><span class="pre">info</span></code> ログレベルでログに出力します。ログレベルは <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> コマンドを使うと動的に変更できます。</p>
|
468
|
+
<p>実行例:</p>
|
469
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
470
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
471
|
+
select \
|
472
|
+
--table People \
|
473
|
+
--match_columns roles \
|
474
|
+
--query Sister
|
475
|
+
# [
|
476
|
+
# [
|
477
|
+
# 0,
|
478
|
+
# 1337566253.89858,
|
479
|
+
# 0.000355720520019531
|
480
|
+
# ],
|
481
|
+
# [
|
482
|
+
# [
|
483
|
+
# [
|
484
|
+
# 1
|
485
|
+
# ],
|
486
|
+
# [
|
487
|
+
# [
|
488
|
+
# "_id",
|
489
|
+
# "UInt32"
|
490
|
+
# ],
|
491
|
+
# [
|
492
|
+
# "_key",
|
493
|
+
# "ShortText"
|
494
|
+
# ],
|
495
|
+
# [
|
496
|
+
# "age",
|
497
|
+
# "UInt8"
|
498
|
+
# ],
|
499
|
+
# [
|
500
|
+
# "roles",
|
501
|
+
# "ShortText"
|
502
|
+
# ]
|
503
|
+
# ],
|
504
|
+
# [
|
505
|
+
# 1,
|
506
|
+
# "alice",
|
507
|
+
# 7,
|
508
|
+
# [
|
509
|
+
# "adventurer",
|
510
|
+
# "younger-sister"
|
511
|
+
# ]
|
512
|
+
# ]
|
513
|
+
# ]
|
514
|
+
# ]
|
515
|
+
# ]
|
516
|
+
# log: 2016-10-13 19:10:02.953279|i| [object][search][index][key][exact] <Terms.people_roles_index>
|
517
|
+
# log: 2016-10-13 19:10:02.953301|i| grn_ii_sel > (Sister)
|
518
|
+
# log: 2016-10-13 19:10:02.953331|i| n=1 (Sister)
|
519
|
+
# log: 2016-10-13 19:10:02.953358|i| exact: 1
|
520
|
+
# log: 2016-10-13 19:10:02.953362|i| hits=1
|
521
|
+
log_level --level notice
|
522
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
523
|
+
</pre></div>
|
524
|
+
</div>
|
525
|
+
<p>以下のログから <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> を使ったことを確認できます。</p>
|
526
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.people_roles_index>
|
527
|
+
</pre></div>
|
528
|
+
</div>
|
529
|
+
<p>このログは全文検索に <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> インデックスカラムを使ったことを示しています。(正確に言うと転置索引を使った完全一致検索にこのインデックスカラムを使っています。)</p>
|
530
|
+
</div>
|
531
|
+
<div class="section" id="create-a-multiple-columns-index-column">
|
532
|
+
<span id="column-create-index-multiple-columns"></span><h3>7.3.11.3.7. マルチカラムインデックスカラムを作成<a class="headerlink" href="#create-a-multiple-columns-index-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
533
|
+
<p>複数のカラム用のインデックスカラムを作成できます。これは1つのインデックスカラムで複数のカラムに対して高速に検索できるということです。インデックス対象の複数のカラムが多くの同じトークンを共有しているときは、マルチカラムインデックスカラムはシングルカラムインデックスカラムよりも空間効率がよくなります。一方、検索速度はシングルから無インデックスカラムの方が速くなることが多いです。理由はマルチカラムインデックスカラムは大きくなりがちだからです。</p>
|
534
|
+
<p>1つのマルチカラムインデックスカラムで、異なるテーブルの複数のカラムをインデックス対象にすることはできません。1つのマルチカラムインデックスカラムでは同じテーブルの複数のカラムをインデックス対象に指定してください。たとえば、 <code class="docutils literal"><span class="pre">People._key</span></code> と <code class="docutils literal"><span class="pre">Books._key</span></code> をインデックス対象としたマルチカラムインデックスカラムは作成できません。なぜなら、違うテーブルのカラムだからです。 <code class="docutils literal"><span class="pre">People._key</span></code> と <code class="docutils literal"><span class="pre">People.roles</span></code> をインデックス対象としたマルチカラムインデックスカラムは作成できます。なぜなら同じテーブルのカラムだからです。</p>
|
535
|
+
<p>シングルカラムインデックスカラムとマルチカラムインデックスカラムでは違いがあります。マルチカラムインデックスカラムのときは <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">WITH_SECTION</span></code> を追加しなければいけません。つまり、 <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_SECTION</span></code> と指定するということです。これが違いです。</p>
|
536
|
+
<p>全文検索用のマルチカラムインデックスカラムを作成する場合は <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> と指定します。全文検索インデックスカラムの詳細は <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">全文検索用のインデックスカラムを作成</span></a> を見てください。</p>
|
537
|
+
<p>以下は <code class="docutils literal"><span class="pre">People</span></code> テーブルのキーと <code class="docutils literal"><span class="pre">roles</span></code> カラム用のマルチカラム全文検索インデックスカラムを作成する例です。</p>
|
538
|
+
<p>インデックス用のテーブルは、シングルカラムインデックスとマルチカラムインデックスカラムで違いはありません。この例では <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">全文検索用のインデックスカラムを作成</span></a> で使った <code class="docutils literal"><span class="pre">Terms</span></code> テーブルを使います。</p>
|
539
|
+
<p><code class="docutils literal"><span class="pre">People</span></code> テーブルのキーと <code class="docutils literal"><span class="pre">roles</span></code> カラム用のマルチカラム全文検索インデックスカラムを作成します。 <code class="docutils literal"><span class="pre">flags</span></code> パラメーターの <code class="docutils literal"><span class="pre">COLUMN_INDEX|WITH_POSITION|WITH_SECTION</span></code> 、 <code class="docutils literal"><span class="pre">type</span></code> パラメーターの <code class="docutils literal"><span class="pre">People</span></code> 、 <code class="docutils literal"><span class="pre">source</span></code> パラメーターの <code class="docutils literal"><span class="pre">_key,roles</span></code> がポイントです。</p>
|
540
|
+
<p>実行例:</p>
|
541
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
542
|
+
--table Terms \
|
543
|
+
--name people_key_roles_index \
|
544
|
+
--flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
|
545
|
+
--type People \
|
546
|
+
--source _key,roles
|
547
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
548
|
+
</pre></div>
|
549
|
+
</div>
|
550
|
+
<p>ログを確認すると、新しく作成した <code class="docutils literal"><span class="pre">Terms.people_key_roles_index</span></code> マルチカラム全文検索インデックスカラムを使って <code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">_key</span></code> と <code class="docutils literal"><span class="pre">--query</span> <span class="pre">Alice</span></code> を評価していることがわかります。Groongaは使用したインデックスカラムを <code class="docutils literal"><span class="pre">info</span></code> ログレベルでログに出力します。ログレベルは <a class="reference internal" href="log_level.html"><span class="doc">log_level</span></a> コマンドを使うと動的に変更できます。</p>
|
551
|
+
<p>実行例:</p>
|
552
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>log_level --level info
|
553
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
554
|
+
select \
|
555
|
+
--table People \
|
556
|
+
--match_columns _key,roles \
|
557
|
+
--query Alice
|
558
|
+
# [
|
559
|
+
# [
|
560
|
+
# 0,
|
561
|
+
# 1337566253.89858,
|
562
|
+
# 0.000355720520019531
|
563
|
+
# ],
|
564
|
+
# [
|
565
|
+
# [
|
566
|
+
# [
|
567
|
+
# 1
|
568
|
+
# ],
|
569
|
+
# [
|
570
|
+
# [
|
571
|
+
# "_id",
|
572
|
+
# "UInt32"
|
573
|
+
# ],
|
574
|
+
# [
|
575
|
+
# "_key",
|
576
|
+
# "ShortText"
|
577
|
+
# ],
|
578
|
+
# [
|
579
|
+
# "age",
|
580
|
+
# "UInt8"
|
581
|
+
# ],
|
582
|
+
# [
|
583
|
+
# "roles",
|
584
|
+
# "ShortText"
|
585
|
+
# ]
|
586
|
+
# ],
|
587
|
+
# [
|
588
|
+
# 1,
|
589
|
+
# "alice",
|
590
|
+
# 7,
|
591
|
+
# [
|
592
|
+
# "adventurer",
|
593
|
+
# "younger-sister"
|
594
|
+
# ]
|
595
|
+
# ]
|
596
|
+
# ]
|
597
|
+
# ]
|
598
|
+
# ]
|
599
|
+
# log: 2016-10-13 19:10:03.513171|i| [object][search][index][key][exact] <Terms.people_key_roles_index>
|
600
|
+
# log: 2016-10-13 19:10:03.513194|i| grn_ii_sel > (Alice)
|
601
|
+
# log: 2016-10-13 19:10:03.513219|i| n=1 (Alice)
|
602
|
+
# log: 2016-10-13 19:10:03.513247|i| exact: 1
|
603
|
+
# log: 2016-10-13 19:10:03.513251|i| hits=1
|
604
|
+
log_level --level notice
|
605
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
606
|
+
</pre></div>
|
607
|
+
</div>
|
608
|
+
<p>以下のログから <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> を使ったことを確認できます。</p>
|
609
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[object][search][index][key][exact] <Terms.people_key_roles_index>
|
610
|
+
</pre></div>
|
611
|
+
</div>
|
612
|
+
<p>このログは全文検索に <code class="docutils literal"><span class="pre">Terms.people_roles_index</span></code> インデックスカラムを使ったことを示しています。(正確に言うと転置索引を使った完全一致検索にこのインデックスカラムを使っています。)</p>
|
613
|
+
</div>
|
614
|
+
<div class="section" id="create-a-small-index-column">
|
615
|
+
<span id="column-create-index-small"></span><h3>7.3.11.3.8. 小さなインデックスカラムを作成<a class="headerlink" href="#create-a-small-index-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
616
|
+
<p>もし、インデックス対象のデータが小さいことがわかっているならインデックスカラムが使用するメモリー量を減らせます。デフォルトのインデックスカラムと比べて <code class="docutils literal"><span class="pre">1/256</span></code> のメモリー使用量になります。</p>
|
617
|
+
<p>ではどのくらいのデータなら小さいのでしょうか。それはデータによります。小さなインデックスカラムは少なくとも10億レコードを扱えません。もし、インデックス対象がテキスト系の型(<code class="docutils literal"><span class="pre">ShortText</span></code> 、 <code class="docutils literal"><span class="pre">Text</span></code> 、 <code class="docutils literal"><span class="pre">LongText</span></code> のどれか)ではないスカラーカラムだけの場合、扱える最大レコード数はインデックス対象のデータの種類に依存します。もし、インデックス対象のカラムに <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> 、 <code class="docutils literal"><span class="pre">3</span></code> というデータが入っていたとすると、種類数は <code class="docutils literal"><span class="pre">3</span></code> ( <code class="docutils literal"><span class="pre">1</span></code> と <code class="docutils literal"><span class="pre">2</span></code> と <code class="docutils literal"><span class="pre">3</span></code> )になります。以下の表はインデックス対象データの種類数と扱える最大レコード数の関係を示しています。</p>
|
618
|
+
<table border="1" class="docutils" id="id1">
|
619
|
+
<caption><span class="caption-text">インデックス対象データの種類数と小さなインデックスカラムで扱えるレコード数</span><a class="headerlink" href="#id1" title="このテーブルへのパーマリンク">¶</a></caption>
|
620
|
+
<colgroup>
|
621
|
+
<col width="50%" />
|
622
|
+
<col width="50%" />
|
623
|
+
</colgroup>
|
624
|
+
<thead valign="bottom">
|
625
|
+
<tr class="row-odd"><th class="head"><p class="first last">インデックス対象のデータの種類数</p>
|
626
|
+
</th>
|
627
|
+
<th class="head"><p class="first last">処理できるレコード数</p>
|
628
|
+
</th>
|
629
|
+
</tr>
|
630
|
+
</thead>
|
631
|
+
<tbody valign="top">
|
632
|
+
<tr class="row-even"><td>1</td>
|
633
|
+
<td>16779234</td>
|
634
|
+
</tr>
|
635
|
+
<tr class="row-odd"><td>2</td>
|
636
|
+
<td>4648070</td>
|
637
|
+
</tr>
|
638
|
+
<tr class="row-even"><td>4</td>
|
639
|
+
<td>7238996</td>
|
640
|
+
</tr>
|
641
|
+
<tr class="row-odd"><td>8</td>
|
642
|
+
<td>8308622</td>
|
643
|
+
</tr>
|
644
|
+
<tr class="row-even"><td>16</td>
|
645
|
+
<td>11068624</td>
|
646
|
+
</tr>
|
647
|
+
<tr class="row-odd"><td>32</td>
|
648
|
+
<td>12670817</td>
|
649
|
+
</tr>
|
650
|
+
<tr class="row-even"><td>64</td>
|
651
|
+
<td>18524211</td>
|
652
|
+
</tr>
|
653
|
+
<tr class="row-odd"><td>128</td>
|
654
|
+
<td>38095511</td>
|
655
|
+
</tr>
|
656
|
+
<tr class="row-even"><td>256</td>
|
657
|
+
<td>51265384</td>
|
658
|
+
</tr>
|
659
|
+
</tbody>
|
660
|
+
</table>
|
661
|
+
<p>小さなインデックスカラムを作成するには <code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_SMALL</span></code> というように <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">INDEX_SMALL</span></code> を追加します。</p>
|
662
|
+
<p><code class="docutils literal"><span class="pre">People</span></code> テーブルが100万レコードしかないなら、 <code class="docutils literal"><span class="pre">age</span></code> カラム用に小さなインデックスカラムを使うことができます。</p>
|
663
|
+
<p>実行例:</p>
|
664
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
665
|
+
--table Ages \
|
666
|
+
--name people_age_small_index \
|
667
|
+
--flags COLUMN_INDEX|INDEX_SMALL \
|
668
|
+
--type People \
|
669
|
+
--source age
|
670
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
671
|
+
</pre></div>
|
672
|
+
</div>
|
673
|
+
</div>
|
674
|
+
<div class="section" id="create-a-medium-index-column">
|
675
|
+
<span id="column-create-index-medium"></span><h3>7.3.11.3.9. 中サイズのインデックスカラムを作成<a class="headerlink" href="#create-a-medium-index-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
676
|
+
<p>インデックス対象のデータが中サイズならインデックスカラムが使うメモリー使用量を減らすことができます。デフォルトのインデックスカラムよりも <code class="docutils literal"><span class="pre">5/24</span></code> のメモリー使用量になります。</p>
|
677
|
+
<p>どのくらいのデータが中サイズのデータでしょうか。それはデータによります。</p>
|
678
|
+
<p>もし、インデックス対象がスカラーカラム1つだけであれば、中サイズのインデックスカラムはすべてのレコードを処理できます。</p>
|
679
|
+
<p>以下のケースでは中サイズのインデックスカラムはすべてのレコードを処理できないかもしれません。</p>
|
108
680
|
<blockquote>
|
109
|
-
<div><
|
110
|
-
<p
|
681
|
+
<div><ul class="simple">
|
682
|
+
<li><p class="first">インデックス対象がテキスト系の型( <code class="docutils literal"><span class="pre">ShortText</span></code> 、 <code class="docutils literal"><span class="pre">Text</span></code> 、 <code class="docutils literal"><span class="pre">LongText</span></code> のどれか)のスカラーカラム1つ</p>
|
683
|
+
</li>
|
684
|
+
<li><p class="first">インデックス対象がベクターカラム1つ</p>
|
685
|
+
</li>
|
686
|
+
<li><p class="first">インデックス対象が複数のカラム</p>
|
687
|
+
</li>
|
688
|
+
<li><p class="first">インデックステーブルにトークナイザーが付いている</p>
|
689
|
+
</li>
|
690
|
+
</ul>
|
111
691
|
</div></blockquote>
|
112
|
-
<p><code class="docutils literal"><span class="pre">flags</span></code></p>
|
692
|
+
<p>中サイズのインデックスカラムを作成するには <code class="docutils literal"><span class="pre">COLUMN_INDEX|INDEX_MEDIUM</span></code> というように <code class="docutils literal"><span class="pre">flags</span></code> パラメーターに <code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code> を追加します。</p>
|
693
|
+
<p><code class="docutils literal"><span class="pre">People</span></code> テーブルの <code class="docutils literal"><span class="pre">age</span></code> カラム用のインデックスカラムであれば中サイズのインデックスカラムでも安全です。なぜなら、 <code class="docutils literal"><span class="pre">UInt8</span></code> 型のスカラーカラム1つだからです。</p>
|
694
|
+
<p>以下は中サイズのインデックスカラムを作る例です。</p>
|
695
|
+
<p>実行例:</p>
|
696
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>column_create \
|
697
|
+
--table Ages \
|
698
|
+
--name people_age_medium_index \
|
699
|
+
--flags COLUMN_INDEX|INDEX_MEDIUM \
|
700
|
+
--type People \
|
701
|
+
--source age
|
702
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
703
|
+
</pre></div>
|
704
|
+
</div>
|
705
|
+
</div>
|
706
|
+
</div>
|
707
|
+
<div class="section" id="parameters">
|
708
|
+
<h2>7.3.11.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
709
|
+
<p>このセクションではすべての引数について説明します。</p>
|
710
|
+
<div class="section" id="required-parameters">
|
711
|
+
<h3>7.3.11.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
712
|
+
<p>いくつか必須の引数があります。</p>
|
713
|
+
<div class="section" id="table">
|
714
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
715
|
+
<p>新しいカラムを追加する対象となる既存のテーブル名を指定します。</p>
|
716
|
+
</div>
|
717
|
+
<div class="section" id="name">
|
718
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
719
|
+
<p>作成するカラム名を指定します。</p>
|
720
|
+
<p>カラム名は同じテーブル内で一意でなければいけません。</p>
|
721
|
+
<p>利用可能な文字は以下の通りです。</p>
|
722
|
+
<ul class="simple">
|
723
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">0</span></code> .. <code class="docutils literal"><span class="pre">9</span></code> (数字)</p>
|
724
|
+
</li>
|
725
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">a</span></code> .. <code class="docutils literal"><span class="pre">z</span></code> (アルファベット。小文字)</p>
|
726
|
+
</li>
|
727
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">A</span></code> .. <code class="docutils literal"><span class="pre">Z</span></code> (アルファベット。大文字)</p>
|
728
|
+
</li>
|
729
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">#</span></code> (シャープ)</p>
|
730
|
+
</li>
|
731
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">@</span></code> (アットマーク)</p>
|
732
|
+
</li>
|
733
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">-</span></code> (ハイフン)</p>
|
734
|
+
</li>
|
735
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">_</span></code> (アンダースコア)(注: 最初の文字としてアンダースコアを使うことはできません。)</p>
|
736
|
+
</li>
|
737
|
+
</ul>
|
738
|
+
<p>上記の文字を1つ以上使って名前を決めます。 <code class="docutils literal"><span class="pre">_name</span></code> というように、最初の文字に <code class="docutils literal"><span class="pre">_</span></code> を使えないことに注意してください。</p>
|
739
|
+
</div>
|
740
|
+
<div class="section" id="flags">
|
741
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
742
|
+
<p>カラムの種類とカラムをカスタマイズするオプションを指定します。</p>
|
743
|
+
<p>指定可能なフラグは以下の通りです。</p>
|
744
|
+
<table border="1" class="docutils">
|
745
|
+
<colgroup>
|
746
|
+
<col width="50%" />
|
747
|
+
<col width="50%" />
|
748
|
+
</colgroup>
|
749
|
+
<thead valign="bottom">
|
750
|
+
<tr class="row-odd"><th class="head"><p class="first last">フラグ</p>
|
751
|
+
</th>
|
752
|
+
<th class="head"><p class="first last">説明</p>
|
753
|
+
</th>
|
754
|
+
</tr>
|
755
|
+
</thead>
|
756
|
+
<tbody valign="top">
|
757
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code></td>
|
758
|
+
<td><p class="first last">スカラーカラム。値を1つ保存できます。 <a class="reference internal" href="../columns/scalar.html"><span class="doc">スカラーカラム</span></a> あるいは <a class="reference internal" href="#column-create-scalar"><span class="std std-ref">スカラーカラムを作成</span></a> も見てください。</p>
|
759
|
+
</td>
|
760
|
+
</tr>
|
761
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code></td>
|
762
|
+
<td><p class="first last">ベクターカラム。複数の値を保存できます。 <a class="reference internal" href="../columns/vector.html"><span class="doc">ベクターカラム</span></a> あるいは <a class="reference internal" href="#column-create-vector"><span class="std std-ref">ベクターカラムを作成</span></a> も見てください。</p>
|
763
|
+
</td>
|
764
|
+
</tr>
|
765
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></td>
|
766
|
+
<td><p class="first last">インデックスカラム。高速に検索するためのデータを保存します。 <a class="reference internal" href="../columns/index.html"><span class="doc">インデックスカラム</span></a> あるいは <a class="reference internal" href="#column-create-index"><span class="std std-ref">インデックスカラムを作成</span></a> も見てください。</p>
|
767
|
+
</td>
|
768
|
+
</tr>
|
769
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></td>
|
770
|
+
<td><p class="first">zlibを使ったカラム値圧縮機能を有効にします。zlibサポート付きのGroongaが必要です。</p>
|
771
|
+
<p>zlibを使った圧縮はLZ4を使った圧縮よりも空間効率がよいです。しかし、zlibを使った圧縮はLZ4を使った圧縮よりも遅いです。</p>
|
772
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> と <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> でだけ使えます。</p>
|
773
|
+
</td>
|
774
|
+
</tr>
|
775
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COMPRESS_LZ4</span></code></td>
|
776
|
+
<td><p class="first">LZ4を使ったカラム値圧縮機能を有効にします。LZ4サポート付きのGroongaが必要です。</p>
|
777
|
+
<p>LZ4を使った圧縮はzlibを使った圧縮よりも速いです。しかし、LZ4を使った圧縮はzlibを使った圧縮よりも空間効率が低いです。</p>
|
778
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_SCALAR</span></code> と <code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> でだけ使えます。</p>
|
779
|
+
</td>
|
780
|
+
</tr>
|
781
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_SECTION</span></code></td>
|
782
|
+
<td><p class="first">インデックスカラムのセクションサポートを有効にします。</p>
|
783
|
+
<p>セクションサポートが有効になると、同じインデックスカラムで複数の文書をサポートできます。</p>
|
784
|
+
<p>マルチカラムインデックスカラムを作成するときはこのフラグを指定しなければいけません。詳細は <a class="reference internal" href="#column-create-index-multiple-columns"><span class="std std-ref">マルチカラムインデックスカラムを作成</span></a> を見てください。</p>
|
785
|
+
<p>セクションサポートを有効にするとインデックスカラムが使う領域が増えます。セクションサポートが必要ない場合は有効にしないでください。</p>
|
786
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> でだけ有効です。</p>
|
787
|
+
</td>
|
788
|
+
</tr>
|
789
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></td>
|
790
|
+
<td><p class="first">ベクターカラム・インデックスカラムの重みサポートを有効にします。</p>
|
791
|
+
<p>ベクターカラムの重みサポートを有効にすると各要素に重みを追加できます。インデックスカラムの重みサポートを有効にすると各ポスティングに重みを追加できます。これらは検索スコアの調整に役立ちます。</p>
|
792
|
+
<p><a class="reference internal" href="select.html#select-adjuster"><span class="std std-ref">adjuster</span></a> を使う場合はこのフラグを指定します。詳細は <a class="reference internal" href="#column-create-vector-weight"><span class="std std-ref">重み付きベクターカラムの作成</span></a> を見てください。</p>
|
793
|
+
<p>重みをサポートすると使用する領域が増えます。重みが必要ない場合は有効にしないでください。</p>
|
794
|
+
<p class="last"><code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code> と <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> でだけこのフラグは有効です。</p>
|
795
|
+
</td>
|
796
|
+
</tr>
|
797
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WITH_POSITION</span></code></td>
|
798
|
+
<td><p class="first">インデックスカラムの位置情報サポートを有効にします。これはインデックスカラムを完全転置インデックスにするということです。(インデックスカラムは転置インデックスとして実装されています。)</p>
|
799
|
+
<p>位置情報サポートが有効だと各ポスティングにドキュメントでの出現位置を追加できます。この情報はフレーズ検索をするときに必要になります。全文検索用のインデックスは位置情報サポートを有効にしなければいけません。なぜなら、全文検索はフレーズ検索を使うからです。</p>
|
800
|
+
<p>全文検索インデックスカラムを作成するときはこのフラグを指定してください。詳細は <a class="reference internal" href="#column-create-index-full-text-search"><span class="std std-ref">全文検索用のインデックスカラムを作成</span></a> を見てください。</p>
|
801
|
+
<p>位置情報をサポートすると使用する領域が増えます。位置情報サポートが必要ない場合は有効にしないでください。</p>
|
802
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> でだけ有効です。</p>
|
803
|
+
</td>
|
804
|
+
</tr>
|
805
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">INDEX_SMALL</span></code></td>
|
806
|
+
<td><div class="first versionadded">
|
807
|
+
<p><span class="versionmodified">バージョン 6.0.8 で追加.</span></p>
|
808
|
+
</div>
|
809
|
+
<p>小さなインデックスを作成するときに指定します。</p>
|
810
|
+
<p>インデックス対象のデータが小さいときは小さなインデックスカラムで十分です。小さなインデックスカラムは通常のインデックスカラム・中サイズのインデックスカラムよりも使用メモリーが少ないです。「小さいデータ」とはなにか、このフラグをどうやって使えばよいかは <a class="reference internal" href="#column-create-index-small"><span class="std std-ref">小さなインデックスカラムを作成</span></a> を見てください。</p>
|
811
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> でだけ有効です。</p>
|
812
|
+
</td>
|
813
|
+
</tr>
|
814
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">INDEX_MEDIUM</span></code></td>
|
815
|
+
<td><div class="first versionadded">
|
816
|
+
<p><span class="versionmodified">バージョン 6.0.8 で追加.</span></p>
|
817
|
+
</div>
|
818
|
+
<p>中サイズのインデックスカラムを作成するときに指定します。</p>
|
819
|
+
<p>インデックス対象のデータが中サイズなら中サイズのインデックスカラムで十分です。中サイズのインデックスカラムは通常のインデックスカラムよりも使用メモリー量が少ないです。「中サイズのデータ」とはなにか、このフラグをどうやって使えばよいかは <a class="reference internal" href="#column-create-index-medium"><span class="std std-ref">中サイズのインデックスカラムを作成</span></a> を見てください。</p>
|
820
|
+
<p class="last">このフラグは <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code> でだけ有効です。</p>
|
821
|
+
</td>
|
822
|
+
</tr>
|
823
|
+
</tbody>
|
824
|
+
</table>
|
825
|
+
<p><code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> フラグのどれかを必ず指定します。2つ以上の <code class="docutils literal"><span class="pre">COLUMN_${TYPE}</span></code> フラグを指定してはいけません。たとえば、 <code class="docutils literal"><span class="pre">COLUMN_SCALAR|COLUMN_VECTOR</span></code> は不正な指定です。</p>
|
826
|
+
<p><code class="docutils literal"><span class="pre">WITH_SECTION|WITH_POSITION</span></code> というように、 <code class="docutils literal"><span class="pre">|</span></code> (縦棒)で複数のフラグを組み合わせることができます。</p>
|
827
|
+
</div>
|
828
|
+
<div class="section" id="type">
|
829
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
830
|
+
<p>カラムの値の型を指定します。</p>
|
831
|
+
<p>カラムがスカラーカラムかベクターカラムなら利用可能な型は次の通りです。</p>
|
113
832
|
<blockquote>
|
114
|
-
<div><
|
115
|
-
<
|
116
|
-
|
117
|
-
<
|
118
|
-
|
119
|
-
|
120
|
-
<dt>2, <code class="docutils literal"><span class="pre">COLUMN_INDEX</span></code></dt>
|
121
|
-
<dd>インデックス型のカラムを作成します。</dd>
|
122
|
-
</dl>
|
123
|
-
<p>カラムの値を圧縮するためのフラグが2つあります。ただしそれらのフラグを指定することは今のところできません。これはカラムの値を参照するときにメモリリークする問題 <a class="reference external" href="https://github.com/groonga/groonga/issues/6">GitHub#6</a> があるためです。 この問題はzlib、lzoいずれでも発生します。</p>
|
124
|
-
<dl class="docutils">
|
125
|
-
<dt>16, <code class="docutils literal"><span class="pre">COMPRESS_ZLIB</span></code></dt>
|
126
|
-
<dd><p class="first last">zlibを使ってカラムの値を圧縮します。このフラグはGroongaを <code class="docutils literal"><span class="pre">--with-zlib</span></code> つきでビルドすると有効になります。</p>
|
127
|
-
</dd>
|
128
|
-
<dt>32, <code class="docutils literal"><span class="pre">COMPRESS_LZO</span></code></dt>
|
129
|
-
<dd><p class="first last">lzoを使ってカラムの値を圧縮します。このフラグはGroongaを <code class="docutils literal"><span class="pre">--with-lzo</span></code> つきでビルドすると有効になります。</p>
|
130
|
-
</dd>
|
131
|
-
</dl>
|
132
|
-
<p>インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追加の属
|
133
|
-
性を指定することができます。</p>
|
134
|
-
<dl class="docutils">
|
135
|
-
<dt>128, <code class="docutils literal"><span class="pre">WITH_SECTION</span></code></dt>
|
136
|
-
<dd>段落情報を格納するインデックスを作成します。</dd>
|
137
|
-
<dt>256, <code class="docutils literal"><span class="pre">WITH_WEIGHT</span></code></dt>
|
138
|
-
<dd>ウェイト情報を格納するインデックスを作成します。</dd>
|
139
|
-
<dt>512, <code class="docutils literal"><span class="pre">WITH_POSITION</span></code></dt>
|
140
|
-
<dd>位置情報を格納するインデックス(完全転置インデックス)を作成します。</dd>
|
141
|
-
</dl>
|
833
|
+
<div><ul class="simple">
|
834
|
+
<li><p class="first"><a class="reference internal" href="../types.html"><span class="doc">データ型</span></a> で説明している組み込みの型</p>
|
835
|
+
</li>
|
836
|
+
<li><p class="first">ユーザーが定義したテーブル</p>
|
837
|
+
</li>
|
838
|
+
</ul>
|
142
839
|
</div></blockquote>
|
143
|
-
<p
|
840
|
+
<p>カラムがインデックスカラムのときの利用可能な型は次の通りです。</p>
|
144
841
|
<blockquote>
|
145
|
-
<div
|
146
|
-
<p
|
842
|
+
<div><ul class="simple">
|
843
|
+
<li><p class="first">ユーザーが定義したテーブル</p>
|
844
|
+
</li>
|
845
|
+
</ul>
|
846
|
+
</div></blockquote>
|
847
|
+
<p>以下も見てください。</p>
|
147
848
|
<blockquote>
|
148
|
-
<div
|
849
|
+
<div><ul class="simple">
|
850
|
+
<li><a class="reference internal" href="#column-create-scalar"><span class="std std-ref">スカラーカラムを作成</span></a></li>
|
851
|
+
<li><a class="reference internal" href="#column-create-vector"><span class="std std-ref">ベクターカラムを作成</span></a></li>
|
852
|
+
<li><a class="reference internal" href="#column-create-reference"><span class="std std-ref">テーブルのレコードを参照するカラムを作成</span></a></li>
|
853
|
+
<li><a class="reference internal" href="#column-create-index"><span class="std std-ref">インデックスカラムを作成</span></a></li>
|
854
|
+
</ul>
|
855
|
+
</div></blockquote>
|
856
|
+
</div>
|
857
|
+
</div>
|
858
|
+
<div class="section" id="optional-parameters">
|
859
|
+
<h3>7.3.11.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
860
|
+
<p>省略可能な引数があります。</p>
|
861
|
+
<div class="section" id="source">
|
862
|
+
<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="このヘッドラインへのパーマリンク">¶</a></h4>
|
863
|
+
<p>インデックス対象のカラムを指定します。 <code class="docutils literal"><span class="pre">source</span></code> パラメーターには1つ以上のカラムを指定できます。</p>
|
864
|
+
<p>このパラメーターはインデックスカラムでだけ利用可能です。</p>
|
865
|
+
<p><a class="reference internal" href="#column-create-type"><span class="std std-ref">type</span></a> で指定したテーブルのカラムだけ指定できます。テーブルのキーをインデックス対象にしたい場合は <code class="docutils literal"><span class="pre">_key</span></code> 疑似カラムを指定します。</p>
|
866
|
+
<p><code class="docutils literal"><span class="pre">source</span></code> パラメーターに複数のカラムを指定するときは <code class="docutils literal"><span class="pre">_key,roles</span></code> というように <code class="docutils literal"><span class="pre">,</span></code> (コンマ)で区切ります。</p>
|
867
|
+
</div>
|
868
|
+
</div>
|
149
869
|
</div>
|
150
870
|
<div class="section" id="return-value">
|
151
871
|
<h2>7.3.11.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
152
|
-
<
|
872
|
+
<p><code class="docutils literal"><span class="pre">column_create</span></code> が成功したときは以下のようにボディは <code class="docutils literal"><span class="pre">true</span></code> になります:</p>
|
873
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, true]
|
153
874
|
</pre></div>
|
154
875
|
</div>
|
155
|
-
<p><code class="docutils literal"><span class="pre">
|
156
|
-
<
|
157
|
-
|
158
|
-
</div
|
159
|
-
<p><code class="docutils literal"><span class="pre">
|
876
|
+
<p><code class="docutils literal"><span class="pre">column_create</span></code> が失敗したときはボディは <code class="docutils literal"><span class="pre">false</span></code> になります:</p>
|
877
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, false]
|
878
|
+
</pre></div>
|
879
|
+
</div>
|
880
|
+
<p><code class="docutils literal"><span class="pre">HEADER</span></code> にエラーの詳細が含まれます。</p>
|
881
|
+
<p><code class="docutils literal"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
882
|
+
</div>
|
883
|
+
<div class="section" id="see-also">
|
884
|
+
<h2>7.3.11.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
160
885
|
<blockquote>
|
161
|
-
<div><
|
886
|
+
<div><ul class="simple">
|
887
|
+
<li><a class="reference internal" href="../column.html"><span class="doc">カラム</span></a></li>
|
888
|
+
<li><a class="reference internal" href="table_create.html"><span class="doc">table_create</span></a></li>
|
889
|
+
<li><a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a></li>
|
890
|
+
</ul>
|
162
891
|
</div></blockquote>
|
163
892
|
</div>
|
164
893
|
</div>
|
@@ -174,9 +903,34 @@
|
|
174
903
|
<li><a class="reference internal" href="#">7.3.11. <code class="docutils literal"><span class="pre">column_create</span></code></a><ul>
|
175
904
|
<li><a class="reference internal" href="#summary">7.3.11.1. 概要</a></li>
|
176
905
|
<li><a class="reference internal" href="#syntax">7.3.11.2. 構文</a></li>
|
177
|
-
<li><a class="reference internal" href="#usage">7.3.11.3. 使い方</a
|
178
|
-
<li><a class="reference internal" href="#
|
906
|
+
<li><a class="reference internal" href="#usage">7.3.11.3. 使い方</a><ul>
|
907
|
+
<li><a class="reference internal" href="#create-a-scalar-column">7.3.11.3.1. スカラーカラムを作成</a></li>
|
908
|
+
<li><a class="reference internal" href="#create-a-vector-column">7.3.11.3.2. ベクターカラムを作成</a></li>
|
909
|
+
<li><a class="reference internal" href="#create-a-weight-vector-column">7.3.11.3.3. 重み付きベクターカラムの作成</a></li>
|
910
|
+
<li><a class="reference internal" href="#create-a-column-that-refers-a-table-s-record">7.3.11.3.4. テーブルのレコードを参照するカラムを作成</a></li>
|
911
|
+
<li><a class="reference internal" href="#create-an-index-column">7.3.11.3.5. インデックスカラムを作成</a></li>
|
912
|
+
<li><a class="reference internal" href="#create-an-index-column-for-full-text-search">7.3.11.3.6. 全文検索用のインデックスカラムを作成</a></li>
|
913
|
+
<li><a class="reference internal" href="#create-a-multiple-columns-index-column">7.3.11.3.7. マルチカラムインデックスカラムを作成</a></li>
|
914
|
+
<li><a class="reference internal" href="#create-a-small-index-column">7.3.11.3.8. 小さなインデックスカラムを作成</a></li>
|
915
|
+
<li><a class="reference internal" href="#create-a-medium-index-column">7.3.11.3.9. 中サイズのインデックスカラムを作成</a></li>
|
916
|
+
</ul>
|
917
|
+
</li>
|
918
|
+
<li><a class="reference internal" href="#parameters">7.3.11.4. 引数</a><ul>
|
919
|
+
<li><a class="reference internal" href="#required-parameters">7.3.11.4.1. 必須引数</a><ul>
|
920
|
+
<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>
|
921
|
+
<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>
|
922
|
+
<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>
|
923
|
+
<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>
|
924
|
+
</ul>
|
925
|
+
</li>
|
926
|
+
<li><a class="reference internal" href="#optional-parameters">7.3.11.4.2. 省略可能引数</a><ul>
|
927
|
+
<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>
|
928
|
+
</ul>
|
929
|
+
</li>
|
930
|
+
</ul>
|
931
|
+
</li>
|
179
932
|
<li><a class="reference internal" href="#return-value">7.3.11.5. 戻り値</a></li>
|
933
|
+
<li><a class="reference internal" href="#see-also">7.3.11.6. 参考</a></li>
|
180
934
|
</ul>
|
181
935
|
</li>
|
182
936
|
</ul>
|
@@ -220,13 +974,13 @@
|
|
220
974
|
<li class="right" >
|
221
975
|
<a href="column_copy.html" title="7.3.10. column_copy"
|
222
976
|
>前へ</a> |</li>
|
223
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0
|
224
|
-
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a>
|
225
|
-
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a>
|
977
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.1.0ドキュメント</a> »</li>
|
978
|
+
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
979
|
+
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
226
980
|
</ul>
|
227
981
|
</div>
|
228
982
|
<div class="footer" role="contentinfo">
|
229
|
-
|
983
|
+
© Copyright 2009-2016, Brazil, Inc.
|
230
984
|
</div>
|
231
985
|
</body>
|
232
986
|
</html>
|