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
 
| 
         @@ -10,8 +10,7 @@ Summary 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            table_list - DBに定義されているテーブルをリスト表示
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga 
     | 
| 
       14 
     | 
    
         
            -
            入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
      
 13 
     | 
    
         
            +
            Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
         
     | 
| 
       15 
14 
     | 
    
         | 
| 
       16 
15 
     | 
    
         
             
            table_listは、DBに定義されているテーブルのリストを表示します。
         
     | 
| 
       17 
16 
     | 
    
         | 
| 
         @@ -2,46 +2,237 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            .. highlightlang:: none
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
      
 5 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 6 
     | 
    
         
            +
            .. database: commands_table_remove
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       5 
8 
     | 
    
         
             
            ``table_remove``
         
     | 
| 
       6 
9 
     | 
    
         
             
            ================
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
       8 
11 
     | 
    
         
             
            Summary
         
     | 
| 
       9 
12 
     | 
    
         
             
            -------
         
     | 
| 
       10 
13 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            table_remove  
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            table_removeはテーブルと定義されているカラムを削除します。カラムに付随するインデックスも再帰的に削除されます。
         
     | 
| 
      
 14 
     | 
    
         
            +
            ``table_remove`` removes a table and its columns. If there are one or
         
     | 
| 
      
 15 
     | 
    
         
            +
            more indexes against key of the table and its columns, they are also
         
     | 
| 
      
 16 
     | 
    
         
            +
            removed.
         
     | 
| 
       16 
17 
     | 
    
         | 
| 
       17 
18 
     | 
    
         
             
            Syntax
         
     | 
| 
       18 
19 
     | 
    
         
             
            ------
         
     | 
| 
       19 
     | 
    
         
            -
            ::
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
              
     | 
| 
      
 21 
     | 
    
         
            +
            This command takes only one required parameter::
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
              table_remove name
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            .. _table-remove-usage:
         
     | 
| 
       22 
26 
     | 
    
         | 
| 
       23 
27 
     | 
    
         
             
            Usage
         
     | 
| 
       24 
28 
     | 
    
         
             
            -----
         
     | 
| 
       25 
     | 
    
         
            -
            ::
         
     | 
| 
       26 
29 
     | 
    
         | 
| 
       27 
     | 
    
         
            -
             table_remove 
     | 
| 
      
 30 
     | 
    
         
            +
            You just specify table name that you want to remove. ``table_remove``
         
     | 
| 
      
 31 
     | 
    
         
            +
            removes the table and its columns. If the table and its columns are
         
     | 
| 
      
 32 
     | 
    
         
            +
            indexed, all index columns for the table and its columns are also
         
     | 
| 
      
 33 
     | 
    
         
            +
            removed.
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            This section describes about the followings:
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
              * Basic usage
         
     | 
| 
      
 38 
     | 
    
         
            +
              * Unremovable cases
         
     | 
| 
      
 39 
     | 
    
         
            +
              * Decreases used resources
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            .. _table-remove-basic-usage:
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            Basic usage
         
     | 
| 
      
 44 
     | 
    
         
            +
            ^^^^^^^^^^^
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            Let's think about the following case:
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
              * There is one table ``Entries``.
         
     | 
| 
      
 49 
     | 
    
         
            +
              * ``Entries`` table has some columns.
         
     | 
| 
      
 50 
     | 
    
         
            +
              * ``Entries`` table's key is indexed.
         
     | 
| 
      
 51 
     | 
    
         
            +
              * A column of ``Entries`` is indexed.
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
            Here are commands that create ``Entries`` table:
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 56 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_create_entries_table.log
         
     | 
| 
      
 57 
     | 
    
         
            +
            .. table_create Entries TABLE_HASH_KEY UInt32
         
     | 
| 
      
 58 
     | 
    
         
            +
            .. column_create Entries title COLUMN_SCALAR ShortText
         
     | 
| 
      
 59 
     | 
    
         
            +
            .. column_create Entries content COLUMN_SCALAR Text
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            Here are commands that create an index for ``Entries`` table's key:
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 64 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_create_index_for_entries_table.log
         
     | 
| 
      
 65 
     | 
    
         
            +
            .. table_create EntryKeys TABLE_HASH_KEY UInt32
         
     | 
| 
      
 66 
     | 
    
         
            +
            .. column_create EntryKeys key_index COLUMN_INDEX Entries _key
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
            Here are commands that create an index for ``Entries`` table's column:
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 71 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_create_index_for_entries_table_column.log
         
     | 
