rroonga 5.0.0-x86-mingw32 → 5.0.1-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 +8 -8
 - data/.yardopts +1 -0
 - data/Rakefile +1 -16
 - data/example/bookmark.rb +1 -6
 - data/example/index-html.rb +0 -1
 - data/ext/groonga/extconf.rb +4 -7
 - data/ext/groonga/rb-grn-array.c +1 -1
 - data/ext/groonga/rb-grn-column.c +33 -67
 - data/ext/groonga/rb-grn-context.c +5 -5
 - data/ext/groonga/rb-grn-database.c +2 -2
 - data/ext/groonga/rb-grn-double-array-trie.c +4 -2
 - data/ext/groonga/rb-grn-encoding-support.c +7 -1
 - data/ext/groonga/rb-grn-equal-operator.c +85 -0
 - data/ext/groonga/rb-grn-exception.c +17 -0
 - data/ext/groonga/rb-grn-expression.c +85 -43
 - data/ext/groonga/rb-grn-greater-equal-operator.c +88 -0
 - data/ext/groonga/rb-grn-greater-operator.c +85 -0
 - data/ext/groonga/rb-grn-hash.c +1 -1
 - data/ext/groonga/rb-grn-index-column.c +150 -11
 - data/ext/groonga/rb-grn-less-equal-operator.c +88 -0
 - data/ext/groonga/rb-grn-less-operator.c +85 -0
 - data/ext/groonga/rb-grn-logger.c +5 -5
 - data/ext/groonga/rb-grn-match-operator.c +86 -0
 - data/ext/groonga/rb-grn-normalizer.c +8 -1
 - data/ext/groonga/rb-grn-not-equal-operator.c +85 -0
 - data/ext/groonga/rb-grn-object.c +170 -36
 - data/ext/groonga/rb-grn-operator.c +395 -172
 - data/ext/groonga/rb-grn-patricia-trie.c +10 -8
 - data/ext/groonga/rb-grn-plugin.c +51 -3
 - data/ext/groonga/rb-grn-prefix-operator.c +86 -0
 - data/ext/groonga/rb-grn-procedure-type.c +4 -0
 - data/ext/groonga/rb-grn-query-logger.c +4 -4
 - data/ext/groonga/rb-grn-regexp-operator.c +85 -0
 - data/ext/groonga/rb-grn-snippet.c +1 -1
 - data/ext/groonga/rb-grn-table-key-support.c +9 -5
 - data/ext/groonga/rb-grn-table.c +52 -66
 - data/ext/groonga/rb-grn-type.c +1 -1
 - data/ext/groonga/rb-grn-utils.c +22 -3
 - data/ext/groonga/rb-grn.h +31 -4
 - data/ext/groonga/rb-groonga.c +9 -9
 - data/lib/1.9/groonga.so +0 -0
 - 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/context.rb +31 -0
 - data/lib/groonga/expression-builder.rb +14 -1
 - data/lib/groonga/record.rb +10 -8
 - data/lib/groonga/schema.rb +3 -1
 - data/rroonga-build.rb +2 -2
 - data/rroonga.gemspec +3 -3
 - data/test/groonga-test-utils.rb +4 -0
 - data/test/test-column.rb +28 -26
 - data/test/test-exception.rb +1 -0
 - data/test/test-expression-builder.rb +83 -1
 - data/test/test-expression.rb +80 -48
 - data/test/test-index-column.rb +102 -29
 - data/test/test-normalizer.rb +35 -29
 - data/test/test-operator.rb +214 -0
 - data/test/test-plugin.rb +24 -6
 - data/test/test-procedure.rb +29 -0
 - data/test/test-schema-type.rb +14 -0
 - data/test/test-table-select-mecab.rb +1 -4
 - data/test/test-table.rb +7 -0
 - data/test/test-token-regexp.rb +30 -0
 - data/test/test-type.rb +24 -0
 - 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-3.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-config +2 -2
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/onig-config +1 -1
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/etc/groonga/groonga.conf +1 -1
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
 - data/vendor/local/include/groonga/groonga.h +1 -0
 - data/vendor/local/include/groonga/groonga/expr.h +2 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +32 -5
 - data/vendor/local/include/groonga/groonga/ii.h +7 -0
 - data/vendor/local/include/groonga/groonga/obj.h +37 -0
 - data/vendor/local/include/groonga/groonga/scorer.h +95 -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/query_expanders/tsv.la +2 -2
 - 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/eval.la +2 -2
 - 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/ruby/load.la +2 -2
 - data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +6 -3
 - data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +6 -5
 - data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +421 -17
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
 - data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
 - data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +12 -4
 - data/vendor/local/lib/groonga/scripts/ruby/database.rb +11 -3
 - data/vendor/local/lib/groonga/scripts/ruby/expression.rb +23 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +158 -0
 - data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +39 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +2 -0
 - data/vendor/local/lib/groonga/scripts/ruby/logger.rb +11 -7
 - data/vendor/local/lib/groonga/scripts/ruby/object.rb +11 -0
 - data/vendor/local/lib/groonga/scripts/ruby/operator.rb +22 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +7 -2
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -11
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +137 -34
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_search_index.rb +9 -0
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +2 -2
 - 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/libmecab.la +2 -2
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.la +2 -2
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.la +2 -2
 - data/vendor/local/lib/libonig.a +0 -0
 - data/vendor/local/lib/libonig.dll.a +0 -0
 - data/vendor/local/lib/libonig.la +2 -2
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
 - data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
 - data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
 - data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
 - data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
 - 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-restart +1 -1
 - 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/_images/used-when-indexing.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_images/used-when-searching.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +32 -17
 - 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 +4 -4
 - 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 +194 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +3 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +42 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +54 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +5 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +173 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +112 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +7 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +64 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +63 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +11 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +3 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +17 -17
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +12 -12
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +7 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +6 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +47 -26
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +5 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +6 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +54 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +4 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +2 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +403 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +217 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +13 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +8 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +530 -16
 - data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +2 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +15 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +66 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -81
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +6 -68
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -26
 - data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -4
 - data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
 - data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/client.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +51 -38
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +26 -14
 - data/vendor/local/share/doc/groonga/en/html/index.html +150 -130
 - data/vendor/local/share/doc/groonga/en/html/install.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +87 -89
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news.html +256 -27
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +98 -100
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +68 -70
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +102 -104
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +139 -118
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +51 -52
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +60 -62
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +80 -82
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +130 -80
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +48 -50
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +41 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +41 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +89 -91
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +75 -77
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +64 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +202 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +58 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +58 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +56 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +53 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +94 -96
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +23 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +71 -73
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +49 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +23 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +314 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +252 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +87 -89
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +46 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +195 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +193 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +61 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +54 -56
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +590 -592
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +92 -94
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +152 -154
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +68 -70
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -105
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +52 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +35 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +21 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +73 -75
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +34 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +124 -90
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +66 -68
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +113 -115
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +65 -67
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +54 -56
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +135 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +67 -69
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +66 -70
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +349 -286
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +483 -417
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +44 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +30 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +60 -62
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +931 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +442 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +153 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +287 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +114 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +51 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +36 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +1394 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +57 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +23 -24
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +68 -70
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +29 -31
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +137 -0
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +36 -38
 - data/vendor/local/share/doc/groonga/en/html/spec.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +208 -129
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -25
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +27 -125
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_images/used-when-indexing.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_images/used-when-searching.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +32 -17
 - 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 +4 -4
 - 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 +194 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +3 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +42 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +54 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +173 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +112 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +7 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +64 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +63 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +11 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +3 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +17 -17
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +47 -26
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +54 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +4 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +2 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +403 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +217 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +13 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +8 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +530 -16
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +2 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +15 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +66 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -81
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +6 -68
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -26
 - data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -4
 - data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
 - data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/client.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +51 -38
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -14
 - data/vendor/local/share/doc/groonga/ja/html/index.html +150 -130
 - data/vendor/local/share/doc/groonga/ja/html/install.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -27
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +78 -80
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news.html +210 -27
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +89 -91
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +139 -118
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +51 -52
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +80 -82
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +126 -76
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +44 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +74 -76
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +44 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +41 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +41 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +89 -91
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +44 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +75 -77
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +64 -66
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +197 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +58 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +93 -95
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +35 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +23 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +62 -64
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +48 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +23 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +314 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +250 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +80 -81
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +46 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +188 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +190 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +57 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +71 -73
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +394 -396
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +78 -80
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +123 -125
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +61 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -91
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +46 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +51 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +61 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +34 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +126 -90
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +63 -65
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +44 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +94 -96
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +45 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +66 -68
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +135 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +70 -72
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +56 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +36 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +229 -171
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +381 -322
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +878 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +442 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +154 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +287 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +115 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +45 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +1300 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +57 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +23 -24
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +62 -64
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +138 -0
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -37
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +207 -128
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -25
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +23 -25
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +27 -125
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
 - data/vendor/local/share/license/mruby/README.md +2 -2
 - data/vendor/local/share/man/ja/man1/groonga.1 +6205 -2251
 - data/vendor/local/share/man/man1/groonga.1 +7210 -3029
 - metadata +75 -11
 - data/doc/text/news.textile +0 -1217
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
 
