rroonga 4.0.5-x64-mingw32 → 4.0.6-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -1
- 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/groonga/dumper.rb +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-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/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +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 +1 -1
- 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 +1 -1
- 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 +41 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- 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/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,33 +7,34 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.14. サジェスト — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
|
-
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
13
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
12
|
+
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
14
14
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
|
-
URL_ROOT: '
|
18
|
-
VERSION: '4.0.
|
17
|
+
URL_ROOT: '../',
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
22
22
|
};
|
23
23
|
</script>
|
24
|
-
<script type="text/javascript" src="_static/jquery.js"></script>
|
25
|
-
<script type="text/javascript" src="_static/underscore.js"></script>
|
26
|
-
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
|
-
<script type="text/javascript" src="_static/translations.js"></script>
|
28
|
-
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
30
|
-
<link rel="
|
31
|
-
<link rel="
|
24
|
+
<script type="text/javascript" src="../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
|
+
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../index.html" />
|
30
|
+
<link rel="up" title="7. リファレンスマニュアル" href="../reference.html" />
|
31
|
+
<link rel="next" title="7.14.1. はじめに" href="suggest/introduction.html" />
|
32
|
+
<link rel="prev" title="7.13.1. 位置情報検索" href="operations/geolocation_search.html" />
|
32
33
|
</head>
|
33
34
|
<body>
|
34
35
|
<div class="header">
|
35
36
|
<h1 class="title">
|
36
|
-
<a id="top-link" href="index.html">
|
37
|
+
<a id="top-link" href="../index.html">
|
37
38
|
<span class="project">groonga</span>
|
38
39
|
<span class="separator">-</span>
|
39
40
|
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
@@ -42,7 +43,7 @@
|
|
42
43
|
|
43
44
|
<div class="other-language-links">
|
44
45
|
<ul>
|
45
|
-
<li><a href="
|
46
|
+
<li><a href="../../../en/html/reference/suggest.html"><img src="../_static/us.png" alt="English">English page</a></li>
|
46
47
|
</ul>
|
47
48
|
</div>
|
48
49
|
</div>
|
@@ -52,15 +53,16 @@
|
|
52
53
|
<h3>ナビゲーション</h3>
|
53
54
|
<ul>
|
54
55
|
<li class="right" style="margin-right: 10px">
|
55
|
-
<a href="genindex.html" title="総合索引"
|
56
|
+
<a href="../genindex.html" title="総合索引"
|
56
57
|
accesskey="I">索引</a></li>
|
57
58
|
<li class="right" >
|
58
|
-
<a href="suggest/introduction.html" title="
|
59
|
+
<a href="suggest/introduction.html" title="7.14.1. はじめに"
|
59
60
|
accesskey="N">次へ</a> |</li>
|
60
61
|
<li class="right" >
|
61
|
-
<a href="
|
62
|
+
<a href="operations/geolocation_search.html" title="7.13.1. 位置情報検索"
|
62
63
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../reference.html" accesskey="U">7. リファレンスマニュアル</a> »</li>
|
64
66
|
</ul>
|
65
67
|
</div>
|
66
68
|
|
@@ -70,36 +72,35 @@
|
|
70
72
|
<div class="body">
|
71
73
|
|
72
74
|
<div class="section" id="suggest">
|
73
|
-
<h1>
|
75
|
+
<h1>7.14. サジェスト<a class="headerlink" href="#suggest" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
74
76
|
<p>Groongaにはサジェスト機能があります。このセクションではこの機能の使い方とどのように動作しているかを説明します。</p>
|
75
77
|
<div class="toctree-wrapper compound">
|
76
78
|
<ul>
|
77
|
-
<li class="toctree-l1"><a class="reference internal" href="suggest/introduction.html">
|
78
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#completion">
|
79
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#correction">
|
80
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#suggestion">
|
81
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#learning">
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="suggest/introduction.html">7.14.1. はじめに</a><ul>
|
80
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#completion">7.14.1.1. 補完</a></li>
|
81
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#correction">7.14.1.2. 補正</a></li>
|
82
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#suggestion">7.14.1.3. 提案</a></li>
|
83
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html#learning">7.14.1.4. 学習</a></li>
|
82
84
|
</ul>
|
83
85
|
</li>
|
84
|
-
<li class="toctree-l1"><a class="reference internal" href="suggest/
|
85
|
-
<li class="toctree-
|
86
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-
|
87
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-
|
88
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-
|
89
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-to-update-rk-reading-data">5.3.4. How to update RK reading data</a></li>
|
86
|
+
<li class="toctree-l1"><a class="reference internal" href="suggest/completion.html">7.14.2. 補完</a><ul>
|
87
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-it-works">7.14.2.1. どのように動作するか</a></li>
|
88
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-to-use">7.14.2.2. 使い方</a></li>
|
89
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-it-learns">7.14.2.3. 学習方法</a></li>
|
90
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html#how-to-update-rk-reading-data">7.14.2.4. How to update RK reading data</a></li>
|
90
91
|
</ul>
|
91
92
|
</li>
|
92
|
-
<li class="toctree-l1"><a class="reference internal" href="suggest/correction.html">
|
93
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-it-works">
|
94
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-to-use">
|
95
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-it-learns">
|
93
|
+
<li class="toctree-l1"><a class="reference internal" href="suggest/correction.html">7.14.3. 補正</a><ul>
|
94
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-it-works">7.14.3.1. どのように動作するか</a></li>
|
95
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-to-use">7.14.3.2. 使い方</a></li>
|
96
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html#how-it-learns">7.14.3.3. 学習方法</a></li>
|
96
97
|
</ul>
|
97
98
|
</li>
|
98
|
-
<li class="toctree-l1"><a class="reference internal" href="suggest/suggestion.html">
|
99
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-it-works">
|
100
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-to-use">
|
101
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-it-learns">
|
102
|
-
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-to-extract-learning-data">
|
99
|
+
<li class="toctree-l1"><a class="reference internal" href="suggest/suggestion.html">7.14.4. 提案</a><ul>
|
100
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-it-works">7.14.4.1. どのように動作するか</a></li>
|
101
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-to-use">7.14.4.2. 使い方</a></li>
|
102
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-it-learns">7.14.4.3. 学習方法</a></li>
|
103
|
+
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html#how-to-extract-learning-data">7.14.4.4. How to extract learning data</a></li>
|
103
104
|
</ul>
|
104
105
|
</li>
|
105
106
|
</ul>
|
@@ -113,19 +114,19 @@
|
|
113
114
|
<div class="sphinxsidebar">
|
114
115
|
<div class="sphinxsidebarwrapper">
|
115
116
|
<h4>前のトピックへ</h4>
|
116
|
-
<p class="topless"><a href="
|
117
|
-
title="前の章へ">
|
117
|
+
<p class="topless"><a href="operations/geolocation_search.html"
|
118
|
+
title="前の章へ">7.13.1. 位置情報検索</a></p>
|
118
119
|
<h4>次のトピックへ</h4>
|
119
120
|
<p class="topless"><a href="suggest/introduction.html"
|
120
|
-
title="次の章へ">
|
121
|
+
title="次の章へ">7.14.1. はじめに</a></p>
|
121
122
|
<h3>このページ</h3>
|
122
123
|
<ul class="this-page-menu">
|
123
|
-
<li><a href="_sources/suggest.txt"
|
124
|
+
<li><a href="../_sources/reference/suggest.txt"
|
124
125
|
rel="nofollow">ソースコードを表示</a></li>
|
125
126
|
</ul>
|
126
127
|
<div id="searchbox" style="display: none">
|
127
128
|
<h3>クイック検索</h3>
|
128
|
-
<form class="search" action="search.html" method="get">
|
129
|
+
<form class="search" action="../search.html" method="get">
|
129
130
|
<input type="text" name="q" />
|
130
131
|
<input type="submit" value="検索" />
|
131
132
|
<input type="hidden" name="check_keywords" value="yes" />
|
@@ -144,15 +145,16 @@
|
|
144
145
|
<h3>ナビゲーション</h3>
|
145
146
|
<ul>
|
146
147
|
<li class="right" style="margin-right: 10px">
|
147
|
-
<a href="genindex.html" title="総合索引"
|
148
|
+
<a href="../genindex.html" title="総合索引"
|
148
149
|
>索引</a></li>
|
149
150
|
<li class="right" >
|
150
|
-
<a href="suggest/introduction.html" title="
|
151
|
+
<a href="suggest/introduction.html" title="7.14.1. はじめに"
|
151
152
|
>次へ</a> |</li>
|
152
153
|
<li class="right" >
|
153
|
-
<a href="
|
154
|
+
<a href="operations/geolocation_search.html" title="7.13.1. 位置情報検索"
|
154
155
|
>前へ</a> |</li>
|
155
|
-
<li><a href="index.html">Groonga v4.0.
|
156
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
157
|
+
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
156
158
|
</ul>
|
157
159
|
</div>
|
158
160
|
<div class="footer">
|
@@ -7,34 +7,34 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.14.2. 補完 — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
|
-
<link rel="stylesheet" href="
|
13
|
-
<link rel="stylesheet" href="
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
14
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
|
-
URL_ROOT: '
|
18
|
-
VERSION: '4.0.
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
22
22
|
};
|
23
23
|
</script>
|
24
|
-
<script type="text/javascript" src="
|
25
|
-
<script type="text/javascript" src="
|
26
|
-
<script type="text/javascript" src="
|
27
|
-
<script type="text/javascript" src="
|
28
|
-
<link rel="shortcut icon" href="
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. サジェスト" href="../suggest.html" />
|
31
|
+
<link rel="next" title="7.14.3. 補正" href="correction.html" />
|
32
|
+
<link rel="prev" title="7.14.1. はじめに" href="introduction.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
|
-
<a id="top-link" href="
|
37
|
+
<a id="top-link" href="../../index.html">
|
38
38
|
<span class="project">groonga</span>
|
39
39
|
<span class="separator">-</span>
|
40
40
|
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<div class="other-language-links">
|
45
45
|
<ul>
|
46
|
-
<li><a href="
|
46
|
+
<li><a href="../../../../en/html/reference/suggest/completion.html"><img src="../../_static/us.png" alt="English">English page</a></li>
|
47
47
|
</ul>
|
48
48
|
</div>
|
49
49
|
</div>
|
@@ -53,16 +53,17 @@
|
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
|
-
<a href="
|
56
|
+
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="correction.html" title="
|
59
|
+
<a href="correction.html" title="7.14.3. 補正"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="
|
62
|
+
<a href="introduction.html" title="7.14.1. はじめに"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="
|
65
|
-
<li><a href="
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../suggest.html" accesskey="U">7.14. サジェスト</a> »</li>
|
66
67
|
</ul>
|
67
68
|
</div>
|
68
69
|
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="body">
|
73
74
|
|
74
75
|
<div class="section" id="completion">
|
75
|
-
<h1>
|
76
|
+
<h1>7.14.2. 補完<a class="headerlink" href="#completion" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
77
|
<p>このセクションでは以下の補完機能について説明します。:</p>
|
77
78
|
<ul class="simple">
|
78
79
|
<li><p class="first">どのように動作するか</p>
|
@@ -83,7 +84,7 @@
|
|
83
84
|
</li>
|
84
85
|
</ul>
|
85
86
|
<div class="section" id="how-it-works">
|
86
|
-
<h2>
|
87
|
+
<h2>7.14.2.1. どのように動作するか<a class="headerlink" href="#how-it-works" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
88
|
<p>補完機能は補完される語を計算するために3種類の検索を使います。</p>
|
88
89
|
<blockquote>
|
89
90
|
<div><ol class="arabic simple">
|
@@ -96,17 +97,17 @@
|
|
96
97
|
</ol>
|
97
98
|
</div></blockquote>
|
98
99
|
<div class="section" id="prefix-rk-search">
|
99
|
-
<h3>
|
100
|
+
<h3>7.14.2.1.1. 前方一致RK検索<a class="headerlink" href="#prefix-rk-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
100
101
|
<p>RKはローマ字(Romaji)とカタカナ(Katakana)を意味しています。前方一致RK検索は登録されている語をユーザの入力から前方一致検索します。このとき、ユーザの入力はローマ字でもカタカナでもひらがなでも構いません。この機能は日本語を検索するときに便利です。</p>
|
101
102
|
<p>例えば、"日本"という語が登録されているとします。そして、その読みとして"ニホン"(カタカナにしないといけません)が登録されているとします。このとき、ユーザの入力が"ni"でも"二"でも"に"でも"日本"を見つけることができます。</p>
|
102
103
|
<p>If you create dataset which is named as example by
|
103
|
-
<a class="reference internal" href="../
|
104
|
+
<a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a> command,
|
104
105
|
you can update pairs of registered word and its reading by loading
|
105
106
|
data to '_key' and 'kana' column of item_example table explicitly for
|
106
107
|
prefix RK search.</p>
|
107
108
|
</div>
|
108
109
|
<div class="section" id="cooccurrence-search">
|
109
|
-
<h3>
|
110
|
+
<h3>7.14.2.1.2. 共起検索<a class="headerlink" href="#cooccurrence-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
110
111
|
<p>共起検索は入力途中のユーザのクエリから登録されている語を見つけます。共起検索では検索データベースとしてユーザの入力シーケンスを使います。これはクエリログやアクセスログなどから学習します。</p>
|
111
112
|
<p>例えば、以下のようなユーザの入力シーケンスがあるとします。</p>
|
112
113
|
<table border="1" class="docutils">
|
@@ -237,15 +238,15 @@ prefix RK search.</p>
|
|
237
238
|
<p>ユーザが"sea"と入力したら、共起検索は"search"を返します。なぜなら、「入力」カラムには"sea"という値があり、対応する「補完語」カラムには"search"という値が入っているからです。</p>
|
238
239
|
</div>
|
239
240
|
<div class="section" id="prefix-search">
|
240
|
-
<h3>
|
241
|
+
<h3>7.14.2.1.3. 前方一致検索<a class="headerlink" href="#prefix-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
241
242
|
<p>前方一致検索はユーザが入力した文字列から始まる登録済みの語を検索します。この検索は前方一致RK検索とは違ってローマ字、カタカナ、ひらがなを特別扱いしません。</p>
|
242
243
|
<p>この検索はいつも実行されるわけではありません。この検索は明示的に実行するように指示するか、前方一致RK検索と共起検索の両方がなにもヒットしないときのみ実行されます。</p>
|
243
244
|
<p>例えば、"search"が登録されているとします。ユーザは"s"、"se"、"sea"、"sear"、"searc"、"search"のどれでも"search"を補完候補として利用できます。</p>
|
244
245
|
</div>
|
245
246
|
</div>
|
246
247
|
<div class="section" id="how-to-use">
|
247
|
-
<h2>
|
248
|
-
<p>Groongaは補完機能を使うために <a class="reference internal" href="../
|
248
|
+
<h2>7.14.2.2. 使い方<a class="headerlink" href="#how-to-use" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
249
|
+
<p>Groongaは補完機能を使うために <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> コマンドを用意しています。 <cite>--type complete</cite> オプションを使うと補完機能を利用できます。</p>
|
249
250
|
<p>例えば、"en"と入力したときの補完結果を取得するコマンドは以下のようになります。:</p>
|
250
251
|
<p>実行例:</p>
|
251
252
|
<div class="highlight-none"><div class="highlight"><pre>suggest --table item_query --column kana --types complete --frequency_threshold 1 --query en
|
@@ -281,7 +282,7 @@ prefix RK search.</p>
|
|
281
282
|
</div>
|
282
283
|
</div>
|
283
284
|
<div class="section" id="how-it-learns">
|
284
|
-
<h2>
|
285
|
+
<h2>7.14.2.3. 学習方法<a class="headerlink" href="#how-it-learns" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
285
286
|
<p>共起検索は学習データを使います。学習データはクエリログやアクセスログなどを元に作成します。学習データを作成するには、タイムスタンプ付きの入力シーケンスと、タイムスタンプ付きの検索実行時の入力内容が必要です。</p>
|
286
287
|
<p>例えば、ユーザが"engine"で検索したいとします。ユーザが以下のようなシーケンスで検索クエリを入力したとします。:</p>
|
287
288
|
<blockquote>
|
@@ -309,7 +310,7 @@ prefix RK search.</p>
|
|
309
310
|
</div>
|
310
311
|
</div>
|
311
312
|
<div class="section" id="how-to-update-rk-reading-data">
|
312
|
-
<h2>
|
313
|
+
<h2>7.14.2.4. How to update RK reading data<a class="headerlink" href="#how-to-update-rk-reading-data" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
313
314
|
<p>Groonga requires registered word and its reading for RK search, so load such data in the advance.</p>
|
314
315
|
<p>Here is the example to register "日本" which means Japanese in english.</p>
|
315
316
|
<p>実行例:</p>
|
@@ -509,36 +510,36 @@ suggest --table item_query --column kana --types complete --frequency_threshold
|
|
509
510
|
</div>
|
510
511
|
<div class="sphinxsidebar">
|
511
512
|
<div class="sphinxsidebarwrapper">
|
512
|
-
<h3><a href="
|
513
|
+
<h3><a href="../../index.html">目次</a></h3>
|
513
514
|
<ul>
|
514
|
-
<li><a class="reference internal" href="#">
|
515
|
-
<li><a class="reference internal" href="#how-it-works">
|
516
|
-
<li><a class="reference internal" href="#prefix-rk-search">
|
517
|
-
<li><a class="reference internal" href="#cooccurrence-search">
|
518
|
-
<li><a class="reference internal" href="#prefix-search">
|
515
|
+
<li><a class="reference internal" href="#">7.14.2. 補完</a><ul>
|
516
|
+
<li><a class="reference internal" href="#how-it-works">7.14.2.1. どのように動作するか</a><ul>
|
517
|
+
<li><a class="reference internal" href="#prefix-rk-search">7.14.2.1.1. 前方一致RK検索</a></li>
|
518
|
+
<li><a class="reference internal" href="#cooccurrence-search">7.14.2.1.2. 共起検索</a></li>
|
519
|
+
<li><a class="reference internal" href="#prefix-search">7.14.2.1.3. 前方一致検索</a></li>
|
519
520
|
</ul>
|
520
521
|
</li>
|
521
|
-
<li><a class="reference internal" href="#how-to-use">
|
522
|
-
<li><a class="reference internal" href="#how-it-learns">
|
523
|
-
<li><a class="reference internal" href="#how-to-update-rk-reading-data">
|
522
|
+
<li><a class="reference internal" href="#how-to-use">7.14.2.2. 使い方</a></li>
|
523
|
+
<li><a class="reference internal" href="#how-it-learns">7.14.2.3. 学習方法</a></li>
|
524
|
+
<li><a class="reference internal" href="#how-to-update-rk-reading-data">7.14.2.4. How to update RK reading data</a></li>
|
524
525
|
</ul>
|
525
526
|
</li>
|
526
527
|
</ul>
|
527
528
|
|
528
529
|
<h4>前のトピックへ</h4>
|
529
|
-
<p class="topless"><a href="
|
530
|
-
title="前の章へ">
|
530
|
+
<p class="topless"><a href="introduction.html"
|
531
|
+
title="前の章へ">7.14.1. はじめに</a></p>
|
531
532
|
<h4>次のトピックへ</h4>
|
532
533
|
<p class="topless"><a href="correction.html"
|
533
|
-
title="次の章へ">
|
534
|
+
title="次の章へ">7.14.3. 補正</a></p>
|
534
535
|
<h3>このページ</h3>
|
535
536
|
<ul class="this-page-menu">
|
536
|
-
<li><a href="
|
537
|
+
<li><a href="../../_sources/reference/suggest/completion.txt"
|
537
538
|
rel="nofollow">ソースコードを表示</a></li>
|
538
539
|
</ul>
|
539
540
|
<div id="searchbox" style="display: none">
|
540
541
|
<h3>クイック検索</h3>
|
541
|
-
<form class="search" action="
|
542
|
+
<form class="search" action="../../search.html" method="get">
|
542
543
|
<input type="text" name="q" />
|
543
544
|
<input type="submit" value="検索" />
|
544
545
|
<input type="hidden" name="check_keywords" value="yes" />
|
@@ -557,16 +558,17 @@ suggest --table item_query --column kana --types complete --frequency_threshold
|
|
557
558
|
<h3>ナビゲーション</h3>
|
558
559
|
<ul>
|
559
560
|
<li class="right" style="margin-right: 10px">
|
560
|
-
<a href="
|
561
|
+
<a href="../../genindex.html" title="総合索引"
|
561
562
|
>索引</a></li>
|
562
563
|
<li class="right" >
|
563
|
-
<a href="correction.html" title="
|
564
|
+
<a href="correction.html" title="7.14.3. 補正"
|
564
565
|
>次へ</a> |</li>
|
565
566
|
<li class="right" >
|
566
|
-
<a href="
|
567
|
+
<a href="introduction.html" title="7.14.1. はじめに"
|
567
568
|
>前へ</a> |</li>
|
568
|
-
<li><a href="
|
569
|
-
<li><a href="
|
569
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
570
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
571
|
+
<li><a href="../suggest.html" >7.14. サジェスト</a> »</li>
|
570
572
|
</ul>
|
571
573
|
</div>
|
572
574
|
<div class="footer">
|
@@ -7,34 +7,34 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.14.3. 補正 — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
|
-
<link rel="stylesheet" href="
|
13
|
-
<link rel="stylesheet" href="
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
14
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
|
-
URL_ROOT: '
|
18
|
-
VERSION: '4.0.
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
22
22
|
};
|
23
23
|
</script>
|
24
|
-
<script type="text/javascript" src="
|
25
|
-
<script type="text/javascript" src="
|
26
|
-
<script type="text/javascript" src="
|
27
|
-
<script type="text/javascript" src="
|
28
|
-
<link rel="shortcut icon" href="
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. サジェスト" href="../suggest.html" />
|
31
|
+
<link rel="next" title="7.14.4. 提案" href="suggestion.html" />
|
32
|
+
<link rel="prev" title="7.14.2. 補完" href="completion.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
|
-
<a id="top-link" href="
|
37
|
+
<a id="top-link" href="../../index.html">
|
38
38
|
<span class="project">groonga</span>
|
39
39
|
<span class="separator">-</span>
|
40
40
|
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<div class="other-language-links">
|
45
45
|
<ul>
|
46
|
-
<li><a href="
|
46
|
+
<li><a href="../../../../en/html/reference/suggest/correction.html"><img src="../../_static/us.png" alt="English">English page</a></li>
|
47
47
|
</ul>
|
48
48
|
</div>
|
49
49
|
</div>
|
@@ -53,16 +53,17 @@
|
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
|
-
<a href="
|
56
|
+
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="suggestion.html" title="
|
59
|
+
<a href="suggestion.html" title="7.14.4. 提案"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="completion.html" title="
|
62
|
+
<a href="completion.html" title="7.14.2. 補完"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="
|
65
|
-
<li><a href="
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../suggest.html" accesskey="U">7.14. サジェスト</a> »</li>
|
66
67
|
</ul>
|
67
68
|
</div>
|
68
69
|
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="body">
|
73
74
|
|
74
75
|
<div class="section" id="correction">
|
75
|
-
<h1>
|
76
|
+
<h1>7.14.3. 補正<a class="headerlink" href="#correction" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
77
|
<p>このセクションでは以下の補正機能について説明します。:</p>
|
77
78
|
<ul class="simple">
|
78
79
|
<li><p class="first">どのように動作するか</p>
|
@@ -83,7 +84,7 @@
|
|
83
84
|
</li>
|
84
85
|
</ul>
|
85
86
|
<div class="section" id="how-it-works">
|
86
|
-
<h2>
|
87
|
+
<h2>7.14.3.1. どのように動作するか<a class="headerlink" href="#how-it-works" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
88
|
<p>補正機能は補正した語を計算するために3種類の検索を使います。:</p>
|
88
89
|
<blockquote>
|
89
90
|
<div><ol class="arabic simple">
|
@@ -94,7 +95,7 @@
|
|
94
95
|
</ol>
|
95
96
|
</div></blockquote>
|
96
97
|
<div class="section" id="cooccurrence-search">
|
97
|
-
<h3>
|
98
|
+
<h3>7.14.3.1.1. 共起検索<a class="headerlink" href="#cooccurrence-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
98
99
|
<p>共起検索はユーザの間違って入力した文字列から登録済みの語を検索します。共起検索ではユーザがどのように検索を実行したかを使います。ユーザがどのように検索したかはクエリログやアクセスログから学習します。</p>
|
99
100
|
<p>例えば、ユーザが以下のように検索を実行したとします。:</p>
|
100
101
|
<table border="1" class="docutils">
|
@@ -103,8 +104,7 @@
|
|
103
104
|
<col width="59%" />
|
104
105
|
</colgroup>
|
105
106
|
<thead valign="bottom">
|
106
|
-
<tr class="row-odd"><th class="head"
|
107
|
-
</th>
|
107
|
+
<tr class="row-odd"><th class="head">query</th>
|
108
108
|
<th class="head"><p class="first last">時刻</p>
|
109
109
|
</th>
|
110
110
|
</tr>
|
@@ -143,15 +143,15 @@
|
|
143
143
|
<p>ユーザが"serach"と入力した場合、共起検索は"saerch"を返します。なぜなら、"serach"が「入力」カラムにあり、対応する「補正される語」カラムの値が"search"だからです。</p>
|
144
144
|
</div>
|
145
145
|
<div class="section" id="similar-search">
|
146
|
-
<h3>
|
147
|
-
<p>類似検索はユーザの入力をトークナイズし、同じトークンを含んだ登録済みの語を検索します。トークナイズにはTokenBigramトークナイザーを使います。これは <a class="reference internal" href="../
|
146
|
+
<h3>7.14.3.1.2. 類似文書検索<a class="headerlink" href="#similar-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
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>
|
154
|
-
<p>Groongaは補正機能を使うために <a class="reference internal" href="../
|
153
|
+
<h2>7.14.3.2. 使い方<a class="headerlink" href="#how-to-use" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
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>
|
157
157
|
<div class="highlight-none"><div class="highlight"><pre>suggest --table item_query --column kana --types correction --frequency_threshold 1 --query saerch
|
@@ -187,7 +187,7 @@
|
|
187
187
|
</div>
|
188
188
|
</div>
|
189
189
|
<div class="section" id="how-it-learns">
|
190
|
-
<h2>
|
190
|
+
<h2>7.14.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>
|
@@ -228,34 +228,34 @@
|
|
228
228
|
</div>
|
229
229
|
<div class="sphinxsidebar">
|
230
230
|
<div class="sphinxsidebarwrapper">
|
231
|
-
<h3><a href="
|
231
|
+
<h3><a href="../../index.html">目次</a></h3>
|
232
232
|
<ul>
|
233
|
-
<li><a class="reference internal" href="#">
|
234
|
-
<li><a class="reference internal" href="#how-it-works">
|
235
|
-
<li><a class="reference internal" href="#cooccurrence-search">
|
236
|
-
<li><a class="reference internal" href="#similar-search">
|
233
|
+
<li><a class="reference internal" href="#">7.14.3. 補正</a><ul>
|
234
|
+
<li><a class="reference internal" href="#how-it-works">7.14.3.1. どのように動作するか</a><ul>
|
235
|
+
<li><a class="reference internal" href="#cooccurrence-search">7.14.3.1.1. 共起検索</a></li>
|
236
|
+
<li><a class="reference internal" href="#similar-search">7.14.3.1.2. 類似文書検索</a></li>
|
237
237
|
</ul>
|
238
238
|
</li>
|
239
|
-
<li><a class="reference internal" href="#how-to-use">
|
240
|
-
<li><a class="reference internal" href="#how-it-learns">
|
239
|
+
<li><a class="reference internal" href="#how-to-use">7.14.3.2. 使い方</a></li>
|
240
|
+
<li><a class="reference internal" href="#how-it-learns">7.14.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="前の章へ">
|
247
|
+
title="前の章へ">7.14.2. 補完</a></p>
|
248
248
|
<h4>次のトピックへ</h4>
|
249
249
|
<p class="topless"><a href="suggestion.html"
|
250
|
-
title="次の章へ">
|
250
|
+
title="次の章へ">7.14.4. 提案</a></p>
|
251
251
|
<h3>このページ</h3>
|
252
252
|
<ul class="this-page-menu">
|
253
|
-
<li><a href="
|
253
|
+
<li><a href="../../_sources/reference/suggest/correction.txt"
|
254
254
|
rel="nofollow">ソースコードを表示</a></li>
|
255
255
|
</ul>
|
256
256
|
<div id="searchbox" style="display: none">
|
257
257
|
<h3>クイック検索</h3>
|
258
|
-
<form class="search" action="
|
258
|
+
<form class="search" action="../../search.html" method="get">
|
259
259
|
<input type="text" name="q" />
|
260
260
|
<input type="submit" value="検索" />
|
261
261
|
<input type="hidden" name="check_keywords" value="yes" />
|
@@ -274,16 +274,17 @@
|
|
274
274
|
<h3>ナビゲーション</h3>
|
275
275
|
<ul>
|
276
276
|
<li class="right" style="margin-right: 10px">
|
277
|
-
<a href="
|
277
|
+
<a href="../../genindex.html" title="総合索引"
|
278
278
|
>索引</a></li>
|
279
279
|
<li class="right" >
|
280
|
-
<a href="suggestion.html" title="
|
280
|
+
<a href="suggestion.html" title="7.14.4. 提案"
|
281
281
|
>次へ</a> |</li>
|
282
282
|
<li class="right" >
|
283
|
-
<a href="completion.html" title="
|
283
|
+
<a href="completion.html" title="7.14.2. 補完"
|
284
284
|
>前へ</a> |</li>
|
285
|
-
<li><a href="
|
286
|
-
<li><a href="
|
285
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
286
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
287
|
+
<li><a href="../suggest.html" >7.14. サジェスト</a> »</li>
|
287
288
|
</ul>
|
288
289
|
</div>
|
289
290
|
<div class="footer">
|