| 
      
 72 
     | 
    
         
            +
            .. table_create Terms TABLE_PAT_KEY ShortText \
         
     | 
| 
      
 73 
     | 
    
         
            +
            ..   --default_tokenizer TokenBigram \
         
     | 
| 
      
 74 
     | 
    
         
            +
            ..   --normalizer NormalizerAuto
         
     | 
| 
      
 75 
     | 
    
         
            +
            .. column_create Terms content_index COLUMN_INDEX Entries content
         
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
            Let's confirm the current schema before running ``table_remove``:
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 80 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_dump_before_table_remove.log
         
     | 
| 
      
 81 
     | 
    
         
            +
            .. dump
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
            If you remove ``Entries`` table, the following tables and columns are
         
     | 
| 
      
 84 
     | 
    
         
            +
            removed:
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
              * ``Entries``
         
     | 
| 
      
 87 
     | 
    
         
            +
              * ``Entries.title``
         
     | 
| 
      
 88 
     | 
    
         
            +
              * ``Entries.context``
         
     | 
| 
      
 89 
     | 
    
         
            +
              * ``EntryKeys.key_index``
         
     | 
| 
      
 90 
     | 
    
         
            +
              * ``Terms.content_index``
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
            The following tables (lexicons) aren't removed:
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
              * ``EntryKeys``
         
     | 
| 
      
 95 
     | 
    
         
            +
              * ``Terms``
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
            Let's run ``table_remove``:
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 100 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_table_remove.log
         
     | 
| 
      
 101 
     | 
    
         
            +
            .. table_remove Entries
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
            Here is schema after ``table_remove``. Only ``EntryKeys`` and
         
     | 
| 
      
 104 
     | 
    
         
            +
            ``Terms`` exist:
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 107 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/basic_usage_dump_after_table_remove.log
         
     | 
| 
      
 108 
     | 
    
         
            +
            .. dump
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
            .. _table-remove-unremovable-cases:
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            Unremovable cases
         
     | 
| 
      
 113 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
            There are some unremovable cases:
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
              * One or more tables use the table as key type.
         
     | 
| 
      
 118 
     | 
    
         
            +
              * One or more columns use the table as value type.
         
     | 
| 
      
 119 
     | 
    
         
            +
             
     | 
| 
      
 120 
     | 
    
         
            +
            Both cases blocks dangling references. If the table is referenced as
         
     | 
| 
      
 121 
     | 
    
         
            +
            type and the table is removed, tables and columns that refer the table
         
     | 
| 
      
 122 
     | 
    
         
            +
            are broken.
         
     | 
| 
       28 
123 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
              
     | 
| 
      
 124 
     | 
    
         
            +
            If the target table satisfies one of them, ``table_remove`` is
         
     | 
| 
      
 125 
     | 
    
         
            +
            failed. The target table and its columns aren't removed.
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
            Here is an example for the table is used as key type case.
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
            The following commands create a table to be removed and a table that
         
     | 
| 
      
 130 
     | 
    
         
            +
            uses the table to be removed as key type:
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 133 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_key_type_create.log
         
     | 
| 
      
 134 
     | 
    
         
            +
            .. table_create ReferencedByTable TABLE_HASH_KEY ShortText
         
     | 
| 
      
 135 
     | 
    
         
            +
            .. table_create ReferenceTable TABLE_HASH_KEY ReferencedByTable
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
            ``table_remove`` against ``ReferencedByTable`` is failed:
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
      
 139 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 140 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_key_type_remove_fail.log
         
     | 
| 
      
 141 
     | 
    
         
            +
            .. table_remove ReferencedByTable
         
     | 
| 
      
 142 
     | 
    
         
            +
             
     | 
| 
      
 143 
     | 
    
         
            +
            You need to remove ``ReferenceTable`` before you remove
         
     | 
| 
      
 144 
     | 
    
         
            +
            ``ReferencedByTable``:
         
     | 
| 
      
 145 
     | 
    
         
            +
             
     | 
| 
      
 146 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 147 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_key_type_remove_success.log
         
     | 
| 
      
 148 
     | 
    
         
            +
            .. table_remove ReferenceTable
         
     | 
| 
      
 149 
     | 
    
         
            +
            .. table_remove ReferencedByTable
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
            Here is an example for the table is used as value type case.
         
     | 