| 
         @@ -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. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.16.2. 補完 — Groonga v5.0.1-42-g4d10df1ドキュメント</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.1-42-g4d10df1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,12 +26,12 @@ 
     | 
|
| 
       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. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="next" title="7. 
     | 
| 
       32 
     | 
    
         
            -
                <link rel="prev" title="7. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="up" title="7.16. サジェスト" href="../suggest.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="next" title="7.16.3. 補正" href="correction.html" />
         
     | 
| 
      
 32 
     | 
    
         
            +
                <link rel="prev" title="7.16.1. はじめに" href="introduction.html" /> 
         
     | 
| 
       33 
33 
     | 
    
         
             
              </head>
         
     | 
| 
       34 
     | 
    
         
            -
              <body 
     | 
| 
      
 34 
     | 
    
         
            +
              <body>
         
     | 
| 
       35 
35 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       36 
36 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       37 
37 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -49,31 +49,31 @@ 
     | 
|
| 
       49 
49 
     | 
    
         
             
            </div>
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 52 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       54 
54 
     | 
    
         
             
                  <ul>
         
     | 
| 
       55 
55 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       56 
56 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       57 
57 
     | 
    
         
             
                         accesskey="I">索引</a></li>
         
     | 
| 
       58 
58 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       59 
     | 
    
         
            -
                      <a href="correction.html" title="7. 
     | 
| 
      
 59 
     | 
    
         
            +
                      <a href="correction.html" title="7.16.3. 補正"
         
     | 
| 
       60 
60 
     | 
    
         
             
                         accesskey="N">次へ</a> |</li>
         
     | 
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
     | 
    
         
            -
                      <a href="introduction.html" title="7. 
     | 
| 
      
 62 
     | 
    
         
            +
                      <a href="introduction.html" title="7.16.1. はじめに"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       66 
     | 
    
         
            -
                      <li><a href="../suggest.html" accesskey="U">7. 
     | 
| 
      
 66 
     | 
    
         
            +
                      <li><a href="../suggest.html" accesskey="U">7.16. サジェスト</a> »</li> 
         
     | 
| 
       67 
67 
     | 
    
         
             
                  </ul>
         
     | 
| 
       68 
68 
     | 
    
         
             
                </div>  
         
     | 
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       71 
71 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       72 
72 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       73 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 73 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       74 
74 
     | 
    
         | 
| 
       75 
75 
     | 
    
         
             
              <div class="section" id="completion">
         
     | 
| 
       76 
     | 
    
         
            -
            <h1>7. 
     | 
| 
      
 76 
     | 
    
         
            +
            <h1>7.16.2. 補完<a class="headerlink" href="#completion" title="このヘッドラインへのパーマリンク">¶</a></h1>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>このセクションでは以下の補完機能について説明します。:</p>
         
     | 
| 
       78 
78 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       79 
79 
     | 
    
         
             
            <li><p class="first">どのように動作するか</p>
         
     | 
| 
         @@ -84,7 +84,7 @@ 
     | 
|
| 
       84 
84 
     | 
    
         
             
            </li>
         
     | 
| 
       85 
85 
     | 
    
         
             
            </ul>
         
     | 
| 
       86 
86 
     | 
    
         
             
            <div class="section" id="how-it-works">
         
     | 
| 
       87 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 87 
     | 
    
         
            +
            <h2>7.16.2.1. どのように動作するか<a class="headerlink" href="#how-it-works" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       88 
88 
     | 
    
         
             
            <p>補完機能は補完される語を計算するために3種類の検索を使います。</p>
         
     | 
| 
       89 
89 
     | 
    
         
             
            <blockquote>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <div><ol class="arabic simple">
         
     | 
| 
         @@ -97,13 +97,13 @@ 
     | 
|
| 
       97 
97 
     | 
    
         
             
            </ol>
         
     | 
| 
       98 
98 
     | 
    
         
             
            </div></blockquote>
         
     | 
| 
       99 
99 
     | 
    
         
             
            <div class="section" id="prefix-rk-search">
         
     | 
| 
       100 
     | 
    
         
            -
            <h3>7. 
     | 
| 
      
 100 
     | 
    
         
            +
            <h3>7.16.2.1.1. 前方一致RK検索<a class="headerlink" href="#prefix-rk-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
         
     | 
| 
       101 
101 
     | 
    
         
             
            <p>RKはローマ字(Romaji)とカタカナ(Katakana)を意味しています。前方一致RK検索は登録されている語をユーザの入力から前方一致検索します。このとき、ユーザの入力はローマ字でもカタカナでもひらがなでも構いません。この機能は日本語を検索するときに便利です。</p>
         
     | 
| 
       102 
102 
     | 
    
         
             
            <p>例えば、"日本"という語が登録されているとします。そして、その読みとして"ニホン"(カタカナにしないといけません)が登録されているとします。このとき、ユーザの入力が"ni"でも"二"でも"に"でも"日本"を見つけることができます。</p>
         
     | 
