rroonga 5.0.5-x86-mingw32 → 5.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
 - data/Rakefile +40 -8
 - data/ext/groonga/extconf.rb +17 -2
 - data/ext/groonga/rb-grn-context.c +25 -1
 - data/ext/groonga/rb-grn-database.c +1 -1
 - data/ext/groonga/rb-grn-patricia-trie.c +0 -2
 - data/ext/groonga/rb-grn-table.c +2 -2
 - data/ext/groonga/rb-grn.h +1 -1
 - data/lib/2.0/groonga.so +0 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/2.2/groonga.so +0 -0
 - data/lib/groonga/expression-builder.rb +27 -1
 - data/rroonga-build.rb +3 -3
 - data/rroonga.gemspec +1 -0
 - data/test/test-column.rb +4 -2
 - data/test/test-context.rb +9 -1
 - data/test/test-expression-builder.rb +38 -1
 - data/test/test-remote.rb +12 -3
 - data/test/test-table-group.rb +13 -11
 - data/test/test-table.rb +4 -6
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-1.dll +0 -0
 - data/vendor/local/bin/libmsgpack-4.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libonig-5.dll +0 -0
 - data/vendor/local/bin/libstdc++-6.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/zlib1.dll +0 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf +1 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +1 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params +1 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params.default +1 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +3 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params +1 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params.default +1 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params +1 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params.default +1 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +13 -6
 - data/vendor/local/include/groonga/groonga/ii.h +16 -8
 - data/vendor/local/include/groonga/groonga/obj.h +5 -0
 - 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/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/ruby/eval.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
 - 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/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/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/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/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - 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/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.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/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/sbin/groonga-httpd.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +6 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +2 -4
 - 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 +126 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +9 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +24 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +1 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +2 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +11 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +117 -21
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +1 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +207 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +18 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +32 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +71 -30
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +14 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +2 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +24 -5
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/community.html +14 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -8
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +15 -7
 - data/vendor/local/share/doc/groonga/en/html/index.html +8 -7
 - data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news.html +190 -61
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +27 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +14 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +149 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +263 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +27 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +45 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +96 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +170 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +62 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +93 -74
 - data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -10
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +6 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +2 -4
 - 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 +126 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +9 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +24 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +1 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +2 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +11 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +117 -21
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +1 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +207 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +18 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +32 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +71 -30
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +14 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +2 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +24 -5
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/community.html +16 -11
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -8
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +15 -7
 - data/vendor/local/share/doc/groonga/ja/html/index.html +9 -8
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news.html +159 -64
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +7 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +9 -8
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +143 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +254 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +27 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +32 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +118 -84
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +163 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +70 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +93 -86
 - data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
 - data/vendor/local/share/license/groonga/README.md +7 -0
 - data/vendor/local/share/man/ja/man1/groonga.1 +1078 -338
 - data/vendor/local/share/man/man1/groonga.1 +1088 -218
 - metadata +97 -91
 - data/lib/1.9/groonga.so +0 -0
 - data/vendor/local/etc/groonga/windows_event_log/provider.man +0 -38
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +0 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +0 -116
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +0 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +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>4.7. match_columnsパラメータ — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.7. match_columnsパラメータ — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.6. タグ検索・参照関係の逆引き" href="index.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -411,7 +411,7 @@ select --table Blog2 --match_columns title --query message 
     | 
|
| 
       411 
411 
     | 
    
         
             
            </div>
         
     | 
| 
       412 
412 
     | 
    
         
             
            <div class="admonition note">
         
     | 
| 
       413 
413 
     | 
    
         
             
            <p class="first admonition-title">注釈</p>
         
     | 
| 
       414 
     | 
    
         
            -
            <p>"インデックスはどちらがよい方法なのか" 
     | 
| 
      
 414 
     | 
    
         
            +
            <p>"インデックスはどちらがよい方法なのか"と疑問に思うかもしれません。それは場合によります。</p>
         
     | 
| 
       415 
415 
     | 
    
         
             
            <ul class="last simple">
         
     | 
| 
       416 
416 
     | 
    
         
             
            <li><p class="first">カラムごとのインデックス - マルチカラムインデックスよりも更新性能が良い傾向があります。一方、ディスク使用効率はあまり良くありません。</p>
         
     | 
| 
       417 
417 
     | 
    
         
             
            </li>
         
     | 
| 
         @@ -745,7 +745,7 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu 
     | 
|
| 
       745 
745 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       746 
746 
     | 
    
         
             
                      <a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
         
     | 
| 
       747 
747 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       748 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 748 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       749 
749 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       750 
750 
     | 
    
         
             
                  </ul>
         
     | 
| 
       751 
751 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.10. マイクロブログ検索システムの作成 — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.10. マイクロブログ検索システムの作成 — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="4.11. クエリ拡張" href="query_expansion.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.9. 全文検索用の語彙表の作成" href="lexicon.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -1036,7 +1036,7 @@ load --table Comments 
     | 
|
| 
       1036 
1036 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       1037 
1037 
     | 
    
         
             
                      <a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
         
     | 
| 
       1038 
1038 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       1039 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 1039 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       1040 
1040 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       1041 
1041 
     | 
    
         
             
                  </ul>
         
     | 
| 
       1042 
1042 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.2. リモートアクセス — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.2. リモートアクセス — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="4.3. いろいろなデータの保存" href="data.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.1. 基本的な操作" href="introduction.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="introduction.html" title="4.1. 基本的な操作"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -262,7 +262,7 @@ select --table Site --query title:@this 
     | 
|
| 
       262 
262 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       263 
263 
     | 
    
         
             
                      <a href="introduction.html" title="4.1. 基本的な操作"
         
     | 
| 
       264 
264 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       265 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 265 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       266 
266 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       267 
267 
     | 
    
         
             
                  </ul>
         
     | 
| 
       268 
268 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.8. パトリシア木による前方一致検索 — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.8. パトリシア木による前方一致検索 — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="4.9. 全文検索用の語彙表の作成" href="lexicon.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.7. match_columnsパラメータ" href="match_columns.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="match_columns.html" title="4.7. match_columnsパラメータ"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -295,7 +295,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori 
     | 
|
| 
       295 
295 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       296 
296 
     | 
    
         
             
                      <a href="match_columns.html" title="4.7. match_columnsパラメータ"
         
     | 
| 
       297 
297 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       298 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 298 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       299 
299 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       300 
300 
     | 
    
         
             
                  </ul>
         
     | 
| 
       301 
301 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.11. クエリ拡張 — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.11. クエリ拡張 — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="5. サーバー" href="../server.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -326,7 +326,7 @@ select Doc --match_columns body --query "theatre" --query_expander Syn 
     | 
|
| 
       326 
326 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       327 
327 
     | 
    
         
             
                      <a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
         
     | 
| 
       328 
328 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       329 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 329 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       330 
330 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       331 
331 
     | 
    
         
             
                  </ul>
         
     | 
| 
       332 
332 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.4. さまざまな検索条件 — Groonga v5.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.4. さまざまな検索条件 — Groonga v5.0.7-264-ga2dae20ドキュメント</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:     '5.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.7-264-ga2dae20',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,7 +26,7 @@ 
     | 
|
| 
       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="top" title="Groonga v5.0. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="next" title="4.5. ドリルダウン" href="drilldown.html" />
         
     | 
| 
       32 
32 
     | 
    
         
             
                <link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" /> 
         
     | 
| 
         @@ -61,7 +61,7 @@ 
     | 
|
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
62 
     | 
    
         
             
                      <a href="data.html" title="4.3. いろいろなデータの保存"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -113,7 +113,7 @@ 
     | 
|
| 
       113 
113 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>_id <= 1
         
     | 
| 
       114 
114 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       115 
115 
     | 
    
         
             
            </div>
         
     | 
| 
       116 
     | 
    
         
            -
            <p>このケースでは、 <code class="docutils literal"><span class="pre">_id</span></code> の値が1 
     | 
| 
      
 116 
     | 
    
         
            +
            <p>このケースでは、 <code class="docutils literal"><span class="pre">_id</span></code> の値が1以下であるという条件に合致するレコードを返します。</p>
         
     | 
| 
       117 
117 
     | 
    
         
             
            <p>また、 <code class="docutils literal"><span class="pre">&&</span></code> や <code class="docutils literal"><span class="pre">||</span></code> を使って、条件のAND・OR指定をすることもできます。</p>
         
     | 
| 
       118 
118 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
       119 
119 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "_id >= 4 && _id <= 6" --output_columns _id,_key
         
     | 
| 
         @@ -616,7 +616,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       616 
616 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       617 
617 
     | 
    
         
             
                      <a href="data.html" title="4.3. いろいろなデータの保存"
         
     | 
| 
       618 
618 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       619 
     | 
    
         
            -
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0. 
     | 
| 
      
 619 
     | 
    
         
            +
                    <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
         
     | 
| 
       620 
620 
     | 
    
         
             
                      <li class="nav-item nav-item-1"><a href="../tutorial.html" >4. チュートリアル</a> »</li> 
         
     | 
| 
       621 
621 
     | 
    
         
             
                  </ul>
         
     | 
| 
       622 
622 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -12,6 +12,13 @@ Here are shortcut links: 
     | 
|
| 
       12 
12 
     | 
    
         
             
              * Tutorial: http://groonga.org/docs/tutorial.html
         
     | 
| 
       13 