| 
      
 152 
     | 
    
         
            +
             
     | 
| 
      
 153 
     | 
    
         
            +
            The following commands create a table to be removed and a column that
         
     | 
| 
      
 154 
     | 
    
         
            +
            uses the table to be removed as value type:
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 157 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_value_type_create.log
         
     | 
| 
      
 158 
     | 
    
         
            +
            .. table_create ReferencedByColumn TABLE_HASH_KEY ShortText
         
     | 
| 
      
 159 
     | 
    
         
            +
            .. table_create Table TABLE_NO_KEY
         
     | 
| 
      
 160 
     | 
    
         
            +
            .. column_create Table reference_column COLUMN_SCALAR ReferencedByColumn
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
            ``table_remove`` against ``ReferencedByColumn`` is failed:
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 165 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_value_type_remove_fail.log
         
     | 
| 
      
 166 
     | 
    
         
            +
            .. table_remove ReferencedByColumn
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
            You need to remove ``Table.reference_column`` before you remove
         
     | 
| 
      
 169 
     | 
    
         
            +
            ``ReferencedByColumn``:
         
     | 
| 
      
 170 
     | 
    
         
            +
             
     | 
| 
      
 171 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 172 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/unremovable_cases_value_type_remove_success.log
         
     | 
| 
      
 173 
     | 
    
         
            +
            .. column_remove Table reference_column
         
     | 
| 
      
 174 
     | 
    
         
            +
            .. table_remove ReferencedByColumn
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
            Decreases used resources
         
     | 
| 
      
 177 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 178 
     | 
    
         
            +
             
     | 
| 
      
 179 
     | 
    
         
            +
            ``table_remove`` opens all tables and columns in database to check
         
     | 
| 
      
 180 
     | 
    
         
            +
            :ref:`table-remove-unremovable-cases`.
         
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
            If you have many tables and columns, ``table_remove`` may use many
         
     | 
| 
      
 183 
     | 
    
         
            +
            resources. There is a workaround to avoid the case.
         
     | 
| 
      
 184 
     | 
    
         
            +
             
     | 
| 
      
 185 
     | 
    
         
            +
            ``table_remove`` closes temporary opened tables and columns for
         
     | 
| 
      
 186 
     | 
    
         
            +
            checking when the max number of threads is ``1``.
         
     | 
| 
      
 187 
     | 
    
         
            +
             
     | 
| 
      
 188 
     | 
    
         
            +
            You can confirm and change the current max number of threads by
         
     | 
| 
      
 189 
     | 
    
         
            +
            :doc:`thread_limit`.
         
     | 
| 
      
 190 
     | 
    
         
            +
             
     | 
| 
      
 191 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 192 
     | 
    
         
            +
            .. thread_limit 4
         
     | 
| 
      
 193 
     | 
    
         
            +
             
     | 
| 
      
 194 
     | 
    
         
            +
            The feature is used in the following case:
         
     | 
| 
      
 195 
     | 
    
         
            +
             
     | 
| 
      
 196 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 197 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/decreases_used_resources_close_temporary_opened_objects.log
         
     | 
| 
      
 198 
     | 
    
         
            +
            .. table_create Entries TABLE_NO_KEY
         
     | 
| 
      
 199 
     | 
    
         
            +
            .. thread_limit 1
         
     | 
| 
      
 200 
     | 
    
         
            +
            .. table_remove Entries
         
     | 
| 
      
 201 
     | 
    
         
            +
             
     | 
| 
      
 202 
     | 
    
         
            +
            The feature isn't used in the following case:
         
     | 
| 
      
 203 
     | 
    
         
            +
             
     | 
| 
      
 204 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 205 
     | 
    
         
            +
            .. include:: ../../example/reference/commands/table_remove/decreases_used_resources_close_temporary_opened_objects.log
         
     | 
| 
      
 206 
     | 
    
         
            +
            .. table_create Entries TABLE_NO_KEY
         
     | 
| 
      
 207 
     | 
    
         
            +
            .. thread_limit 2
         
     | 
| 
      
 208 
     | 
    
         
            +
            .. table_remove Entries
         
     | 
| 
       30 
209 
     | 
    
         | 
| 
       31 
210 
     | 
    
         
             
            Parameters
         
     | 
| 
       32 
211 
     | 
    
         
             
            ----------
         
     | 