| 
       103 
     | 
    
         
            -
            <p><a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a> 実行ファイルで < 
     | 
| 
      
 103 
     | 
    
         
            +
            <p><a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a> 実行ファイルで <tt class="docutils literal"><span class="pre">example</span></tt> という名前のデータセットを作ったとします。前方一致RK検索で使うために <tt class="docutils literal"><span class="pre">item_example</span></tt> テーブルの <tt class="docutils literal"><span class="pre">_key</span></tt> と <tt class="docutils literal"><span class="pre">kana</span></tt> カラムに登録済みの単語と読みのペアを指定することで更新できます。</p>
         
     | 
| 
       104 
104 
     | 
    
         
             
            </div>
         
     | 
| 
       105 
105 
     | 
    
         
             
            <div class="section" id="cooccurrence-search">
         
     | 
| 
       106 
     | 
    
         
            -
            <h3>7. 
     | 
| 
      
 106 
     | 
    
         
            +
            <h3>7.16.2.1.2. 共起検索<a class="headerlink" href="#cooccurrence-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
         
     | 
| 
       107 
107 
     | 
    
         
             
            <p>共起検索は入力途中のユーザのクエリから登録されている語を見つけます。共起検索では検索データベースとしてユーザの入力シーケンスを使います。これはクエリログやアクセスログなどから学習します。</p>
         
     | 
| 
       108 
108 
     | 
    
         
             
            <p>例えば、以下のようなユーザの入力シーケンスがあるとします。</p>
         
     | 
| 
       109 
109 
     | 
    
         
             
            <table border="1" class="docutils">
         
     | 
| 
         @@ -234,15 +234,15 @@ 
     | 
|
| 
       234 
234 
     | 
    
         
             
            <p>ユーザが"sea"と入力したら、共起検索は"search"を返します。なぜなら、「入力」カラムには"sea"という値があり、対応する「補完語」カラムには"search"という値が入っているからです。</p>
         
     | 
| 
       235 
235 
     | 
    
         
             
            </div>
         
     | 
| 
       236 
236 
     | 
    
         
             
            <div class="section" id="prefix-search">
         
     | 
| 
       237 
     | 
    
         
            -
            <h3>7. 
     | 
| 
      
 237 
     | 
    
         
            +
            <h3>7.16.2.1.3. 前方一致検索<a class="headerlink" href="#prefix-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
         
     | 
| 
       238 
238 
     | 
    
         
             
            <p>前方一致検索はユーザが入力した文字列から始まる登録済みの語を検索します。この検索は前方一致RK検索とは違ってローマ字、カタカナ、ひらがなを特別扱いしません。</p>
         
     | 
| 
       239 
239 
     | 
    
         
             
            <p>この検索はいつも実行されるわけではありません。この検索は明示的に実行するように指示するか、前方一致RK検索と共起検索の両方がなにもヒットしないときのみ実行されます。</p>
         
     | 
| 
       240 
240 
     | 
    
         
             
            <p>例えば、"search"が登録されているとします。ユーザは"s"、"se"、"sea"、"sear"、"searc"、"search"のどれでも"search"を補完候補として利用できます。</p>
         
     | 
| 
       241 
241 
     | 
    
         
             
            </div>
         
     | 
| 
       242 
242 
     | 
    
         
             
            </div>
         
     | 
| 
       243 
243 
     | 
    
         
             
            <div class="section" id="how-to-use">
         
     | 
| 
       244 
     | 
    
         
            -
            <h2>7. 
     | 
| 
       245 
     | 
    
         
            -
            <p>Groongaは補完機能を使うために <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> コマンドを用意しています。 < 
     | 
| 
      
 244 
     | 
    
         
            +
            <h2>7.16.2.2. 使い方<a class="headerlink" href="#how-to-use" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
      
 245 
     | 
    
         
            +
            <p>Groongaは補完機能を使うために <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> コマンドを用意しています。 <tt class="docutils literal"><span class="pre">--type</span> <span class="pre">complete</span></tt> オプションを使うと補完機能を利用できます。</p>
         
     | 
| 
       246 
246 
     | 
    
         
             
            <p>例えば、"en"と入力したときの補完結果を取得するコマンドは以下のようになります。:</p>
         
     | 
| 
       247 
247 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
       248 
248 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>suggest --table item_query --column kana --types complete --frequency_threshold 1 --query en
         
     | 
| 
         @@ -278,7 +278,7 @@ 
     | 
|
| 
       278 
278 
     | 
    
         
             
            </div>
         
     | 
| 
       279 
279 
     | 
    
         
             
            </div>
         
     | 
| 
       280 
280 
     | 
    
         
             
            <div class="section" id="how-it-learns">
         
     | 
| 
       281 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 281 
     | 
    
         
            +
            <h2>7.16.2.3. 学習方法<a class="headerlink" href="#how-it-learns" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       282 
282 
     | 
    
         
             
            <p>共起検索は学習データを使います。学習データはクエリログやアクセスログなどを元に作成します。学習データを作成するには、タイムスタンプ付きの入力シーケンスと、タイムスタンプ付きの検索実行時の入力内容が必要です。</p>
         
     | 
| 
       283 
283 
     | 
    
         
             
            <p>例えば、ユーザが"engine"で検索したいとします。ユーザが以下のようなシーケンスで検索クエリを入力したとします。:</p>
         
     | 
| 
       284 
284 
     | 
    
         
             
            <blockquote>
         
     | 
| 
         @@ -306,7 +306,7 @@ 
     | 
|
| 
       306 
306 
     | 
    
         
             
            </div>
         
     | 
| 
       307 
307 
     | 
    
         
             
            </div>
         
     | 
| 
       308 
308 
     | 
    
         
             
            <div class="section" id="how-to-update-reading-data">
         
     | 
| 
       309 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 309 
     | 
    
         
            +
            <h2>7.16.2.4. 読みデータの更新方法<a class="headerlink" href="#how-to-update-reading-data" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       310 
310 
     | 
    
         
             
            <p>前方一致RK検索をするために単語とその読みが必要になります。このセクションではどのように単語と読みを登録するかを説明します。</p>
         
     | 
| 
       311 
311 
     | 
    
         
             
            <p>以下は「日本」を登録する例です:</p>
         
     | 
| 
       312 
312 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
         @@ -360,7 +360,7 @@ 
     | 
|
| 
       360 
360 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       361 
361 
     | 
    
         
             
            </div>
         
     | 
| 
       362 
362 
     | 
    
         
             
            <p>この読みデータがないと登録済みの「日本」という単語を「nihon」というクエリーで補完できません。</p>
         
     | 
| 
       363 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 363 
     | 
    
         
            +
            <p><tt class="docutils literal"><span class="pre">item_query</span></tt> テーブルの <tt class="docutils literal"><span class="pre">kana</span></tt> カラムは <a class="reference internal" href="../columns/vector.html"><em>ベクターカラム</em></a> なので、複数の読みを登録できます。</p>
         
     | 
| 
       364 
364 
     | 
    
         
             
            <p>これが「nippon」でも「日本」を補完できる理由です。</p>
         
     | 
