rroonga 1.2.5-x86-mingw32 → 1.2.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +30 -0
- data/Rakefile +24 -285
- data/ext/groonga/extconf.rb +4 -2
- data/ext/groonga/rb-grn-array.c +5 -4
- data/ext/groonga/rb-grn-context.c +7 -22
- data/ext/groonga/rb-grn-database.c +42 -1
- data/ext/groonga/rb-grn-index-column.c +5 -0
- data/ext/groonga/rb-grn-object.c +58 -26
- data/ext/groonga/rb-grn-patricia-trie.c +2 -1
- data/ext/groonga/rb-grn-record.c +11 -1
- data/ext/groonga/rb-grn-snippet.c +44 -1
- data/ext/groonga/rb-grn-table-key-support.c +21 -10
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable-size-column.c +47 -1
- data/ext/groonga/rb-grn.h +4 -1
- data/extconf.rb +1 -0
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/dumper.rb +3 -3
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/record.rb +10 -0
- data/rroonga-build.rb +1 -1
- data/test/test-accessor.rb +4 -0
- data/test/test-array.rb +9 -1
- data/test/test-database.rb +16 -0
- data/test/test-expression.rb +2 -0
- data/test/test-hash.rb +11 -2
- data/test/test-patricia-trie.rb +10 -1
- data/test/test-table-select.rb +31 -17
- data/test/test-type.rb +3 -3
- data/test/test-variable-size-column.rb +8 -1
- data/vendor/local/bin/grntest.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/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +20 -4
- 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 +3 -3
- 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 +3 -3
- 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/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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/{http.txt → groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +14 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/log.txt +214 -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.txt +35 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +258 -72
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +49 -49
- data/vendor/local/share/doc/groonga/en/html/executables/{http.html → groonga-http.html} +34 -34
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/executables.html +22 -21
- data/vendor/local/share/doc/groonga/en/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +105 -74
- data/vendor/local/share/doc/groonga/en/html/install.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/log.html +345 -0
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +94 -57
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- 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/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +286 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +243 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +265 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/suggest.html +166 -0
- 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.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial01.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial02.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial03.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial04.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial05.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial06.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial07.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial08.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial09.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial10.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/ja/html/_sources/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/{source/executables/http.txt → ja/html/_sources/executables/groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +14 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/log.txt +214 -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.txt +35 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +237 -72
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/executables/{http.html → groonga-http.html} +34 -34
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/executables.html +22 -21
- data/vendor/local/share/doc/groonga/ja/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +105 -74
- data/vendor/local/share/doc/groonga/ja/html/install.html +24 -11
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/log.html +346 -0
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +87 -55
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- 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/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +327 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +254 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +225 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +248 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +166 -0
- 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.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial01.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial02.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial03.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial04.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial05.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial06.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial07.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial08.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial09.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial10.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/source/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/http.txt → source/executables/groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/source/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/source/index.txt +1 -0
- data/vendor/local/share/doc/groonga/source/install.txt +14 -3
- data/vendor/local/share/doc/groonga/source/log.txt +214 -0
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/source/news.txt +35 -3
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/source/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/source/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/source/update_execution_example.py +46 -20
- data/vendor/local/share/license/groonga/AUTHORS +17 -0
- data/vendor/local/share/license/groonga/COPYING +504 -0
- data/vendor/local/share/license/mecab/AUTHORS +1 -0
- data/vendor/local/share/license/mecab/BSD +29 -0
- data/vendor/local/share/license/mecab/COPYING +4 -0
- data/vendor/local/share/license/mecab/GPL +340 -0
- data/vendor/local/share/license/mecab/LGPL +504 -0
- data/vendor/local/share/license/naist-jdic/AUTHORS +2 -0
- data/vendor/local/share/license/naist-jdic/COPYING +31 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1050 -45
- data/vendor/local/share/man/man1/groonga.1 +1174 -48
- metadata +62 -9
@@ -0,0 +1,286 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
|
8
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
+
<head>
|
10
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
+
|
12
|
+
<title>5.4. Correction — groonga v1.2.5 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../',
|
20
|
+
VERSION: '1.2.5',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="5. Suggest" href="../suggest.html" />
|
32
|
+
<link rel="next" title="5.5. Suggestion" href="suggestion.html" />
|
33
|
+
<link rel="prev" title="5.3. Completion" href="completion.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../ja/html/suggest/correction.html"><img src="../_static/jp.png" alt="日本語"></a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="suggestion.html" title="5.5. Suggestion"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="completion.html" title="5.3. Completion"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../index.html">groonga v1.2.5 documentation</a> »</li>
|
66
|
+
<li><a href="../suggest.html" accesskey="U">5. Suggest</a> »</li>
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="document">
|
71
|
+
<div class="documentwrapper">
|
72
|
+
<div class="bodywrapper">
|
73
|
+
<div class="body">
|
74
|
+
|
75
|
+
<div class="section" id="correction">
|
76
|
+
<h1>5.4. Correction<a class="headerlink" href="#correction" title="Permalink to this headline">¶</a></h1>
|
77
|
+
<p>This section describes about the following correction
|
78
|
+
features:</p>
|
79
|
+
<ul class="simple">
|
80
|
+
<li>How it works</li>
|
81
|
+
<li>How to use</li>
|
82
|
+
<li>How to learn</li>
|
83
|
+
</ul>
|
84
|
+
<div class="section" id="how-it-works">
|
85
|
+
<h2>5.4.1. How it works<a class="headerlink" href="#how-it-works" title="Permalink to this headline">¶</a></h2>
|
86
|
+
<p>The correction feature uses three searches to compute corrected
|
87
|
+
words:</p>
|
88
|
+
<blockquote>
|
89
|
+
<div><ol class="arabic simple">
|
90
|
+
<li>Cooccurrence search against learned data.</li>
|
91
|
+
<li>Similar search against registered words. (optional)</li>
|
92
|
+
</ol>
|
93
|
+
</div></blockquote>
|
94
|
+
<div class="section" id="cooccurrence-search">
|
95
|
+
<h3>5.4.1.1. Cooccurrence search<a class="headerlink" href="#cooccurrence-search" title="Permalink to this headline">¶</a></h3>
|
96
|
+
<p>Cooccurrence search can find registered words from user's
|
97
|
+
wrong input. It uses user submit sequences that will be
|
98
|
+
learned from query logs, access logs and so on.</p>
|
99
|
+
<p>For example, there are the following user submissions:</p>
|
100
|
+
<table border="1" class="docutils">
|
101
|
+
<colgroup>
|
102
|
+
<col width="41%" />
|
103
|
+
<col width="59%" />
|
104
|
+
</colgroup>
|
105
|
+
<thead valign="bottom">
|
106
|
+
<tr class="row-odd"><th class="head">query</th>
|
107
|
+
<th class="head">time</th>
|
108
|
+
</tr>
|
109
|
+
</thead>
|
110
|
+
<tbody valign="top">
|
111
|
+
<tr class="row-even"><td>serach (typo!)</td>
|
112
|
+
<td>2011-08-10T22:20:50+09:00</td>
|
113
|
+
</tr>
|
114
|
+
<tr class="row-odd"><td>search (fixed!)</td>
|
115
|
+
<td>2011-08-10T22:20:52+09:00</td>
|
116
|
+
</tr>
|
117
|
+
</tbody>
|
118
|
+
</table>
|
119
|
+
<p>Groonga creates the following correction pair from the above
|
120
|
+
submissions:</p>
|
121
|
+
<table border="1" class="docutils">
|
122
|
+
<colgroup>
|
123
|
+
<col width="33%" />
|
124
|
+
<col width="67%" />
|
125
|
+
</colgroup>
|
126
|
+
<thead valign="bottom">
|
127
|
+
<tr class="row-odd"><th class="head">input</th>
|
128
|
+
<th class="head">corrected word</th>
|
129
|
+
</tr>
|
130
|
+
</thead>
|
131
|
+
<tbody valign="top">
|
132
|
+
<tr class="row-even"><td>serach</td>
|
133
|
+
<td>search</td>
|
134
|
+
</tr>
|
135
|
+
</tbody>
|
136
|
+
</table>
|
137
|
+
<p>Groonga treats continuous submissions within a minute as
|
138
|
+
input correction by user. Not submitted user input sequence
|
139
|
+
between two submissions isn't used as learned data for
|
140
|
+
correction.</p>
|
141
|
+
<p>If an user inputs "serach" and cooccurrence search returns
|
142
|
+
"search" because "serach" is in input column and
|
143
|
+
corresponding corrected word column value is "search".</p>
|
144
|
+
</div>
|
145
|
+
<div class="section" id="similar-search">
|
146
|
+
<h3>5.4.1.2. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
|
147
|
+
<p>Similar search can find registered words that has one or
|
148
|
+
more the same tokens as user input. TokenBigram tokenizer is
|
149
|
+
used for tokenization because suggest dataset schema
|
150
|
+
created by <a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a>
|
151
|
+
uses TokenBigram tokenizer as the default tokenizer.</p>
|
152
|
+
<p>For example, there is a registered query "search engine". An
|
153
|
+
user can find "search engine" by "web search service",
|
154
|
+
"sound engine" and so on. Because "search engine" and "web
|
155
|
+
search engine" have the same token "search" and "search
|
156
|
+
engine" and "sound engine" have the same token "engine".</p>
|
157
|
+
<p>"search engine" is tokenized to "search" and "engine"
|
158
|
+
tokens. (Groonga's TokenBigram tokenizer doesn't tokenize
|
159
|
+
two characters for continuous alphabets and continuous
|
160
|
+
digits for reducing search
|
161
|
+
noise. TokenBigramSplitSymbolAlphaDigit tokenizer should be
|
162
|
+
used to ensure tokenizing to two characters.) "web search
|
163
|
+
service" is tokenized to "web", "search" and
|
164
|
+
"service". "sound engine" is tokenized to "sound" and
|
165
|
+
"engine".</p>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
<div class="section" id="how-to-use">
|
169
|
+
<h2>5.4.2. How to use<a class="headerlink" href="#how-to-use" title="Permalink to this headline">¶</a></h2>
|
170
|
+
<p>Groonga provides <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> command to use
|
171
|
+
correction. <cite>--type correct</cite> option requests corrections.</p>
|
172
|
+
<p>For example, here is an command to get correction results by
|
173
|
+
"saerch":</p>
|
174
|
+
<p>Execution example:</p>
|
175
|
+
<div class="highlight-none"><div class="highlight"><pre>> suggest --table item_query --column kana --types correction --threshold 1 --query saerch
|
176
|
+
[[0,1313131812.39207,0.000783031],{"correct":[[1],[["_key","ShortText"],["_score","Int32"]],["search",1]]}]
|
177
|
+
</pre></div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
<div class="section" id="how-it-learns">
|
181
|
+
<h2>5.4.3. How it learns<a class="headerlink" href="#how-it-learns" title="Permalink to this headline">¶</a></h2>
|
182
|
+
<p>Cooccurrence search uses learned data. They are based on
|
183
|
+
query logs, access logs and so on. To create learned data,
|
184
|
+
groonga needs user submit inputs with time stamp.</p>
|
185
|
+
<p>For example, an user wants to search by "search" but the
|
186
|
+
user has typo "saerch" before inputs the correct query. The
|
187
|
+
user inputs the query with the following sequence:</p>
|
188
|
+
<blockquote>
|
189
|
+
<div><ol class="arabic simple">
|
190
|
+
<li>2011-08-10T13:33:23+09:00: s</li>
|
191
|
+
<li>2011-08-10T13:33:23+09:00: sa</li>
|
192
|
+
<li>2011-08-10T13:33:24+09:00: sae</li>
|
193
|
+
<li>2011-08-10T13:33:24+09:00: saer</li>
|
194
|
+
<li>2011-08-10T13:33:24+09:00: saerc</li>
|
195
|
+
<li>2011-08-10T13:33:25+09:00: saerch (submit!)</li>
|
196
|
+
<li>2011-08-10T13:33:29+09:00: serch (correcting...)</li>
|
197
|
+
<li>2011-08-10T13:33:30+09:00: search (submit!)</li>
|
198
|
+
</ol>
|
199
|
+
</div></blockquote>
|
200
|
+
<p>Groonga can be learned from the input sequence by the
|
201
|
+
following command:</p>
|
202
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
203
|
+
[
|
204
|
+
{"sequence": "1", "time": 1312950803.86057, "item": "s"},
|
205
|
+
{"sequence": "1", "time": 1312950803.96857, "item": "sa"},
|
206
|
+
{"sequence": "1", "time": 1312950804.26057, "item": "sae"},
|
207
|
+
{"sequence": "1", "time": 1312950804.56057, "item": "saer"},
|
208
|
+
{"sequence": "1", "time": 1312950804.76057, "item": "saerc"},
|
209
|
+
{"sequence": "1", "time": 1312950805.76057, "item": "saerch", "type": "submit"},
|
210
|
+
{"sequence": "1", "time": 1312950809.76057, "item": "serch"},
|
211
|
+
{"sequence": "1", "time": 1312950810.86057, "item": "search", "type": "submit"}
|
212
|
+
]
|
213
|
+
</pre></div>
|
214
|
+
</div>
|
215
|
+
</div>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
</div>
|
222
|
+
<div class="sphinxsidebar">
|
223
|
+
<div class="sphinxsidebarwrapper">
|
224
|
+
<h3><a href="../index.html">Table Of Contents</a></h3>
|
225
|
+
<ul>
|
226
|
+
<li><a class="reference internal" href="#">5.4. Correction</a><ul>
|
227
|
+
<li><a class="reference internal" href="#how-it-works">5.4.1. How it works</a><ul>
|
228
|
+
<li><a class="reference internal" href="#cooccurrence-search">5.4.1.1. Cooccurrence search</a></li>
|
229
|
+
<li><a class="reference internal" href="#similar-search">5.4.1.2. Similar search</a></li>
|
230
|
+
</ul>
|
231
|
+
</li>
|
232
|
+
<li><a class="reference internal" href="#how-to-use">5.4.2. How to use</a></li>
|
233
|
+
<li><a class="reference internal" href="#how-it-learns">5.4.3. How it learns</a></li>
|
234
|
+
</ul>
|
235
|
+
</li>
|
236
|
+
</ul>
|
237
|
+
|
238
|
+
<h4>Previous topic</h4>
|
239
|
+
<p class="topless"><a href="completion.html"
|
240
|
+
title="previous chapter">5.3. Completion</a></p>
|
241
|
+
<h4>Next topic</h4>
|
242
|
+
<p class="topless"><a href="suggestion.html"
|
243
|
+
title="next chapter">5.5. Suggestion</a></p>
|
244
|
+
<h3>This Page</h3>
|
245
|
+
<ul class="this-page-menu">
|
246
|
+
<li><a href="../_sources/suggest/correction.txt"
|
247
|
+
rel="nofollow">Show Source</a></li>
|
248
|
+
</ul>
|
249
|
+
<div id="searchbox" style="display: none">
|
250
|
+
<h3>Quick search</h3>
|
251
|
+
<form class="search" action="../search.html" method="get">
|
252
|
+
<input type="text" name="q" size="18" />
|
253
|
+
<input type="submit" value="Go" />
|
254
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
255
|
+
<input type="hidden" name="area" value="default" />
|
256
|
+
</form>
|
257
|
+
<p class="searchtip" style="font-size: 90%">
|
258
|
+
Enter search terms or a module, class or function name.
|
259
|
+
</p>
|
260
|
+
</div>
|
261
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
<div class="clearer"></div>
|
265
|
+
</div>
|
266
|
+
<div class="related">
|
267
|
+
<h3>Navigation</h3>
|
268
|
+
<ul>
|
269
|
+
<li class="right" style="margin-right: 10px">
|
270
|
+
<a href="../genindex.html" title="General Index"
|
271
|
+
>index</a></li>
|
272
|
+
<li class="right" >
|
273
|
+
<a href="suggestion.html" title="5.5. Suggestion"
|
274
|
+
>next</a> |</li>
|
275
|
+
<li class="right" >
|
276
|
+
<a href="completion.html" title="5.3. Completion"
|
277
|
+
>previous</a> |</li>
|
278
|
+
<li><a href="../index.html">groonga v1.2.5 documentation</a> »</li>
|
279
|
+
<li><a href="../suggest.html" >5. Suggest</a> »</li>
|
280
|
+
</ul>
|
281
|
+
</div>
|
282
|
+
<div class="footer">
|
283
|
+
© Copyright 2009-2011, Brazil, Inc.
|
284
|
+
</div>
|
285
|
+
</body>
|
286
|
+
</html>
|
@@ -0,0 +1,243 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
|
8
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
+
<head>
|
10
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
+
|
12
|
+
<title>5.1. Introduction — groonga v1.2.5 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../',
|
20
|
+
VERSION: '1.2.5',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="5. Suggest" href="../suggest.html" />
|
32
|
+
<link rel="next" title="5.2. Tutorial" href="tutorial.html" />
|
33
|
+
<link rel="prev" title="5. Suggest" href="../suggest.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../ja/html/suggest/introduction.html"><img src="../_static/jp.png" alt="日本語"></a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="tutorial.html" title="5.2. Tutorial"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="../suggest.html" title="5. Suggest"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../index.html">groonga v1.2.5 documentation</a> »</li>
|
66
|
+
<li><a href="../suggest.html" accesskey="U">5. Suggest</a> »</li>
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="document">
|
71
|
+
<div class="documentwrapper">
|
72
|
+
<div class="bodywrapper">
|
73
|
+
<div class="body">
|
74
|
+
|
75
|
+
<div class="section" id="introduction">
|
76
|
+
<h1>5.1. Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h1>
|
77
|
+
<p>The suggest feature in groonga provides the following features:</p>
|
78
|
+
<ul class="simple">
|
79
|
+
<li>Completion</li>
|
80
|
+
<li>Correction</li>
|
81
|
+
<li>Suggestion</li>
|
82
|
+
</ul>
|
83
|
+
<div class="section" id="completion">
|
84
|
+
<h2>5.1.1. Completion<a class="headerlink" href="#completion" title="Permalink to this headline">¶</a></h2>
|
85
|
+
<p>Completion helps user input. If user inputs a partial word,
|
86
|
+
groonga can return complete words from registered
|
87
|
+
words.</p>
|
88
|
+
<p>For example, there are registered words:</p>
|
89
|
+
<ul class="simple">
|
90
|
+
<li>"groonga"</li>
|
91
|
+
<li>"complete"</li>
|
92
|
+
<li>"correction"</li>
|
93
|
+
<li>"suggest"</li>
|
94
|
+
</ul>
|
95
|
+
<p>An user inputs "co" and groonga returns "complete" and
|
96
|
+
"correction" because they starts with "co".</p>
|
97
|
+
<p>An user inputs "sug" and groonga returns "suggest" because
|
98
|
+
"suggest" starts with "sug".</p>
|
99
|
+
<p>An user inputs "ab" and groonga returns nothing because no
|
100
|
+
word starts with "ab".</p>
|
101
|
+
</div>
|
102
|
+
<div class="section" id="correction">
|
103
|
+
<h2>5.1.2. Correction<a class="headerlink" href="#correction" title="Permalink to this headline">¶</a></h2>
|
104
|
+
<p>Correction also helps user input. If user inputs a wrong
|
105
|
+
word, groonga can return correct words from registered
|
106
|
+
correction pairs.</p>
|
107
|
+
<p>For example, there are registered correction pairs:</p>
|
108
|
+
<table border="1" class="docutils">
|
109
|
+
<colgroup>
|
110
|
+
<col width="46%" />
|
111
|
+
<col width="54%" />
|
112
|
+
</colgroup>
|
113
|
+
<thead valign="bottom">
|
114
|
+
<tr class="row-odd"><th class="head">wrong word</th>
|
115
|
+
<th class="head">correct word</th>
|
116
|
+
</tr>
|
117
|
+
</thead>
|
118
|
+
<tbody valign="top">
|
119
|
+
<tr class="row-even"><td>grroonga
|
120
|
+
gronga
|
121
|
+
gronnga</td>
|
122
|
+
<td>groonga
|
123
|
+
groonga
|
124
|
+
groonga</td>
|
125
|
+
</tr>
|
126
|
+
</tbody>
|
127
|
+
</table>
|
128
|
+
<p>An user inputs "gronga" and groonga returns "groonga" because
|
129
|
+
"gronga" is in wrong word and corresponding correct word is
|
130
|
+
"groonga".</p>
|
131
|
+
<p>An user inputs "roonga" and groonga returns nothing because
|
132
|
+
"roonga" isn't in wrong word.</p>
|
133
|
+
</div>
|
134
|
+
<div class="section" id="suggestion">
|
135
|
+
<h2>5.1.3. Suggestion<a class="headerlink" href="#suggestion" title="Permalink to this headline">¶</a></h2>
|
136
|
+
<p>Suggestion helps that user filters many found documents. If
|
137
|
+
user inputs a query, groonga can return new queries that has
|
138
|
+
more additional keywords from registered related query
|
139
|
+
pairs.</p>
|
140
|
+
<p>For example, there are registered related query pairs:</p>
|
141
|
+
<table border="1" class="docutils">
|
142
|
+
<colgroup>
|
143
|
+
<col width="52%" />
|
144
|
+
<col width="48%" />
|
145
|
+
</colgroup>
|
146
|
+
<thead valign="bottom">
|
147
|
+
<tr class="row-odd"><th class="head">keyword</th>
|
148
|
+
<th class="head">related query</th>
|
149
|
+
</tr>
|
150
|
+
</thead>
|
151
|
+
<tbody valign="top">
|
152
|
+
<tr class="row-even"><td>groonga</td>
|
153
|
+
<td>groonga search engine</td>
|
154
|
+
</tr>
|
155
|
+
<tr class="row-odd"><td>search</td>
|
156
|
+
<td>Google search</td>
|
157
|
+
</tr>
|
158
|
+
<tr class="row-even"><td>speed</td>
|
159
|
+
<td>groonga speed</td>
|
160
|
+
</tr>
|
161
|
+
</tbody>
|
162
|
+
</table>
|
163
|
+
<p>An user inputs "groonga" and groonga returns "groonga search
|
164
|
+
engine" because "groonga" is in keyword column and related
|
165
|
+
query column is "groonga search engine".</p>
|
166
|
+
<p>An user inputs "MySQL" and groonga returns nothing because
|
167
|
+
"MySQL" isn't in keyword column values.</p>
|
168
|
+
</div>
|
169
|
+
<div class="section" id="learning">
|
170
|
+
<h2>5.1.4. Learning<a class="headerlink" href="#learning" title="Permalink to this headline">¶</a></h2>
|
171
|
+
<p>The suggest feature requires registered data before using
|
172
|
+
the feature. Those data can be registered from user inputs.
|
173
|
+
Gronnga-suggest-httpd and groonga-suggest-learner commands
|
174
|
+
are provided for the propose.</p>
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
|
178
|
+
|
179
|
+
</div>
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
<div class="sphinxsidebar">
|
183
|
+
<div class="sphinxsidebarwrapper">
|
184
|
+
<h3><a href="../index.html">Table Of Contents</a></h3>
|
185
|
+
<ul>
|
186
|
+
<li><a class="reference internal" href="#">5.1. Introduction</a><ul>
|
187
|
+
<li><a class="reference internal" href="#completion">5.1.1. Completion</a></li>
|
188
|
+
<li><a class="reference internal" href="#correction">5.1.2. Correction</a></li>
|
189
|
+
<li><a class="reference internal" href="#suggestion">5.1.3. Suggestion</a></li>
|
190
|
+
<li><a class="reference internal" href="#learning">5.1.4. Learning</a></li>
|
191
|
+
</ul>
|
192
|
+
</li>
|
193
|
+
</ul>
|
194
|
+
|
195
|
+
<h4>Previous topic</h4>
|
196
|
+
<p class="topless"><a href="../suggest.html"
|
197
|
+
title="previous chapter">5. Suggest</a></p>
|
198
|
+
<h4>Next topic</h4>
|
199
|
+
<p class="topless"><a href="tutorial.html"
|
200
|
+
title="next chapter">5.2. Tutorial</a></p>
|
201
|
+
<h3>This Page</h3>
|
202
|
+
<ul class="this-page-menu">
|
203
|
+
<li><a href="../_sources/suggest/introduction.txt"
|
204
|
+
rel="nofollow">Show Source</a></li>
|
205
|
+
</ul>
|
206
|
+
<div id="searchbox" style="display: none">
|
207
|
+
<h3>Quick search</h3>
|
208
|
+
<form class="search" action="../search.html" method="get">
|
209
|
+
<input type="text" name="q" size="18" />
|
210
|
+
<input type="submit" value="Go" />
|
211
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
212
|
+
<input type="hidden" name="area" value="default" />
|
213
|
+
</form>
|
214
|
+
<p class="searchtip" style="font-size: 90%">
|
215
|
+
Enter search terms or a module, class or function name.
|
216
|
+
</p>
|
217
|
+
</div>
|
218
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
<div class="clearer"></div>
|
222
|
+
</div>
|
223
|
+
<div class="related">
|
224
|
+
<h3>Navigation</h3>
|
225
|
+
<ul>
|
226
|
+
<li class="right" style="margin-right: 10px">
|
227
|
+
<a href="../genindex.html" title="General Index"
|
228
|
+
>index</a></li>
|
229
|
+
<li class="right" >
|
230
|
+
<a href="tutorial.html" title="5.2. Tutorial"
|
231
|
+
>next</a> |</li>
|
232
|
+
<li class="right" >
|
233
|
+
<a href="../suggest.html" title="5. Suggest"
|
234
|
+
>previous</a> |</li>
|
235
|
+
<li><a href="../index.html">groonga v1.2.5 documentation</a> »</li>
|
236
|
+
<li><a href="../suggest.html" >5. Suggest</a> »</li>
|
237
|
+
</ul>
|
238
|
+
</div>
|
239
|
+
<div class="footer">
|
240
|
+
© Copyright 2009-2011, Brazil, Inc.
|
241
|
+
</div>
|
242
|
+
</body>
|
243
|
+
</html>
|