| 
       33 
212 
     | 
    
         | 
| 
      
 213 
     | 
    
         
            +
            This section describes all parameters.
         
     | 
| 
      
 214 
     | 
    
         
            +
             
     | 
| 
      
 215 
     | 
    
         
            +
            Required parameters
         
     | 
| 
      
 216 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 217 
     | 
    
         
            +
             
     | 
| 
      
 218 
     | 
    
         
            +
            There is only one required parameters.
         
     | 
| 
      
 219 
     | 
    
         
            +
             
     | 
| 
      
 220 
     | 
    
         
            +
            .. _table-remove-name:
         
     | 
| 
      
 221 
     | 
    
         
            +
             
     | 
| 
       34 
222 
     | 
    
         
             
            ``name``
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
      
 223 
     | 
    
         
            +
            """"""""
         
     | 
| 
      
 224 
     | 
    
         
            +
             
     | 
| 
      
 225 
     | 
    
         
            +
            Specifies the table name to be removed.
         
     | 
| 
      
 226 
     | 
    
         
            +
             
     | 
| 
      
 227 
     | 
    
         
            +
            See :ref:`table-remove-usage` how to use this parameter.
         
     | 
| 
       36 
228 
     | 
    
         | 
| 
       37 
229 
     | 
    
         
             
            Return value
         
     | 
| 
       38 
230 
     | 
    
         
             
            ------------
         
     | 
| 
       39 
231 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
            ::
         
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             [成功かどうかのフラグ]
         
     | 
| 
      
 232 
     | 
    
         
            +
            The command returns ``true`` as body on success such as::
         
     | 
| 
       43 
233 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 234 
     | 
    
         
            +
              [HEADER, true]
         
     | 
| 
       45 
235 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
      
 236 
     | 
    
         
            +
            If the command fails, error details are in ``HEADER``.
         
     | 
| 
       47 
237 
     | 
    
         | 
| 
      
 238 
     | 
    
         
            +
            See :doc:`/reference/command/output_format` for ``HEADER``.
         
     | 
| 
         @@ -12,6 +12,8 @@ highlight_html 
     | 
|
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
               This feature is experimental. API will be changed.
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
      
 15 
     | 
    
         
            +
            .. versionadded:: 4.0.5
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
       15 
17 
     | 
    
         
             
            Summary
         
     | 
| 
       16 
18 
     | 
    
         
             
            -------
         
     | 
| 
       17 
19 
     | 
    
         | 
| 
         @@ -25,9 +27,9 @@ For example, a tagged text of ``I am a groonga user. <3`` for keyword 
     | 
|
| 
       25 
27 
     | 
    
         
             
            Syntax
         
     | 
| 
       26 
28 
     | 
    
         
             
            ------
         
     | 
| 
       27 
29 
     | 
    
         | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
      
 30 
     | 
    
         
            +
            This function has only one parameter::
         
     | 
| 
       29 