| 
       365 
365 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
       366 
366 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nippon
         
     | 
| 
         @@ -395,7 +395,7 @@ 
     | 
|
| 
       395 
395 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       396 
396 
     | 
    
         
             
            </div>
         
     | 
| 
       397 
397 
     | 
    
         
             
            <p>日本語入力システムが無効になっている状態でも登録済みの単語を検索できるのでこの機能はとても便利です。</p>
         
     | 
| 
       398 
     | 
    
         
            -
            <p>補完候補が複数ある場合、 < 
     | 
| 
      
 398 
     | 
    
         
            +
            <p>補完候補が複数ある場合、 <tt class="docutils literal"><span class="pre">item_query</span></tt> テーブルの <tt class="docutils literal"><span class="pre">boost</span></tt> カラムに値を設定することで優先度をカスタマイズすることができます。</p>
         
     | 
| 
       399 
399 
     | 
    
         
             
            <p>以下は前方一致RK検索での優先度をカスタマイズする例です:</p>
         
     | 
| 
       400 
400 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
       401 
401 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
         
     | 
| 
         @@ -498,38 +498,36 @@ suggest --table item_query --column kana --types complete --frequency_threshold 
     | 
|
| 
       498 
498 
     | 
    
         
             
                      </div>
         
     | 
| 
       499 
499 
     | 
    
         
             
                    </div>
         
     | 
| 
       500 
500 
     | 
    
         
             
                  </div>
         
     | 
| 
       501 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 501 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       502 
502 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       503 
503 
     | 
    
         
             
              <h3><a href="../../index.html">目次</a></h3>
         
     | 
| 
       504 
504 
     | 
    
         
             
              <ul>
         
     | 
| 
       505 
     | 
    
         
            -
            <li><a class="reference internal" href="#">7. 
     | 
| 
       506 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-it-works">7. 
     | 
| 
       507 
     | 
    
         
            -
            <li><a class="reference internal" href="#prefix-rk-search">7. 
     | 
| 
       508 
     | 
    
         
            -
            <li><a class="reference internal" href="#cooccurrence-search">7. 
     | 
| 
       509 
     | 
    
         
            -
            <li><a class="reference internal" href="#prefix-search">7. 
     | 
| 
      
 505 
     | 
    
         
            +
            <li><a class="reference internal" href="#">7.16.2. 補完</a><ul>
         
     | 
| 
      
 506 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-it-works">7.16.2.1. どのように動作するか</a><ul>
         
     | 
| 
      
 507 
     | 
    
         
            +
            <li><a class="reference internal" href="#prefix-rk-search">7.16.2.1.1. 前方一致RK検索</a></li>
         
     | 
| 
      
 508 
     | 
    
         
            +
            <li><a class="reference internal" href="#cooccurrence-search">7.16.2.1.2. 共起検索</a></li>
         
     | 
| 
      
 509 
     | 
    
         
            +
            <li><a class="reference internal" href="#prefix-search">7.16.2.1.3. 前方一致検索</a></li>
         
     | 
| 
       510 
510 
     | 
    
         
             
            </ul>
         
     | 
| 
       511 
511 
     | 
    
         
             
            </li>
         
     | 
| 
       512 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-to-use">7. 
     | 
| 
       513 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-it-learns">7. 
     | 
| 
       514 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-to-update-reading-data">7. 
     | 
| 
      
 512 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-to-use">7.16.2.2. 使い方</a></li>
         
     | 
| 
      
 513 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-it-learns">7.16.2.3. 学習方法</a></li>
         
     | 
| 
      
 514 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-to-update-reading-data">7.16.2.4. 読みデータの更新方法</a></li>
         
     | 
| 
       515 
515 
     | 
    
         
             
            </ul>
         
     | 
| 
       516 
516 
     | 
    
         
             
            </li>
         
     | 
| 
       517 
517 
     | 
    
         
             
            </ul>
         
     | 
| 
       518 
518 
     | 
    
         | 
| 
       519 
519 
     | 
    
         
             
              <h4>前のトピックへ</h4>
         
     | 
| 
       520 
520 
     | 
    
         
             
              <p class="topless"><a href="introduction.html"
         
     | 
| 
       521 
     | 
    
         
            -
                                    title="前の章へ">7. 
     | 
| 
      
 521 
     | 
    
         
            +
                                    title="前の章へ">7.16.1. はじめに</a></p>
         
     | 
| 
       522 
522 
     | 
    
         
             
              <h4>次のトピックへ</h4>
         
     | 
| 
       523 
523 
     | 
    
         
             
              <p class="topless"><a href="correction.html"
         
     | 
| 
       524 
     | 
    
         
            -
                                    title="次の章へ">7. 
     | 
| 
       525 
     | 
    
         
            -
              < 
     | 
| 
       526 
     | 
    
         
            -
             
     | 
| 
       527 
     | 
    
         
            -
                < 
     | 
| 
       528 
     | 
    
         
            -
             
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
     | 
    
         
            -
             
     | 
| 
       531 
     | 
    
         
            -
               </div>
         
     | 
| 
       532 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 524 
     | 
    
         
            +
                                    title="次の章へ">7.16.3. 補正</a></p>
         
     | 
| 
      
 525 
     | 
    
         
            +
              <h3>このページ</h3>
         
     | 
| 
      
 526 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 527 
     | 
    
         
            +
                <li><a href="../../_sources/reference/suggest/completion.txt"
         
     | 
| 
      
 528 
     | 
    
         
            +
                       rel="nofollow">ソースコードを表示</a></li>
         
     | 
| 
      
 529 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 530 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       533 
531 
     | 
    
         
             
              <h3>クイック検索</h3>
         
     | 
| 
       534 
532 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       535 
533 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -546,24 +544,24 @@ suggest --table item_query --column kana --types complete --frequency_threshold 
     | 
|
| 
       546 
544 
     | 
    
         
             
                  </div>
         
     | 
| 
       547 
545 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       548 
546 
     | 
    
         
             
                </div>
         
     | 
| 
       549 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 547 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       550 
548 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       551 
549 
     | 
    
         
             
                  <ul>
         
     | 
| 
       552 
550 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       553 
551 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       554 
552 
     | 
    
         
             
                         >索引</a></li>
         
     | 
| 
       555 
553 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       556 
     | 
    
         
            -
                      <a href="correction.html" title="7. 
     | 
| 
      
 554 
     | 
    
         
            +
                      <a href="correction.html" title="7.16.3. 補正"
         
     | 
| 
       557 
555 
     | 
    
         
             
                         >次へ</a> |</li>
         
     | 
| 
       558 
556 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       559 
     | 
    
         
            -
                      <a href="introduction.html" title="7. 
     | 
| 
      
 557 
     | 
    
         
            +
                      <a href="introduction.html" title="7.16.1. はじめに"
         
     | 
| 
       560 
558 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       561 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 559 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       562 
560 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       563 
     | 
    
         
            -
                      <li><a href="../suggest.html" >7. 
     | 
