rroonga 5.0.5-x64-mingw32 → 5.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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_seh-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/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/build.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/development.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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.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/development.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/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/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- 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/news.html +190 -61
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- 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/api.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/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/command.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/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/executables.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/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/grn_expr.html +5 -5
- 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/geolocation_search.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/output.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/query_expanders.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/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/suggest.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/reference.html +5 -5
- 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/gqtp.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/http.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/server.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/spec.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/troubleshooting.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/en/html/tutorial.html +5 -5
- 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/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/build.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/development.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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.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/development.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/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/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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/news.html +159 -64
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- 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/api.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/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/command.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/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/executables.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/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/grn_expr.html +5 -5
- 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/geolocation_search.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/output.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/query_expanders.html +5 -5
- 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/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/suggest.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/reference.html +6 -6
- 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/gqtp.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/http.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/server.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/spec.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/troubleshooting.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/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/license/groonga/README.md +7 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1078 -338
- data/vendor/local/share/man/man1/groonga.1 +1088 -218
- metadata +97 -91
- data/lib/1.9/groonga.so +0 -0
- data/vendor/local/etc/groonga/windows_event_log/provider.man +0 -38
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +0 -15
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +0 -116
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +0 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +0 -117
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.11.
|
10
|
+
<title>7.11. スコアラー — Groonga v5.0.7-264-ga2dae20ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '5.0.
|
18
|
+
VERSION: '5.0.7-264-ga2dae20',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v5.0.
|
29
|
+
<link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="7. リファレンスマニュアル" href="../reference.html" />
|
31
31
|
<link rel="next" title="7.11.3.1. scorer_tf_at_most" href="scorers/scorer_tf_at_most.html" />
|
32
32
|
<link rel="prev" title="7.10.1. QueryExpanderTSV" href="query_expanders/tsv.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="query_expanders/tsv.html" title="7.10.1. QueryExpanderTSV"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.
|
64
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
|
65
65
|
<li class="nav-item nav-item-1"><a href="../reference.html" accesskey="U">7. リファレンスマニュアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -72,52 +72,30 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="scorer">
|
75
|
-
<h1>7.11.
|
75
|
+
<h1>7.11. スコアラー<a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.11.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
78
|
-
<p>Groonga
|
79
|
-
|
80
|
-
uses the number of appeared terms. It is also known as TF (term
|
81
|
-
frequency).</p>
|
82
|
-
<p>TF is a fast score function but it's not suitable for the following
|
83
|
-
cases:</p>
|
78
|
+
<p>Groongaにはスコアー関数をカスタマイズするスコアーモジュールがあります。スコアー関数はマッチしたレコードのスコアーを計算します。デフォルトのスコアー関数は出現単語数をスコアーにします。これはTF(term frequency。単語の出現数)と呼ばれている計算方法です。</p>
|
79
|
+
<p>TFは高速なスコアー関数ですが、次のケースには適していません。</p>
|
84
80
|
<blockquote>
|
85
81
|
<div><ul class="simple">
|
86
|
-
<li>
|
87
|
-
|
88
|
-
<li
|
89
|
-
|
90
|
-
the technique.</li>
|
82
|
+
<li><p class="first">検索クエリーが「the」や「a」のように非常によく出現する単語を含んでいる。</p>
|
83
|
+
</li>
|
84
|
+
<li><p class="first">文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれている。検索エンジンのスパマーはこのテクニックを使うかもしれません。</p>
|
85
|
+
</li>
|
91
86
|
</ul>
|
92
87
|
</div></blockquote>
|
93
|
-
<p
|
94
|
-
|
95
|
-
<a class="reference external" href="http://en.wikipedia.org/wiki/Okapi_BM25">Okapi BM25</a> can solve the
|
96
|
-
second case. But their are slower than TF.</p>
|
97
|
-
<p>Groonga provides TF-IDF based scorer as
|
98
|
-
<a class="reference internal" href="scorers/scorer_tf_idf.html"><em>scorer_tf_idf</em></a> but doesn't provide Okapi BM25
|
99
|
-
based scorer yet.</p>
|
100
|
-
<table class="docutils field-list" frame="void" rules="none">
|
101
|
-
<col class="field-name" />
|
102
|
-
<col class="field-body" />
|
103
|
-
<tbody valign="top">
|
104
|
-
<tr class="field-odd field"><th class="field-name">orphan:</th><td class="field-body"></td>
|
105
|
-
</tr>
|
106
|
-
</tbody>
|
107
|
-
</table>
|
88
|
+
<p>スコアー関数でこれらのケースを解決できます。例えば、 <a class="reference external" href="https://ja.wikipedia.org/wiki/Tf-idf">TF-IDF</a> (term frequency-inverse document frequency。その文書中での単語の出現数を、文書全体での単語の出現数で割ったもの)は最初のケースを解決できます。 <a class="reference external" href="https://en.wikipedia.org/wiki/Okapi_BM25">Okapi BM25</a> は2番目のケースを解決できます。しかし、これらはTFより遅いです。</p>
|
89
|
+
<p>Groongaは <a class="reference internal" href="scorers/scorer_tf_idf.html"><em>scorer_tf_idf</em></a> としてTF-IDFベースのスコアラーを提供しています。しかし、Okapi BM25ベースのスコアラーはまだ提供していません。</p>
|
108
90
|
<blockquote id="note">
|
109
|
-
<div><p>
|
110
|
-
|
111
|
-
|
112
|
-
<p>For example, Google uses <a class="reference external" href="http://en.wikipedia.org/wiki/PageRank">PageRank</a> for scoring. You may be
|
113
|
-
able to use data type ("title" data are important rather than
|
114
|
-
"memo" data), tag, geolocation and so on.</p>
|
115
|
-
<p>Please stop to think about only score function for scoring.</p>
|
91
|
+
<div><p>スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。</p>
|
92
|
+
<p>たとえば、Googleはスコアーの計算に <a class="reference external" href="https://ja.wikipedia.org/wiki/%E3%83%9A%E3%83%BC%E3%82%B8%E3%83%A9%E3%83%B3%E3%82%AF">ページランク</a> を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。</p>
|
93
|
+
<p>スコアーの計算をスコアー関数だけで考えることはやめましょう。</p>
|
116
94
|
</div></blockquote>
|
117
95
|
</div>
|
118
96
|
<div class="section" id="usage">
|
119
97
|
<h2>7.11.2. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
120
|
-
<p
|
98
|
+
<p>このセクションではスコアラーの使い方について説明します。</p>
|
121
99
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
122
100
|
<p>サンプルスキーマ:</p>
|
123
101
|
<p>実行例:</p>
|
@@ -181,21 +159,19 @@ column_create Terms content_index COLUMN_INDEX|WITH_POSITION Memos content
|
|
181
159
|
</pre></div>
|
182
160
|
</div>
|
183
161
|
<p><a class="reference internal" href="commands/select.html#select-match-columns"><span>match_columns</span></a> の中でscore関数を使うことができます。次に構文を示します。</p>
|
184
|
-
<p
|
185
|
-
<a class="reference internal" href="scorers/scorer_tf_idf.html"><em>scorer_tf_idf</em></a>:</p>
|
162
|
+
<p><a class="reference internal" href="scorers/scorer_tf_idf.html"><em>scorer_tf_idf</em></a> のように、いくつかのスコアー関数には引数はありません。:</p>
|
186
163
|
<div class="highlight-none"><div class="highlight"><pre>SCORE_FUNCTION(COLUMN)
|
187
164
|
</pre></div>
|
188
165
|
</div>
|
189
|
-
<p
|
166
|
+
<p>重みを指定することができます。:</p>
|
190
167
|
<div class="highlight-none"><div class="highlight"><pre>SCORE_FUNCTION(COLUMN) * WEIGHT
|
191
168
|
</pre></div>
|
192
169
|
</div>
|
193
|
-
<p
|
194
|
-
<a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a>:</p>
|
170
|
+
<p><a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> のように引数が必要なスコアー関数もあります。:</p>
|
195
171
|
<div class="highlight-none"><div class="highlight"><pre>SCORE_FUNCTION(COLUMN, ARGUMENT1, ARGUMENT2, ...)
|
196
172
|
</pre></div>
|
197
173
|
</div>
|
198
|
-
<p
|
174
|
+
<p>重みを指定することができます。:</p>
|
199
175
|
<div class="highlight-none"><div class="highlight"><pre>SCORE_FUNCTION(COLUMN, ARGUMENT1, ARGUMENT2, ...) * WEIGHT
|
200
176
|
</pre></div>
|
201
177
|
</div>
|
@@ -247,10 +223,7 @@ column_create Terms content_index COLUMN_INDEX|WITH_POSITION Memos content
|
|
247
223
|
# ]
|
248
224
|
</pre></div>
|
249
225
|
</div>
|
250
|
-
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code>
|
251
|
-
<code class="docutils literal"><span class="pre">Groonga</span></code>. If you use TF based scorer that is the default scorer,
|
252
|
-
<code class="docutils literal"><span class="pre">_score</span></code> is <code class="docutils literal"><span class="pre">4</span></code>. But the actual <code class="docutils literal"><span class="pre">_score</span></code> is <code class="docutils literal"><span class="pre">2</span></code>. Because the
|
253
|
-
<code class="docutils literal"><span class="pre">select</span></code> command uses TF-IDF based scorer <code class="docutils literal"><span class="pre">scorer_tf_idf()</span></code>.</p>
|
226
|
+
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code> には <code class="docutils literal"><span class="pre">Groonga</span></code> が4つ含まれています。デフォルトのTFベースのスコアラーを使うと、 <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">4</span></code> です。しかし、実際は <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">2</span></code> になります。なぜなら、この <code class="docutils literal"><span class="pre">select</span></code> コマンドはTF-IDFベースの <code class="docutils literal"><span class="pre">scorer_tf_idf()</span></code> スコアラーを使っているからです。</p>
|
254
227
|
<p>以下は重みを使った例です。</p>
|
255
228
|
<p>実行例:</p>
|
256
229
|
<div class="highlight-none"><div class="highlight"><pre>select Memos \
|
@@ -292,12 +265,8 @@ column_create Terms content_index COLUMN_INDEX|WITH_POSITION Memos content
|
|
292
265
|
# ]
|
293
266
|
</pre></div>
|
294
267
|
</div>
|
295
|
-
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code>
|
296
|
-
<
|
297
|
-
doesn't specify weight.</p>
|
298
|
-
<p>Here is an example that uses scorer that requires one
|
299
|
-
argument. <a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> scorer requires
|
300
|
-
one argument. You can limit TF score by the scorer.</p>
|
268
|
+
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code> の <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">22</span></code> です。重みを指定していない前の例では <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">2</span></code> でした。</p>
|
269
|
+
<p>以下は必ず引数を1つ指定しなければいけないスコアラーを使う例です。 <a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> スコアラーには引数を1つ指定しなければいけません。このスコアラーを使うと、TFのスコアーの最大値を制限することができます。</p>
|
301
270
|
<p>実行例:</p>
|
302
271
|
<div class="highlight-none"><div class="highlight"><pre>select Memos \
|
303
272
|
--match_columns "scorer_tf_at_most(content, 2.0)" \
|
@@ -338,38 +307,103 @@ one argument. You can limit TF score by the scorer.</p>
|
|
338
307
|
# ]
|
339
308
|
</pre></div>
|
340
309
|
</div>
|
341
|
-
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code>
|
342
|
-
<code class="docutils literal"><span class="pre">Groonga</span></code>. If you use normal TF based scorer that is the default
|
343
|
-
scorer, <code class="docutils literal"><span class="pre">_score</span></code> is <code class="docutils literal"><span class="pre">4</span></code>. But the actual <code class="docutils literal"><span class="pre">_score</span></code> is <code class="docutils literal"><span class="pre">2</span></code>.
|
344
|
-
Because the scorer used in the <code class="docutils literal"><span class="pre">select</span></code> command limits the maximum
|
345
|
-
score value to <code class="docutils literal"><span class="pre">2</span></code>.</p>
|
310
|
+
<p><code class="docutils literal"><span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga!</span> <span class="pre">Groonga</span> <span class="pre">is</span> <span class="pre">very</span> <span class="pre">fast!</span></code> は <code class="docutils literal"><span class="pre">Groonga</span></code> を4つ含んでいます。もし、デフォルトのスコアラーである標準のTFベースのスコアラーを使っていた場合、 <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">4</span></code> になります。しかし、実際の <code class="docutils literal"><span class="pre">_score</span></code> は <code class="docutils literal"><span class="pre">2</span></code> です。なぜなら、この <code class="docutils literal"><span class="pre">select</span></code> コマンドが使っているスコアラーは最大スコアーを <code class="docutils literal"><span class="pre">2</span></code> に制限しているからです。</p>
|
346
311
|
<p>以下は複数のスコアラーを使う例です。</p>
|
347
|
-
<
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
312
|
+
<p>実行例:</p>
|
313
|
+
<div class="highlight-none"><div class="highlight"><pre>select Memos \
|
314
|
+
--match_columns "scorer_tf_idf(title) || scorer_tf_at_most(content, 2.0)" \
|
315
|
+
--query "Groonga" \
|
316
|
+
--output_columns "title, content, _score" \
|
317
|
+
--sortby "-_score"
|
318
|
+
# [
|
319
|
+
# [
|
320
|
+
# 0,
|
321
|
+
# 1337566253.89858,
|
322
|
+
# 0.000355720520019531
|
323
|
+
# ],
|
324
|
+
# [
|
325
|
+
# [
|
326
|
+
# [
|
327
|
+
# 2
|
328
|
+
# ],
|
329
|
+
# [
|
330
|
+
# [
|
331
|
+
# "title",
|
332
|
+
# "ShortText"
|
333
|
+
# ],
|
334
|
+
# [
|
335
|
+
# "content",
|
336
|
+
# "Text"
|
337
|
+
# ],
|
338
|
+
# [
|
339
|
+
# "_score",
|
340
|
+
# "Int32"
|
341
|
+
# ]
|
342
|
+
# ],
|
343
|
+
# [
|
344
|
+
# "Groonga is fast",
|
345
|
+
# "Groonga! Groonga! Groonga! Groonga is very fast!",
|
346
|
+
# 3
|
347
|
+
# ],
|
348
|
+
# [
|
349
|
+
# "Groonga is easy",
|
350
|
+
# "Groonga is very easy full text search engine!",
|
351
|
+
# 2
|
352
|
+
# ]
|
353
|
+
# ]
|
354
|
+
# ]
|
355
|
+
# ]
|
354
356
|
</pre></div>
|
355
357
|
</div>
|
356
|
-
<p
|
357
|
-
<
|
358
|
-
<p>
|
359
|
-
<
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
358
|
+
<p>この <code class="docutils literal"><span class="pre">--match_columns</span></code> は <code class="docutils literal"><span class="pre">scorer_tf_idf(title)</span></code> と <code class="docutils literal"><span class="pre">scorer_tf_at_most(content,</span> <span class="pre">2.0)</span></code> を使っています。 <code class="docutils literal"><span class="pre">_score</span></code> の値はこれら2つの値の合計になります。</p>
|
359
|
+
<p>同じ <code class="docutils literal"><span class="pre">--match_columns</span></code> の中でデフォルトのスコアラーとカスタムスコアラーを使うことができます。単にマッチ対象のカラムを指定するとデフォルトのスコアラーを使います。</p>
|
360
|
+
<p>実行例:</p>
|
361
|
+
<div class="highlight-none"><div class="highlight"><pre>select Memos \
|
362
|
+
--match_columns "title || scorer_tf_at_most(content, 2.0)" \
|
363
|
+
--query "Groonga" \
|
364
|
+
--output_columns "title, content, _score" \
|
365
|
+
--sortby "-_score"
|
366
|
+
# [
|
367
|
+
# [
|
368
|
+
# 0,
|
369
|
+
# 1337566253.89858,
|
370
|
+
# 0.000355720520019531
|
371
|
+
# ],
|
372
|
+
# [
|
373
|
+
# [
|
374
|
+
# [
|
375
|
+
# 2
|
376
|
+
# ],
|
377
|
+
# [
|
378
|
+
# [
|
379
|
+
# "title",
|
380
|
+
# "ShortText"
|
381
|
+
# ],
|
382
|
+
# [
|
383
|
+
# "content",
|
384
|
+
# "Text"
|
385
|
+
# ],
|
386
|
+
# [
|
387
|
+
# "_score",
|
388
|
+
# "Int32"
|
389
|
+
# ]
|
390
|
+
# ],
|
391
|
+
# [
|
392
|
+
# "Groonga is fast",
|
393
|
+
# "Groonga! Groonga! Groonga! Groonga is very fast!",
|
394
|
+
# 3
|
395
|
+
# ],
|
396
|
+
# [
|
397
|
+
# "Groonga is easy",
|
398
|
+
# "Groonga is very easy full text search engine!",
|
399
|
+
# 2
|
400
|
+
# ]
|
401
|
+
# ]
|
402
|
+
# ]
|
403
|
+
# ]
|
368
404
|
</pre></div>
|
369
405
|
</div>
|
370
|
-
<p
|
371
|
-
<a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> for
|
372
|
-
<code class="docutils literal"><span class="pre">content</span></code>. <code class="docutils literal"><span class="pre">_score</span></code> value is sum of them.</p>
|
406
|
+
<p>この <code class="docutils literal"><span class="pre">--match_columns</span></code> は <code class="docutils literal"><span class="pre">title</span></code> にはデフォルトのスコアラー(TF)を使い、 <code class="docutils literal"><span class="pre">content</span></code> には <a class="reference internal" href="scorers/scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> を使います。 <code class="docutils literal"><span class="pre">_score</span></code> の値はこれらのスコアラーの結果の合計になります。</p>
|
373
407
|
</div>
|
374
408
|
<div class="section" id="built-in-scorers">
|
375
409
|
<h2>7.11.3. 組み込みスコアラー<a class="headerlink" href="#built-in-scorers" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
@@ -391,7 +425,7 @@ a match column:</p>
|
|
391
425
|
<div class="sphinxsidebarwrapper">
|
392
426
|
<h3><a href="../index.html">目次</a></h3>
|
393
427
|
<ul>
|
394
|
-
<li><a class="reference internal" href="#">7.11.
|
428
|
+
<li><a class="reference internal" href="#">7.11. スコアラー</a><ul>
|
395
429
|
<li><a class="reference internal" href="#summary">7.11.1. 概要</a></li>
|
396
430
|
<li><a class="reference internal" href="#usage">7.11.2. 使い方</a></li>
|
397
431
|
<li><a class="reference internal" href="#built-in-scorers">7.11.3. 組み込みスコアラー</a></li>
|
@@ -441,7 +475,7 @@ a match column:</p>
|
|
441
475
|
<li class="right" >
|
442
476
|
<a href="query_expanders/tsv.html" title="7.10.1. QueryExpanderTSV"
|
443
477
|
>前へ</a> |</li>
|
444
|
-
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.
|
478
|
+
<li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
|
445
479
|
<li class="nav-item nav-item-1"><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
446
480
|
</ul>
|
447
481
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.11.3.1. scorer_tf_at_most — Groonga v5.0.
|
10
|
+
<title>7.11.3.1. scorer_tf_at_most — Groonga v5.0.7-264-ga2dae20ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '5.0.
|
18
|
+
VERSION: '5.0.7-264-ga2dae20',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v5.0.
|
30
|
-
<link rel="up" title="7.11.
|
29
|
+
<link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.11. スコアラー" href="../scorer.html" />
|
31
31
|
<link rel="next" title="7.11.3.2. scorer_tf_idf" href="scorer_tf_idf.html" />
|
32
|
-
<link rel="prev" title="7.11.
|
32
|
+
<link rel="prev" title="7.11. スコアラー" href="../scorer.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -59,11 +59,11 @@
|
|
59
59
|
<a href="scorer_tf_idf.html" title="7.11.3.2. scorer_tf_idf"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="../scorer.html" title="7.11.
|
62
|
+
<a href="../scorer.html" title="7.11. スコアラー"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
|
65
65
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11.
|
66
|
+
<li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11. スコアラー</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -83,8 +83,144 @@
|
|
83
83
|
</div>
|
84
84
|
<div class="section" id="summary">
|
85
85
|
<h2>7.11.3.1.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
86
|
-
<p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code>
|
87
|
-
<p>
|
86
|
+
<p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> はTF(term frequency。単語の出現数)ベースのスコアラーです。</p>
|
87
|
+
<p>TF-IDFベースのスコアラーを含むTFベースのスコアラーは次のケースに対して適していません。</p>
|
88
|
+
<p>文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれているとその文書のスコアーが高くなってしまいます。これは意図した挙動ではありません。検索エンジンのスパマーはこのテクニックを使うかもしれません。</p>
|
89
|
+
<p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> はTFベースのスコアラーですが、このケースを解決できます。</p>
|
90
|
+
<p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> はスコアーの最大値を制限します。つまり、 <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> は1つのマッチの影響を制限することができるということです。</p>
|
91
|
+
<p>文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれていても、 <code class="docutils literal"><span class="pre">scorer_tf_at_most(column,</span> <span class="pre">2.0)</span></code> はスコアーの値として大きくても <code class="docutils literal"><span class="pre">2</span></code> しか返しません。</p>
|
92
|
+
<blockquote id="note">
|
93
|
+
<div><p>スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。</p>
|
94
|
+
<p>たとえば、Googleはスコアーの計算に <a class="reference external" href="https://ja.wikipedia.org/wiki/%E3%83%9A%E3%83%BC%E3%82%B8%E3%83%A9%E3%83%B3%E3%82%AF">ページランク</a> を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。</p>
|
95
|
+
<p>スコアーの計算をスコアー関数だけで考えることはやめましょう。</p>
|
96
|
+
</div></blockquote>
|
97
|
+
</div>
|
98
|
+
<div class="section" id="syntax">
|
99
|
+
<h2>7.11.3.1.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
100
|
+
<p>このスコアラーの引数は1つです。:</p>
|
101
|
+
<div class="highlight-none"><div class="highlight"><pre>scorer_tf_at_most(column, max)
|
102
|
+
scorer_tf_at_most(index, max)
|
103
|
+
</pre></div>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
<div class="section" id="usage">
|
107
|
+
<h2>7.11.3.1.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
108
|
+
<p>このセクションではscorerの使い方について説明します。</p>
|
109
|
+
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
110
|
+
<p>サンプルスキーマ:</p>
|
111
|
+
<p>実行例:</p>
|
112
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Logs TABLE_NO_KEY
|
113
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
114
|
+
column_create Logs message COLUMN_SCALAR Text
|
115
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
116
|
+
table_create Terms TABLE_PAT_KEY ShortText \
|
117
|
+
--default_tokenizer TokenBigram \
|
118
|
+
--normalizer NormalizerAuto
|
119
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
120
|
+
column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
|
121
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
122
|
+
</pre></div>
|
123
|
+
</div>
|
124
|
+
<p>サンプルデータ:</p>
|
125
|
+
<p>実行例:</p>
|
126
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table Logs
|
127
|
+
[
|
128
|
+
{"message": "Notice"},
|
129
|
+
{"message": "Notice Notice"},
|
130
|
+
{"message": "Notice Notice Notice"},
|
131
|
+
{"message": "Notice Notice Notice Notice"},
|
132
|
+
{"message": "Notice Notice Notice Notice Notice"}
|
133
|
+
]
|
134
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
135
|
+
</pre></div>
|
136
|
+
</div>
|
137
|
+
<p>次のように <a class="reference internal" href="../commands/select.html#select-match-columns"><span>match_columns</span></a> で <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> を指定します。</p>
|
138
|
+
<p>実行例:</p>
|
139
|
+
<div class="highlight-none"><div class="highlight"><pre>select Logs \
|
140
|
+
--match_columns "scorer_tf_at_most(message, 3.0)" \
|
141
|
+
--query "Notice" \
|
142
|
+
--output_columns "message, _score" \
|
143
|
+
--sortby "-_score"
|
144
|
+
# [
|
145
|
+
# [
|
146
|
+
# 0,
|
147
|
+
# 1337566253.89858,
|
148
|
+
# 0.000355720520019531
|
149
|
+
# ],
|
150
|
+
# [
|
151
|
+
# [
|
152
|
+
# [
|
153
|
+
# 5
|
154
|
+
# ],
|
155
|
+
# [
|
156
|
+
# [
|
157
|
+
# "message",
|
158
|
+
# "Text"
|
159
|
+
# ],
|
160
|
+
# [
|
161
|
+
# "_score",
|
162
|
+
# "Int32"
|
163
|
+
# ]
|
164
|
+
# ],
|
165
|
+
# [
|
166
|
+
# "Notice Notice Notice Notice Notice",
|
167
|
+
# 3
|
168
|
+
# ],
|
169
|
+
# [
|
170
|
+
# "Notice Notice Notice Notice",
|
171
|
+
# 3
|
172
|
+
# ],
|
173
|
+
# [
|
174
|
+
# "Notice Notice Notice",
|
175
|
+
# 3
|
176
|
+
# ],
|
177
|
+
# [
|
178
|
+
# "Notice Notice",
|
179
|
+
# 2
|
180
|
+
# ],
|
181
|
+
# [
|
182
|
+
# "Notice",
|
183
|
+
# 1
|
184
|
+
# ]
|
185
|
+
# ]
|
186
|
+
# ]
|
187
|
+
# ]
|
188
|
+
</pre></div>
|
189
|
+
</div>
|
190
|
+
<p>もし、文書が <code class="docutils literal"><span class="pre">Notice</span></code> という単語を3個以上含んでいたら、スコアーは <code class="docutils literal"><span class="pre">3</span></code> になります。なぜなら、この <code class="docutils literal"><span class="pre">select</span></code> ではスコアーの最大値を <code class="docutils literal"><span class="pre">3.0</span></code> と指定しているからです。</p>
|
191
|
+
<p>もし、文書が <code class="docutils literal"><span class="pre">Notice</span></code> という単語を1つか2つしか含んでいなかったら、スコアーは <code class="docutils literal"><span class="pre">1</span></code> か <code class="docutils literal"><span class="pre">2</span></code> になります。なぜなら、スコアーが指定された最大値 <code class="docutils literal"><span class="pre">3.0</span></code> より小さいからです。</p>
|
192
|
+
</div>
|
193
|
+
<div class="section" id="parameters">
|
194
|
+
<h2>7.11.3.1.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
195
|
+
<p>このセクションではすべての引数について説明します。</p>
|
196
|
+
<div class="section" id="required-parameters">
|
197
|
+
<h3>7.11.3.1.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
198
|
+
<p>1つだけ必須の引数があります。</p>
|
199
|
+
<div class="section" id="column">
|
200
|
+
<h4>7.11.3.1.4.1.1. <code class="docutils literal"><span class="pre">column</span></code><a class="headerlink" href="#column" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
201
|
+
<p>マッチ対象のデータカラムです。このデータカラムにはインデックスが張られていなければいけません。</p>
|
202
|
+
</div>
|
203
|
+
<div class="section" id="index">
|
204
|
+
<h4>7.11.3.1.4.1.2. <code class="docutils literal"><span class="pre">index</span></code><a class="headerlink" href="#index" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
205
|
+
<p>検索に使うインデックスカラムです。</p>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
<div class="section" id="optional-parameters">
|
209
|
+
<h3>7.11.3.1.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
210
|
+
<p>省略可能な引数はありません。</p>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
<div class="section" id="return-value">
|
214
|
+
<h2>7.11.3.1.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
215
|
+
<p>このスコアラーは <a class="reference internal" href="../types.html#builtin-type-float"><span>Float</span></a> でスコアーの値を返します。</p>
|
216
|
+
<p><a class="reference internal" href="../commands/select.html"><em>select</em></a> は <code class="docutils literal"><span class="pre">Float</span></code> ではなく <code class="docutils literal"><span class="pre">Int32</span></code> で <code class="docutils literal"><span class="pre">_score</span></code> を返します。これは、後方互換性を維持するために <code class="docutils literal"><span class="pre">Float</span></code> から <code class="docutils literal"><span class="pre">Int32</span></code> にキャストしているためです。</p>
|
217
|
+
<p>スコアーは制限つきのTFで計算します。</p>
|
218
|
+
</div>
|
219
|
+
<div class="section" id="see-also">
|
220
|
+
<h2>7.11.3.1.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
221
|
+
<ul class="simple">
|
222
|
+
<li><a class="reference internal" href="../scorer.html"><em>スコアラー</em></a></li>
|
223
|
+
</ul>
|
88
224
|
</div>
|
89
225
|
</div>
|
90
226
|
|
@@ -98,13 +234,26 @@
|
|
98
234
|
<ul>
|
99
235
|
<li><a class="reference internal" href="#">7.11.3.1. <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code></a><ul>
|
100
236
|
<li><a class="reference internal" href="#summary">7.11.3.1.1. 概要</a></li>
|
237
|
+
<li><a class="reference internal" href="#syntax">7.11.3.1.2. 構文</a></li>
|
238
|
+
<li><a class="reference internal" href="#usage">7.11.3.1.3. 使い方</a></li>
|
239
|
+
<li><a class="reference internal" href="#parameters">7.11.3.1.4. 引数</a><ul>
|
240
|
+
<li><a class="reference internal" href="#required-parameters">7.11.3.1.4.1. 必須引数</a><ul>
|
241
|
+
<li><a class="reference internal" href="#column">7.11.3.1.4.1.1. <code class="docutils literal"><span class="pre">column</span></code></a></li>
|
242
|
+
<li><a class="reference internal" href="#index">7.11.3.1.4.1.2. <code class="docutils literal"><span class="pre">index</span></code></a></li>
|
243
|
+
</ul>
|
244
|
+
</li>
|
245
|
+
<li><a class="reference internal" href="#optional-parameters">7.11.3.1.4.2. 省略可能引数</a></li>
|
246
|
+
</ul>
|
247
|
+
</li>
|
248
|
+
<li><a class="reference internal" href="#return-value">7.11.3.1.5. 戻り値</a></li>
|
249
|
+
<li><a class="reference internal" href="#see-also">7.11.3.1.6. 参考</a></li>
|
101
250
|
</ul>
|
102
251
|
</li>
|
103
252
|
</ul>
|
104
253
|
|
105
254
|
<h4>前のトピックへ</h4>
|
106
255
|
<p class="topless"><a href="../scorer.html"
|
107
|
-
title="前の章へ">7.11.
|
256
|
+
title="前の章へ">7.11. スコアラー</a></p>
|
108
257
|
<h4>次のトピックへ</h4>
|
109
258
|
<p class="topless"><a href="scorer_tf_idf.html"
|
110
259
|
title="次の章へ">7.11.3.2. <code class="docutils literal"><span class="pre">scorer_tf_idf</span></code></a></p>
|
@@ -142,11 +291,11 @@
|
|
142
291
|
<a href="scorer_tf_idf.html" title="7.11.3.2. scorer_tf_idf"
|
143
292
|
>次へ</a> |</li>
|
144
293
|
<li class="right" >
|
145
|
-
<a href="../scorer.html" title="7.11.
|
294
|
+
<a href="../scorer.html" title="7.11. スコアラー"
|
146
295
|
>前へ</a> |</li>
|
147
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.
|
296
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> »</li>
|
148
297
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
149
|
-
<li class="nav-item nav-item-2"><a href="../scorer.html" >7.11.
|
298
|
+
<li class="nav-item nav-item-2"><a href="../scorer.html" >7.11. スコアラー</a> »</li>
|
150
299
|
</ul>
|
151
300
|
</div>
|
152
301
|
<div class="footer" role="contentinfo">
|