31 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
              highlight_html( 
     | 
| 
      
 32 
     | 
    
         
            +
              highlight_html(text)
         
     | 
| 
       31 
33 
     | 
    
         | 
| 
       32 
34 
     | 
    
         
             
            Usage
         
     | 
| 
       33 
35 
     | 
    
         
             
            -----
         
     | 
| 
         @@ -48,8 +50,6 @@ Here are a schema definition and sample data to show usage. 
     | 
|
| 
       48 
50 
     | 
    
         
             
            ``highlight_html`` can be used in only ``--output_columns`` in
         
     | 
| 
       49 
51 
     | 
    
         
             
            :doc:`/reference/commands/select`.
         
     | 
| 
       50 
52 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
            ``highlight_html`` requires Groonga 4.0.5 or later.
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
53 
     | 
    
         
             
            ``highlight_html`` requires :doc:`/reference/command/command_version` 2
         
     | 
| 
       54 
54 
     | 
    
         
             
            or later.
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
         @@ -79,12 +79,22 @@ You can specify string literal instead of column. 
     | 
|
| 
       79 
79 
     | 
    
         
             
            Parameters
         
     | 
| 
       80 
80 
     | 
    
         
             
            ----------
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
      
 82 
     | 
    
         
            +
            This section describes all parameters.
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
            Required parameters
         
     | 
| 
      
 85 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
            There is only one required parameters.
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
            ``text``
         
     | 
| 
      
 90 
     | 
    
         
            +
            """"""""
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
            The text to be highlighted in HTML.
         
     | 
| 
       83 
93 
     | 
    
         | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
      
 94 
     | 
    
         
            +
            Optional parameters
         
     | 
| 
      
 95 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       86 
96 
     | 
    
         | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
      
 97 
     | 
    
         
            +
            There is no optional parameters.
         
     | 
| 
       88 
98 
     | 
    
         | 
| 
       89 
99 
     | 
    
         
             
            Return value
         
     | 
| 
       90 
100 
     | 
    
         
             
            ------------
         
     | 
| 
         @@ -612,6 +612,8 @@ Comparison operators 
     | 
|
| 
       612 
612 
     | 
    
         | 
| 
       613 
613 
     | 
    
         
             
            Here are comparison operators.
         
     | 
| 
       614 
614 
     | 
    
         | 
| 
      
 615 
     | 
    
         
            +
            .. _script-syntax-equal-operator:
         
     | 
| 
      
 616 
     | 
    
         
            +
             
     | 
| 
       615 
617 
     | 
    
         
             
            Equal operator
         
     | 
| 
       616 
618 
     | 
    
         
             
            """"""""""""""
         
     | 
| 
       617 
619 
     | 
    
         | 
| 
         @@ -864,7 +866,7 @@ Script syntax adds the original binary opearators to ECMAScript 
     | 
|
| 
       864 
866 
     | 
    
         
             
            syntax. They operate search specific operations. They are starts with
         
     | 
| 
       865 
867 
     | 
    
         
             
            ``@`` or ``*``.
         
     | 
| 
       866 
868 
     | 
    
         | 
| 
       867 
     | 
    
         
            -
            .. _script-syntax-match- 
     | 
| 
      
 869 
     | 
    
         
            +
            .. _script-syntax-match-operator:
         
     | 
| 
       868 
870 
     | 
    
         | 
| 
       869 
871 
     | 
    
         
             
            Match operator
         
     | 
| 
       870 
872 
     | 
    
         
             
            ^^^^^^^^^^^^^^
         
     | 
| 
         @@ -28,6 +28,27 @@ In some cases, pattern match by regular expression can be evaluated 
     | 
|
| 
       28 
28 
     | 
    
         
             
            by index. It's very fast rather than sequential search. Patterns
         
     | 
| 
       29 
29 
     | 
    
         
             
            that can be evaluated by index are described later.
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
            .. versionadded:: 5.0.7
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
               Groonga normalizes match target text by :ref:`normalizer-auto`
         
     | 
| 
      
 34 
     | 
    
         
            +
               normalizer when Groonga doesn't use index for regular expression
         
     | 
| 
      
 35 
     | 
    
         
            +
               search. It means that regular expression that has upper case such
         
     | 
| 
      
 36 
     | 
    
         
            +
               as ``Groonga`` never match. Because :ref:`normalizer-auto`
         
     | 
| 
      
 37 
     | 
    
         
            +
               normalizer normalizes all alphabets to lower case. ``groonga``
         
     | 
| 
      
 38 
     | 
    
         
            +
               matches to both ``Groonga`` and ``groonga``.
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
               Why is match target text normalizered? It's for increasing index
         
     | 
| 
      
 41 
     | 
    
         
            +
               search-able patterns. If Groonga doesn't normalize match target
         
     | 
| 
      
 42 
     | 
    
         
            +
               text, you need to write complex regular expression such as
         
     | 
| 
      
 43 
     | 
    
         
            +
               ``[Dd][Ii][Ss][Kk]`` and ``(?i)disk`` for case-insensitive match.
         
     | 
| 
      
 44 
     | 
    
         
            +
               Groonga can't use index against complex regular expression.
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
               If you write ``disk`` regular expression for case-insensitive
         
     | 
| 
      
 47 
     | 
    
         
            +
               match, Groonga can search the pattern with index. It's fast.
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
               You may feel the behavior is strange. But fast search based on this
         
     | 
| 
      
 50 
     | 
    
         
            +
               behavior will help you.
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
       31 
52 
     | 
    
         
             
            There are many regular expression syntaxes. Groonga uses the same
         
     | 
| 
       32 
53 
     | 
    
         
             
            syntax in Ruby. Because Groonga uses the same regular expression
         
     | 
| 
       33 
54 
     | 
    
         
             
            engine as Ruby. The regular expression engine is `Onigmo
         
     | 
| 
         @@ -39,8 +60,13 @@ means the end of text in other most regular expression syntaxes. The regular 
     | 
|
| 
       39 
60 
     | 
    
         
             
            expression syntax in Ruby uses ``\A`` for the beginning of text and
         
     | 
| 
       40 
61 
     | 
    
         
             
            ``\z`` for the end of text.
         
     | 
| 
       41 
62 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
      
 63 
     | 
    
         
            +
            .. versionadded:: 5.0.6
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
               Groonga uses multiline mode since 5.0.6. It means that ``.``
         
     | 
| 
      
 66 
     | 
    
         
            +
               matches on ``\n``.
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
               But it's meaningless. Because ``\n`` is removed by
         
     | 
| 
      
 69 
     | 
    
         
            +
               :ref:`normalizer-auto` normalizer.
         
     | 
| 
       44 
70 
     | 
    
         | 
| 
       45 
71 
     | 
    
         
             
            You can use regular expression in :ref:`select-query` and
         
     | 
| 
       46 
72 
     | 
    
         
             
            :ref:`select-filter` options of :doc:`/reference/commands/select`
         
     | 
| 
         @@ -73,7 +99,7 @@ Here is an example that uses regular expression in 
     | 
|
| 
       73 
99 
     | 
    
         | 
| 
       74 
100 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       75 
101 
     | 
    
         
             
            .. include:: ../example/reference/regular_expression/usage_query.log
         
     | 
| 
       76 
     | 
    
         
            -
            .. select Logs --query 'message:~" 
     | 
| 
      
 102 
     | 
    
         
            +
            .. select Logs --query 'message:~"disk (space|full)"'
         
     | 
| 
       77 
103 
     | 
    
         | 
| 
       78 
104 
     | 
    
         
             
            Here is an example that uses regular expression in
         
     | 
| 
       79 
105 
     | 
    
         
             
            :ref:`select-filter`. You need to use
         
     | 
| 
         @@ -81,7 +107,7 @@ Here is an example that uses regular expression in 
     | 
|
| 
       81 
107 
     | 
    
         | 
| 
       82 
108 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       83 
109 
     | 
    
         
             
            .. include:: ../example/reference/regular_expression/usage_filter.log
         
     | 
| 
       84 
     | 
    
         
            -
            .. select Logs --filter 'message @~ " 
     | 
| 
      
 110 
     | 
    
         
            +
            .. select Logs --filter 'message @~ "disk (space|full)"'
         
     | 
| 
       85 
111 
     | 
    
         | 
| 
       86 
112 
     | 
    
         
             
            Index
         
     | 
| 
       87 
113 
     | 
    
         
             
            -----
         
     | 
| 
         @@ -295,11 +321,11 @@ Character class 
     | 
|
| 
       295 
321 
     | 
    
         
             
            Character class syntax is ``[...]``. Character class is useful to
         
     | 
| 
       296 
322 
     | 
    
         
             
            specify multiple characters to be matched.
         
     | 
| 
       297 
323 
     | 
    
         | 
| 
       298 
     | 
    
         
            -
            For example, ``[ 
     | 
| 
      
 324 
     | 
    
         
            +
            For example, ``[12]`` matches ``1`` or ``2``.
         
     | 
| 
       299 
325 
     | 
    
         | 
| 
       300 
326 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       301 
327 
     | 
    
         
             
            .. include:: ../example/reference/regular_expression/character_class_characters.log
         
     | 
| 
       302 
     | 
    
         
            -
            .. select Logs --filter 'message @~ "[ 
     | 
| 
      
 328 
     | 
    
         
            +
            .. select Logs --filter 'message @~ "host[12]"'
         
     | 
| 
       303 
329 
     | 
    
         | 
| 
       304 
330 
     | 
    
         
             
            You can specify characters by range. For example, ``[0-9]`` matches
         
     | 
| 
       305 
331 
     | 
    
         
             
            one digit.
         
     | 
| 
         @@ -26,9 +26,9 @@ cases: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                the technique.
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            Score function can solve these cases. For example, `TF-IDF
         
     | 
| 
       29 
     | 
    
         
            -
            < 
     | 
| 
      
 29 
     | 
    
         
            +
            <https://en.wikipedia.org/wiki/Tf%E2%80%93idf>`_ (term
         
     | 
| 
       30 
30 
     | 
    
         
             
            frequency-inverse document frequency) can solve the first case.
         
     | 