| 
      
 561 
     | 
    
         
            +
                      <li><a href="../suggest.html" >7.16. サジェスト</a> »</li> 
         
     | 
| 
       564 
562 
     | 
    
         
             
                  </ul>
         
     | 
| 
       565 
563 
     | 
    
         
             
                </div>
         
     | 
| 
       566 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 564 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       567 
565 
     | 
    
         
             
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       568 
566 
     | 
    
         
             
                </div>
         
     | 
| 
       569 
567 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -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. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.16.3. 補正 — Groonga v5.0.1-42-g4d10df1ドキュメント</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.1-42-g4d10df1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,12 +26,12 @@ 
     | 
|
| 
       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. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="next" title="7. 
     | 
| 
       32 
     | 
    
         
            -
                <link rel="prev" title="7. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="up" title="7.16. サジェスト" href="../suggest.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="next" title="7.16.4. 提案" href="suggestion.html" />
         
     | 
| 
      
 32 
     | 
    
         
            +
                <link rel="prev" title="7.16.2. 補完" href="completion.html" /> 
         
     | 
| 
       33 
33 
     | 
    
         
             
              </head>
         
     | 
| 
       34 
     | 
    
         
            -
              <body 
     | 
| 
      
 34 
     | 
    
         
            +
              <body>
         
     | 
| 
       35 
35 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       36 
36 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       37 
37 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -49,31 +49,31 @@ 
     | 
|
| 
       49 
49 
     | 
    
         
             
            </div>
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 52 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       54 
54 
     | 
    
         
             
                  <ul>
         
     | 
| 
       55 
55 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       56 
56 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       57 
57 
     | 
    
         
             
                         accesskey="I">索引</a></li>
         
     | 
| 
       58 
58 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       59 
     | 
    
         
            -
                      <a href="suggestion.html" title="7. 
     | 
| 
      
 59 
     | 
    
         
            +
                      <a href="suggestion.html" title="7.16.4. 提案"
         
     | 
| 
       60 
60 
     | 
    
         
             
                         accesskey="N">次へ</a> |</li>
         
     | 
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
     | 
    
         
            -
                      <a href="completion.html" title="7. 
     | 
| 
      
 62 
     | 
    
         
            +
                      <a href="completion.html" title="7.16.2. 補完"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       66 
     | 
    
         
            -
                      <li><a href="../suggest.html" accesskey="U">7. 
     | 
| 
      
 66 
     | 
    
         
            +
                      <li><a href="../suggest.html" accesskey="U">7.16. サジェスト</a> »</li> 
         
     | 
| 
       67 
67 
     | 
    
         
             
                  </ul>
         
     | 
| 
       68 
68 
     | 
    
         
             
                </div>  
         
     | 
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       71 
71 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       72 
72 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       73 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 73 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       74 
74 
     | 
    
         | 
| 
       75 
75 
     | 
    
         
             
              <div class="section" id="correction">
         
     | 
| 
       76 
     | 
    
         
            -
            <h1>7. 
     | 
| 
      
 76 
     | 
    
         
            +
            <h1>7.16.3. 補正<a class="headerlink" href="#correction" title="このヘッドラインへのパーマリンク">¶</a></h1>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>このセクションでは以下の補正機能について説明します。:</p>
         
     | 
| 
       78 
78 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       79 
79 
     | 
    
         
             
            <li><p class="first">どのように動作するか</p>
         
     | 
| 
         @@ -84,7 +84,7 @@ 
     | 
|
| 
       84 
84 
     | 
    
         
             
            </li>
         
     | 
| 
       85 
85 
     | 
    
         
             
            </ul>
         
     | 
| 
       86 
86 
     | 
    
         
             
            <div class="section" id="how-it-works">
         
     | 
| 
       87 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 87 
     | 
    
         
            +
            <h2>7.16.3.1. どのように動作するか<a class="headerlink" href="#how-it-works" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       88 
88 
     | 
    
         
             
            <p>補正機能は補正した語を計算するために3種類の検索を使います。:</p>
         
     | 
| 
       89 
89 
     | 
    
         
             
            <blockquote>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <div><ol class="arabic simple">
         
     | 
| 
         @@ -95,7 +95,7 @@ 
     | 
|
| 
       95 
95 
     | 
    
         
             
            </ol>
         
     | 
| 
       96 
96 
     | 
    
         
             
            </div></blockquote>
         
     | 
| 
       97 
97 
     | 
    
         
             
            <div class="section" id="cooccurrence-search">
         
     | 
| 
       98 
     | 
    
         
            -
            <h3>7. 
     | 
| 
      
 98 
     | 
    
         
            +
            <h3>7.16.3.1.1. 共起検索<a class="headerlink" href="#cooccurrence-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
         
     | 
| 
       99 
99 
     | 
    
         
             
            <p>共起検索はユーザの間違って入力した文字列から登録済みの語を検索します。共起検索ではユーザがどのように検索を実行したかを使います。ユーザがどのように検索したかはクエリログやアクセスログから学習します。</p>
         
     | 
| 
       100 
100 
     | 
    
         
             
            <p>例えば、ユーザが以下のように検索を実行したとします。:</p>
         
     | 
| 
       101 
101 
     | 
    
         
             
            <table border="1" class="docutils">
         
     | 
| 
         @@ -143,14 +143,14 @@ 
     | 
|
| 
       143 
143 
     | 
    
         
             
            <p>ユーザが"serach"と入力した場合、共起検索は"saerch"を返します。なぜなら、"serach"が「入力」カラムにあり、対応する「補正される語」カラムの値が"search"だからです。</p>
         
     | 
| 
       144 
144 
     | 
    
         
             
            </div>
         
     | 
| 
       145 
145 
     | 
    
         
             
            <div class="section" id="similar-search">
         
     | 
| 
       146 
     | 
    
         
            -
            <h3>7. 
     | 
| 
      
 146 
     | 
    
         
            +
            <h3>7.16.3.1.2. 類似文書検索<a class="headerlink" href="#similar-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
         
     | 
| 
       147 
147 
     | 
    
         
             
            <p>類似検索はユーザの入力をトークナイズし、同じトークンを含んだ登録済みの語を検索します。トークナイズにはTokenBigramトークナイザーを使います。これは <a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a> が作るサジェストデータセットスキーマではデフォルトトークナイザーとしてTokenBigramトークナイザーを使っているからです。</p>
         
     | 
| 
       148 
148 
     | 
    
         
             
            <p>例えば、"search engine"という語が登録されているとします。ユーザが"web search service"や"sound engine"などで検索すると"search engine"が補正候補になります。なぜなら、"search engine"と"web search engine"は"search"という同じトークンを持つからです。また、"search engine"と"sound engine"は"engine"という同じトークンを持っています。</p>
         
     | 
| 
       149 
149 
     | 
    
         
             
            <p>"search engine"は"search"トークンと"engine"トークンにトークナイズされます。(GroongaのTokenBigramトークナイザーは連続するアルファベットと数字を2文字にトークナイズしません。これは検索ノイズを減らす為です。確実に2文字でトークナイズするためにはTokenBigramSplitSymbolAlphaDigitを使います。)"web search service"は"web"トークンと"search"トークンと"service"トークンにトークナイズされます。"sound engine"は"sound"トークンと"engine"トークンにトークナイズされます。</p>
         
     | 