13 
     | 
    
         
             
              * How to build as a developer: http://groonga.org/docs/contribution/development/build.html
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
      
 15 
     | 
    
         
            +
            ## Community
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              * [@groonga on Twitter](https://twitter.com/groonga/)
         
     | 
| 
      
 18 
     | 
    
         
            +
              * [Groonga page on Facebook](https://www.facebook.com/groonga)
         
     | 
| 
      
 19 
     | 
    
         
            +
              * [Mailing list on SourceForge.net](http://lists.sourceforge.net/mailman/listinfo/groonga-talk)
         
     | 
| 
      
 20 
     | 
    
         
            +
              * [Chat room on Gitter](https://gitter.im/groonga/public)
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
       15 
22 
     | 
    
         
             
            ## Bundled software
         
     | 
| 
       16 
23 
     | 
    
         | 
| 
       17 
24 
     | 
    
         
             
            ### mruby
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            .\" Man page generated from reStructuredText.
         
     | 
| 
       2 
2 
     | 
    
         
             
            .
         
     | 
| 
       3 
     | 
    
         
            -
            .TH "GROONGA" "1" "2015 年  
     | 
| 
      
 3 
     | 
    
         
            +
            .TH "GROONGA" "1" "2015 年 09 月 28 日" "5.0.8" "Groonga"
         
     | 
| 
       4 
4 
     | 
    
         
             
            .SH NAME
         
     | 
| 
       5 
5 
     | 
    
         
             
            groonga \- Groonga documentation
         
     | 
| 
       6 
6 
     | 
    
         
             
            .
         
     | 
| 
         @@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと 
     | 
|
| 
       97 
97 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       98 
98 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       99 
99 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       100 
     | 
    
         
            -
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0. 
     | 
| 
      
 100 
     | 
    
         
            +
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x86.exe\fP
         
     | 
| 
       101 
101 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       102 
102 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       103 
103 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと 
     | 
|
| 
       109 
109 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       110 
110 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       111 
111 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       112 
     | 
    
         
            -
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0. 
     | 
| 
      
 112 
     | 
    
         
            +
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x64.exe\fP
         
     | 
| 
       113 
113 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       114 
114 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       115 
115 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと 
     | 
|
| 
       124 
124 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       125 
125 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       126 
126 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       127 
     | 
    
         
            -
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0. 
     | 
| 
      
 127 
     | 
    
         
            +
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x86.zip\fP
         
     | 
| 
       128 
128 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       129 
129 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       130 
130 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと 
     | 
|
| 
       136 
136 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       137 
137 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       138 
138 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       139 
     | 
    
         
            -
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0. 
     | 
| 
      
 139 
     | 
    
         
            +
            \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x64.zip\fP
         
     | 
| 
       140 
140 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       141 
141 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       142 
142 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ 
     | 
|
| 
       163 
163 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       164 
164 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       165 
165 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       166 
     | 
    
         
            -
            \fI\%http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
      
 166 
     | 
    
         
            +
            \fI\%http://packages.groonga.org/source/groonga/groonga\-5.0.8.zip\fP
         
     | 
| 
       167 
167 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       168 
168 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       169 
169 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -176,7 +176,7 @@ Groongaのソースフォルダへと移動します: 
     | 
|
| 
       176 
176 
     | 
    
         
             
            .sp
         
     | 
| 
       177 
177 
     | 
    
         
             
            .nf
         
     | 
| 
       178 
178 
     | 
    
         
             
            .ft C
         
     | 
| 
       179 
     | 
    
         
            -
            > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0. 
     | 
| 
      
 179 
     | 
    
         
            +
            > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0.8
         
     | 
| 
       180 
180 
     | 
    
         
             
            .ft P
         
     | 
| 
       181 
181 
     | 
    
         
             
            .fi
         
     | 
| 
       182 
182 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -188,7 +188,7 @@ Groongaのソースフォルダへと移動します: 
     | 
|
| 
       188 
188 
     | 
    
         
             
            .sp
         
     | 
| 
       189 
189 
     | 
    
         
             
            .nf
         
     | 
| 
       190 
190 
     | 
    
         
             
            .ft C
         
     | 
| 
       191 
     | 
    
         
            -
            groonga\-5.0. 
     | 
| 
      
 191 
     | 
    
         
            +
            groonga\-5.0.8> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
         
     | 
| 
       192 
192 
     | 
    
         
             
            .ft P
         
     | 
| 
       193 
193 
     | 
    
         
             
            .fi
         
     | 
| 
       194 
194 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -200,7 +200,7 @@ groonga\-5.0.7> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFI 
     | 
|
| 
       200 
200 
     | 
    
         
             
            .sp
         
     | 
| 
       201 
201 
     | 
    
         
             
            .nf
         
     | 
| 
       202 
202 
     | 
    
         
             
            .ft C
         
     | 
| 
       203 
     | 
    
         
            -
            groonga\-5.0. 
     | 
| 
      
 203 
     | 
    
         
            +
            groonga\-5.0.8> cmake \-\-build . \-\-config Release
         
     | 
| 
       204 
204 
     | 
    
         
             
            .ft P
         
     | 
| 
       205 
205 
     | 
    
         
             
            .fi
         
     | 
| 
       206 
206 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -212,7 +212,7 @@ groonga\-5.0.7> cmake \-\-build . \-\-config Release 
     | 
|
| 
       212 
212 
     | 
    
         
             
            .sp
         
     | 
| 
       213 
213 
     | 
    
         
             
            .nf
         
     | 
| 
       214 
214 
     | 
    
         
             
            .ft C
         
     | 
| 
       215 
     | 
    
         
            -
            groonga\-5.0. 
     | 
| 
      
 215 
     | 
    
         
            +
            groonga\-5.0.8> cmake \-\-build . \-\-config Release \-\-target Install
         
     | 
| 
       216 
216 
     | 
    
         
             
            .ft P
         
     | 
| 
       217 
217 
     | 
    
         
             
            .fi
         
     | 
| 
       218 
218 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -270,9 +270,9 @@ groonga\-5.0.7> cmake \-\-build . \-\-config Release \-\-target Install 
     | 
|
| 
       270 
270 
     | 
    
         
             
            .sp
         
     | 
| 
       271 
271 
     | 
    
         
             
            .nf
         
     | 
| 
       272 
272 
     | 
    
         
             
            .ft C
         
     | 
| 
       273 
     | 
    
         
            -
            % curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       274 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       275 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 273 
     | 
    
         
            +
            % curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 274 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 275 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       276 
276 
     | 
    
         
             
            .ft P
         
     | 
| 
       277 
277 
     | 
    
         
             
            .fi
         
     | 
| 
       278 
278 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -549,9 +549,9 @@ Groongaをビルドするために必要なパッケージをインストール 
     | 
|
| 
       549 
549 
     | 
    
         
             
            .sp
         
     | 
| 
       550 
550 
     | 
    
         
             
            .nf
         
     | 
| 
       551 
551 
     | 
    
         
             
            .ft C
         
     | 
| 
       552 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       553 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       554 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 552 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 553 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 554 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       555 
555 
     | 
    
         
             
            .ft P
         
     | 
| 
       556 
556 
     | 
    
         
             
            .fi
         
     | 
| 
       557 
557 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -745,9 +745,9 @@ Groongaをビルドするために必要なパッケージをインストール 
     | 
|
| 
       745 
745 
     | 
    
         
             
            .sp
         
     | 
| 
       746 
746 
     | 
    
         
             
            .nf
         
     | 
| 
       747 
747 
     | 
    
         
             
            .ft C
         
     | 
| 
       748 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       749 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       750 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 748 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 749 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 750 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       751 
751 
     | 
    
         
             
            .ft P
         
     | 
| 
       752 
752 
     | 
    
         
             
            .fi
         
     | 
| 
       753 
753 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -1119,9 +1119,9 @@ Groongaをビルドするために必要なパッケージをインストール 
     | 
|
| 
       1119 
1119 
     | 
    
         
             
            .sp
         
     | 
| 
       1120 
1120 
     | 
    
         
             
            .nf
         
     | 
| 
       1121 
1121 
     | 
    
         
             
            .ft C
         
     | 
| 
       1122 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       1123 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       1124 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 1122 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1123 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1124 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       1125 
1125 
     | 
    
         
             
            .ft P
         
     | 
| 
       1126 
1126 
     | 
    
         
             
            .fi
         
     | 
| 
       1127 
1127 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -1305,9 +1305,9 @@ Groongaをビルドするために必要なパッケージをインストール 
     | 
|
| 
       1305 
1305 
     | 
    
         
             
            .sp
         
     | 
| 
       1306 
1306 
     | 
    
         
             
            .nf
         
     | 
| 
       1307 
1307 
     | 
    
         
             
            .ft C
         
     | 
| 
       1308 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       1309 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       1310 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 1308 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1309 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1310 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       1311 
1311 
     | 
    
         
             
            .ft P
         
     | 
| 
       1312 
1312 
     | 
    
         
             
            .fi
         
     | 
| 
       1313 
1313 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -1371,9 +1371,9 @@ Groongaをビルドするために必要なパッケージをインストール 
     | 
|
| 
       1371 
1371 
     | 
    
         
             
            .sp
         
     | 
| 
       1372 
1372 
     | 
    
         
             
            .nf
         
     | 
| 
       1373 
1373 
     | 
    
         
             
            .ft C
         
     | 
| 
       1374 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       1375 
     | 
    
         
            -
            % gtar xvzf groonga\-5.0. 
     | 
| 
       1376 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 1374 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1375 
     | 
    
         
            +
            % gtar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1376 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       1377 
1377 
     | 
    
         
             
            .ft P
         
     | 
| 
       1378 
1378 
     | 
    
         
             
            .fi
         
     | 
| 
       1379 
1379 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -1494,9 +1494,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単 
     | 
|
| 
       1494 
1494 
     | 
    
         
             
            .sp
         
     | 
| 
       1495 
1495 
     | 
    
         
             
            .nf
         
     | 
| 
       1496 
1496 
     | 
    
         
             
            .ft C
         
     | 
| 
       1497 
     | 
    
         
            -
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0. 
     | 
| 
       1498 
     | 
    
         
            -
            % tar xvzf groonga\-5.0. 
     | 
| 
       1499 
     | 
    
         
            -
            % cd groonga\-5.0. 
     | 
| 
      
 1497 
     | 
    
         
            +
            % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1498 
     | 
    
         
            +
            % tar xvzf groonga\-5.0.8.tar.gz
         
     | 
| 
      
 1499 
     | 
    
         
            +
            % cd groonga\-5.0.8
         
     | 
| 
       1500 
1500 
     | 
    
         
             
            % ./configure
         
     | 
| 
       1501 
1501 
     | 
    
         
             
            % make
         
     | 
| 
       1502 
1502 
     | 
    
         
             
            % sudo make install
         
     | 
| 
         @@ -1748,12 +1748,15 @@ Groongaに関する情報を共有するための場所がいくつかありま 
     | 
|
| 
       1748 
1748 
     | 
    
         
             
            Groongaに関する話題を扱うメーリングリストがあります。
         
     | 
| 
       1749 
1749 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       1750 
1750 
     | 
    
         
             
            .TP
         
     | 
| 
       1751 
     | 
    
         
            -
            .B  
     | 
| 
      
 1751 
     | 
    
         
            +
            .B 英語
         
     | 
| 
       1752 
1752 
     | 
    
         
             
            \fI\%groonga\-talk@lists.sourceforge.net\fP
         
     | 
| 
       1753 
1753 
     | 
    
         
             
            .TP
         
     | 
| 
       1754 
     | 
    
         
            -
            .B  
     | 
| 
      
 1754 
     | 
    
         
            +
            .B 日本語
         
     | 
| 
       1755 
1755 
     | 
    
         
             
            \fI\%groonga\-dev@lists.osdn.me\fP
         
     | 
| 
       1756 
1756 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 1757 
     | 
    
         
            +
            .SS チャットルーム
         
     | 
| 
      
 1758 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 1759 
     | 
    
         
            +
            \fI\%Gitterにあるgroonga/publicチャットルーム\fP に参加してください。(英語です。)
         
     | 
| 
       1757 
1760 
     | 
    
         
             
            .SS Twitter
         
     | 
| 
       1758 
1761 
     | 
    
         
             
            .sp
         
     | 
| 
       1759 
1762 
     | 
    
         
             
            \fI\%@groonga\fP がGroonga関連情報をツイートしています。
         
     | 
| 
         @@ -3211,7 +3214,7 @@ select \-\-table ToyBox \-\-output_columns _key,price,weight 
     | 
|
| 
       3211 
3214 
     | 
    
         
             
            .sp
         
     | 
| 
       3212 
3215 
     | 
    
         
             
            文字列型は、長さの上限によって分けることができます。詳しくは \fB/reference/types\fP を参照してください。文字列型のデフォルト値は長さ0の文字列です。
         
     | 
| 
       3213 
3216 
     | 
    
         
             
            .sp
         
     | 
| 
       3214 
     | 
    
         
            -
            以下の例では、 
     | 
| 
      
 3217 
     | 
    
         
            +
            以下の例では、 \fBShortText\fP 型のカラムを作成し、既存のレコードを更新します。3つ目のレコード(キーが \fB"Block"\fP のレコード)は更新していないのでデフォルト値(長さが0の文字列)になります。
         
     | 
| 
       3215 
3218 
     | 
    
         
             
            .sp
         
     | 
| 
       3216 
3219 
     | 
    
         
             
            実行例:
         
     | 
| 
       3217 
3220 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -3279,7 +3282,7 @@ Groonga内部では経過秒数を整数のペアで保持しています。最 
     | 
|
| 
       3279 
3282 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       3280 
3283 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       3281 
3284 
     | 
    
         
             
            .sp
         
     | 
| 
       3282 
     | 
    
         
            -
            以下の例では、 
     | 
| 
      
 3285 
     | 
    
         
            +
            以下の例では、 \fBTime\fP 型のカラムを作成し、既存のレコードを更新します。1つ目のレコード(キーが \fB"Monkey"\fP のレコード)は更新していないのでデフォルト値( \fB0.0\fP )になります。
         
     | 
| 
       3283 
3286 
     | 
    
         
             
            .sp
         
     | 
| 
       3284 
3287 
     | 
    
         
             
            実行例:
         
     | 
| 
       3285 
3288 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -3348,7 +3351,7 @@ select \-\-table ToyBox \-\-output_columns _key,time 
     | 
|
| 
       3348 
3351 
     | 
    
         
             
            .sp
         
     | 
| 
       3349 
3352 
     | 
    
         
             
            小数点を含んでいなければミリ秒表記、小数点を含んでいれば度数表記として扱われます。ミリ秒表記と度数表記を混ぜたときの動作は未定義なので注意してください。経度と緯度の区切りとしては、\(aqx\(aq のほかに \(aq,\(aq を使うことができます。経緯度のデフォルト値は "0x0" です。
         
     | 
| 
       3350 
3353 
     | 
    
         
             
            .sp
         
     | 
| 
       3351 
     | 
    
         
            -
            以下の例では、世界測地系を用いる 
     | 
| 
      
 3354 
     | 
    
         
            +
            以下の例では、世界測地系を用いる \fBWGS84GeoPoint\fP 型のカラムを作成し、既存のレコードを更新します。2つ目のレコード(キーが \fB"Flower"\fP のレコード)は更新していないのでデフォルト値( \fB"0x0"\fP )になります。
         
     | 
| 
       3352 
3355 
     | 
    
         
             
            .sp
         
     | 
| 
       3353 
3356 
     | 
    
         
             
            実行例:
         
     | 
| 
       3354 
3357 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -3409,9 +3412,9 @@ select \-\-table ToyBox \-\-output_columns _key,location 
     | 
|
| 
       3409 
3412 
     | 
    
         
             
            .sp
         
     | 
| 
       3410 
3413 
     | 
    
         
             
            Groongaでは、テーブル参照のカラム、すなわち関連付けたテーブルを参照するカラムを作成できます。より正確には、カラム作成時に参照先となるテーブルとの関連付けをおこない、参照先テーブルにおけるレコードIDを格納しておくことにより、参照先のレコードにアクセスできるようにします。
         
     | 
| 
       3411 
3414 
     | 
    
         
             
            .sp
         
     | 
| 
       3412 
     | 
    
         
            -
            テーブル参照のカラムがあるときは、 \fB/reference/commands/select\fP コマンドの \ 
     | 
| 
      
 3415 
     | 
    
         
            +
            テーブル参照のカラムがあるときは、 \fB/reference/commands/select\fP コマンドの \fBoutput_columns\fP 引数に \fB参照元カラム.参照先カラム\fP と指定することにより、参照先カラムの値を取り出すことができます。参照元カラムのみを指定したときは、 \fB参照元カラム名._key\fP と同様の扱いとなり、参照先レコードの主キーが取り出されます。テーブル参照が有効なレコードを指していないときは、 \fB/reference/commands/select\fP コマンドは参照先カラムのデフォルト値を取り出すようになっています。
         
     | 
| 
       3413 
3416 
     | 
    
         
             
            .sp
         
     | 
| 
       3414 
     | 
    
         
            -
             
     | 
| 
      
 3417 
     | 
    
         
            +
            ここでは、 tutorial\-introduction\-create\-table で作成した \fBSite\fP テーブルに参照カラムを作成します。作成する参照カラムは \fBlink\fP という名前にします。このカラムには \fBSite\fP テーブルのレコード間でのリンク関係を保存します。
         
     | 
| 
       3415 
3418 
     | 
    
         
             
            .sp
         
     | 
| 
       3416 
3419 
     | 
    
         
             
            実行例:
         
     | 
| 
       3417 
3420 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -3602,7 +3605,7 @@ _id <= 1 
     | 
|
| 
       3602 
3605 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       3603 
3606 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       3604 
3607 
     | 
    
         
             
            .sp
         
     | 
| 
       3605 
     | 
    
         
            -
            このケースでは、 \fB_id\fP の値が1 
     | 
| 
      
 3608 
     | 
    
         
            +
            このケースでは、 \fB_id\fP の値が1以下であるという条件に合致するレコードを返します。
         
     | 
| 
       3606 
3609 
     | 
    
         
             
            .sp
         
     | 
| 
       3607 
3610 
     | 
    
         
             
            また、 \fB&&\fP や \fB||\fP を使って、条件のAND・OR指定をすることもできます。
         
     | 
| 
       3608 
3611 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -5702,7 +5705,7 @@ select \-\-table Blog2 \-\-match_columns title \-\-query message 
     | 
|
| 
       5702 
5705 
     | 
    
         
             
            \fB注釈:\fP
         
     | 
| 
       5703 
5706 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       5704 
5707 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       5705 
     | 
    
         
            -
            "インデックスはどちらがよい方法なのか" 
     | 
| 
      
 5708 
     | 
    
         
            +
            "インデックスはどちらがよい方法なのか"と疑問に思うかもしれません。それは場合によります。
         
     | 
| 
       5706 
5709 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       5707 
5710 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       5708 
5711 
     | 
    
         
             
            カラムごとのインデックス \- マルチカラムインデックスよりも更新性能が良い傾向があります。一方、ディスク使用効率はあまり良くありません。
         
     | 
| 
         @@ -10442,7 +10445,7 @@ center; 
     | 
|
| 
       10442 
10445 
     | 
    
         
             
            |l|l|l|.
         
     | 
| 
       10443 
10446 
     | 
    
         
             
            _
         
     | 
| 
       10444 
10447 
     | 
    
         
             
            T{
         
     | 
| 
       10445 
     | 
    
         
            -
             
     | 
| 
      
 10448 
     | 
    
         
            +
            キー
         
     | 
| 
       10446 
10449 
     | 
    
         
             
            T}	T{
         
     | 
| 
       10447 
10450 
     | 
    
         
             
            説明
         
     | 
| 
       10448 
10451 
     | 
    
         
             
            T}	T{
         
     | 
| 
         @@ -10470,7 +10473,7 @@ center; 
     | 
|
| 
       10470 
10473 
     | 
    
         
             
            |l|l|l|.
         
     | 
| 
       10471 
10474 
     | 
    
         
             
            _
         
     | 
| 
       10472 
10475 
     | 
    
         
             
            T{
         
     | 
| 
       10473 
     | 
    
         
            -
             
     | 
| 
      
 10476 
     | 
    
         
            +
            キー
         
     | 
| 
       10474 
10477 
     | 
    
         
             
            T}	T{
         
     | 
| 
       10475 
10478 
     | 
    
         
             
            説明
         
     | 
| 
       10476 
10479 
     | 
    
         
             
            T}	T{
         
     | 
| 
         @@ -10508,7 +10511,7 @@ center; 
     | 
|
| 
       10508 
10511 
     | 
    
         
             
            |l|l|l|.
         
     | 
| 
       10509 
10512 
     | 
    
         
             
            _
         
     | 
| 
       10510 
10513 
     | 
    
         
             
            T{
         
     | 
| 
       10511 
     | 
    
         
            -
             
     | 
| 
      
 10514 
     | 
    
         
            +
            キー
         
     | 
| 
       10512 
10515 
     | 
    
         
             
            T}	T{
         
     | 
| 
       10513 
10516 
     | 
    
         
             
            説明
         
     | 
| 
       10514 
10517 
     | 
    
         
             
            T}	T{
         
     | 
| 
         @@ -10530,7 +10533,7 @@ center; 
     | 
|
| 
       10530 
10533 
     | 
    
         
             
            |l|l|l|.
         
     | 
| 
       10531 
10534 
     | 
    
         
             
            _
         
     | 
| 
       10532 
10535 
     | 
    
         
             
            T{
         
     | 
| 
       10533 
     | 
    
         
            -
             
     | 
| 
      
 10536 
     | 
    
         
            +
            キー
         
     | 
| 
       10534 
10537 
     | 
    
         
             
            T}	T{
         
     | 
| 
       10535 
10538 
     | 
    
         
             
            説明
         
     | 
| 
       10536 
10539 
     | 
    
         
             
            T}	T{
         
     | 
| 
         @@ -11523,7 +11526,7 @@ cache_limit 
     | 
|
| 
       11523 
11526 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       11524 
11527 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       11525 
11528 
     | 
    
         
             
            .sp
         
     | 
| 
       11526 
     | 
    
         
            -
            \fBmax\fP  
     | 
| 
      
 11529 
     | 
    
         
            +
            \fBmax\fP 引数を使うと、指定した値に設定される前の最大キャッシュエントリー数が戻り値になります。
         
     | 
| 
       11527 
11530 
     | 
    
         
             
            .SS 引数
         
     | 
| 
       11528 
11531 
     | 
    
         
             
            .sp
         
     | 
| 
       11529 
11532 
     | 
    
         
             
            このセクションではすべての引数について説明します。
         
     | 
| 
         @@ -12578,7 +12581,7 @@ select FromTable \-\-output_columns _key,from_column,to_column 
     | 
|
| 
       12578 
12581 
     | 
    
         
             
            .sp
         
     | 
| 
       12579 
12582 
     | 
    
         
             
            \fBto_table\fP に \fBTABLE_NO_KEY\fP テーブルを指定することはできません。なぜなら、レコードのキーがないとGroongaはコピー先のレコードを特定できないからです。
         
     | 
| 
       12580 
12583 
     | 
    
         
             
            .sp
         
     | 
| 
       12581 
     | 
    
         
            -
            例外が1つあります。 \fBfrom_table\fP と \fBto_table\fP に同じテーブル名を指定した場合は、 \fBto_table\fP に \fBTABLE_NO_KEY\fP テーブルを指定できます。なぜなら、コピー元テーブルとコピー先テーブルが同じテーブルならGroonga 
     | 
| 
      
 12584 
     | 
    
         
            +
            例外が1つあります。 \fBfrom_table\fP と \fBto_table\fP に同じテーブル名を指定した場合は、 \fBto_table\fP に \fBTABLE_NO_KEY\fP テーブルを指定できます。なぜなら、コピー元テーブルとコピー先テーブルが同じテーブルならGroongaはコピー先のレコードを特定できるからです。
         
     | 
| 
       12582 
12585 
     | 
    
         
             
            .sp
         
     | 
| 
       12583 
12586 
     | 
    
         
             
            \fBto_table\fP を使った例です。
         
     | 
| 
       12584 
12587 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -13483,7 +13486,7 @@ select Users 
     | 
|
| 
       13483 
13486 
     | 
    
         
             
            \fB注釈:\fP
         
     | 
| 
       13484 
13487 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       13485 
13488 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       13486 
     | 
    
         
            -
            通常、 \fBdatabase_unmap\fP を使う必要はありません。なぜなら、OSが賢くメモリーを管理してくれるからです。もし、システムの残メモリーが少なくなったら、OSはGroonga 
     | 
| 
      
 13489 
     | 
    
         
            +
            通常、 \fBdatabase_unmap\fP を使う必要はありません。なぜなら、OSが賢くメモリーを管理してくれるからです。もし、システムの残メモリーが少なくなったら、OSはGroongaが使っているメモリーをディスクに退避します。退避したメモリーは必要になったらまたメモリーに戻します。OSは使っていないメモリーを優先して退避します。
         
     | 
| 
       13487 
13490 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       13488 
13491 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       13489 
13492 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -13587,7 +13590,7 @@ database_unmap 
     | 
|
| 
       13587 
13590 
     | 
    
         
             
            .sp
         
     | 
| 
       13588 
13591 
     | 
    
         
             
            define_selector \- 検索コマンドを定義
         
     | 
| 
       13589 
13592 
     | 
    
         
             
            .sp
         
     | 
| 
       13590 
     | 
    
         
            -
            Groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマンドは、groonga 
     | 
| 
      
 13593 
     | 
    
         
            +
            Groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       13591 
13594 
     | 
    
         
             
            .sp
         
     | 
| 
       13592 
13595 
     | 
    
         
             
            define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。
         
     | 
| 
       13593 
13596 
     | 
    
         
             
            .SS 構文
         
     | 
| 
         @@ -15121,7 +15124,7 @@ debug 
     | 
|
| 
       15121 
15124 
     | 
    
         
             
            .sp
         
     | 
| 
       15122 
15125 
     | 
    
         
             
            log_put \- ログ出力
         
     | 
| 
       15123 
15126 
     | 
    
         
             
            .sp
         
     | 
| 
       15124 
     | 
    
         
            -
            groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga 
     | 
| 
      
 15127 
     | 
    
         
            +
            groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       15125 
15128 
     | 
    
         
             
            .sp
         
     | 
| 
       15126 
15129 
     | 
    
         
             
            log_putは、ログにmessageを出力します。
         
     | 
| 
       15127 
15130 
     | 
    
         
             
            .SS 構文
         
     | 
| 
         @@ -15201,8 +15204,7 @@ debug 
     | 
|
| 
       15201 
15204 
     | 
    
         
             
            .sp
         
     | 
| 
       15202 
15205 
     | 
    
         
             
            log_reopen \- ログファイルの再読み込み
         
     | 
| 
       15203 
15206 
     | 
    
         
             
            .sp
         
     | 
| 
       15204 
     | 
    
         
            -
            Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga 
     | 
| 
       15205 
     | 
    
         
            -
            入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
      
 15207 
     | 
    
         
            +
            Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       15206 
15208 
     | 
    
         
             
            .sp
         
     | 
| 
       15207 
15209 
     | 
    
         
             
            log_reopenは、ログファイルを再読み込みします。
         
     | 
| 
       15208 
15210 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -15314,7 +15316,7 @@ logical_count logical_table 
     | 
|
| 
       15314 
15316 
     | 
    
         
             
            .sp
         
     | 
| 
       15315 
15317 
     | 
    
         
             
            \fBlogical_count\fP コマンドを使うには事前に \fBsharding\fP プラグインを登録します。
         
     | 
| 
       15316 
15318 
     | 
    
         
             
            .sp
         
     | 
| 
       15317 
     | 
    
         
            -
            \fBlogical_count\fP  
     | 
| 
      
 15319 
     | 
    
         
            +
            \fBlogical_count\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
         
     | 
| 
       15318 
15320 
     | 
    
         
             
            .sp
         
     | 
| 
       15319 
15321 
     | 
    
         
             
            この機能を使う簡単な例を示します。複数のテーブルに保存されている特定のログをカウントしてみましょう。
         
     | 
| 
       15320 
15322 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -18297,7 +18299,7 @@ TODO 
     | 
|
| 
       18297 
18299 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       18298 
18300 
     | 
    
         
             
            このコマンドは実験的な機能です。
         
     | 
| 
       18299 
18301 
     | 
    
         
             
            .sp
         
     | 
| 
       18300 
     | 
    
         
            -
             
     | 
| 
      
 18302 
     | 
    
         
            +
            このコマンドは将来的に変更されるかもしれません。
         
     | 
| 
       18301 
18303 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       18302 
18304 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       18303 
18305 
     | 
    
         
             
            .SS 概要
         
     | 
| 
         @@ -18834,11 +18836,9 @@ plugin_unregister query_expanders/tsv 
     | 
|
| 
       18834 
18836 
     | 
    
         
             
            .sp
         
     | 
| 
       18835 
18837 
     | 
    
         
             
            quit \- セッション終了
         
     | 
| 
       18836 
18838 
     | 
    
         
             
            .sp
         
     | 
| 
       18837 
     | 
    
         
            -
            Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga 
     | 
| 
       18838 
     | 
    
         
            -
            またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
      
 18839 
     | 
    
         
            +
            Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       18839 
18840 
     | 
    
         
             
            .sp
         
     | 
| 
       18840 
     | 
    
         
            -
            quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroonga 
     | 
| 
       18841 
     | 
    
         
            -
            す。
         
     | 
| 
      
 18841 
     | 
    
         
            +
            quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切ります。
         
     | 
| 
       18842 
18842 
     | 
    
         
             
            .SS 構文
         
     | 
| 
       18843 
18843 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       18844 
18844 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
         @@ -19134,7 +19134,7 @@ ruby_eval script 
     | 
|
| 
       19134 
19134 
     | 
    
         
             
            .sp
         
     | 
| 
       19135 
19135 
     | 
    
         
             
            \fBruby_eval\fP を使うと、mrubyがサポートしているスクリプトを実行できます。
         
     | 
| 
       19136 
19136 
     | 
    
         
             
            .sp
         
     | 
| 
       19137 
     | 
    
         
            -
            Ruby \fB1 + 2\fP という計算するだけの例です。
         
     | 
| 
      
 19137 
     | 
    
         
            +
            Rubyスクリプトとして \fB1 + 2\fP という計算するだけの例です。
         
     | 
| 
       19138 
19138 
     | 
    
         
             
            .sp
         
     | 
| 
       19139 
19139 
     | 
    
         
             
            実行例:
         
     | 
| 
       19140 
19140 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -19153,7 +19153,7 @@ ruby_eval "1 + 2" 
     | 
|
| 
       19153 
19153 
     | 
    
         
             
            .sp
         
     | 
| 
       19154 
19154 
     | 
    
         
             
            \fBruby_eval\fP コマンドを使うには事前に \fBruby/eval\fP プラグインを登録します。
         
     | 
| 
       19155 
19155 
     | 
    
         
             
            .sp
         
     | 
| 
       19156 
     | 
    
         
            -
            \fBruby_eval\fP  
     | 
| 
      
 19156 
     | 
    
         
            +
            \fBruby_eval\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
         
     | 
| 
       19157 
19157 
     | 
    
         
             
            .SS 引数
         
     | 
| 
       19158 
19158 
     | 
    
         
             
            .sp
         
     | 
| 
       19159 
19159 
     | 
    
         
             
            このセクションではすべての引数について説明します。
         
     | 
| 
         @@ -19211,7 +19211,7 @@ ruby_load path 
     | 
|
| 
       19211 
19211 
     | 
    
         
             
            .sp
         
     | 
| 
       19212 
19212 
     | 
    
         
             
            \fBruby_load\fP を使ってmrubyがサポートしているスクリプトを読み込むことができます。
         
     | 
| 
       19213 
19213 
     | 
    
         
             
            .sp
         
     | 
| 
       19214 
     | 
    
         
            -
            Rubyスクリプトとして \fBexpression.rb\fP  
     | 
| 
      
 19214 
     | 
    
         
            +
            Rubyスクリプトとして \fBexpression.rb\fP を単に読み込む例です。
         
     | 
| 
       19215 
19215 
     | 
    
         
             
            .sp
         
     | 
| 
       19216 
19216 
     | 
    
         
             
            実行例:
         
     | 
| 
       19217 
19217 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -19230,7 +19230,7 @@ ruby_load "expression.rb" 
     | 
|
| 
       19230 
19230 
     | 
    
         
             
            .sp
         
     | 
| 
       19231 
19231 
     | 
    
         
             
            \fBruby_load\fP コマンドを使うには事前に \fBruby/load\fP プラグインを登録します。
         
     | 
| 
       19232 
19232 
     | 
    
         
             
            .sp
         
     | 
| 
       19233 
     | 
    
         
            -
            \fBruby_load\fP  
     | 
| 
      
 19233 
     | 
    
         
            +
            \fBruby_load\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
         
     | 
| 
       19234 
19234 
     | 
    
         
             
            .SS 引数
         
     | 
| 
       19235 
19235 
     | 
    
         
             
            .sp
         
     | 
| 
       19236 
19236 
     | 
    
         
             
            このセクションではすべての引数について説明します。
         
     | 
| 
         @@ -19987,7 +19987,7 @@ select Nonexistent 
     | 
|
| 
       19987 
19987 
     | 
    
         
             
            \fBquery\fP と \fBfilter\fP を指定した場合は、 \fBquery\fP と \fBfilter\fP にマッチしたレコードが選択されます。 \fBquery\fP と \fBfilter\fP のどちらも指定しなかった場合はすべてのレコードが選択されます。
         
     | 
| 
       19988 
19988 
     | 
    
         
             
            .SS \fBmatch_columns\fP
         
     | 
| 
       19989 
19989 
     | 
    
         
             
            .sp
         
     | 
| 
       19990 
     | 
    
         
            -
            \fBquery\fP 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは \fBquery\fP 引数でも指定できます。検索対象カラムを \fBmatch_columns\fP で指定する場合と \fBquery\fP  
     | 
| 
      
 19990 
     | 
    
         
            +
            \fBquery\fP 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは \fBquery\fP 引数でも指定できます。検索対象カラムを \fBmatch_columns\fP で指定する場合と \fBquery\fP で指定する場合の違いは重みとスコアー関数を指定できるかどうかです。 \fBmatch_columns\fP では指定できますが、 \fBquery\fP では指定できません。
         
     | 
| 
       19991 
19991 
     | 
    
         
             
            .sp
         
     | 
| 
       19992 
19992 
     | 
    
         
             
            重みは検索対象カラムの相対的な重要度です。重みの大きい検索対象カラムでマッチした場合は小さい検索対象カラムでマッチした場合よりも多くのヒットスコアがつきます。デフォルトの重みは1です。
         
     | 
| 
       19993 
19993 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -20136,6 +20136,10 @@ select Entries \-\-match_columns \(aq_key * 10 || content\(aq \-\-query groonga 
     | 
|
| 
       20136 
20136 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       20137 
20137 
     | 
    
         
             
            .sp
         
     | 
| 
       20138 
20138 
     | 
    
         
             
            \fB\-\-match_columns \(aq_key * 10 || content\(aq\fP はデフォルト検索対象カラムが \fB_key\fP カラムと \fBcontent\fP カラムで、 \fB_key\fP カラムの重みは10、 \fBcontent\fP カラムの重みは1という意味です。この重み付けは \fB_key\fP カラムの値は \fBcontent\fP カラムの値よりも重要だという意味になります。この例では、ブログエントリのタイトルはブログエントリの内容よりも重要だということです。
         
     | 
| 
      
 20139 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 20140 
     | 
    
         
            +
            スコアー関数を指定することもできます。詳細は \fB/reference/scorer\fP を参照してください。
         
     | 
| 
      
 20141 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 20142 
     | 
    
         
            +
            スコアー関数と \fI\%scorer\fP パラメーターは関係ないので注意してください。
         
     | 
| 
       20139 
20143 
     | 
    
         
             
            .SS \fBquery\fP
         
     | 
| 
       20140 
20144 
     | 
    
         
             
            .sp
         
     | 
| 
       20141 
20145 
     | 
    
         
             
            クエリーテキストを指定します。通常、全文検索をするために \fBmatch_columns\fP 引数と一緒に使います。 \fBquery\fP 引数はWebページにある全文検索フォームで使いやすいように設計されています。クエリーテキストは \fB/reference/grn_expr/query_syntax\fP という書式を使います。この書式はGoogleの検索フォームのように一般的な検索フォームと似ています。例えば、 \fBword1 word2\fP は \fBword1\fP と \fBword2\fP を含んでいるレコードを検索するという意味になります。 \fBword1 OR word2\fP は \fBword1\fP または \fBword2\fP を含んでいるレコードを検索するという意味になります。
         
     | 
| 
         @@ -21335,8 +21339,7 @@ select Entries \-\-output_columns \(aq_id, _key\(aq \-\-limit 1 
     | 
|
| 
       21335 
21339 
     | 
    
         
             
            .sp
         
     | 
| 
       21336 
21340 
     | 
    
         
             
            この \fBselect\fP コマンドは \fB_id\fP と \fB_key\fP カラムの値だけを出力します。
         
     | 
| 
       21337 
21341 
     | 
    
         
             
            .sp
         
     | 
| 
       21338 
     | 
    
         
            -
            \fB*\fP  
     | 
| 
       21339 
     | 
    
         
            -
            \fB/reference/columns/pseudo\fP\&.
         
     | 
| 
      
 21342 
     | 
    
         
            +
            \fB*\fP は特別な値で \fB/reference/columns/pseudo\fP 以外のすべてのカラムという意味です。
         
     | 
| 
       21340 
21343 
     | 
    
         
             
            .sp
         
     | 
| 
       21341 
21344 
     | 
    
         
             
            以下は \fB*\fP の使用例です。
         
     | 
| 
       21342 
21345 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -24993,12 +24996,12 @@ shutdown 
     | 
|
| 
       24993 
24996 
     | 
    
         
             
            .SS \fBstatus\fP
         
     | 
| 
       24994 
24997 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       24995 
24998 
     | 
    
         
             
            .sp
         
     | 
| 
       24996 
     | 
    
         
            -
             
     | 
| 
       24997 
     | 
    
         
            -
            .sp
         
     | 
| 
       24998 
     | 
    
         
            -
            Groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
      
 24999 
     | 
    
         
            +
            \fBstatus\fP はこのリクエストを処理しているコンテキストの現在のステータスを返します。
         
     | 
| 
       24999 
25000 
     | 
    
         
             
            .sp
         
     | 
| 
       25000 
     | 
    
         
            -
             
     | 
| 
      
 25001 
     | 
    
         
            +
            コンテキストはリクエストを処理する単位です。通常、各スレッドごとにコンテキストを作ります。
         
     | 
| 
       25001 
25002 
     | 
    
         
             
            .SS 構文
         
     | 
| 
      
 25003 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25004 
     | 
    
         
            +
            このコマンドに引数はありません:
         
     | 
| 
       25002 
25005 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       25003 
25006 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       25004 
25007 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -25011,6 +25014,8 @@ status 
     | 
|
| 
       25011 
25014 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25012 
25015 
     | 
    
         
             
            .SS 使い方
         
     | 
| 
       25013 
25016 
     | 
    
         
             
            .sp
         
     | 
| 
      
 25017 
     | 
    
         
            +
            以下は簡単な使用例です。
         
     | 
| 
      
 25018 
     | 
    
         
            +
            .sp
         
     | 
| 
       25014 
25019 
     | 
    
         
             
            実行例:
         
     | 
| 
       25015 
25020 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       25016 
25021 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
         @@ -25025,56 +25030,194 @@ status 
     | 
|
| 
       25025 
25030 
     | 
    
         
             
            #     0.000355720520019531
         
     | 
| 
       25026 
25031 
     | 
    
         
             
            #   ],
         
     | 
| 
       25027 
25032 
     | 
    
         
             
            #   {
         
     | 
| 
       25028 
     | 
    
         
            -
            #     "uptime":  
     | 
| 
      
 25033 
     | 
    
         
            +
            #     "uptime": 0,
         
     | 
| 
       25029 
25034 
     | 
    
         
             
            #     "max_command_version": 2,
         
     | 
| 
       25030 
     | 
    
         
            -
            #     " 
     | 
| 
      
 25035 
     | 
    
         
            +
            #     "start_time": 1441980651,
         
     | 
| 
       25031 
25036 
     | 
    
         
             
            #     "cache_hit_rate": 0.0,
         
     | 
| 
       25032 
     | 
    
         
            -
            #     "version": "5.0. 
     | 
| 
      
 25037 
     | 
    
         
            +
            #     "version": "5.0.7\-126\-gb6fd7f7",
         
     | 
| 
       25033 
25038 
     | 
    
         
             
            #     "alloc_count": 206,
         
     | 
| 
       25034 
25039 
     | 
    
         
             
            #     "command_version": 1,
         
     | 
| 
       25035 
     | 
    
         
            -
            #     "starttime":  
     | 
| 
       25036 
     | 
    
         
            -
            #     "default_command_version": 1
         
     | 
| 
      
 25040 
     | 
    
         
            +
            #     "starttime": 1441980651,
         
     | 
| 
      
 25041 
     | 
    
         
            +
            #     "default_command_version": 1,
         
     | 
| 
      
 25042 
     | 
    
         
            +
            #     "n_queries": 0
         
     | 
| 
       25037 
25043 
     | 
    
         
             
            #   }
         
     | 
| 
       25038 
25044 
     | 
    
         
             
            # ]
         
     | 
| 
       25039 
25045 
     | 
    
         
             
            .ft P
         
     | 
| 
       25040 
25046 
     | 
    
         
             
            .fi
         
     | 
| 
       25041 
25047 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25042 
25048 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 25049 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25050 
     | 
    
         
            +
            このリクエストを処理しているコンテキストの現在のステータスを返します。詳細は \fI\%戻り値\fP を参照してください。
         
     | 
| 
       25043 
25051 
     | 
    
         
             
            .SS 引数
         
     | 
| 
       25044 
25052 
     | 
    
         
             
            .sp
         
     | 
| 
       25045 
     | 
    
         
            -
             
     | 
| 
      
 25053 
     | 
    
         
            +
            このセクションではすべての引数について説明します。
         
     | 
| 
      
 25054 
     | 
    
         
            +
            .SS 必須引数
         
     | 
| 
      
 25055 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25056 
     | 
    
         
            +
            必須の引数はありません。
         
     | 
| 
      
 25057 
     | 
    
         
            +
            .SS 省略可能引数
         
     | 
| 
      
 25058 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25059 
     | 
    
         
            +
            省略可能な引数はありません。
         
     | 
| 
       25046 
25060 
     | 
    
         
             
            .SS 戻り値
         
     | 
| 
      
 25061 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25062 
     | 
    
         
            +
            このコマンドはオブジェクトとして現在のステータスを返します。:
         
     | 
| 
       25047 
25063 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       25048 
25064 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       25049 
25065 
     | 
    
         
             
            .sp
         
     | 
| 
       25050 
25066 
     | 
    
         
             
            .nf
         
     | 
| 
       25051 
25067 
     | 
    
         
             
            .ft C
         
     | 
| 
       25052 
     | 
    
         
            -
             
     | 
| 
      
 25068 
     | 
    
         
            +
            [
         
     | 
| 
      
 25069 
     | 
    
         
            +
              HEADER,
         
     | 
| 
      
 25070 
     | 
    
         
            +
              {
         
     | 
| 
      
 25071 
     | 
    
         
            +
                "alloc_count": ALLOC_COUNT,
         
     | 
| 
      
 25072 
     | 
    
         
            +
                "cache_hit_rate": CACHE_HIT_RATE,
         
     | 
| 
      
 25073 
     | 
    
         
            +
                "command_version": COMMAND_VERSION,
         
     | 
| 
      
 25074 
     | 
    
         
            +
                "default_command_version": DEFAULT_COMMAND_VERSION,
         
     | 
| 
      
 25075 
     | 
    
         
            +
                "max_command_version": MAX_COMMAND_VERSION,
         
     | 
| 
      
 25076 
     | 
    
         
            +
                "n_queries": N_QUERIES,
         
     | 
| 
      
 25077 
     | 
    
         
            +
                "start_time": START_TIME,
         
     | 
| 
      
 25078 
     | 
    
         
            +
                "starttime": STARTTIME,
         
     | 
| 
      
 25079 
     | 
    
         
            +
                "uptime": UPTIME,
         
     | 
| 
      
 25080 
     | 
    
         
            +
                "version": VERSION
         
     | 
| 
      
 25081 
     | 
    
         
            +
              }
         
     | 
| 
      
 25082 
     | 
    
         
            +
            ]
         
     | 
| 
       25053 
25083 
     | 
    
         
             
            .ft P
         
     | 
| 
       25054 
25084 
     | 
    
         
             
            .fi
         
     | 
| 
       25055 
25085 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25056 
25086 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25057 
25087 
     | 
    
         
             
            .sp
         
     | 
| 
      
 25088 
     | 
    
         
            +
            \fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
         
     | 
| 
      
 25089 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25090 
     | 
    
         
            +
            以下は値の説明です。実際の値は \fI\%使い方\fP を参照してください。
         
     | 
| 
      
 25091 
     | 
    
         
            +
            .TS
         
     | 
| 
      
 25092 
     | 
    
         
            +
            center;
         
     | 
| 
      
 25093 
     | 
    
         
            +
            |l|l|l|.
         
     | 
| 
      
 25094 
     | 
    
         
            +
            _
         
     | 
| 
      
 25095 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25096 
     | 
    
         
            +
            キー
         
     | 
| 
      
 25097 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25098 
     | 
    
         
            +
            説明
         
     | 
| 
      
 25099 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25100 
     | 
    
         
            +
            例
         
     | 
| 
      
 25101 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25102 
     | 
    
         
            +
            _
         
     | 
| 
      
 25103 
     | 
    
         
            +
            T{
         
     | 
| 
       25058 
25104 
     | 
    
         
             
            \fBalloc_count\fP
         
     | 
| 
       25059 
     | 
    
         
            -
             
     | 
| 
       25060 
     | 
    
         
            -
             
     | 
| 
       25061 
     | 
    
         
            -
             
     | 
| 
       25062 
     | 
    
         
            -
             
     | 
| 
       25063 
     | 
    
         
            -
             
     | 
| 
      
 25105 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25106 
     | 
    
         
            +
            まだ解放されていないメモリーブロックの数です。もし、この値が継続的に増えていっているならメモリーリークがあるかもしれません。
         
     | 
| 
      
 25107 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25108 
     | 
    
         
            +
            \fB1400\fP
         
     | 
| 
      
 25109 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25110 
     | 
    
         
            +
            _
         
     | 
| 
      
 25111 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25112 
     | 
    
         
            +
            \fBcache_hit_rate\fP
         
     | 
| 
      
 25113 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25114 
     | 
    
         
            +
            このGroongaプロセスがキャッシュを使って返したレスポンスの割合です。もし、10リクエストのうち7つのレスポンスはキャッシュを使ったなら、 \fBcache_hit_rate\fP は \fB70.0\fP になります。この割合はキャッシュをサポートしているコマンドを使ったリクエストのみで計算します。
         
     | 
| 
       25064 
25115 
     | 
    
         
             
            .sp
         
     | 
| 
       25065 
     | 
    
         
            -
             
     | 
| 
      
 25116 
     | 
    
         
            +
            以下はキャッシュをサポートしているコマンドです。
         
     | 
| 
       25066 
25117 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       25067 
25118 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       25068 
     | 
    
         
            -
             
     | 
| 
      
 25119 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 25120 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25121 
     | 
    
         
            +
            \fBselect\fP
         
     | 
| 
      
 25122 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25123 
     | 
    
         
            +
            \fBlogical_select\fP
         
     | 
| 
      
 25124 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25125 
     | 
    
         
            +
            \fBlogical_range_filter\fP
         
     | 
| 
      
 25126 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25127 
     | 
    
         
            +
            \fBlogical_count\fP
         
     | 
| 
      
 25128 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
       25069 
25129 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25070 
25130 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 25131 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25132 
     | 
    
         
            +
            \fB29.4\fP
         
     | 
| 
      
 25133 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25134 
     | 
    
         
            +
            _
         
     | 
| 
      
 25135 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25136 
     | 
    
         
            +
            \fBcommand_version\fP
         
     | 
| 
      
 25137 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25138 
     | 
    
         
            +
            このコンテキストが使っている \fB/reference/command/command_version\fP です。
         
     | 
| 
      
 25139 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25140 
     | 
    
         
            +
            \fB1\fP
         
     | 
| 
      
 25141 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25142 
     | 
    
         
            +
            _
         
     | 
| 
      
 25143 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25144 
     | 
    
         
            +
            \fBdefault_command_version\fP
         
     | 
| 
      
 25145 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25146 
     | 
    
         
            +
            このGroongaプロセスのデフォルト \fB/reference/command/command_version\fP です。
         
     | 
| 
      
 25147 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25148 
     | 
    
         
            +
            \fB1\fP
         
     | 
| 
      
 25149 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25150 
     | 
    
         
            +
            _
         
     | 
| 
      
 25151 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25152 
     | 
    
         
            +
            \fBmax_command_version\fP
         
     | 
| 
      
 25153 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25154 
     | 
    
         
            +
            このGroongaプロセスがサポートしている最大 \fB/reference/command/command_version\fP です。
         
     | 
| 
      
 25155 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25156 
     | 
    
         
            +
            \fB2\fP
         
     | 
| 
      
 25157 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25158 
     | 
    
         
            +
            _
         
     | 
| 
      
 25159 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25160 
     | 
    
         
            +
            \fBn_queries\fP
         
     | 
| 
      
 25161 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25162 
     | 
    
         
            +
            このGroongaプロセスが処理したリクエスト数です。ただし、キャッシュをサポートしたコマンドを使ったリクエストだけを数えます。
         
     | 
| 
       25071 
25163 
     | 
    
         
             
            .sp
         
     | 
| 
       25072 
     | 
    
         
            -
             
     | 
| 
      
 25164 
     | 
    
         
            +
            以下はキャッシュをサポートしているコマンドです。
         
     | 
| 
       25073 
25165 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       25074 
25166 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       25075 
     | 
    
         
            -
             
     | 
| 
      
 25167 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 25168 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25169 
     | 
    
         
            +
            \fBselect\fP
         
     | 
| 
      
 25170 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25171 
     | 
    
         
            +
            \fBlogical_select\fP
         
     | 
| 
      
 25172 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25173 
     | 
    
         
            +
            \fBlogical_range_filter\fP
         
     | 
| 
      
 25174 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 25175 
     | 
    
         
            +
            \fBlogical_count\fP
         
     | 
| 
       25076 
25176 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       25077 
25177 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 25178 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 25179 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25180 
     | 
    
         
            +
            \fB29\fP
         
     | 
| 
      
 25181 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25182 
     | 
    
         
            +
            _
         
     | 
| 
      
 25183 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25184 
     | 
    
         
            +
            \fBstart_time\fP
         
     | 
| 
      
 25185 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25186 
     | 
    
         
            +
            バージョン 5.0.8 で追加.
         
     | 
| 
      
 25187 
     | 
    
         
            +
             
     | 
| 
      
 25188 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25189 
     | 
    
         
            +
            このGroongaプロセスが起動した時間です。UNIX時間です。
         
     | 
| 
      
 25190 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25191 
     | 
    
         
            +
            \fB1441761403\fP
         
     | 
| 
      
 25192 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25193 
     | 
    
         
            +
            _
         
     | 
| 
      
 25194 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25195 
     | 
    
         
            +
            \fBstarttime\fP
         
     | 
| 
      
 25196 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25197 
     | 
    
         
            +
            バージョン 5.0.8 で撤廃: 代わりに \fBstart_time\fP を使ってください。
         
     | 
| 
      
 25198 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25199 
     | 
    
         
            +
            \fB1441761403\fP
         
     | 
| 
      
 25200 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25201 
     | 
    
         
            +
            _
         
     | 
| 
      
 25202 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25203 
     | 
    
         
            +
            \fBuptime\fP
         
     | 
| 
      
 25204 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25205 
     | 
    
         
            +
            このGroongaプロセスが起動してから経過した時間です。単位は秒です。
         
     | 
| 
      
 25206 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 25207 
     | 
    
         
            +
            たとえば、 \fB216639\fP は \fB2.5\fP (= \fB216639 / 60 / 60 / 24 = 2.507\fP )日という意味です。
         
     | 
| 
      
 25208 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25209 
     | 
    
         
            +
            \fB216639\fP
         
     | 
| 
      
 25210 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25211 
     | 
    
         
            +
            _
         
     | 
| 
      
 25212 
     | 
    
         
            +
            T{
         
     | 
| 
      
 25213 
     | 
    
         
            +
            \fBversion\fP
         
     | 
| 
      
 25214 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25215 
     | 
    
         
            +
            このGroongaプロセスのバージョンです。
         
     | 
| 
      
 25216 
     | 
    
         
            +
            T}	T{
         
     | 
| 
      
 25217 
     | 
    
         
            +
            \fB5.0.7\fP
         
     | 
| 
      
 25218 
     | 
    
         
            +
            T}
         
     | 
| 
      
 25219 
     | 
    
         
            +
            _
         
     | 
| 
      
 25220 
     | 
    
         
            +
            .TE
         
     | 
| 
       25078 
25221 
     | 
    
         
             
            .SS \fBsuggest\fP
         
     | 
| 
       25079 
25222 
     | 
    
         
             
            .sp
         
     | 
| 
       25080 
25223 
     | 
    
         
             
            \fB注釈:\fP
         
     | 
| 
         @@ -25956,8 +26099,7 @@ Groonga 2.1.0から \fBKEY_NORMALIZE\fP フラグは非推奨になりました 
     | 
|
| 
       25956 
26099 
     | 
    
         
             
            .sp
         
     | 
| 
       25957 
26100 
     | 
    
         
             
            table_list \- DBに定義されているテーブルをリスト表示
         
     | 
| 
       25958 
26101 
     | 
    
         
             
            .sp
         
     | 
| 
       25959 
     | 
    
         
            -
            Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga 
     | 
| 
       25960 
     | 
    
         
            -
            入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
      
 26102 
     | 
    
         
            +
            Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       25961 
26103 
     | 
    
         
             
            .sp
         
     | 
| 
       25962 
26104 
     | 
    
         
             
            table_listは、DBに定義されているテーブルのリストを表示します。
         
     | 
| 
       25963 
26105 
     | 
    
         
             
            .SS 構文
         
     | 
| 
         @@ -26151,12 +26293,10 @@ valueが属する型 
     | 
|
| 
       26151 
26293 
     | 
    
         
             
            .SS \fBtable_remove\fP
         
     | 
| 
       26152 
26294 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       26153 
26295 
     | 
    
         
             
            .sp
         
     | 
| 
       26154 
     | 
    
         
            -
             
     | 
| 
       26155 
     | 
    
         
            -
            .sp
         
     | 
| 
       26156 
     | 
    
         
            -
            groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       26157 
     | 
    
         
            -
            .sp
         
     | 
| 
       26158 
     | 
    
         
            -
            table_removeはテーブルと定義されているカラムを削除します。カラムに付随するインデックスも再帰的に削除されます。
         
     | 
| 
      
 26296 
     | 
    
         
            +
            \fBtable_remove\fP はテーブルとそのカラムを削除します。もし、テーブルのキーあるいはそのテーブルのカラムにインデックスが張ってある場合はそれらも削除されます。
         
     | 
| 
       26159 
26297 
     | 
    
         
             
            .SS 構文
         
     | 
| 
      
 26298 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26299 
     | 
    
         
            +
            このコマンドの引数は1つで必須です:
         
     | 
| 
       26160 
26300 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       26161 
26301 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       26162 
26302 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -26168,42 +26308,406 @@ table_remove name 
     | 
|
| 
       26168 
26308 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26169 
26309 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26170 
26310 
     | 
    
         
             
            .SS 使い方
         
     | 
| 
      
 26311 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26312 
     | 
    
         
            +
            削除したいテーブルの名前を指定するだけです。 \fBtable_remove\fP は指定されたテーブルとそのテーブルのカラムを削除します。もし、テーブルとそのテーブルのカラムにインデックスが張ってある場合は、張ってあるすべてのインデックスも削除します。
         
     | 
| 
      
 26313 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26314 
     | 
    
         
            +
            このセクションでは次のことについて説明します。
         
     | 
| 
      
 26315 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26316 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26317 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26318 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26319 
     | 
    
         
            +
            基本的な使い方
         
     | 
| 
      
 26320 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26321 
     | 
    
         
            +
            削除できないケース
         
     | 
| 
      
 26322 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26323 
     | 
    
         
            +
            利用リソースの削減
         
     | 
| 
      
 26324 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26325 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26326 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26327 
     | 
    
         
            +
            .SS 基本的な使い方
         
     | 
| 
      
 26328 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26329 
     | 
    
         
            +
            次のケースを考えてみましょう。
         
     | 
| 
      
 26330 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26331 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26332 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26333 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26334 
     | 
    
         
            +
            \fBEntries\fP というテーブルがあります。
         
     | 
| 
      
 26335 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26336 
     | 
    
         
            +
            \fBEntries\fP テーブルにはいくつかカラムがあります。
         
     | 
| 
      
 26337 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26338 
     | 
    
         
            +
            \fBEntries\fP テーブルのキーにはインデックスが張ってあります。
         
     | 
| 
      
 26339 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26340 
     | 
    
         
            +
            \fBEntries\fP のあるカラムにはインデックスが張ってあります。
         
     | 
| 
      
 26341 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26342 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26343 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26344 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26345 
     | 
    
         
            +
            以下は \fBEntries\fP テーブルを作成するコマンドです。
         
     | 
| 
      
 26346 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26347 
     | 
    
         
            +
            実行例:
         
     | 
| 
       26171 
26348 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       26172 
26349 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       26173 
26350 
     | 
    
         
             
            .sp
         
     | 
| 
       26174 
26351 
     | 
    
         
             
            .nf
         
     | 
| 
       26175 
26352 
     | 
    
         
             
            .ft C
         
     | 
| 
       26176 
     | 
    
         
            -
             
     | 
| 
       26177 
     | 
    
         
            -
             
     | 
| 
       26178 
     | 
    
         
            -
             
     | 
| 
      
 26353 
     | 
    
         
            +
            table_create Entries TABLE_HASH_KEY UInt32
         
     | 
| 
      
 26354 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26355 
     | 
    
         
            +
            column_create Entries title COLUMN_SCALAR ShortText
         
     | 
| 
      
 26356 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26357 
     | 
    
         
            +
            column_create Entries content COLUMN_SCALAR Text
         
     | 
| 
      
 26358 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
       26179 
26359 
     | 
    
         
             
            .ft P
         
     | 
| 
       26180 
26360 
     | 
    
         
             
            .fi
         
     | 
| 
       26181 
26361 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26182 
26362 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26183 
     | 
    
         
            -
            . 
     | 
| 
      
 26363 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26364 
     | 
    
         
            +
            以下は \fBEntries\fP テーブルのキーにインデックスを張るコマンドです。
         
     | 
| 
      
 26365 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26366 
     | 
    
         
            +
            実行例:
         
     | 
| 
       26184 
26367 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       26185 
     | 
    
         
            -
            . 
     | 
| 
       26186 
     | 
    
         
            -
            . 
     | 
| 
       26187 
     | 
    
         
            -
             
     | 
| 
      
 26368 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26369 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26370 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26371 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26372 
     | 
    
         
            +
            table_create EntryKeys TABLE_HASH_KEY UInt32
         
     | 
| 
      
 26373 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26374 
     | 
    
         
            +
            column_create EntryKeys key_index COLUMN_INDEX Entries _key
         
     | 
| 
      
 26375 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26376 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26377 
     | 
    
         
            +
            .fi
         
     | 
| 
       26188 
26378 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26189 
     | 
    
         
            -
            . 
     | 
| 
      
 26379 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26380 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26381 
     | 
    
         
            +
            以下は \fBEntries\fP テーブルのカラムにインデックスを張るコマンドです。
         
     | 
| 
      
 26382 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26383 
     | 
    
         
            +
            実行例:
         
     | 
| 
       26190 
26384 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       26191 
26385 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       26192 
26386 
     | 
    
         
             
            .sp
         
     | 
| 
       26193 
26387 
     | 
    
         
             
            .nf
         
     | 
| 
       26194 
26388 
     | 
    
         
             
            .ft C
         
     | 
| 
       26195 
     | 
    
         
            -
             
     | 
| 
      
 26389 
     | 
    
         
            +
            table_create Terms TABLE_PAT_KEY ShortText \e
         
     | 
| 
      
 26390 
     | 
    
         
            +
              \-\-default_tokenizer TokenBigram \e
         
     | 
| 
      
 26391 
     | 
    
         
            +
              \-\-normalizer NormalizerAuto
         
     | 
| 
      
 26392 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26393 
     | 
    
         
            +
            column_create Terms content_index COLUMN_INDEX Entries content
         
     | 
| 
      
 26394 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
       26196 
26395 
     | 
    
         
             
            .ft P
         
     | 
| 
       26197 
26396 
     | 
    
         
             
            .fi
         
     | 
| 
       26198 
26397 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26199 
26398 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26200 
26399 
     | 
    
         
             
            .sp
         
     | 
| 
       26201 
     | 
    
         
            -
            \ 
     | 
| 
      
 26400 
     | 
    
         
            +
            \fBtable_remove\fP を実行する前に現在のスキーマを確認しましょう。
         
     | 
| 
      
 26401 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26402 
     | 
    
         
            +
            実行例:
         
     | 
| 
       26202 
26403 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       26203 
26404 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       26204 
     | 
    
         
            -
             
     | 
| 
      
 26405 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26406 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26407 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26408 
     | 
    
         
            +
            dump
         
     | 
| 
      
 26409 
     | 
    
         
            +
            # table_create Entries TABLE_HASH_KEY UInt32
         
     | 
| 
      
 26410 
     | 
    
         
            +
            # column_create Entries content COLUMN_SCALAR Text
         
     | 
| 
      
 26411 
     | 
    
         
            +
            # column_create Entries title COLUMN_SCALAR ShortText
         
     | 
| 
      
 26412 
     | 
    
         
            +
            #
         
     | 
| 
      
 26413 
     | 
    
         
            +
            # table_create EntryKeys TABLE_HASH_KEY UInt32
         
     | 
| 
      
 26414 
     | 
    
         
            +
            #
         
     | 
| 
      
 26415 
     | 
    
         
            +
            # table_create Terms TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto
         
     | 
| 
      
 26416 
     | 
    
         
            +
            #
         
     | 
| 
      
 26417 
     | 
    
         
            +
            # column_create EntryKeys key_index COLUMN_INDEX Entries _key
         
     | 
| 
      
 26418 
     | 
    
         
            +
            # column_create Terms content_index COLUMN_INDEX Entries content
         
     | 
| 
      
 26419 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26420 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26421 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26422 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26423 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26424 
     | 
    
         
            +
            \fBEntries\fP テーブルを削除すると、次のテーブルとカラムが削除されます。
         
     | 
| 
      
 26425 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26426 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26427 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26428 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26429 
     | 
    
         
            +
            \fBEntries\fP
         
     | 
| 
      
 26430 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26431 
     | 
    
         
            +
            \fBEntries.title\fP
         
     | 
| 
      
 26432 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26433 
     | 
    
         
            +
            \fBEntries.context\fP
         
     | 
| 
      
 26434 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26435 
     | 
    
         
            +
            \fBEntryKeys.key_index\fP
         
     | 
| 
      
 26436 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26437 
     | 
    
         
            +
            \fBTerms.content_index\fP
         
     | 
| 
      
 26438 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26439 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26440 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26441 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26442 
     | 
    
         
            +
            次のテーブル(語彙表)は削除されません。
         
     | 
| 
      
 26443 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26444 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26445 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26446 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26447 
     | 
    
         
            +
            \fBEntryKeys\fP
         
     | 
| 
      
 26448 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26449 
     | 
    
         
            +
            \fBTerms\fP
         
     | 
| 
      
 26450 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26451 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26452 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26453 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26454 
     | 
    
         
            +
            \fBtable_remove\fP を実行しましょう。
         
     | 
| 
      
 26455 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26456 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26457 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26458 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26459 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26460 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26461 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26462 
     | 
    
         
            +
            table_remove Entries
         
     | 
| 
      
 26463 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26464 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26465 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26466 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26467 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26468 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26469 
     | 
    
         
            +
            以下が \fBtable_remove\fP 実行後のスキーマです。 \fBEntryKeys\fP と \fBTerms\fP だけが残っています。
         
     | 
| 
      
 26470 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26471 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26472 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26473 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26474 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26475 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26476 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26477 
     | 
    
         
            +
            dump
         
     | 
| 
      
 26478 
     | 
    
         
            +
            # table_create EntryKeys TABLE_HASH_KEY UInt32
         
     | 
| 
      
 26479 
     | 
    
         
            +
            #
         
     | 
| 
      
 26480 
     | 
    
         
            +
            # table_create Terms TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto
         
     | 
| 
      
 26481 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26482 
     | 
    
         
            +
            .fi
         
     | 
| 
       26205 
26483 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       26206 
26484 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 26485 
     | 
    
         
            +
            .SS 削除できないケース
         
     | 
| 
      
 26486 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26487 
     | 
    
         
            +
            以下は削除できないケースです。
         
     | 
| 
      
 26488 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26489 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26490 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26491 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26492 
     | 
    
         
            +
            1つ以上のテーブルがこの削除対象のテーブルをキーの型として使っている。
         
     | 
| 
      
 26493 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 26494 
     | 
    
         
            +
            1つ以上のカラムがこの削除対象のテーブルを値の型として使っている。
         
     | 
| 
      
 26495 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26496 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26497 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26498 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26499 
     | 
    
         
            +
            どちらのケースも参照先がなくなることを防ぎます。もし、削除対象のテーブルが型として参照されているままそのテーブルが削除されてしまうと、そのテーブルを参照しているテーブルとカラムは壊れてしまいます。
         
     | 
| 
      
 26500 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26501 
     | 
    
         
            +
            もし、削除対象のテーブルがどれかの条件を満たしたら \fBtable_remove\fP は失敗します。削除対象のテーブルも削除対象のテーブルのカラムも削除されません。
         
     | 
| 
      
 26502 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26503 
     | 
    
         
            +
            以下は削除対象のテーブルがキーの型に使われるケースの例です。
         
     | 
| 
      
 26504 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26505 
     | 
    
         
            +
            次のコマンドは削除対象のテーブルとそのテーブルをキーの型として使うテーブルを作成します。
         
     | 
| 
      
 26506 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26507 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26508 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26509 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26510 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26511 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26512 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26513 
     | 
    
         
            +
            table_create ReferencedByTable TABLE_HASH_KEY ShortText
         
     | 
| 
      
 26514 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26515 
     | 
    
         
            +
            table_create ReferenceTable TABLE_HASH_KEY ReferencedByTable
         
     | 
| 
      
 26516 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26517 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26518 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26519 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26520 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26521 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26522 
     | 
    
         
            +
            \fBReferencedByTable\fP に対する \fBtable_remove\fP は失敗します。
         
     | 
| 
      
 26523 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26524 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26525 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26526 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26527 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26528 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26529 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26530 
     | 
    
         
            +
            table_remove ReferencedByTable
         
     | 
| 
      
 26531 
     | 
    
         
            +
            # [
         
     | 
| 
      
 26532 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 26533 
     | 
    
         
            +
            #     \-2,
         
     | 
| 
      
 26534 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 26535 
     | 
    
         
            +
            #     0.000355720520019531,
         
     | 
| 
      
 26536 
     | 
    
         
            +
            #     "[table][remove] a table that references the table exists: <ReferenceTable._key> \-> <ReferencedByTable>",
         
     | 
| 
      
 26537 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 26538 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 26539 
     | 
    
         
            +
            #         "is_removable_table",
         
     | 
| 
      
 26540 
     | 
    
         
            +
            #         "db.c",
         
     | 
| 
      
 26541 
     | 
    
         
            +
            #         8480
         
     | 
| 
      
 26542 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 26543 
     | 
    
         
            +
            #     ]
         
     | 
| 
      
 26544 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 26545 
     | 
    
         
            +
            #   false
         
     | 
| 
      
 26546 
     | 
    
         
            +
            # ]
         
     | 
| 
      
 26547 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26548 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26549 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26550 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26551 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26552 
     | 
    
         
            +
            \fBReferencedByTable\fP を削除する前に \fBReferenceTable\fP を削除する必要があります。
         
     | 
| 
      
 26553 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26554 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26555 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26556 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26557 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26558 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26559 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26560 
     | 
    
         
            +
            table_remove ReferenceTable
         
     | 
| 
      
 26561 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26562 
     | 
    
         
            +
            table_remove ReferencedByTable
         
     | 
| 
      
 26563 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26564 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26565 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26566 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26567 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26568 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26569 
     | 
    
         
            +
            以下は削除対象のテーブルが値の型に使われるケースの例です。
         
     | 
| 
      
 26570 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26571 
     | 
    
         
            +
            次のコマンドは削除対象のテーブルとそのテーブルを値の型として使うカラムを作成します。
         
     | 
| 
      
 26572 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26573 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26574 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26575 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26576 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26577 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26578 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26579 
     | 
    
         
            +
            table_create ReferencedByColumn TABLE_HASH_KEY ShortText
         
     | 
| 
      
 26580 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26581 
     | 
    
         
            +
            table_create Table TABLE_NO_KEY
         
     | 
| 
      
 26582 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26583 
     | 
    
         
            +
            column_create Table reference_column COLUMN_SCALAR ReferencedByColumn
         
     | 
| 
      
 26584 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26585 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26586 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26587 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26588 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26589 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26590 
     | 
    
         
            +
            \fBReferencedByColumn\fP に対する \fBtable_remove\fP は失敗します。
         
     | 
| 
      
 26591 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26592 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26593 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26594 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26595 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26596 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26597 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26598 
     | 
    
         
            +
            table_remove ReferencedByColumn
         
     | 
| 
      
 26599 
     | 
    
         
            +
            # [
         
     | 
| 
      
 26600 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 26601 
     | 
    
         
            +
            #     \-2,
         
     | 
| 
      
 26602 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 26603 
     | 
    
         
            +
            #     0.000355720520019531,
         
     | 
| 
      
 26604 
     | 
    
         
            +
            #     "[table][remove] a column that references the table exists: <Table.reference_column> \-> <ReferencedByColumn>",
         
     | 
| 
      
 26605 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 26606 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 26607 
     | 
    
         
            +
            #         "is_removable_table",
         
     | 
| 
      
 26608 
     | 
    
         
            +
            #         "db.c",
         
     | 
| 
      
 26609 
     | 
    
         
            +
            #         8500
         
     | 
| 
      
 26610 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 26611 
     | 
    
         
            +
            #     ]
         
     | 
| 
      
 26612 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 26613 
     | 
    
         
            +
            #   false
         
     | 
| 
      
 26614 
     | 
    
         
            +
            # ]
         
     | 
| 
      
 26615 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26616 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26617 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26618 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26619 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26620 
     | 
    
         
            +
            \fBReferencedByColumn\fP を削除する前に \fBTable.reference_column\fP を削除する必要があります。
         
     | 
| 
      
 26621 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26622 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26623 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26624 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26625 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26626 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26627 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26628 
     | 
    
         
            +
            column_remove Table reference_column
         
     | 
| 
      
 26629 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26630 
     | 
    
         
            +
            table_remove ReferencedByColumn
         
     | 
| 
      
 26631 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26632 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26633 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26634 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26635 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26636 
     | 
    
         
            +
            .SS 利用リソースの削減
         
     | 
| 
      
 26637 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26638 
     | 
    
         
            +
            \fBtable_remove\fP は \fI\%削除できないケース\fP のチェックをするためにデータベース内のすべてのテーブルとカラムを開きます。
         
     | 
| 
      
 26639 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26640 
     | 
    
         
            +
            もし、大量のテーブルとカラムがある場合、 \fBtable_remove\fP はたくさんのリソースを使うかもしれません。このケース用の回避策があります。
         
     | 
| 
      
 26641 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26642 
     | 
    
         
            +
            \fBtable_remove\fP は最大スレッド数が \fB1\fP のときはチェック用に一時的に開いたテーブルとカラムを閉じます。
         
     | 
| 
      
 26643 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26644 
     | 
    
         
            +
            \fBthread_limit\fP を使うと現在の最大スレッド数を確認・変更できます。
         
     | 
| 
      
 26645 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26646 
     | 
    
         
            +
            この機能は次のケースでは使われます。
         
     | 
| 
      
 26647 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26648 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26649 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26650 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26651 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26652 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26653 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26654 
     | 
    
         
            +
            table_create Entries TABLE_NO_KEY
         
     | 
| 
      
 26655 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26656 
     | 
    
         
            +
            thread_limit 2
         
     | 
| 
      
 26657 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], 1]
         
     | 
| 
      
 26658 
     | 
    
         
            +
            table_remove Entries
         
     | 
| 
      
 26659 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26660 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26661 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26662 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26663 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26664 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26665 
     | 
    
         
            +
            この機能は次のケースでは使われません。
         
     | 
| 
      
 26666 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26667 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 26668 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26669 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26670 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26671 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26672 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26673 
     | 
    
         
            +
            table_create Entries TABLE_NO_KEY
         
     | 
| 
      
 26674 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26675 
     | 
    
         
            +
            thread_limit 2
         
     | 
| 
      
 26676 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], 1]
         
     | 
| 
      
 26677 
     | 
    
         
            +
            table_remove Entries
         
     | 
| 
      
 26678 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 26679 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26680 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26681 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26682 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26683 
     | 
    
         
            +
            .SS 引数
         
     | 
| 
      
 26684 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26685 
     | 
    
         
            +
            このセクションではすべての引数について説明します。
         
     | 
| 
      
 26686 
     | 
    
         
            +
            .SS 必須引数
         
     | 
| 
      
 26687 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26688 
     | 
    
         
            +
            1つだけ必須の引数があります。
         
     | 
| 
      
 26689 
     | 
    
         
            +
            .SS \fBname\fP
         
     | 
| 
      
 26690 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26691 
     | 
    
         
            +
            削除するテーブルの名前を指定します。
         
     | 
| 
      
 26692 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26693 
     | 
    
         
            +
            このパラメーターの使い方は \fI\%使い方\fP を参照してください。
         
     | 
| 
      
 26694 
     | 
    
         
            +
            .SS 戻り値
         
     | 
| 
      
 26695 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26696 
     | 
    
         
            +
            このコマンドが成功したときは以下のようにボディは \fBtrue\fP になります:
         
     | 
| 
      
 26697 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 26698 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 26699 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26700 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 26701 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 26702 
     | 
    
         
            +
            [HEADER, true]
         
     | 
| 
      
 26703 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 26704 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 26705 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26706 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 26707 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26708 
     | 
    
         
            +
            このコマンドが失敗すると、 \fBHEADER\fP にエラーの詳細が含まれます。
         
     | 
| 
      
 26709 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 26710 
     | 
    
         
            +
            \fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
         
     | 
| 
       26207 
26711 
     | 
    
         
             
            .SS \fBtable_rename\fP
         
     | 
| 
       26208 
26712 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       26209 
26713 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -28089,138 +28593,68 @@ Groongaのデータベースでは、テーブルの主キーや、カラムの 
     | 
|
| 
       28089 
28593 
     | 
    
         
             
            .SS 組込型
         
     | 
| 
       28090 
28594 
     | 
    
         
             
            .sp
         
     | 
| 
       28091 
28595 
     | 
    
         
             
            以下の型が組込型としてあらかじめ定義されています。
         
     | 
| 
      
 28596 
     | 
    
         
            +
            .SS \fBBool\fP
         
     | 
| 
       28092 
28597 
     | 
    
         
             
            .sp
         
     | 
| 
       28093 
     | 
    
         
            -
            \fBObject\fP
         
     | 
| 
       28094 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28095 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28096 
     | 
    
         
            -
            以下の型が組込型としてあらかじめ定義されています。 [1]
         
     | 
| 
       28097 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
       28098 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
       28099 
     | 
    
         
            -
            .sp
         
     | 
| 
       28100 
     | 
    
         
            -
            \fBBool\fP
         
     | 
| 
       28101 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28102 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28103 
28598 
     | 
    
         
             
            ブーリアン型やブール型などと呼ばれる型であり、真偽値を表します。取り得る値はtrueとfalseです。(デフォルト値: false)
         
     | 
| 
       28104 
28599 
     | 
    
         
             
            .sp
         
     | 
| 
       28105 
28600 
     | 
    
         
             
            \fB/reference/commands/load\fP コマンドで値を格納するときは、false、0、空文字列のいずれかを指定するとfalseになり、それ以外を指定するとtrueになります。
         
     | 
| 
       28106 
     | 
    
         
            -
            . 
     | 
| 
       28107 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28601 
     | 
    
         
            +
            .SS \fBInt8\fP
         
     | 
| 
       28108 
28602 
     | 
    
         
             
            .sp
         
     | 
| 
       28109 
     | 
    
         
            -
            \fBInt8\fP
         
     | 
| 
       28110 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28111 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28112 
28603 
     | 
    
         
             
            8bit符号付き整数であり、\-128以上127以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28113 
     | 
    
         
            -
            . 
     | 
| 
       28114 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28604 
     | 
    
         
            +
            .SS \fBUInt8\fP
         
     | 
| 
       28115 
28605 
     | 
    
         
             
            .sp
         
     | 
| 
       28116 
     | 
    
         
            -
            \fBUInt8\fP
         
     | 
| 
       28117 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28118 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28119 
28606 
     | 
    
         
             
            8bit符号なし整数であり、0以上255以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28120 
     | 
    
         
            -
            . 
     | 
| 
       28121 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28607 
     | 
    
         
            +
            .SS \fBInt16\fP
         
     | 
| 
       28122 
28608 
     | 
    
         
             
            .sp
         
     | 
| 
       28123 
     | 
    
         
            -
            \fBInt16\fP
         
     | 
| 
       28124 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28125 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28126 
28609 
     | 
    
         
             
            16bit符号付き整数であり、\-32,768以上32,767以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28127 
     | 
    
         
            -
            . 
     | 
| 
       28128 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28610 
     | 
    
         
            +
            .SS \fBUInt16\fP
         
     | 
| 
       28129 
28611 
     | 
    
         
             
            .sp
         
     | 
| 
       28130 
     | 
    
         
            -
            \fBUInt16\fP
         
     | 
| 
       28131 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28132 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28133 
28612 
     | 
    
         
             
            16bit符号なし整数であり、0以上65,535以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28134 
     | 
    
         
            -
            . 
     | 
| 
       28135 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28613 
     | 
    
         
            +
            .SS \fBInt32\fP
         
     | 
| 
       28136 
28614 
     | 
    
         
             
            .sp
         
     | 
| 
       28137 
     | 
    
         
            -
            \fBInt32\fP
         
     | 
| 
       28138 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28139 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28140 
28615 
     | 
    
         
             
            32bit符号付き整数であり、\-2,147,483,648以上2,147,483,647以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28141 
     | 
    
         
            -
            . 
     | 
| 
       28142 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28616 
     | 
    
         
            +
            .SS \fBUInt32\fP
         
     | 
| 
       28143 
28617 
     | 
    
         
             
            .sp
         
     | 
| 
       28144 
     | 
    
         
            -
            \fBUInt32\fP
         
     | 
| 
       28145 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28146 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28147 
28618 
     | 
    
         
             
            32bit符号なし整数であり、0以上4,294,967,295以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28148 
     | 
    
         
            -
            . 
     | 
| 
       28149 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28619 
     | 
    
         
            +
            .SS \fBInt64\fP
         
     | 
| 
       28150 
28620 
     | 
    
         
             
            .sp
         
     | 
| 
       28151 
     | 
    
         
            -
            \fBInt64\fP
         
     | 
| 
       28152 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28153 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28154 
28621 
     | 
    
         
             
            64bit符号付き整数であり、\-9,223,372,036,854,775,808以上9,223,372,036,854,775,807以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28155 
     | 
    
         
            -
            . 
     | 
| 
       28156 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28622 
     | 
    
         
            +
            .SS \fBUInt64\fP
         
     | 
| 
       28157 
28623 
     | 
    
         
             
            .sp
         
     | 
| 
       28158 
     | 
    
         
            -
            \fBUInt64\fP
         
     | 
| 
       28159 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28160 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28161 
28624 
     | 
    
         
             
            64bit符号なし整数であり、0以上18,446,744,073,709,551,615以下の整数を表します。(デフォルト値: 0)
         
     | 
| 
       28162 
     | 
    
         
            -
            . 
     | 
| 
       28163 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28625 
     | 
    
         
            +
            .SS \fBFloat\fP
         
     | 
| 
       28164 
28626 
     | 
    
         
             
            .sp
         
     | 
| 
       28165 
     | 
    
         
            -
            \fBFloat\fP
         
     | 
| 
       28166 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28167 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28168 
28627 
     | 
    
         
             
            IEEE 754形式の倍精度浮動小数点数であり、実数を表します。(デフォルト値: 0.0)
         
     | 
| 
       28169 
28628 
     | 
    
         
             
            .sp
         
     | 
| 
       28170 
28629 
     | 
    
         
             
            IEEE 754形式の詳細については、 \fI\%IEEE 754 \- Wikipedia\fP や \fI\%IEEE 754: Standard for Binary Floating\-Point\fP を参照してください。
         
     | 
| 
       28171 
     | 
    
         
            -
            . 
     | 
| 
       28172 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28630 
     | 
    
         
            +
            .SS \fBTime\fP
         
     | 
| 
       28173 
28631 
     | 
    
         
             
            .sp
         
     | 
| 
       28174 
     | 
    
         
            -
            \fBTime\fP
         
     | 
| 
       28175 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28176 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28177 
28632 
     | 
    
         
             
            日時を表す型であり、1970年1月1日0時0分0秒からの経過時間を、マイクロ秒単位で64bit符号付き整数により表現します。(デフォルト値: 0)
         
     | 
| 
       28178 
28633 
     | 
    
         
             
            .sp
         
     | 
| 
       28179 
28634 
     | 
    
         
             
            \fB/reference/commands/load\fP コマンドで値を格納するときは、1970年1月1日0時0分0秒からの経過秒数を指定します。秒単位より詳細な日時を指定するには、小数を使います。
         
     | 
| 
       28180 
     | 
    
         
            -
            . 
     | 
| 
       28181 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28635 
     | 
    
         
            +
            .SS \fBShortText\fP
         
     | 
| 
       28182 
28636 
     | 
    
         
             
            .sp
         
     | 
| 
       28183 
     | 
    
         
            -
            \fBShortText\fP
         
     | 
| 
       28184 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28185 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28186 
28637 
     | 
    
         
             
            4,095バイト以下の文字列を表します。(デフォルト値: "")
         
     | 
| 
       28187 
     | 
    
         
            -
            . 
     | 
| 
       28188 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28638 
     | 
    
         
            +
            .SS \fBText\fP
         
     | 
| 
       28189 
28639 
     | 
    
         
             
            .sp
         
     | 
| 
       28190 
     | 
    
         
            -
            \fBText\fP
         
     | 
| 
       28191 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28192 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28193 
28640 
     | 
    
         
             
            65,535バイト以下の文字列を表します。(デフォルト値: "")
         
     | 
| 
       28194 
     | 
    
         
            -
            . 
     | 
| 
       28195 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28641 
     | 
    
         
            +
            .SS \fBLongText\fP
         
     | 
| 
       28196 
28642 
     | 
    
         
             
            .sp
         
     | 
| 
       28197 
     | 
    
         
            -
            \fBLongText\fP
         
     | 
| 
       28198 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28199 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28200 
28643 
     | 
    
         
             
            2,147,483,647バイト以下の文字列を表します。(デフォルト値: "")
         
     | 
| 
       28201 
     | 
    
         
            -
            . 
     | 
| 
       28202 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28644 
     | 
    
         
            +
            .SS \fBTokyoGeoPoint\fP
         
     | 
| 
       28203 
28645 
     | 
    
         
             
            .sp
         
     | 
| 
       28204 
     | 
    
         
            -
            \fBTokyoGeoPoint\fP
         
     | 
| 
       28205 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28206 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28207 
28646 
     | 
    
         
             
            旧日本測地系による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)
         
     | 
| 
       28208 
28647 
     | 
    
         
             
            .sp
         
     | 
| 
       28209 
28648 
     | 
    
         
             
            度分秒形式でx度y分z秒となる経度・緯度は、(((x * 60) + y) * 60 + z) * 1000という計算式でミリ秒単位へと変換されます。
         
     | 
| 
      
 28649 
     | 
    
         
            +
            .sp
         
     | 
| 
       28210 
28650 
     | 
    
         
             
            \fB/reference/commands/load\fP コマンドで値を格納するときは、"ミリ秒単位の経度xミリ秒単位の緯度" もしくは "経度の小数表記x緯度の小数表記" という文字列表現を使って指定します。経度と緯度の区切りとしては、\(aqx\(aq のほかに \(aq,\(aq を使うことができます。
         
     | 
| 
       28211 
28651 
     | 
    
         
             
            .sp
         
     | 
| 
       28212 
28652 
     | 
    
         
             
            測地系の詳細については、 \fI\%測地系 \- Wikipedia\fP を参照してください。
         
     | 
| 
       28213 
     | 
    
         
            -
            . 
     | 
| 
       28214 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 28653 
     | 
    
         
            +
            .SS \fBWGS84GeoPoint\fP
         
     | 
| 
       28215 
28654 
     | 
    
         
             
            .sp
         
     | 
| 
       28216 
     | 
    
         
            -
            \fBWGS84GeoPoint\fP
         
     | 
| 
       28217 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       28218 
     | 
    
         
            -
            .INDENT 3.5
         
     | 
| 
       28219 
28655 
     | 
    
         
             
            世界測地系(World Geodetic System, WGS 84)による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)
         
     | 
| 
       28220 
28656 
     | 
    
         
             
            .sp
         
     | 
| 
       28221 
28657 
     | 
    
         
             
            度分秒形式からミリ秒形式への変換方法や \fB/reference/commands/load\fP コマンドにおける指定方法はTokyoGeoPointと同じです。
         
     | 
| 
       28222 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
       28223 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
       28224 
28658 
     | 
    
         
             
            .SS 型に関する制限事項
         
     | 
| 
       28225 
28659 
     | 
    
         
             
            .SS テーブルの主キーに指定できない型
         
     | 
| 
       28226 
28660 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -28230,9 +28664,6 @@ Text型とLongText型については、テーブルの主キーに指定する 
     | 
|
| 
       28230 
28664 
     | 
    
         
             
            Groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。
         
     | 
| 
       28231 
28665 
     | 
    
         
             
            .sp
         
     | 
| 
       28232 
28666 
     | 
    
         
             
            テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。
         
     | 
| 
       28233 
     | 
    
         
            -
            脚注
         
     | 
| 
       28234 
     | 
    
         
            -
            .IP [1] 5
         
     | 
| 
       28235 
     | 
    
         
            -
            Object型はv1.2でサポートされます。
         
     | 
| 
       28236 
28667 
     | 
    
         
             
            .SS テーブル
         
     | 
| 
       28237 
28668 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       28238 
28669 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31560,58 +31991,38 @@ mroonga(TAB)mroonga(TAB)groonga MySQL 
     | 
|
| 
       31560 
31991 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31561 
31992 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31562 
31993 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31563 
     | 
    
         
            -
            .SS  
     | 
| 
      
 31994 
     | 
    
         
            +
            .SS スコアラー
         
     | 
| 
       31564 
31995 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       31565 
31996 
     | 
    
         
             
            .sp
         
     | 
| 
       31566 
     | 
    
         
            -
            Groonga  
     | 
| 
       31567 
     | 
    
         
            -
            function computes score of matched record. The default scorer function
         
     | 
| 
       31568 
     | 
    
         
            -
            uses the number of appeared terms. It is also known as TF (term
         
     | 
| 
       31569 
     | 
    
         
            -
            frequency).
         
     | 
| 
      
 31997 
     | 
    
         
            +
            Groongaにはスコアー関数をカスタマイズするスコアーモジュールがあります。スコアー関数はマッチしたレコードのスコアーを計算します。デフォルトのスコアー関数は出現単語数をスコアーにします。これはTF(term frequency。単語の出現数)と呼ばれている計算方法です。
         
     | 
| 
       31570 
31998 
     | 
    
         
             
            .sp
         
     | 
| 
       31571 
     | 
    
         
            -
            TF 
     | 
| 
       31572 
     | 
    
         
            -
            cases:
         
     | 
| 
      
 31999 
     | 
    
         
            +
            TFは高速なスコアー関数ですが、次のケースには適していません。
         
     | 
| 
       31573 
32000 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31574 
32001 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31575 
32002 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31576 
32003 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       31577 
     | 
    
         
            -
             
     | 
| 
       31578 
     | 
    
         
            -
            as "the" and "a".
         
     | 
| 
      
 32004 
     | 
    
         
            +
            検索クエリーが「the」や「a」のように非常によく出現する単語を含んでいる。
         
     | 
| 
       31579 
32005 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
       31580 
     | 
    
         
            -
             
     | 
| 
       31581 
     | 
    
         
            -
            keyword, keyword ... and keyword". Search engine spammer may use
         
     | 
| 
       31582 
     | 
    
         
            -
            the technique.
         
     | 
| 
      
 32006 
     | 
    
         
            +
            文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれている。検索エンジンのスパマーはこのテクニックを使うかもしれません。
         
     | 
| 
       31583 
32007 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31584 
32008 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31585 
32009 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31586 
32010 
     | 
    
         
             
            .sp
         
     | 
| 
       31587 
     | 
    
         
            -
             
     | 
| 
       31588 
     | 
    
         
            -
            frequency\-inverse document frequency) can solve the first case.
         
     | 
| 
       31589 
     | 
    
         
            -
            \fI\%Okapi BM25\fP can solve the
         
     | 
| 
       31590 
     | 
    
         
            -
            second case. But their are slower than TF.
         
     | 
| 
      
 32011 
     | 
    
         
            +
            スコアー関数でこれらのケースを解決できます。例えば、 \fI\%TF\-IDF\fP (term frequency\-inverse document frequency。その文書中での単語の出現数を、文書全体での単語の出現数で割ったもの)は最初のケースを解決できます。 \fI\%Okapi BM25\fP は2番目のケースを解決できます。しかし、これらはTFより遅いです。
         
     | 
| 
       31591 
32012 
     | 
    
         
             
            .sp
         
     | 
| 
       31592 
     | 
    
         
            -
            Groonga  
     | 
| 
       31593 
     | 
    
         
            -
            \fB/reference/scorers/scorer_tf_idf\fP but doesn\(aqt provide Okapi BM25
         
     | 
| 
       31594 
     | 
    
         
            -
            based scorer yet.
         
     | 
| 
       31595 
     | 
    
         
            -
            .INDENT 0.0
         
     | 
| 
       31596 
     | 
    
         
            -
            .TP
         
     | 
| 
       31597 
     | 
    
         
            -
            .B orphan
         
     | 
| 
       31598 
     | 
    
         
            -
            .UNINDENT
         
     | 
| 
      
 32013 
     | 
    
         
            +
            Groongaは \fB/reference/scorers/scorer_tf_idf\fP としてTF\-IDFベースのスコアラーを提供しています。しかし、Okapi BM25ベースのスコアラーはまだ提供していません。
         
     | 
| 
       31599 
32014 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31600 
32015 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31601 
     | 
    
         
            -
             
     | 
| 
       31602 
     | 
    
         
            -
            function is highly depends on search query. You may be able to use
         
     | 
| 
       31603 
     | 
    
         
            -
            metadata of matched record.
         
     | 
| 
      
 32016 
     | 
    
         
            +
            スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。
         
     | 
| 
       31604 
32017 
     | 
    
         
             
            .sp
         
     | 
| 
       31605 
     | 
    
         
            -
             
     | 
| 
       31606 
     | 
    
         
            -
            able to use data type ("title" data are important rather than
         
     | 
| 
       31607 
     | 
    
         
            -
            "memo" data), tag, geolocation and so on.
         
     | 
| 
      
 32018 
     | 
    
         
            +
            たとえば、Googleはスコアーの計算に \fI\%ページランク\fP を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。
         
     | 
| 
       31608 
32019 
     | 
    
         
             
            .sp
         
     | 
| 
       31609 
     | 
    
         
            -
             
     | 
| 
      
 32020 
     | 
    
         
            +
            スコアーの計算をスコアー関数だけで考えることはやめましょう。
         
     | 
| 
       31610 
32021 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31611 
32022 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31612 
32023 
     | 
    
         
             
            .SS 使い方
         
     | 
| 
       31613 
32024 
     | 
    
         
             
            .sp
         
     | 
| 
       31614 
     | 
    
         
            -
             
     | 
| 
      
 32025 
     | 
    
         
            +
            このセクションではスコアラーの使い方について説明します。
         
     | 
| 
       31615 
32026 
     | 
    
         
             
            .sp
         
     | 
| 
       31616 
32027 
     | 
    
         
             
            使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。
         
     | 
| 
       31617 
32028 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31696,8 +32107,7 @@ load \-\-table Memos 
     | 
|
| 
       31696 
32107 
     | 
    
         
             
            .sp
         
     | 
| 
       31697 
32108 
     | 
    
         
             
            select\-match\-columns の中でscore関数を使うことができます。次に構文を示します。
         
     | 
| 
       31698 
32109 
     | 
    
         
             
            .sp
         
     | 
| 
       31699 
     | 
    
         
            -
             
     | 
| 
       31700 
     | 
    
         
            -
            \fB/reference/scorers/scorer_tf_idf\fP:
         
     | 
| 
      
 32110 
     | 
    
         
            +
            \fB/reference/scorers/scorer_tf_idf\fP のように、いくつかのスコアー関数には引数はありません。:
         
     | 
| 
       31701 
32111 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31702 
32112 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31703 
32113 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31709,7 +32119,7 @@ SCORE_FUNCTION(COLUMN) 
     | 
|
| 
       31709 
32119 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31710 
32120 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31711 
32121 
     | 
    
         
             
            .sp
         
     | 
| 
       31712 
     | 
    
         
            -
             
     | 
| 
      
 32122 
     | 
    
         
            +
            重みを指定することができます。:
         
     | 
| 
       31713 
32123 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31714 
32124 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31715 
32125 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31721,8 +32131,7 @@ SCORE_FUNCTION(COLUMN) * WEIGHT 
     | 
|
| 
       31721 
32131 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31722 
32132 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31723 
32133 
     | 
    
         
             
            .sp
         
     | 
| 
       31724 
     | 
    
         
            -
             
     | 
| 
       31725 
     | 
    
         
            -
            \fB/reference/scorers/scorer_tf_at_most\fP:
         
     | 
| 
      
 32134 
     | 
    
         
            +
            \fB/reference/scorers/scorer_tf_at_most\fP のように引数が必要なスコアー関数もあります。:
         
     | 
| 
       31726 
32135 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31727 
32136 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31728 
32137 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31734,7 +32143,7 @@ SCORE_FUNCTION(COLUMN, ARGUMENT1, ARGUMENT2, ...) 
     | 
|
| 
       31734 
32143 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31735 
32144 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31736 
32145 
     | 
    
         
             
            .sp
         
     | 
| 
       31737 
     | 
    
         
            -
             
     | 
| 
      
 32146 
     | 
    
         
            +
            重みを指定することができます。:
         
     | 
| 
       31738 
32147 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31739 
32148 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31740 
32149 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -31811,12 +32220,113 @@ select Memos \e 
     | 
|
| 
       31811 
32220 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31812 
32221 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31813 
32222 
     | 
    
         
             
            .sp
         
     | 
| 
       31814 
     | 
    
         
            -
            \fBGroonga! Groonga! Groonga! Groonga is very fast!\fP  
     | 
| 
       31815 
     | 
    
         
            -
             
     | 
| 
       31816 
     | 
    
         
            -
             
     | 
| 
       31817 
     | 
    
         
            -
             
     | 
| 
      
 32223 
     | 
    
         
            +
            \fBGroonga! Groonga! Groonga! Groonga is very fast!\fP には \fBGroonga\fP が4つ含まれています。デフォルトのTFベースのスコアラーを使うと、 \fB_score\fP は \fB4\fP です。しかし、実際は \fB_score\fP は \fB2\fP になります。なぜなら、この \fBselect\fP コマンドはTF\-IDFベースの  \fBscorer_tf_idf()\fP スコアラーを使っているからです。
         
     | 
| 
      
 32224 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32225 
     | 
    
         
            +
            以下は重みを使った例です。
         
     | 
| 
      
 32226 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32227 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 32228 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32229 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 32230 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32231 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 32232 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 32233 
     | 
    
         
            +
            select Memos \e
         
     | 
| 
      
 32234 
     | 
    
         
            +
              \-\-match_columns "scorer_tf_idf(content) * 10" \e
         
     | 
| 
      
 32235 
     | 
    
         
            +
              \-\-query "Groonga" \e
         
     | 
| 
      
 32236 
     | 
    
         
            +
              \-\-output_columns "content, _score" \e
         
     | 
| 
      
 32237 
     | 
    
         
            +
              \-\-sortby "\-_score"
         
     | 
| 
      
 32238 
     | 
    
         
            +
            # [
         
     | 
| 
      
 32239 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32240 
     | 
    
         
            +
            #     0,
         
     | 
| 
      
 32241 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 32242 
     | 
    
         
            +
            #     0.000355720520019531
         
     | 
| 
      
 32243 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 32244 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32245 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 32246 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32247 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 32248 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32249 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32250 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32251 
     | 
    
         
            +
            #           "content",
         
     | 
| 
      
 32252 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 32253 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 32254 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32255 
     | 
    
         
            +
            #           "_score",
         
     | 
| 
      
 32256 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 32257 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 32258 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32259 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32260 
     | 
    
         
            +
            #         "Groonga! Groonga! Groonga! Groonga is very fast!",
         
     | 
| 
      
 32261 
     | 
    
         
            +
            #         22
         
     | 
| 
      
 32262 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32263 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32264 
     | 
    
         
            +
            #         "Groonga is very easy full text search engine!",
         
     | 
| 
      
 32265 
     | 
    
         
            +
            #         10
         
     | 
| 
      
 32266 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 32267 
     | 
    
         
            +
            #     ]
         
     | 
| 
      
 32268 
     | 
    
         
            +
            #   ]
         
     | 
| 
      
 32269 
     | 
    
         
            +
            # ]
         
     | 
| 
      
 32270 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 32271 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 32272 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32273 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32274 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32275 
     | 
    
         
            +
            \fBGroonga! Groonga! Groonga! Groonga is very fast!\fP の \fB_score\fP は \fB22\fP です。重みを指定していない前の例では \fB_score\fP は \fB2\fP でした。
         
     | 
| 
      
 32276 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32277 
     | 
    
         
            +
            以下は必ず引数を1つ指定しなければいけないスコアラーを使う例です。 \fB/reference/scorers/scorer_tf_at_most\fP スコアラーには引数を1つ指定しなければいけません。このスコアラーを使うと、TFのスコアーの最大値を制限することができます。
         
     | 
| 
      
 32278 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32279 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 32280 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32281 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 32282 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32283 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 32284 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 32285 
     | 
    
         
            +
            select Memos \e
         
     | 
| 
      
 32286 
     | 
    
         
            +
              \-\-match_columns "scorer_tf_at_most(content, 2.0)" \e
         
     | 
| 
      
 32287 
     | 
    
         
            +
              \-\-query "Groonga" \e
         
     | 
| 
      
 32288 
     | 
    
         
            +
              \-\-output_columns "content, _score" \e
         
     | 
| 
      
 32289 
     | 
    
         
            +
              \-\-sortby "\-_score"
         
     | 
| 
      
 32290 
     | 
    
         
            +
            # [
         
     | 
| 
      
 32291 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32292 
     | 
    
         
            +
            #     0,
         
     | 
| 
      
 32293 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 32294 
     | 
    
         
            +
            #     0.000355720520019531
         
     | 
| 
      
 32295 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 32296 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32297 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 32298 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32299 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 32300 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32301 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32302 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32303 
     | 
    
         
            +
            #           "content",
         
     | 
| 
      
 32304 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 32305 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 32306 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32307 
     | 
    
         
            +
            #           "_score",
         
     | 
| 
      
 32308 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 32309 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 32310 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32311 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32312 
     | 
    
         
            +
            #         "Groonga! Groonga! Groonga! Groonga is very fast!",
         
     | 
| 
      
 32313 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 32314 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32315 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32316 
     | 
    
         
            +
            #         "Groonga is very easy full text search engine!",
         
     | 
| 
      
 32317 
     | 
    
         
            +
            #         1
         
     | 
| 
      
 32318 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 32319 
     | 
    
         
            +
            #     ]
         
     | 
| 
      
 32320 
     | 
    
         
            +
            #   ]
         
     | 
| 
      
 32321 
     | 
    
         
            +
            # ]
         
     | 
| 
      
 32322 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 32323 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 32324 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32325 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32326 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32327 
     | 
    
         
            +
            \fBGroonga! Groonga! Groonga! Groonga is very fast!\fP は \fBGroonga\fP を4つ含んでいます。もし、デフォルトのスコアラーである標準のTFベースのスコアラーを使っていた場合、 \fB_score\fP は \fB4\fP になります。しかし、実際の \fB_score\fP は \fB2\fP です。なぜなら、この \fBselect\fP コマンドが使っているスコアラーは最大スコアーを \fB2\fP に制限しているからです。
         
     | 
| 
       31818 
32328 
     | 
    
         
             
            .sp
         
     | 
| 
       31819 
     | 
    
         
            -
             
     | 
| 
      
 32329 
     | 
    
         
            +
            以下は複数のスコアラーを使う例です。
         
     | 
| 
       31820 
32330 
     | 
    
         
             
            .sp
         
     | 
| 
       31821 
32331 
     | 
    
         
             
            実行例:
         
     | 
| 
       31822 
32332 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -31825,9 +32335,9 @@ select Memos \e 
     | 
|
| 
       31825 
32335 
     | 
    
         
             
            .nf
         
     | 
| 
       31826 
32336 
     | 
    
         
             
            .ft C
         
     | 
| 
       31827 
32337 
     | 
    
         
             
            select Memos \e
         
     | 
| 
       31828 
     | 
    
         
            -
              \-\-match_columns "scorer_tf_idf( 
     | 
| 
      
 32338 
     | 
    
         
            +
              \-\-match_columns "scorer_tf_idf(title) || scorer_tf_at_most(content, 2.0)" \e
         
     | 
| 
       31829 
32339 
     | 
    
         
             
              \-\-query "Groonga" \e
         
     | 
| 
       31830 
     | 
    
         
            -
              \-\-output_columns "content, _score" \e
         
     | 
| 
      
 32340 
     | 
    
         
            +
              \-\-output_columns "title, content, _score" \e
         
     | 
| 
       31831 
32341 
     | 
    
         
             
              \-\-sortby "\-_score"
         
     | 
| 
       31832 
32342 
     | 
    
         
             
            # [
         
     | 
| 
       31833 
32343 
     | 
    
         
             
            #   [
         
     | 
| 
         @@ -31842,6 +32352,10 @@ select Memos \e 
     | 
|
| 
       31842 
32352 
     | 
    
         
             
            #       ],
         
     | 
| 
       31843 
32353 
     | 
    
         
             
            #       [
         
     | 
| 
       31844 
32354 
     | 
    
         
             
            #         [
         
     | 
| 
      
 32355 
     | 
    
         
            +
            #           "title",
         
     | 
| 
      
 32356 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 32357 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 32358 
     | 
    
         
            +
            #         [
         
     | 
| 
       31845 
32359 
     | 
    
         
             
            #           "content",
         
     | 
| 
       31846 
32360 
     | 
    
         
             
            #           "Text"
         
     | 
| 
       31847 
32361 
     | 
    
         
             
            #         ],
         
     | 
| 
         @@ -31851,12 +32365,14 @@ select Memos \e 
     | 
|
| 
       31851 
32365 
     | 
    
         
             
            #         ]
         
     | 
| 
       31852 
32366 
     | 
    
         
             
            #       ],
         
     | 
| 
       31853 
32367 
     | 
    
         
             
            #       [
         
     | 
| 
      
 32368 
     | 
    
         
            +
            #         "Groonga is fast",
         
     | 
| 
       31854 
32369 
     | 
    
         
             
            #         "Groonga! Groonga! Groonga! Groonga is very fast!",
         
     | 
| 
       31855 
     | 
    
         
            -
            #          
     | 
| 
      
 32370 
     | 
    
         
            +
            #         3
         
     | 
| 
       31856 
32371 
     | 
    
         
             
            #       ],
         
     | 
| 
       31857 
32372 
     | 
    
         
             
            #       [
         
     | 
| 
      
 32373 
     | 
    
         
            +
            #         "Groonga is easy",
         
     | 
| 
       31858 
32374 
     | 
    
         
             
            #         "Groonga is very easy full text search engine!",
         
     | 
| 
       31859 
     | 
    
         
            -
            #          
     | 
| 
      
 32375 
     | 
    
         
            +
            #         2
         
     | 
| 
       31860 
32376 
     | 
    
         
             
            #       ]
         
     | 
| 
       31861 
32377 
     | 
    
         
             
            #     ]
         
     | 
| 
       31862 
32378 
     | 
    
         
             
            #   ]
         
     | 
| 
         @@ -31866,13 +32382,9 @@ select Memos \e 
     | 
|
| 
       31866 
32382 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31867 
32383 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31868 
32384 
     | 
    
         
             
            .sp
         
     | 
| 
       31869 
     | 
    
         
            -
            \ 
     | 
| 
       31870 
     | 
    
         
            -
            \fB_score\fP\&. It had \fB2\fP as \fB_score\fP in the previous example that
         
     | 
| 
       31871 
     | 
    
         
            -
            doesn\(aqt specify weight.
         
     | 
| 
      
 32385 
     | 
    
         
            +
            この \fB\-\-match_columns\fP は \fBscorer_tf_idf(title)\fP と \fBscorer_tf_at_most(content, 2.0)\fP を使っています。 \fB_score\fP の値はこれら2つの値の合計になります。
         
     | 
| 
       31872 
32386 
     | 
    
         
             
            .sp
         
     | 
| 
       31873 
     | 
    
         
            -
             
     | 
| 
       31874 
     | 
    
         
            -
            argument. \fB/reference/scorers/scorer_tf_at_most\fP scorer requires
         
     | 
| 
       31875 
     | 
    
         
            -
            one argument. You can limit TF score by the scorer.
         
     | 
| 
      
 32387 
     | 
    
         
            +
            同じ \fB\-\-match_columns\fP の中でデフォルトのスコアラーとカスタムスコアラーを使うことができます。単にマッチ対象のカラムを指定するとデフォルトのスコアラーを使います。
         
     | 
| 
       31876 
32388 
     | 
    
         
             
            .sp
         
     | 
| 
       31877 
32389 
     | 
    
         
             
            実行例:
         
     | 
| 
       31878 
32390 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -31881,9 +32393,9 @@ one argument. You can limit TF score by the scorer. 
     | 
|
| 
       31881 
32393 
     | 
    
         
             
            .nf
         
     | 
| 
       31882 
32394 
     | 
    
         
             
            .ft C
         
     | 
| 
       31883 
32395 
     | 
    
         
             
            select Memos \e
         
     | 
| 
       31884 
     | 
    
         
            -
              \-\-match_columns "scorer_tf_at_most(content, 2.0)" \e
         
     | 
| 
      
 32396 
     | 
    
         
            +
              \-\-match_columns "title || scorer_tf_at_most(content, 2.0)" \e
         
     | 
| 
       31885 
32397 
     | 
    
         
             
              \-\-query "Groonga" \e
         
     | 
| 
       31886 
     | 
    
         
            -
              \-\-output_columns "content, _score" \e
         
     | 
| 
      
 32398 
     | 
    
         
            +
              \-\-output_columns "title, content, _score" \e
         
     | 
| 
       31887 
32399 
     | 
    
         
             
              \-\-sortby "\-_score"
         
     | 
| 
       31888 
32400 
     | 
    
         
             
            # [
         
     | 
| 
       31889 
32401 
     | 
    
         
             
            #   [
         
     | 
| 
         @@ -31898,6 +32410,10 @@ select Memos \e 
     | 
|
| 
       31898 
32410 
     | 
    
         
             
            #       ],
         
     | 
| 
       31899 
32411 
     | 
    
         
             
            #       [
         
     | 
| 
       31900 
32412 
     | 
    
         
             
            #         [
         
     | 
| 
      
 32413 
     | 
    
         
            +
            #           "title",
         
     | 
| 
      
 32414 
     | 
    
         
            +
            #           "ShortText"
         
     | 
| 
      
 32415 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 32416 
     | 
    
         
            +
            #         [
         
     | 
| 
       31901 
32417 
     | 
    
         
             
            #           "content",
         
     | 
| 
       31902 
32418 
     | 
    
         
             
            #           "Text"
         
     | 
| 
       31903 
32419 
     | 
    
         
             
            #         ],
         
     | 
| 
         @@ -31907,12 +32423,14 @@ select Memos \e 
     | 
|
| 
       31907 
32423 
     | 
    
         
             
            #         ]
         
     | 
| 
       31908 
32424 
     | 
    
         
             
            #       ],
         
     | 
| 
       31909 
32425 
     | 
    
         
             
            #       [
         
     | 
| 
      
 32426 
     | 
    
         
            +
            #         "Groonga is fast",
         
     | 
| 
       31910 
32427 
     | 
    
         
             
            #         "Groonga! Groonga! Groonga! Groonga is very fast!",
         
     | 
| 
       31911 
     | 
    
         
            -
            #          
     | 
| 
      
 32428 
     | 
    
         
            +
            #         3
         
     | 
| 
       31912 
32429 
     | 
    
         
             
            #       ],
         
     | 
| 
       31913 
32430 
     | 
    
         
             
            #       [
         
     | 
| 
      
 32431 
     | 
    
         
            +
            #         "Groonga is easy",
         
     | 
| 
       31914 
32432 
     | 
    
         
             
            #         "Groonga is very easy full text search engine!",
         
     | 
| 
       31915 
     | 
    
         
            -
            #          
     | 
| 
      
 32433 
     | 
    
         
            +
            #         2
         
     | 
| 
       31916 
32434 
     | 
    
         
             
            #       ]
         
     | 
| 
       31917 
32435 
     | 
    
         
             
            #     ]
         
     | 
| 
       31918 
32436 
     | 
    
         
             
            #   ]
         
     | 
| 
         @@ -31922,75 +32440,200 @@ select Memos \e 
     | 
|
| 
       31922 
32440 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31923 
32441 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31924 
32442 
     | 
    
         
             
            .sp
         
     | 
| 
       31925 
     | 
    
         
            -
            \ 
     | 
| 
       31926 
     | 
    
         
            -
             
     | 
| 
       31927 
     | 
    
         
            -
             
     | 
| 
       31928 
     | 
    
         
            -
             
     | 
| 
       31929 
     | 
    
         
            -
             
     | 
| 
      
 32443 
     | 
    
         
            +
            この \fB\-\-match_columns\fP は \fBtitle\fP にはデフォルトのスコアラー(TF)を使い、 \fBcontent\fP には \fB/reference/scorers/scorer_tf_at_most\fP を使います。 \fB_score\fP の値はこれらのスコアラーの結果の合計になります。
         
     | 
| 
      
 32444 
     | 
    
         
            +
            .SS 組み込みスコアラー
         
     | 
| 
      
 32445 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32446 
     | 
    
         
            +
            以下は組み込みのスコアラーです。
         
     | 
| 
      
 32447 
     | 
    
         
            +
            .SS \fBscorer_tf_at_most\fP
         
     | 
| 
       31930 
32448 
     | 
    
         
             
            .sp
         
     | 
| 
       31931 
     | 
    
         
            -
             
     | 
| 
      
 32449 
     | 
    
         
            +
            \fB注釈:\fP
         
     | 
| 
      
 32450 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32451 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 32452 
     | 
    
         
            +
            スコアラーは実験的な機能です。
         
     | 
| 
      
 32453 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32454 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32455 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32456 
     | 
    
         
            +
            バージョン 5.0.1 で追加.
         
     | 
| 
      
 32457 
     | 
    
         
            +
             
     | 
| 
      
 32458 
     | 
    
         
            +
            .SS 概要
         
     | 
| 
      
 32459 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32460 
     | 
    
         
            +
            \fBscorer_tf_at_most\fP はTF(term frequency。単語の出現数)ベースのスコアラーです。
         
     | 
| 
      
 32461 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32462 
     | 
    
         
            +
            TF\-IDFベースのスコアラーを含むTFベースのスコアラーは次のケースに対して適していません。
         
     | 
| 
      
 32463 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32464 
     | 
    
         
            +
            文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれているとその文書のスコアーが高くなってしまいます。これは意図した挙動ではありません。検索エンジンのスパマーはこのテクニックを使うかもしれません。
         
     | 
| 
      
 32465 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32466 
     | 
    
         
            +
            \fBscorer_tf_at_most\fP はTFベースのスコアラーですが、このケースを解決できます。
         
     | 
| 
      
 32467 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32468 
     | 
    
         
            +
            \fBscorer_tf_at_most\fP はスコアーの最大値を制限します。つまり、 \fBscorer_tf_at_most\fP は1つのマッチの影響を制限することができるということです。
         
     | 
| 
      
 32469 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32470 
     | 
    
         
            +
            文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれていても、 \fBscorer_tf_at_most(column, 2.0)\fP はスコアーの値として大きくても \fB2\fP しか返しません。
         
     | 
| 
      
 32471 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32472 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 32473 
     | 
    
         
            +
            スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。
         
     | 
| 
      
 32474 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32475 
     | 
    
         
            +
            たとえば、Googleはスコアーの計算に \fI\%ページランク\fP を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。
         
     | 
| 
      
 32476 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32477 
     | 
    
         
            +
            スコアーの計算をスコアー関数だけで考えることはやめましょう。
         
     | 
| 
      
 32478 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32479 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32480 
     | 
    
         
            +
            .SS 構文
         
     | 
| 
      
 32481 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32482 
     | 
    
         
            +
            このスコアラーの引数は1つです。:
         
     | 
| 
       31932 
32483 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31933 
32484 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31934 
32485 
     | 
    
         
             
            .sp
         
     | 
| 
       31935 
32486 
     | 
    
         
             
            .nf
         
     | 
| 
       31936 
32487 
     | 
    
         
             
            .ft C
         
     | 
| 
       31937 
     | 
    
         
            -
             
     | 
| 
       31938 
     | 
    
         
            -
             
     | 
| 
       31939 
     | 
    
         
            -
            \&.. select Memos \e
         
     | 
| 
       31940 
     | 
    
         
            -
            \&..   \-\-match_columns "scorer_tf_idf(title) || scorer_tf_at_most(content, 2.0)" \e
         
     | 
| 
       31941 
     | 
    
         
            -
            \&..   \-\-query "Groonga" \e
         
     | 
| 
       31942 
     | 
    
         
            -
            \&..   \-\-output_columns "title, content, _score" \e
         
     | 
| 
       31943 
     | 
    
         
            -
            \&..   \-\-sortby "\-_score"
         
     | 
| 
      
 32488 
     | 
    
         
            +
            scorer_tf_at_most(column, max)
         
     | 
| 
      
 32489 
     | 
    
         
            +
            scorer_tf_at_most(index, max)
         
     | 
| 
       31944 
32490 
     | 
    
         
             
            .ft P
         
     | 
| 
       31945 
32491 
     | 
    
         
             
            .fi
         
     | 
| 
       31946 
32492 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31947 
32493 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 32494 
     | 
    
         
            +
            .SS 使い方
         
     | 
| 
      
 32495 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32496 
     | 
    
         
            +
            このセクションではscorerの使い方について説明します。
         
     | 
| 
      
 32497 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32498 
     | 
    
         
            +
            使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。
         
     | 
| 
       31948 
32499 
     | 
    
         
             
            .sp
         
     | 
| 
       31949 
     | 
    
         
            -
             
     | 
| 
       31950 
     | 
    
         
            -
            \fBscorer_tf_at_most(content, 2.0)\fP\&. \fB_score\fP value is sum of them.
         
     | 
| 
      
 32500 
     | 
    
         
            +
            サンプルスキーマ:
         
     | 
| 
       31951 
32501 
     | 
    
         
             
            .sp
         
     | 
| 
       31952 
     | 
    
         
            -
             
     | 
| 
       31953 
     | 
    
         
            -
            \fB\-\-match_columns\fP\&. You can use the default scorer by just specifying
         
     | 
| 
       31954 
     | 
    
         
            -
            a match column:
         
     | 
| 
      
 32502 
     | 
    
         
            +
            実行例:
         
     | 
| 
       31955 
32503 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31956 
32504 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31957 
32505 
     | 
    
         
             
            .sp
         
     | 
| 
       31958 
32506 
     | 
    
         
             
            .nf
         
     | 
| 
       31959 
32507 
     | 
    
         
             
            .ft C
         
     | 
| 
       31960 
     | 
    
         
            -
             
     | 
| 
       31961 
     | 
    
         
            -
             
     | 
| 
       31962 
     | 
    
         
            -
             
     | 
| 
       31963 
     | 
    
         
            -
             
     | 
| 
       31964 
     | 
    
         
            -
             
     | 
| 
       31965 
     | 
    
         
            -
             
     | 
| 
       31966 
     | 
    
         
            -
             
     | 
| 
      
 32508 
     | 
    
         
            +
            table_create Logs TABLE_NO_KEY
         
     | 
| 
      
 32509 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 32510 
     | 
    
         
            +
            column_create Logs message COLUMN_SCALAR Text
         
     | 
| 
      
 32511 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 32512 
     | 
    
         
            +
            table_create Terms TABLE_PAT_KEY ShortText \e
         
     | 
| 
      
 32513 
     | 
    
         
            +
              \-\-default_tokenizer TokenBigram \e
         
     | 
| 
      
 32514 
     | 
    
         
            +
              \-\-normalizer NormalizerAuto
         
     | 
| 
      
 32515 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
      
 32516 
     | 
    
         
            +
            column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
         
     | 
| 
      
 32517 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
       31967 
32518 
     | 
    
         
             
            .ft P
         
     | 
| 
       31968 
32519 
     | 
    
         
             
            .fi
         
     | 
| 
       31969 
32520 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31970 
32521 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31971 
32522 
     | 
    
         
             
            .sp
         
     | 
| 
       31972 
     | 
    
         
            -
             
     | 
| 
       31973 
     | 
    
         
            -
            \fB/reference/scorers/scorer_tf_at_most\fP for
         
     | 
| 
       31974 
     | 
    
         
            -
            \fBcontent\fP\&. \fB_score\fP value is sum of them.
         
     | 
| 
       31975 
     | 
    
         
            -
            .SS 組み込みスコアラー
         
     | 
| 
      
 32523 
     | 
    
         
            +
            サンプルデータ:
         
     | 
| 
       31976 
32524 
     | 
    
         
             
            .sp
         
     | 
| 
       31977 
     | 
    
         
            -
             
     | 
| 
       31978 
     | 
    
         
            -
            . 
     | 
| 
      
 32525 
     | 
    
         
            +
            実行例:
         
     | 
| 
      
 32526 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32527 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
       31979 
32528 
     | 
    
         
             
            .sp
         
     | 
| 
       31980 
     | 
    
         
            -
             
     | 
| 
      
 32529 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 32530 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 32531 
     | 
    
         
            +
            load \-\-table Logs
         
     | 
| 
      
 32532 
     | 
    
         
            +
            [
         
     | 
| 
      
 32533 
     | 
    
         
            +
            {"message": "Notice"},
         
     | 
| 
      
 32534 
     | 
    
         
            +
            {"message": "Notice Notice"},
         
     | 
| 
      
 32535 
     | 
    
         
            +
            {"message": "Notice Notice Notice"},
         
     | 
| 
      
 32536 
     | 
    
         
            +
            {"message": "Notice Notice Notice Notice"},
         
     | 
| 
      
 32537 
     | 
    
         
            +
            {"message": "Notice Notice Notice Notice Notice"}
         
     | 
| 
      
 32538 
     | 
    
         
            +
            ]
         
     | 
| 
      
 32539 
     | 
    
         
            +
            # [[0, 1337566253.89858, 0.000355720520019531], 5]
         
     | 
| 
      
 32540 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 32541 
     | 
    
         
            +
            .fi
         
     | 
| 
      
 32542 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32543 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 32544 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32545 
     | 
    
         
            +
            次のように select\-match\-columns で \fBscorer_tf_at_most\fP を指定します。
         
     | 
| 
      
 32546 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32547 
     | 
    
         
            +
            実行例:
         
     | 
| 
       31981 
32548 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       31982 
32549 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       31983 
     | 
    
         
            -
             
     | 
| 
      
 32550 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32551 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 32552 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 32553 
     | 
    
         
            +
            select Logs \e
         
     | 
| 
      
 32554 
     | 
    
         
            +
              \-\-match_columns "scorer_tf_at_most(message, 3.0)" \e
         
     | 
| 
      
 32555 
     | 
    
         
            +
              \-\-query "Notice" \e
         
     | 
| 
      
 32556 
     | 
    
         
            +
              \-\-output_columns "message, _score" \e
         
     | 
| 
      
 32557 
     | 
    
         
            +
              \-\-sortby "\-_score"
         
     | 
| 
      
 32558 
     | 
    
         
            +
            # [
         
     | 
| 
      
 32559 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32560 
     | 
    
         
            +
            #     0,
         
     | 
| 
      
 32561 
     | 
    
         
            +
            #     1337566253.89858,
         
     | 
| 
      
 32562 
     | 
    
         
            +
            #     0.000355720520019531
         
     | 
| 
      
 32563 
     | 
    
         
            +
            #   ],
         
     | 
| 
      
 32564 
     | 
    
         
            +
            #   [
         
     | 
| 
      
 32565 
     | 
    
         
            +
            #     [
         
     | 
| 
      
 32566 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32567 
     | 
    
         
            +
            #         5
         
     | 
| 
      
 32568 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32569 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32570 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32571 
     | 
    
         
            +
            #           "message",
         
     | 
| 
      
 32572 
     | 
    
         
            +
            #           "Text"
         
     | 
| 
      
 32573 
     | 
    
         
            +
            #         ],
         
     | 
| 
      
 32574 
     | 
    
         
            +
            #         [
         
     | 
| 
      
 32575 
     | 
    
         
            +
            #           "_score",
         
     | 
| 
      
 32576 
     | 
    
         
            +
            #           "Int32"
         
     | 
| 
      
 32577 
     | 
    
         
            +
            #         ]
         
     | 
| 
      
 32578 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32579 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32580 
     | 
    
         
            +
            #         "Notice Notice Notice Notice Notice",
         
     | 
| 
      
 32581 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 32582 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32583 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32584 
     | 
    
         
            +
            #         "Notice Notice Notice Notice",
         
     | 
| 
      
 32585 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 32586 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32587 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32588 
     | 
    
         
            +
            #         "Notice Notice Notice",
         
     | 
| 
      
 32589 
     | 
    
         
            +
            #         3
         
     | 
| 
      
 32590 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32591 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32592 
     | 
    
         
            +
            #         "Notice Notice",
         
     | 
| 
      
 32593 
     | 
    
         
            +
            #         2
         
     | 
| 
      
 32594 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 32595 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 32596 
     | 
    
         
            +
            #         "Notice",
         
     | 
| 
      
 32597 
     | 
    
         
            +
            #         1
         
     | 
| 
      
 32598 
     | 
    
         
            +
            #       ]
         
     | 
| 
      
 32599 
     | 
    
         
            +
            #     ]
         
     | 
| 
      
 32600 
     | 
    
         
            +
            #   ]
         
     | 
| 
      
 32601 
     | 
    
         
            +
            # ]
         
     | 
| 
      
 32602 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 32603 
     | 
    
         
            +
            .fi
         
     | 
| 
       31984 
32604 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31985 
32605 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       31986 
32606 
     | 
    
         
             
            .sp
         
     | 
| 
       31987 
     | 
    
         
            -
             
     | 
| 
       31988 
     | 
    
         
            -
             
     | 
| 
       31989 
     | 
    
         
            -
            .SS 概要
         
     | 
| 
      
 32607 
     | 
    
         
            +
            もし、文書が \fBNotice\fP という単語を3個以上含んでいたら、スコアーは \fB3\fP になります。なぜなら、この \fBselect\fP ではスコアーの最大値を \fB3.0\fP と指定しているからです。
         
     | 
| 
       31990 
32608 
     | 
    
         
             
            .sp
         
     | 
| 
       31991 
     | 
    
         
            -
            \ 
     | 
| 
      
 32609 
     | 
    
         
            +
            もし、文書が \fBNotice\fP という単語を1つか2つしか含んでいなかったら、スコアーは \fB1\fP か \fB2\fP になります。なぜなら、スコアーが指定された最大値 \fB3.0\fP より小さいからです。
         
     | 
| 
      
 32610 
     | 
    
         
            +
            .SS 引数
         
     | 
| 
       31992 
32611 
     | 
    
         
             
            .sp
         
     | 
| 
       31993 
     | 
    
         
            -
             
     | 
| 
      
 32612 
     | 
    
         
            +
            このセクションではすべての引数について説明します。
         
     | 
| 
      
 32613 
     | 
    
         
            +
            .SS 必須引数
         
     | 
| 
      
 32614 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32615 
     | 
    
         
            +
            1つだけ必須の引数があります。
         
     | 
| 
      
 32616 
     | 
    
         
            +
            .SS \fBcolumn\fP
         
     | 
| 
      
 32617 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32618 
     | 
    
         
            +
            マッチ対象のデータカラムです。このデータカラムにはインデックスが張られていなければいけません。
         
     | 
| 
      
 32619 
     | 
    
         
            +
            .SS \fBindex\fP
         
     | 
| 
      
 32620 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32621 
     | 
    
         
            +
            検索に使うインデックスカラムです。
         
     | 
| 
      
 32622 
     | 
    
         
            +
            .SS 省略可能引数
         
     | 
| 
      
 32623 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32624 
     | 
    
         
            +
            省略可能な引数はありません。
         
     | 
| 
      
 32625 
     | 
    
         
            +
            .SS 戻り値
         
     | 
| 
      
 32626 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32627 
     | 
    
         
            +
            このスコアラーは builtin\-type\-float でスコアーの値を返します。
         
     | 
| 
      
 32628 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32629 
     | 
    
         
            +
            \fB/reference/commands/select\fP は \fBFloat\fP ではなく \fBInt32\fP で \fB_score\fP を返します。これは、後方互換性を維持するために \fBFloat\fP から \fBInt32\fP にキャストしているためです。
         
     | 
| 
      
 32630 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32631 
     | 
    
         
            +
            スコアーは制限つきのTFで計算します。
         
     | 
| 
      
 32632 
     | 
    
         
            +
            .SS 参考
         
     | 
| 
      
 32633 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 32634 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 32635 
     | 
    
         
            +
            \fB\&../scorer\fP
         
     | 
| 
      
 32636 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
       31994 
32637 
     | 
    
         
             
            .SS \fBscorer_tf_idf\fP
         
     | 
| 
       31995 
32638 
     | 
    
         
             
            .sp
         
     | 
| 
       31996 
32639 
     | 
    
         
             
            \fB注釈:\fP
         
     | 
| 
         @@ -32004,45 +32647,42 @@ TODO 
     | 
|
| 
       32004 
32647 
     | 
    
         | 
| 
       32005 
32648 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       32006 
32649 
     | 
    
         
             
            .sp
         
     | 
| 
       32007 
     | 
    
         
            -
            \fBscorer_tf_idf\fP  
     | 
| 
       32008 
     | 
    
         
            -
            frequency\-inverse document frequency) score function.
         
     | 
| 
      
 32650 
     | 
    
         
            +
            \fBscorer_tf_idf\fP は \fI\%TF\-IDF\fP (term frequency\-inverse document frequency。その文書中での単語の出現数を、その単語を文書の数で割ったもの)ベースのスコアー関数です。
         
     | 
| 
       32009 
32651 
     | 
    
         
             
            .sp
         
     | 
| 
       32010 
     | 
    
         
            -
             
     | 
| 
       32011 
     | 
    
         
            -
            frequency) is TF\-IDF. "TF" means that "the number of occurrences is
         
     | 
| 
       32012 
     | 
    
         
            -
            more important". "TF divided by DF" means that "the number of
         
     | 
| 
       32013 
     | 
    
         
            -
            occurrences of important term is more important".
         
     | 
| 
      
 32652 
     | 
    
         
            +
            簡単に言うと、TF\-IDFとはTF(term frequency。その文書中での単語出現数)をDF(document frequency。その単語を含むドキュメント数)で割ったものです。「TF」は「単語がたくさん出現している方がより重要」という意味を表します。「TFをDFで割る」というのは「重要な単語がたくさん出現している方がより重要」という意味を表します。
         
     | 
| 
       32014 
32653 
     | 
    
         
             
            .sp
         
     | 
| 
       32015 
     | 
    
         
            -
             
     | 
| 
       32016 
     | 
    
         
            -
            doesn\(aqt care about term importance but is fast.
         
     | 
| 
      
 32654 
     | 
    
         
            +
            Groongaのデフォルトのスコアー関数はTF(term frequency。単語の出現数)です。この関数は単語の重要度は考慮しませんが高速です。
         
     | 
| 
       32017 
32655 
     | 
    
         
             
            .sp
         
     | 
| 
       32018 
     | 
    
         
            -
            TF\-IDF 
     | 
| 
      
 32656 
     | 
    
         
            +
            TF\-IDFは単語の重要度を考慮しますが、TFより遅くなります。
         
     | 
| 
       32019 
32657 
     | 
    
         
             
            .sp
         
     | 
| 
       32020 
     | 
    
         
            -
            TF\-IDF 
     | 
| 
       32021 
     | 
    
         
            -
            But it\(aqs not perfect.
         
     | 
| 
      
 32658 
     | 
    
         
            +
            TF\-IDFは多くの場合でTFよりも適切なスコアーを計算しますが、完璧ではありません。
         
     | 
| 
       32022 
32659 
     | 
    
         
             
            .sp
         
     | 
| 
       32023 
     | 
    
         
            -
             
     | 
| 
       32024 
     | 
    
         
            -
            keyword, keyword ... and keyword". It increases score by TF and
         
     | 
| 
       32025 
     | 
    
         
            -
            TF\-IDF. Search engine spammer may use the technique. But TF\-IDF
         
     | 
| 
       32026 
     | 
    
         
            -
            doesn\(aqt guard from the technique.
         
     | 
| 
      
 32660 
     | 
    
         
            +
            「They are keyword, keyword, keyword ... and keyword」のように文書中に同じキーワードがたくさん含まれている場合、TFでもTF\-IDFでもスコアーが増えます。検索エンジンのスパマーはこのテクニックを使うかもしれません。しかし、TF\-IDFはこのテクニックを防ぐことができません。
         
     | 
| 
       32027 
32661 
     | 
    
         
             
            .sp
         
     | 
| 
       32028 
     | 
    
         
            -
            \fI\%Okapi BM25\fP  
     | 
| 
       32029 
     | 
    
         
            -
             
     | 
| 
       32030 
     | 
    
         
            -
            Groonga 
     | 
| 
      
 32662 
     | 
    
         
            +
            \fI\%Okapi BM25\fP はこのケースを解決できます。しかし、TF\-IDFよりも遅くなります。また、Groongaではまだ実装されていません。
         
     | 
| 
      
 32663 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32664 
     | 
    
         
            +
            Groongaは \fBscorer_tf_at_most\fP スコアラーという別の方法でこのケースを解決できるスコアラーを提供しています。
         
     | 
| 
       32031 
32665 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       32032 
     | 
    
         
            -
            . 
     | 
| 
       32033 
     | 
    
         
            -
             
     | 
| 
      
 32666 
     | 
    
         
            +
            .INDENT 3.5
         
     | 
| 
      
 32667 
     | 
    
         
            +
            スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。
         
     | 
| 
      
 32668 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32669 
     | 
    
         
            +
            たとえば、Googleはスコアーの計算に \fI\%ページランク\fP を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。
         
     | 
| 
      
 32670 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32671 
     | 
    
         
            +
            スコアーの計算をスコアー関数だけで考えることはやめましょう。
         
     | 
| 
      
 32672 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
       32034 
32673 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 32674 
     | 
    
         
            +
            .SS 構文
         
     | 
| 
      
 32675 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32676 
     | 
    
         
            +
            このスコアラーの引数は1つです。:
         
     | 
| 
       32035 
32677 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       32036 
32678 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       32037 
     | 
    
         
            -
            You don\(aqt need to resolve scoring only by score function. Score
         
     | 
| 
       32038 
     | 
    
         
            -
            function is highly depends on search query. You may be able to use
         
     | 
| 
       32039 
     | 
    
         
            -
            metadata of matched record.
         
     | 
| 
       32040 
32679 
     | 
    
         
             
            .sp
         
     | 
| 
       32041 
     | 
    
         
            -
             
     | 
| 
       32042 
     | 
    
         
            -
             
     | 
| 
       32043 
     | 
    
         
            -
             
     | 
| 
       32044 
     | 
    
         
            -
             
     | 
| 
       32045 
     | 
    
         
            -
             
     | 
| 
      
 32680 
     | 
    
         
            +
            .nf
         
     | 
| 
      
 32681 
     | 
    
         
            +
            .ft C
         
     | 
| 
      
 32682 
     | 
    
         
            +
            scorer_tf_idf(column)
         
     | 
| 
      
 32683 
     | 
    
         
            +
            scorer_tf_idf(index)
         
     | 
| 
      
 32684 
     | 
    
         
            +
            .ft P
         
     | 
| 
      
 32685 
     | 
    
         
            +
            .fi
         
     | 
| 
       32046 
32686 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       32047 
32687 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       32048 
32688 
     | 
    
         
             
            .SS 使い方
         
     | 
| 
         @@ -32166,13 +32806,29 @@ select Logs \e 
     | 
|
| 
       32166 
32806 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       32167 
32807 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       32168 
32808 
     | 
    
         
             
            .sp
         
     | 
| 
       32169 
     | 
    
         
            -
             
     | 
| 
       32170 
     | 
    
         
            -
             
     | 
| 
       32171 
     | 
    
         
            -
             
     | 
| 
       32172 
     | 
    
         
            -
             
     | 
| 
       32173 
     | 
    
         
            -
             
     | 
| 
       32174 
     | 
    
         
            -
             
     | 
| 
       32175 
     | 
    
         
            -
             
     | 
| 
      
 32809 
     | 
    
         
            +
            \fBInfo Info Info\fP には \fBInfo\fP という単語が3回もでてきますが、 \fBInfo Info Info\fP も \fBError\fP もどちらもスコアーは \fB2\fP です。なぜなら、 \fBError\fP は \fBInfo\fP よりもより重要な単語だからです。 \fBInfo\fP を含むドキュメントの数は \fB4\fP です。 \fBError\fP を含むドキュメントの数は \fB1\fP です。少しのドキュメントにしか含まれていない単語はより特徴的な単語です。特徴的な単語は重要な単語です。
         
     | 
| 
      
 32810 
     | 
    
         
            +
            .SS 引数
         
     | 
| 
      
 32811 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32812 
     | 
    
         
            +
            このセクションではすべての引数について説明します。
         
     | 
| 
      
 32813 
     | 
    
         
            +
            .SS 必須引数
         
     | 
| 
      
 32814 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32815 
     | 
    
         
            +
            1つだけ必須の引数があります。
         
     | 
| 
      
 32816 
     | 
    
         
            +
            .SS \fBcolumn\fP
         
     | 
| 
      
 32817 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32818 
     | 
    
         
            +
            マッチ対象のデータカラムです。このデータカラムにはインデックスが張られていなければいけません。
         
     | 
| 
      
 32819 
     | 
    
         
            +
            .SS \fBindex\fP
         
     | 
| 
      
 32820 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32821 
     | 
    
         
            +
            検索に使うインデックスカラムです。
         
     | 
| 
      
 32822 
     | 
    
         
            +
            .SS 省略可能引数
         
     | 
| 
      
 32823 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32824 
     | 
    
         
            +
            省略可能な引数はありません。
         
     | 
| 
      
 32825 
     | 
    
         
            +
            .SS 戻り値
         
     | 
| 
      
 32826 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32827 
     | 
    
         
            +
            このスコアラーは builtin\-type\-float でスコアーの値を返します。
         
     | 
| 
      
 32828 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32829 
     | 
    
         
            +
            \fB/reference/commands/select\fP は \fBFloat\fP ではなく \fBInt32\fP で \fB_score\fP を返します。これは、後方互換性を維持するために \fBFloat\fP から \fBInt32\fP にキャストしているためです。
         
     | 
| 
      
 32830 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 32831 
     | 
    
         
            +
            スコアーはTF\-IDFベースのアルゴリズムで計算します。
         
     | 
| 
       32176 
32832 
     | 
    
         
             
            .SS 参考
         
     | 
| 
       32177 
32833 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       32178 
32834 
     | 
    
         
             
            .IP \(bu 2
         
     | 
| 
         @@ -36310,10 +36966,22 @@ Groongaは正規表現を用いたパターンマッチをサポートしてい 
     | 
|
| 
       36310 
36966 
     | 
    
         
             
            多くの場合は、正規表現検索は逐次検索で実行します。これはたくさんのレコードがあったり、たくさんのテキストがある場合は遅くなります。
         
     | 
| 
       36311 
36967 
     | 
    
         
             
            .sp
         
     | 
| 
       36312 
36968 
     | 
    
         
             
            いくつかの場合では、正規表現を使ったパターンマッチをインデックスを使って実現します。これは逐次検索よりも非常に高速です。インデックスを使って評価できるパターンについては後述します。
         
     | 
| 
      
 36969 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 36970 
     | 
    
         
            +
            バージョン 5.0.7 で追加: Groongaは正規表現検索にインデックスを使わないときは、 normalizer\-auto ノーマライザーでマッチ対象のテキストを正規化します。これは、 \fBGroonga\fP というような大文字を使った正規表現は必ずマッチに失敗するということです。なぜなら、 normalizer\-auto ノーマライザーはすべてのアルファベットを小文字に正規化するからです。 \fBgroonga\fP は \fBGroonga\fP にも \fBgroonga\fP にも両方にマッチします。
         
     | 
| 
      
 36971 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 36972 
     | 
    
         
            +
            なぜマッチ対象のテキストを正規化するのでしょうか?それは、インデックスを使って検索できるパターンを増やすためです。もし、Groongaがマッチ対象のテキストを正規化しなかった場合、大文字小文字を区別しないマッチをするために、 \fB[Dd][Ii][Ss][Kk]\fP や \fB(?i)disk\fP のような複雑な正規表現を書く必要があります。Groongaは複雑な正規表現に対してインデックスを使うことができません。
         
     | 
| 
      
 36973 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 36974 
     | 
    
         
            +
            もし、大文字小文字を区別しないマッチに \fBdisk\fP という正規表現を使うなら、Groongaはインデックスを使ってこのパターンを検索できます。これは高速です。
         
     | 
| 
      
 36975 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 36976 
     | 
    
         
            +
            この挙動を奇妙に思うかもしれません。しかし、この挙動のおかげで高速に検索できることはきっとあなたの役に立つはずです。
         
     | 
| 
      
 36977 
     | 
    
         
            +
             
     | 
| 
       36313 
36978 
     | 
    
         
             
            .sp
         
     | 
| 
       36314 
36979 
     | 
    
         
             
            正規表現の構文はたくさんあります。GroongaはRubyと同じ構文を使います。なぜなら、Groongaが使っている正規表現エンジンはRubyが使っている正規表現エンジンと同じだからです。この正規表現エンジンは \fI\%Onigmo\fP といいます。他の正規表現の構文との特徴的な違いは \fB^\fP と \fB$\fP です。Rubyの正規表現の構文では \fB^\fP は行頭を表し、 \fB$\fP は行末を表します。他の多くの正規表現の構文では、 \fB^\fP はテキストの先頭を表し、 \fB$\fP はテキストの最後を表します。Rubyの正規表現の構文ではテキストの先頭を表す場合は \fB\eA\fP を使い、テキストの最後を表す場合は \fB\ez\fP を使います。
         
     | 
| 
       36315 
36980 
     | 
    
         
             
            .sp
         
     | 
| 
       36316 
     | 
    
         
            -
            Groongaは5.0.6からマルチラインモードを有効にしています。これは、 \fB\&.\fP が \fB\en\fP にマッチするということです。
         
     | 
| 
      
 36981 
     | 
    
         
            +
            バージョン 5.0.6 で追加: Groongaは5.0.6からマルチラインモードを有効にしています。これは、 \fB\&.\fP が \fB\en\fP にマッチするということです。
         
     | 
| 
      
 36982 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 36983 
     | 
    
         
            +
            しかし、この挙動は意味がありません。なぜなら、 \fB\en\fP は normalizer\-auto ノーマライザーが削除するからです。
         
     | 
| 
      
 36984 
     | 
    
         
            +
             
     | 
| 
       36317 
36985 
     | 
    
         
             
            .sp
         
     | 
| 
       36318 
36986 
     | 
    
         
             
            \fB/reference/commands/select\fP コマンドの select\-query オプションと select\-filter オプションで正規表現を使えます。
         
     | 
| 
       36319 
36987 
     | 
    
         
             
            .SS 使い方
         
     | 
| 
         @@ -36352,7 +37020,7 @@ select\-query で正規表現を使う例です。 \fB${COLUMN}:~${REGULAR_EXPRE 
     | 
|
| 
       36352 
37020 
     | 
    
         
             
            .sp
         
     | 
| 
       36353 
37021 
     | 
    
         
             
            .nf
         
     | 
| 
       36354 
37022 
     | 
    
         
             
            .ft C
         
     | 
| 
       36355 
     | 
    
         
            -
            select Logs \-\-query \(aqmessage:~" 
     | 
| 
      
 37023 
     | 
    
         
            +
            select Logs \-\-query \(aqmessage:~"disk (space|full)"\(aq
         
     | 
| 
       36356 
37024 
     | 
    
         
             
            # [
         
     | 
| 
       36357 
37025 
     | 
    
         
             
            #   [
         
     | 
| 
       36358 
37026 
     | 
    
         
             
            #     0,
         
     | 
| 
         @@ -36398,7 +37066,7 @@ select\-filter で正規表現を使う例です。 \fB${COLUMN} @~ ${REGULAR_EX 
     | 
|
| 
       36398 
37066 
     | 
    
         
             
            .sp
         
     | 
| 
       36399 
37067 
     | 
    
         
             
            .nf
         
     | 
| 
       36400 
37068 
     | 
    
         
             
            .ft C
         
     | 
| 
       36401 
     | 
    
         
            -
            select Logs \-\-filter \(aqmessage @~ " 
     | 
| 
      
 37069 
     | 
    
         
            +
            select Logs \-\-filter \(aqmessage @~ "disk (space|full)"\(aq
         
     | 
| 
       36402 
37070 
     | 
    
         
             
            # [
         
     | 
| 
       36403 
37071 
     | 
    
         
             
            #   [
         
     | 
| 
       36404 
37072 
     | 
    
         
             
            #     0,
         
     | 
| 
         @@ -36948,7 +37616,7 @@ select Logs \-\-filter \(aqmessage @~ "\e\e\e\e[(warning|info)\e\e\e\e]"\(aq 
     | 
|
| 
       36948 
37616 
     | 
    
         
             
            .sp
         
     | 
| 
       36949 
37617 
     | 
    
         
             
            文字クラスの構文は \fB[...]\fP です。文字クラスはマッチする文字を複数指定するときに便利です。
         
     | 
| 
       36950 
37618 
     | 
    
         
             
            .sp
         
     | 
| 
       36951 
     | 
    
         
            -
            たとえば、 \fB[ 
     | 
| 
      
 37619 
     | 
    
         
            +
            たとえば、 \fB[12]\fP は \fB1\fP または \fB2\fP にマッチします。
         
     | 
| 
       36952 
37620 
     | 
    
         
             
            .sp
         
     | 
| 
       36953 
37621 
     | 
    
         
             
            実行例:
         
     | 
| 
       36954 
37622 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
         @@ -36956,7 +37624,7 @@ select Logs \-\-filter \(aqmessage @~ "\e\e\e\e[(warning|info)\e\e\e\e]"\(aq 
     | 
|
| 
       36956 
37624 
     | 
    
         
             
            .sp
         
     | 
| 
       36957 
37625 
     | 
    
         
             
            .nf
         
     | 
| 
       36958 
37626 
     | 
    
         
             
            .ft C
         
     | 
| 
       36959 
     | 
    
         
            -
            select Logs \-\-filter \(aqmessage @~ "[ 
     | 
| 
      
 37627 
     | 
    
         
            +
            select Logs \-\-filter \(aqmessage @~ "host[12]"\(aq
         
     | 
| 
       36960 
37628 
     | 
    
         
             
            # [
         
     | 
| 
       36961 
37629 
     | 
    
         
             
            #   [
         
     | 
| 
       36962 
37630 
     | 
    
         
             
            #     0,
         
     | 
| 
         @@ -36966,7 +37634,7 @@ select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq 
     | 
|
| 
       36966 
37634 
     | 
    
         
             
            #   [
         
     | 
| 
       36967 
37635 
     | 
    
         
             
            #     [
         
     | 
| 
       36968 
37636 
     | 
    
         
             
            #       [
         
     | 
| 
       36969 
     | 
    
         
            -
            #          
     | 
| 
      
 37637 
     | 
    
         
            +
            #         5
         
     | 
| 
       36970 
37638 
     | 
    
         
             
            #       ],
         
     | 
| 
       36971 
37639 
     | 
    
         
             
            #       [
         
     | 
| 
       36972 
37640 
     | 
    
         
             
            #         [
         
     | 
| 
         @@ -36979,12 +37647,24 @@ select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq 
     | 
|
| 
       36979 
37647 
     | 
    
         
             
            #         ]
         
     | 
| 
       36980 
37648 
     | 
    
         
             
            #       ],
         
     | 
| 
       36981 
37649 
     | 
    
         
             
            #       [
         
     | 
| 
      
 37650 
     | 
    
         
            +
            #         1,
         
     | 
| 
      
 37651 
     | 
    
         
            +
            #         "host1:[error]: No memory"
         
     | 
| 
      
 37652 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 37653 
     | 
    
         
            +
            #       [
         
     | 
| 
       36982 
37654 
     | 
    
         
             
            #         2,
         
     | 
| 
       36983 
37655 
     | 
    
         
             
            #         "host1:[warning]: Remained disk space is less than 30%"
         
     | 
| 
       36984 
37656 
     | 
    
         
             
            #       ],
         
     | 
| 
       36985 
37657 
     | 
    
         
             
            #       [
         
     | 
| 
       36986 
37658 
     | 
    
         
             
            #         3,
         
     | 
| 
       36987 
37659 
     | 
    
         
             
            #         "host1:[error]: Disk full"
         
     | 
| 
      
 37660 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 37661 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 37662 
     | 
    
         
            +
            #         4,
         
     | 
| 
      
 37663 
     | 
    
         
            +
            #         "host2:[error]: No memory"
         
     | 
| 
      
 37664 
     | 
    
         
            +
            #       ],
         
     | 
| 
      
 37665 
     | 
    
         
            +
            #       [
         
     | 
| 
      
 37666 
     | 
    
         
            +
            #         5,
         
     | 
| 
      
 37667 
     | 
    
         
            +
            #         "host2:[info]: Shutdown"
         
     | 
| 
       36988 
37668 
     | 
    
         
             
            #       ]
         
     | 
| 
       36989 
37669 
     | 
    
         
             
            #     ]
         
     | 
| 
       36990 
37670 
     | 
    
         
             
            #   ]
         
     | 
| 
         @@ -38393,18 +39073,21 @@ HTMLエスケープの有無を指定します。 \fBtrue\fP を指定すればH 
     | 
|
| 
       38393 
39073 
     | 
    
         
             
            この機能は実験的です。APIが変わる可能性があります。
         
     | 
| 
       38394 
39074 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       38395 
39075 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 39076 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 39077 
     | 
    
         
            +
            バージョン 4.0.5 で追加.
         
     | 
| 
      
 39078 
     | 
    
         
            +
             
     | 
| 
       38396 
39079 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       38397 
39080 
     | 
    
         
             
            .sp
         
     | 
| 
       38398 
39081 
     | 
    
         
             
            \fBhighlight_html\fP は対象テキストをタグ付けします。検索文字列をハイライトさせるために利用することができます。タグ付けされたテキストはHTML中に埋め込みやすいように処理されています。\fB<\fP や \fB>\fP などの特殊文字は < や > にエスケープされています。キーワードは \fB<span class="keyword">\fP と \fB</span>\fP で囲まれています。たとえば、 \fBI am a groonga user. <3\fP という対象テキストのキーワード \fBgroonga\fP でタグ付けされたテキストは \fBI am a <span class="keyword">groonga</span> user. <3\fP となります。
         
     | 
| 
       38399 
39082 
     | 
    
         
             
            .SS 構文
         
     | 
| 
       38400 
39083 
     | 
    
         
             
            .sp
         
     | 
| 
       38401 
     | 
    
         
            -
             
     | 
| 
      
 39084 
     | 
    
         
            +
            この関数の引数は1つです。:
         
     | 
| 
       38402 
39085 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       38403 
39086 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       38404 
39087 
     | 
    
         
             
            .sp
         
     | 
| 
       38405 
39088 
     | 
    
         
             
            .nf
         
     | 
| 
       38406 
39089 
     | 
    
         
             
            .ft C
         
     | 
| 
       38407 
     | 
    
         
            -
            highlight_html( 
     | 
| 
      
 39090 
     | 
    
         
            +
            highlight_html(text)
         
     | 
| 
       38408 
39091 
     | 
    
         
             
            .ft P
         
     | 
| 
       38409 
39092 
     | 
    
         
             
            .fi
         
     | 
| 
       38410 
39093 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
         @@ -38439,8 +39122,6 @@ load \-\-table Entries 
     | 
|
| 
       38439 
39122 
     | 
    
         
             
            .sp
         
     | 
| 
       38440 
39123 
     | 
    
         
             
            \fBhighlight_html\fP は \fB/reference/commands/select\fP コマンドの \fB\-\-output_columns\fP 内でのみ指定できます。
         
     | 
| 
       38441 
39124 
     | 
    
         
             
            .sp
         
     | 
| 
       38442 
     | 
    
         
            -
            \fBhighlight_html\fP を使うにはGroonga 4.0.5以降が必要です。
         
     | 
| 
       38443 
     | 
    
         
            -
            .sp
         
     | 
| 
       38444 
39125 
     | 
    
         
             
            \fBhighlight_html\fP を使うには \fB/reference/command/command_version\fP 2以降を使う必要があります。
         
     | 
| 
       38445 
39126 
     | 
    
         
             
            .sp
         
     | 
| 
       38446 
39127 
     | 
    
         
             
            また、 \fB\-\-query\fP と \fB\-\-filter\fP オプションも指定する必要があります。(どちらか一方でも構いません。)これは、 \fB\-\-query\fP と \fB\-\-filter\fP オプションからキーワードを抽出しているためです。
         
     | 
| 
         @@ -38524,10 +39205,16 @@ select Entries \-\-output_columns \(aqhighlight_html("Groonga is very fast fullt 
     | 
|
| 
       38524 
39205 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       38525 
39206 
     | 
    
         
             
            .SS 引数
         
     | 
| 
       38526 
39207 
     | 
    
         
             
            .sp
         
     | 
| 
       38527 
     | 
    
         
            -
             
     | 
| 
       38528 
     | 
    
         
            -
            .SS  
     | 
| 
      
 39208 
     | 
    
         
            +
            このセクションではすべての引数について説明します。
         
     | 
| 
      
 39209 
     | 
    
         
            +
            .SS 必須引数
         
     | 
| 
       38529 
39210 
     | 
    
         
             
            .sp
         
     | 
| 
       38530 
     | 
    
         
            -
             
     | 
| 
      
 39211 
     | 
    
         
            +
            1つだけ必須の引数があります。
         
     | 
| 
      
 39212 
     | 
    
         
            +
            .SS \fBtext\fP
         
     | 
| 
      
 39213 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 39214 
     | 
    
         
            +
            HTMLでハイライトする対象のテキストです。
         
     | 
| 
      
 39215 
     | 
    
         
            +
            .SS 省略可能引数
         
     | 
| 
      
 39216 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 39217 
     | 
    
         
            +
            省略可能な引数はありません。
         
     | 
| 
       38531 
39218 
     | 
    
         
             
            .SS 戻り値
         
     | 
| 
       38532 
39219 
     | 
    
         
             
            .sp
         
     | 
| 
       38533 
39220 
     | 
    
         
             
            \fBhighlight_html\fP はタグ付の文字列もしくは null を返します。\fBhighlight_html\fP は該当するキーワードがない場合に null を返します。
         
     | 
| 
         @@ -41146,7 +41833,7 @@ logical_count logical_table 
     | 
|
| 
       41146 
41833 
     | 
    
         
             
            .sp
         
     | 
| 
       41147 
41834 
     | 
    
         
             
            \fBlogical_count\fP コマンドを使うには事前に \fBsharding\fP プラグインを登録します。
         
     | 
| 
       41148 
41835 
     | 
    
         
             
            .sp
         
     | 
| 
       41149 
     | 
    
         
            -
            \fBlogical_count\fP  
     | 
| 
      
 41836 
     | 
    
         
            +
            \fBlogical_count\fP コマンドは実験的なプラグインです。このコマンドは将来的に変更されるかもしれません。
         
     | 
| 
       41150 
41837 
     | 
    
         
             
            .sp
         
     | 
| 
       41151 
41838 
     | 
    
         
             
            この機能を使う簡単な例を示します。複数のテーブルに保存されている特定のログをカウントしてみましょう。
         
     | 
| 
       41152 
41839 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -45781,6 +46468,24 @@ Normally, this function isn\(aqt needed. 
     | 
|
| 
       45781 
46468 
     | 
    
         
             
            成功時は \fBGRN_SUCCESS\fP 、エラー時は \fBGRN_SUCCESS\fP 以外。
         
     | 
| 
       45782 
46469 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       45783 
46470 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 46471 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 46472 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 46473 
     | 
    
         
            +
            .B grn_bool_rc grn_ctx_is_opened(grn_ctx\fI\ *ctx\fP, grn_id\fI\ id\fP)
         
     | 
| 
      
 46474 
     | 
    
         
            +
            指定したIDのオブジェクトが開かれているかどうかをチェックします。
         
     | 
| 
      
 46475 
     | 
    
         
            +
            .INDENT 7.0
         
     | 
| 
      
 46476 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 46477 
     | 
    
         
            +
            .B パラメタ
         
     | 
| 
      
 46478 
     | 
    
         
            +
            .INDENT 7.0
         
     | 
| 
      
 46479 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 46480 
     | 
    
         
            +
            \fBctx\fP \-\- その時点のコンテキスト。
         
     | 
| 
      
 46481 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 46482 
     | 
    
         
            +
            \fBid\fP \-\- チェック対象のオブジェクトのID。
         
     | 
| 
      
 46483 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 46484 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 46485 
     | 
    
         
            +
            .B 戻り値
         
     | 
| 
      
 46486 
     | 
    
         
            +
            指定したIDのオブジェクトが開かれていたら \fBGRN_TRUE\fP 、そうでなければ \fBGRN_FALSE\fP 。
         
     | 
| 
      
 46487 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 46488 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
       45784 
46489 
     | 
    
         
             
            .SS \fBgrn_db\fP
         
     | 
| 
       45785 
46490 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       45786 
46491 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -47080,6 +47785,42 @@ dbのidに対応するpathを返します。mroonga向けに用意した内部AP 
     | 
|
| 
       47080 
47785 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       47081 
47786 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       47082 
47787 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
      
 47788 
     | 
    
         
            +
            .INDENT 0.0
         
     | 
| 
      
 47789 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 47790 
     | 
    
         
            +
            .B grn_rc grn_obj_cast_by_id(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *source\fP, grn_obj\fI\ *destination\fP, grn_bool\fI\ add_record_if_not_exist\fP)
         
     | 
| 
      
 47791 
     | 
    
         
            +
            It casts value of \fBsource\fP to value with type of
         
     | 
| 
      
 47792 
     | 
    
         
            +
            \fBdestination\fP\&. Casted value is appended to \fBdestination\fP\&.
         
     | 
| 
      
 47793 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 47794 
     | 
    
         
            +
            Both \fBsource\fP and \fBdestination\fP must be bulk.
         
     | 
| 
      
 47795 
     | 
    
         
            +
            .sp
         
     | 
| 
      
 47796 
     | 
    
         
            +
            If \fBdestination\fP is a reference type bulk. (Reference type bulk
         
     | 
| 
      
 47797 
     | 
    
         
            +
            means that type of \fBdestination\fP is a table.)
         
     | 
| 
      
 47798 
     | 
    
         
            +
            \fBadd_record_if_not_exist\fP is used. If \fBsource\fP value doesn\(aqt
         
     | 
| 
      
 47799 
     | 
    
         
            +
            exist in the table that is a type of \fBdestination\fP\&. The \fBsource\fP
         
     | 
| 
      
 47800 
     | 
    
         
            +
            value is added to the table.
         
     | 
| 
      
 47801 
     | 
    
         
            +
            .INDENT 7.0
         
     | 
| 
      
 47802 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 47803 
     | 
    
         
            +
            .B パラメタ
         
     | 
| 
      
 47804 
     | 
    
         
            +
            .INDENT 7.0
         
     | 
| 
      
 47805 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 47806 
     | 
    
         
            +
            \fBctx\fP \-\- その時点のコンテキスト。
         
     | 
| 
      
 47807 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 47808 
     | 
    
         
            +
            \fBsource\fP \-\- The bulk to be casted.
         
     | 
| 
      
 47809 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 47810 
     | 
    
         
            +
            \fBdestination\fP \-\- The bulk to specify cast target type and store
         
     | 
| 
      
 47811 
     | 
    
         
            +
            casted value.
         
     | 
| 
      
 47812 
     | 
    
         
            +
            .IP \(bu 2
         
     | 
| 
      
 47813 
     | 
    
         
            +
            \fBadd_record_if_not_exist\fP \-\- Whether adding a new record if
         
     | 
| 
      
 47814 
     | 
    
         
            +
            \fBsource\fP value doesn\(aqt exist in
         
     | 
| 
      
 47815 
     | 
    
         
            +
            cast target table. This parameter
         
     | 
| 
      
 47816 
     | 
    
         
            +
            is only used when \fBdestination\fP
         
     | 
| 
      
 47817 
     | 
    
         
            +
            is a reference type bulk.
         
     | 
| 
      
 47818 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 47819 
     | 
    
         
            +
            .TP
         
     | 
| 
      
 47820 
     | 
    
         
            +
            .B 戻り値
         
     | 
| 
      
 47821 
     | 
    
         
            +
            成功時は \fBGRN_SUCCESS\fP 、エラー時は \fBGRN_SUCCESS\fP 以外。
         
     | 
| 
      
 47822 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
      
 47823 
     | 
    
         
            +
            .UNINDENT
         
     | 
| 
       47083 
47824 
     | 
    
         
             
            .SS \fBgrn_proc\fP
         
     | 
| 
       47084 
47825 
     | 
    
         
             
            .SS 概要
         
     | 
| 
       47085 
47826 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -49832,7 +50573,7 @@ twitterでサポートされている安心感からGroongaユーザーの拡大 
     | 
|
| 
       49832 
50573 
     | 
    
         
             
            .sp
         
     | 
| 
       49833 
50574 
     | 
    
         
             
            twitterは気軽につぶやけることが重要なので、気軽にできないことを相手に要求すると萎縮されてしまう可能性があります。
         
     | 
| 
       49834 
50575 
     | 
    
         
             
            .sp
         
     | 
| 
       49835 
     | 
    
         
            -
            いきなりredmine 
     | 
| 
      
 50576 
     | 
    
         
            +
            いきなりredmineでバグ報告をお願いすると、しりごみしてしまうかもしれません。:
         
     | 
| 
       49836 
50577 
     | 
    
         
             
            .INDENT 0.0
         
     | 
| 
       49837 
50578 
     | 
    
         
             
            .INDENT 3.5
         
     | 
| 
       49838 
50579 
     | 
    
         
             
            .sp
         
     | 
| 
         @@ -49844,8 +50585,7 @@ twitterは気軽につぶやけることが重要なので、気軽にできな 
     | 
|
| 
       49844 
50585 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       49845 
50586 
     | 
    
         
             
            .UNINDENT
         
     | 
| 
       49846 
50587 
     | 
    
         
             
            .sp
         
     | 
| 
       49847 
     | 
    
         
            -
            Groonga 
     | 
| 
       49848 
     | 
    
         
            -
            てしまいます。
         
     | 
| 
      
 50588 
     | 
    
         
            +
            Groonga関連で気軽につぶやけないとなると開発者は困っている人を見つけられないし、利用者は困ったままとなるので、双方にとって嬉しくない状態になってしまいます。
         
     | 
| 
       49849 
50589 
     | 
    
         
             
            .SS 対応
         
     | 
| 
       49850 
50590 
     | 
    
         
             
            .sp
         
     | 
| 
       49851 
50591 
     | 
    
         
             
            twitterでやりとりを完結できるようにします。
         
     |