| 
       31 
     | 
    
         
            -
            `Okapi BM25 < 
     | 
| 
      
 31 
     | 
    
         
            +
            `Okapi BM25 <https://en.wikipedia.org/wiki/Okapi_BM25>`_ can solve the
         
     | 
| 
       32 
32 
     | 
    
         
             
            second case. But their are slower than TF.
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
            Groonga provides TF-IDF based scorer as
         
     | 
| 
         @@ -177,7 +177,7 @@ scorer, ``_score`` is ``4``. But the actual ``_score`` is ``2``. 
     | 
|
| 
       177 
177 
     | 
    
         
             
            Because the scorer used in the ``select`` command limits the maximum
         
     | 
| 
       178 
178 
     | 
    
         
             
            score value to ``2``.
         
     | 
| 
       179 
179 
     | 
    
         | 
| 
       180 
     | 
    
         
            -
            Here is an example that uses multiple scorers 
     | 
| 
      
 180 
     | 
    
         
            +
            Here is an example that uses multiple scorers:
         
     | 
| 
       181 
181 
     | 
    
         | 
| 
       182 
182 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       183 
183 
     | 
    
         
             
            .. include:: ../example/reference/scorer/usage_multiple_scorers.log
         
     | 
| 
         @@ -192,7 +192,7 @@ The ``--match_columns`` uses ``scorer_tf_idf(title)`` and 
     | 