| 
       150 
150 
     | 
    
         
             
            </div>
         
     | 
| 
       151 
151 
     | 
    
         
             
            </div>
         
     | 
| 
       152 
152 
     | 
    
         
             
            <div class="section" id="how-to-use">
         
     | 
| 
       153 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 153 
     | 
    
         
            +
            <h2>7.16.3.2. 使い方<a class="headerlink" href="#how-to-use" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       154 
154 
     | 
    
         
             
            <p>Groongaは補正機能を使うために <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> コマンドを用意しています。 <cite>--type correct</cite> オプションを使うと補正機能を利用できます。</p>
         
     | 
| 
       155 
155 
     | 
    
         
             
            <p>例えば、"saerch"と入力した時の補正結果取得するコマンドは以下のようになります。:</p>
         
     | 
| 
       156 
156 
     | 
    
         
             
            <p>実行例:</p>
         
     | 
| 
         @@ -187,7 +187,7 @@ 
     | 
|
| 
       187 
187 
     | 
    
         
             
            </div>
         
     | 
| 
       188 
188 
     | 
    
         
             
            </div>
         
     | 
| 
       189 
189 
     | 
    
         
             
            <div class="section" id="how-it-learns">
         
     | 
| 
       190 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 190 
     | 
    
         
            +
            <h2>7.16.3.3. 学習方法<a class="headerlink" href="#how-it-learns" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       191 
191 
     | 
    
         
             
            <p>共起検索は学習データを使います。学習データはクエリログやアクセスログから作ります。学習データを作るためにはユーザが検索を実行したときの検索クエリとタイムスタンプが必要です。</p>
         
     | 
| 
       192 
192 
     | 
    
         
             
            <p>例えば、ユーザが"search"で検索したかったとします。しかし、ユーザは正しい"search"というクエリで検索を実行する前に間違って"saerch"で検索してしまいました。このユーザの入力シーケンスは以下のようになります。:</p>
         
     | 
| 
       193 
193 
     | 
    
         
             
            <blockquote>
         
     | 
| 
         @@ -226,36 +226,34 @@ 
     | 
|
| 
       226 
226 
     | 
    
         
             
                      </div>
         
     | 
| 
       227 
227 
     | 
    
         
             
                    </div>
         
     | 
| 
       228 
228 
     | 
    
         
             
                  </div>
         
     | 
| 
       229 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 229 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       230 
230 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       231 
231 
     | 
    
         
             
              <h3><a href="../../index.html">目次</a></h3>
         
     | 
| 
       232 
232 
     | 
    
         
             
              <ul>
         
     | 
| 
       233 
     | 
    
         
            -
            <li><a class="reference internal" href="#">7. 
     | 
| 
       234 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-it-works">7. 
     | 
| 
       235 
     | 
    
         
            -
            <li><a class="reference internal" href="#cooccurrence-search">7. 
     | 
| 
       236 
     | 
    
         
            -
            <li><a class="reference internal" href="#similar-search">7. 
     | 
| 
      
 233 
     | 
    
         
            +
            <li><a class="reference internal" href="#">7.16.3. 補正</a><ul>
         
     | 
| 
      
 234 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-it-works">7.16.3.1. どのように動作するか</a><ul>
         
     | 
| 
      
 235 
     | 
    
         
            +
            <li><a class="reference internal" href="#cooccurrence-search">7.16.3.1.1. 共起検索</a></li>
         
     | 
| 
      
 236 
     | 
    
         
            +
            <li><a class="reference internal" href="#similar-search">7.16.3.1.2. 類似文書検索</a></li>
         
     | 
| 
       237 
237 
     | 
    
         
             
            </ul>
         
     | 
| 
       238 
238 
     | 
    
         
             
            </li>
         
     | 
| 
       239 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-to-use">7. 
     | 
| 
       240 
     | 
    
         
            -
            <li><a class="reference internal" href="#how-it-learns">7. 
     | 
| 
      
 239 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-to-use">7.16.3.2. 使い方</a></li>
         
     | 
| 
      
 240 
     | 
    
         
            +
            <li><a class="reference internal" href="#how-it-learns">7.16.3.3. 学習方法</a></li>
         
     | 
| 
       241 
241 
     | 
    
         
             
            </ul>
         
     | 
| 
       242 
242 
     | 
    
         
             
            </li>
         
     | 
| 
       243 
243 
     | 
    
         
             
            </ul>
         
     | 
| 
       244 
244 
     | 
    
         | 
| 
       245 
245 
     | 
    
         
             
              <h4>前のトピックへ</h4>
         
     | 
| 
       246 
246 
     | 
    
         
             
              <p class="topless"><a href="completion.html"
         
     | 
| 
       247 
     | 
    
         
            -
                                    title="前の章へ">7. 
     | 
| 
      
 247 
     | 
    
         
            +
                                    title="前の章へ">7.16.2. 補完</a></p>
         
     | 
| 
       248 
248 
     | 
    
         
             
              <h4>次のトピックへ</h4>
         
     | 
| 
       249 
249 
     | 
    
         
             
              <p class="topless"><a href="suggestion.html"
         
     | 
| 
       250 
     | 
    
         
            -
                                    title="次の章へ">7. 
     | 
| 
       251 
     | 
    
         
            -
              < 
     | 
| 
       252 
     | 
    
         
            -
             
     | 
| 
       253 
     | 
    
         
            -
                < 
     | 
| 
       254 
     | 
    
         
            -
             
     | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
             
     | 
| 
       257 
     | 
    
         
            -
               </div>
         
     | 
| 
       258 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 250 
     | 
    
         
            +
                                    title="次の章へ">7.16.4. 提案</a></p>
         
     | 
| 
      
 251 
     | 
    
         
            +
              <h3>このページ</h3>
         
     | 
| 
      
 252 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 253 
     | 
    
         
            +
                <li><a href="../../_sources/reference/suggest/correction.txt"
         
     | 
| 
      
 254 
     | 
    
         
            +
                       rel="nofollow">ソースコードを表示</a></li>
         
     | 
| 
      
 255 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 256 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       259 
257 
     | 
    
         
             
              <h3>クイック検索</h3>
         
     | 
| 
       260 
258 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       261 
259 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -272,24 +270,24 @@ 
     | 
|
| 
       272 
270 
     | 
    
         
             
                  </div>
         
     | 
| 
       273 
271 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       274 
272 
     | 
    
         
             
                </div>
         
     | 
| 
       275 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 273 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       276 
274 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       277 
275 
     | 
    
         
             
                  <ul>
         
     | 
| 
       278 
276 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       279 
277 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       280 
278 
     | 
    
         
             
                         >索引</a></li>
         
     | 
| 
       281 
279 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       282 
     | 
    
         
            -
                      <a href="suggestion.html" title="7. 
     | 
| 
      
 280 
     | 
    
         
            +
                      <a href="suggestion.html" title="7.16.4. 提案"
         
     | 
| 
       283 
281 
     | 
    
         
             
                         >次へ</a> |</li>
         
     | 
| 
       284 
282 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       285 
     | 
    
         
            -
                      <a href="completion.html" title="7. 
     | 
| 
      
 283 
     | 
    
         
            +
                      <a href="completion.html" title="7.16.2. 補完"
         
     | 
| 
       286 
284 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       287 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 285 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       288 
286 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       289 
     | 
    
         
            -
                      <li><a href="../suggest.html" >7. 
     | 
| 
      
 287 
     | 
    
         
            +
                      <li><a href="../suggest.html" >7.16. サジェスト</a> »</li> 
         
     | 
| 
       290 
288 
     | 
    
         
             
                  </ul>
         
     | 
| 
       291 
289 
     | 
    
         
             
                </div>
         
     | 
| 
       292 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 290 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       293 
291 
     | 
    
         
             
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       294 
292 
     | 
    
         
             
                </div>
         
     | 
| 
       295 
293 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -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. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.16.1. はじめに — Groonga v5.0.1-42-g4d10df1ドキュメント</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.1-42-g4d10df1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -26,12 +26,12 @@ 
     | 
|
| 
       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. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="next" title="7. 
     | 
| 
       32 
     | 
    
         
            -
                <link rel="prev" title="7. 
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="up" title="7.16. サジェスト" href="../suggest.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="next" title="7.16.2. 補完" href="completion.html" />
         
     | 
| 
      
 32 
     | 
    
         
            +
                <link rel="prev" title="7.16. サジェスト" href="../suggest.html" /> 
         
     | 
| 
       33 
33 
     | 
    
         
             
              </head>
         
     | 
| 
       34 
     | 
    
         
            -
              <body 
     | 
| 
      
 34 
     | 
    
         
            +
              <body>
         
     | 
| 
       35 
35 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       36 
36 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       37 
37 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -49,31 +49,31 @@ 
     | 
|
| 
       49 
49 
     | 
    
         
             
            </div>
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 52 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       54 
54 
     | 
    
         
             
                  <ul>
         
     | 
| 
       55 
55 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       56 
56 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       57 
57 
     | 
    
         
             
                         accesskey="I">索引</a></li>
         
     | 
| 
       58 
58 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       59 
     | 
    
         
            -
                      <a href="completion.html" title="7. 
     | 
| 
      
 59 
     | 
    
         
            +
                      <a href="completion.html" title="7.16.2. 補完"
         
     | 
| 
       60 
60 
     | 
    
         
             
                         accesskey="N">次へ</a> |</li>
         
     | 
| 
       61 
61 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       62 
     | 
    
         
            -
                      <a href="../suggest.html" title="7. 
     | 
| 
      
 62 
     | 
    
         
            +
                      <a href="../suggest.html" title="7.16. サジェスト"
         
     | 
| 
       63 
63 
     | 
    
         
             
                         accesskey="P">前へ</a> |</li>
         
     | 
| 
       64 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 64 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       66 
     | 
    
         
            -
                      <li><a href="../suggest.html" accesskey="U">7. 
     | 
| 
      
 66 
     | 
    
         
            +
                      <li><a href="../suggest.html" accesskey="U">7.16. サジェスト</a> »</li> 
         
     | 
| 
       67 
67 
     | 
    
         
             
                  </ul>
         
     | 
| 
       68 
68 
     | 
    
         
             
                </div>  
         
     | 
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       71 
71 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       72 
72 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       73 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 73 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       74 
74 
     | 
    
         | 
| 
       75 
75 
     | 
    
         
             
              <div class="section" id="introduction">
         
     | 
| 
       76 
     | 
    
         
            -
            <h1>7. 
     | 
| 
      
 76 
     | 
    
         
            +
            <h1>7.16.1. はじめに<a class="headerlink" href="#introduction" title="このヘッドラインへのパーマリンク">¶</a></h1>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>Groongaのサジェスト機能は以下の機能を提供します。:</p>
         
     | 
| 
       78 
78 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       79 
79 
     | 
    
         
             
            <li><p class="first">補完</p>
         
     | 
| 
         @@ -84,7 +84,7 @@ 
     | 
|
| 
       84 
84 
     | 
    
         
             
            </li>
         
     | 
| 
       85 
85 
     | 
    
         
             
            </ul>
         
     | 
| 
       86 
86 
     | 
    
         
             
            <div class="section" id="completion">
         
     | 
| 
       87 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 87 
     | 
    
         
            +
            <h2>7.16.1.1. 補完<a class="headerlink" href="#completion" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       88 
88 
     | 
    
         
             
            <p>補完はユーザの入力を支援します。ユーザが単語の一部分のみしか入力していないときに、登録済みの語の中から補完候補の語を返します。</p>
         
     | 
| 
       89 
89 
     | 
    
         
             
            <p>例えば、以下が登録済みの語とします。:</p>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
         @@ -98,7 +98,7 @@ 
     | 
|
| 
       98 
98 
     | 
    
         
             
            <p>ユーザが"ab"と入力したときは何も返しません。これは"ab"から始まる語が1つも登録されていないからです。</p>
         
     | 
| 
       99 
99 
     | 
    
         
             
            </div>
         
     | 
| 
       100 
100 
     | 
    
         
             
            <div class="section" id="correction">
         
     | 
| 
       101 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 101 
     | 
    
         
            +
            <h2>7.16.1.2. 補正<a class="headerlink" href="#correction" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       102 
102 
     | 
    
         
             
            <p>補正もユーザの入力を支援します。ユーザが間違った語を入力したときに登録済みの補正ペアの中から補正された語を返します。</p>
         
     | 
| 
       103 
103 
     | 
    
         
             
            <p>例えば、以下のような補正ペアが登録されていたとします。</p>
         
     | 
| 
       104 
104 
     | 
    
         
             
            <table border="1" class="docutils">
         
     | 
| 
         @@ -129,7 +129,7 @@ 
     | 
|
| 
       129 
129 
     | 
    
         
             
            <p>ユーザが"roonga"と入力したときは何も返しません。これは"roonga"が「間違った語」カラムにないからです。</p>
         
     | 
| 
       130 
130 
     | 
    
         
             
            </div>
         
     | 
| 
       131 
131 
     | 
    
         
             
            <div class="section" id="suggestion">
         
     | 
| 
       132 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 132 
     | 
    
         
            +
            <h2>7.16.1.3. 提案<a class="headerlink" href="#suggestion" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       133 
133 
     | 
    
         
             
            <p>提案は、たくさんの文書が見つかったときに、ユーザがさらに絞り込むことを支援します。ユーザがクエリを入力したとき、登録済みの関連クエリペアから追加のキーワードを選び、追加のキーワードを含んだ新しいクエリを返します。</p>
         
     | 
| 
       134 
134 
     | 
    
         
             
            <p>例えば、以下の関連クエリペアが登録されているとします。:</p>
         
     | 
| 
       135 
135 
     | 
    
         
             
            <table border="1" class="docutils">
         
     | 