|
| 
       192 
192 
     | 
    
         | 
| 
       193 
193 
     | 
    
         
             
            You can use the default scorer and custom scorer in the same
         
     | 
| 
       194 
194 
     | 
    
         
             
            ``--match_columns``. You can use the default scorer by just specifying
         
     | 
| 
       195 
     | 
    
         
            -
            a match column 
     | 
| 
      
 195 
     | 
    
         
            +
            a match column:
         
     | 
| 
       196 
196 
     | 
    
         | 
| 
       197 
197 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       198 
198 
     | 
    
         
             
            .. include:: ../example/reference/scorer/usage_default_and_custom_scorers.log
         
     | 
    
        data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt
    CHANGED
    
    | 
         @@ -19,4 +19,118 @@ Summary 
     | 
|
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
            ``scorer_tf_at_most`` is a scorer based on TF (term frequency).
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
      
 22 
     | 
    
         
            +
            TF based scorer includes TF-IDF based scorer has a problem for the
         
     | 
| 
      
 23 
     | 
    
         
            +
            following case:
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            If document contains many same keywords such as "They are keyword,
         
     | 
| 
      
 26 
     | 
    
         
            +
            keyword, keyword ... and keyword", the document has high score. It's
         
     | 
| 
      
 27 
     | 
    
         
            +
            not expected. Search engine spammer may use the technique.
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            ``scorer_tf_at_most`` is a TF based scorer but it can solve the case.
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            ``scorer_tf_at_most`` limits the maximum score value. It means that
         
     | 
| 
      
 32 
     | 
    
         
            +
            ``scorer_tf_at_most`` limits effect of a match.
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            If document contains many same keywords such as "They are keyword,
         
     | 
| 
      
 35 
     | 
    
         
            +
            keyword, keyword ... and keyword", ``scorer_tf_at_most(column, 2.0)``
         
     | 
| 
      
 36 
     | 
    
         
            +
            returns at most ``2`` as score.
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            .. include:: ../scoring_note.rst
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            Syntax
         
     | 
| 
      
 41 
     | 
    
         
            +
            ------
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            This scorer has two parameters::
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
              scorer_tf_at_most(column, max)
         
     | 
| 
      
 46 
     | 
    
         
            +
              scorer_tf_at_most(index, max)
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
            Usage
         
     | 
| 
      
 49 
     | 
    
         
            +
            -----
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            This section describes how to use this scorer.
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
            Here are a schema definition and sample data to show usage.
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            Sample schema:
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 58 
     | 
    
         
            +
            .. include:: ../example/reference/scorers/scorer_tf_at_most/usage_setup_schema.log
         
     | 
| 
      
 59 
     | 
    
         
            +
            .. table_create Logs TABLE_NO_KEY
         
     | 
| 
      
 60 
     | 
    
         
            +
            .. column_create Logs message COLUMN_SCALAR Text
         
     | 
| 
      
 61 
     | 
    
         
            +
            ..
         
     | 
| 
      
 62 
     | 
    
         
            +
            .. table_create Terms TABLE_PAT_KEY ShortText \
         
     | 
| 
      
 63 
     | 
    
         
            +
            ..   --default_tokenizer TokenBigram \
         
     | 
| 
      
 64 
     | 
    
         
            +
            ..   --normalizer NormalizerAuto
         
     | 
| 
      
 65 
     | 
    
         
            +
            .. column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
            Sample data:
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 70 
     | 
    
         
            +
            .. include:: ../example/reference/scorers/scorer_tf_at_most/usage_setup_data.log
         
     | 
| 
      
 71 
     | 
    
         
            +
            .. load --table Logs
         
     | 
| 
      
 72 
     | 
    
         
            +
            .. [
         
     | 
| 
      
 73 
     | 
    
         
            +
            .. {"message": "Notice"},
         
     | 
| 
      
 74 
     | 
    
         
            +
            .. {"message": "Notice Notice"},
         
     | 
| 
      
 75 
     | 
    
         
            +
            .. {"message": "Notice Notice Notice"},
         
     | 
| 
      
 76 
     | 
    
         
            +
            .. {"message": "Notice Notice Notice Notice"},
         
     | 
| 
      
 77 
     | 
    
         
            +
            .. {"message": "Notice Notice Notice Notice Notice"}
         
     | 
| 
      
 78 
     | 
    
         
            +
            .. ]
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
            You specify ``scorer_tf_at_most`` in :ref:`select-match-columns` like
         
     | 
| 
      
 81 
     | 
    
         
            +
            the following:
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 84 
     | 
    
         
            +
            .. include:: ../example/reference/scorers/scorer_tf_at_most/usage_no_weight.log
         
     | 
| 
      
 85 
     | 
    
         
            +
            .. select Logs \
         
     | 
| 
      
 86 
     | 
    
         
            +
            ..   --match_columns "scorer_tf_at_most(message, 3.0)" \
         
     | 
| 
      
 87 
     | 
    
         
            +
            ..   --query "Notice" \
         
     | 
| 
      
 88 
     | 
    
         
            +
            ..   --output_columns "message, _score" \
         
     | 
| 
      
 89 
     | 
    
         
            +
            ..   --sortby "-_score"
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            If a document has three or more ``Notice`` terms, its score is ``3``.
         
     | 
| 
      
 92 
     | 
    
         
            +
            Because the ``select`` specify ``3.0`` as the max score.
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
            If a document has one or two ``Notice`` terms, its score is ``1`` or
         
     | 
| 
      
 95 
     | 
    
         
            +
            ``2``. Because the score is less than ``3.0`` specified as the max score.
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
            Parameters
         
     | 
| 
      
 98 
     | 
    
         
            +
            ----------
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
            This section describes all parameters.
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            Required parameters
         
     | 
| 
      
 103 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
            There is only one required parameters.
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
            ``column``
         
     | 
| 
      
 108 
     | 
    
         
            +
            """"""""""
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
            The data column that is match target. The data column must be indexed.
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            ``index``
         
     | 
| 
      
 113 
     | 
    
         
            +
            """""""""
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
            The index column to be used for search.
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
            Optional parameters
         
     | 
| 
      
 118 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 119 
     | 
    
         
            +
             
     | 
| 
      
 120 
     | 
    
         
            +
            There is no optional parameters.
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
            Return value
         
     | 
| 
      
 123 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
            This scorer returns score as :ref:`builtin-type-float`.
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
            :doc:`/reference/commands/select` returns ``_score`` as ``Int32`` not
         
     | 
| 
      
 128 
     | 
    
         
            +
            ``Float``. Because it casts to ``Int32`` from ``Float`` for keeping
         
     | 
| 
      
 129 
     | 
    
         
            +
            backward compatibility.
         
     | 
| 
      
 130 
     | 
    
         
            +
             
     | 
| 
      
 131 
     | 
    
         
            +
            Score is computed as TF with limitation.
         
     | 
| 
      
 132 
     | 
    
         
            +
             
     | 
| 
      
 133 
     | 
    
         
            +
            See also
         
     | 
| 
      
 134 
     | 
    
         
            +
            --------
         
     | 
| 
      
 135 
     | 
    
         
            +
             
     | 
| 
      
 136 
     | 
    
         
            +
            * :doc:`../scorer`
         
     |