| 
         @@ -160,7 +160,7 @@ 
     | 
|
| 
       160 
160 
     | 
    
         
             
            <p>ユーザが"MySQL"と入力したときは何も返しません。これは"MySQL"が「キーワード」カラムにないからです。</p>
         
     | 
| 
       161 
161 
     | 
    
         
             
            </div>
         
     | 
| 
       162 
162 
     | 
    
         
             
            <div class="section" id="learning">
         
     | 
| 
       163 
     | 
    
         
            -
            <h2>7. 
     | 
| 
      
 163 
     | 
    
         
            +
            <h2>7.16.1.4. 学習<a class="headerlink" href="#learning" title="このヘッドラインへのパーマリンク">¶</a></h2>
         
     | 
| 
       164 
164 
     | 
    
         
             
            <p>サジェスト機能を使う場合は、事前に登録済みのデータを用意する必要があります。これらのデータはユーザの入力を使って登録できます。これ用にgroonga-suggest-httpdコマンドとgroonga-suggest-learnerコマンドがあります。</p>
         
     | 
| 
       165 
165 
     | 
    
         
             
            </div>
         
     | 
| 
       166 
166 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -169,33 +169,31 @@ 
     | 
|
| 
       169 
169 
     | 
    
         
             
                      </div>
         
     | 
| 
       170 
170 
     | 
    
         
             
                    </div>
         
     | 
| 
       171 
171 
     | 
    
         
             
                  </div>
         
     | 
| 
       172 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 172 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       173 
173 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       174 
174 
     | 
    
         
             
              <h3><a href="../../index.html">目次</a></h3>
         
     | 
| 
       175 
175 
     | 
    
         
             
              <ul>
         
     | 
| 
       176 
     | 
    
         
            -
            <li><a class="reference internal" href="#">7. 
     | 
| 
       177 
     | 
    
         
            -
            <li><a class="reference internal" href="#completion">7. 
     | 
| 
       178 
     | 
    
         
            -
            <li><a class="reference internal" href="#correction">7. 
     | 
| 
       179 
     | 
    
         
            -
            <li><a class="reference internal" href="#suggestion">7. 
     | 
| 
       180 
     | 
    
         
            -
            <li><a class="reference internal" href="#learning">7. 
     | 
| 
      
 176 
     | 
    
         
            +
            <li><a class="reference internal" href="#">7.16.1. はじめに</a><ul>
         
     | 
| 
      
 177 
     | 
    
         
            +
            <li><a class="reference internal" href="#completion">7.16.1.1. 補完</a></li>
         
     | 
| 
      
 178 
     | 
    
         
            +
            <li><a class="reference internal" href="#correction">7.16.1.2. 補正</a></li>
         
     | 
| 
      
 179 
     | 
    
         
            +
            <li><a class="reference internal" href="#suggestion">7.16.1.3. 提案</a></li>
         
     | 
| 
      
 180 
     | 
    
         
            +
            <li><a class="reference internal" href="#learning">7.16.1.4. 学習</a></li>
         
     | 
| 
       181 
181 
     | 
    
         
             
            </ul>
         
     | 
| 
       182 
182 
     | 
    
         
             
            </li>
         
     | 
| 
       183 
183 
     | 
    
         
             
            </ul>
         
     | 
| 
       184 
184 
     | 
    
         | 
| 
       185 
185 
     | 
    
         
             
              <h4>前のトピックへ</h4>
         
     | 
| 
       186 
186 
     | 
    
         
             
              <p class="topless"><a href="../suggest.html"
         
     | 
| 
       187 
     | 
    
         
            -
                                    title="前の章へ">7. 
     | 
| 
      
 187 
     | 
    
         
            +
                                    title="前の章へ">7.16. サジェスト</a></p>
         
     | 
| 
       188 
188 
     | 
    
         
             
              <h4>次のトピックへ</h4>
         
     | 
| 
       189 
189 
     | 
    
         
             
              <p class="topless"><a href="completion.html"
         
     | 
| 
       190 
     | 
    
         
            -
                                    title="次の章へ">7. 
     | 
| 
       191 
     | 
    
         
            -
              < 
     | 
| 
       192 
     | 
    
         
            -
             
     | 
| 
       193 
     | 
    
         
            -
                < 
     | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
       197 
     | 
    
         
            -
               </div>
         
     | 
| 
       198 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 190 
     | 
    
         
            +
                                    title="次の章へ">7.16.2. 補完</a></p>
         
     | 
| 
      
 191 
     | 
    
         
            +
              <h3>このページ</h3>
         
     | 
| 
      
 192 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 193 
     | 
    
         
            +
                <li><a href="../../_sources/reference/suggest/introduction.txt"
         
     | 
| 
      
 194 
     | 
    
         
            +
                       rel="nofollow">ソースコードを表示</a></li>
         
     | 
| 
      
 195 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 196 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       199 
197 
     | 
    
         
             
              <h3>クイック検索</h3>
         
     | 
| 
       200 
198 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       201 
199 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -212,24 +210,24 @@ 
     | 
|
| 
       212 
210 
     | 
    
         
             
                  </div>
         
     | 
| 
       213 
211 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       214 
212 
     | 
    
         
             
                </div>
         
     | 
| 
       215 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 213 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       216 
214 
     | 
    
         
             
                  <h3>ナビゲーション</h3>
         
     | 
| 
       217 
215 
     | 
    
         
             
                  <ul>
         
     | 
| 
       218 
216 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
       219 
217 
     | 
    
         
             
                      <a href="../../genindex.html" title="総合索引"
         
     | 
| 
       220 
218 
     | 
    
         
             
                         >索引</a></li>
         
     | 
| 
       221 
219 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       222 
     | 
    
         
            -
                      <a href="completion.html" title="7. 
     | 
| 
      
 220 
     | 
    
         
            +
                      <a href="completion.html" title="7.16.2. 補完"
         
     | 
| 
       223 
221 
     | 
    
         
             
                         >次へ</a> |</li>
         
     | 
| 
       224 
222 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       225 
     | 
    
         
            -
                      <a href="../suggest.html" title="7. 
     | 
| 
      
 223 
     | 
    
         
            +
                      <a href="../suggest.html" title="7.16. サジェスト"
         
     | 
| 
       226 
224 
     | 
    
         
             
                         >前へ</a> |</li>
         
     | 
| 
       227 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v5.0. 
     | 
| 
      
 225 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
         
     | 
| 
       228 
226 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
         
     | 
| 
       229 
     | 
    
         
            -
                      <li><a href="../suggest.html" >7. 
     | 
| 
      
 227 
     | 
    
         
            +
                      <li><a href="../suggest.html" >7.16. サジェスト</a> »</li> 
         
     | 
| 
       230 
228 
     | 
    
         
             
                  </ul>
         
     | 
| 
       231 
229 
     | 
    
         
             
                </div>
         
     | 
| 
       232 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 230 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       233 
231 
     | 
    
         
             
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       234 
232 
     | 
    
         
             
                </div>
         
     | 
| 
       235 
233 
     | 
    
         
             
              </body>
         
     |