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
data/vendor/local/share/doc/groonga/ja/html/_sources/executables/groonga-suggest-create-dataset.txt
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
groonga-suggest-create-dataset
|
6
|
+
==============================
|
7
|
+
|
8
|
+
NAME
|
9
|
+
----
|
10
|
+
|
11
|
+
groonga-suggest-create-dataset - Defines schema for a suggestion dataset
|
12
|
+
|
13
|
+
SYNOPSTIS
|
14
|
+
---------
|
15
|
+
|
16
|
+
::
|
17
|
+
|
18
|
+
groonga-suggest-create-dataset [options] DATABASE DATASET
|
19
|
+
|
20
|
+
DESCTIPION
|
21
|
+
----------
|
22
|
+
|
23
|
+
groonga-suggest-create-dataset creates a dataset for :doc:`/suggest`. A database has many datasets. This command just defines schea for a suggestion dataset.
|
24
|
+
|
25
|
+
OPTIONS
|
26
|
+
-------
|
27
|
+
|
28
|
+
None.
|
29
|
+
|
30
|
+
EXIT STATUS
|
31
|
+
-----------
|
32
|
+
|
33
|
+
TODO
|
34
|
+
|
35
|
+
FILES
|
36
|
+
-----
|
37
|
+
|
38
|
+
TODO
|
39
|
+
|
40
|
+
EXAMPLE
|
41
|
+
-------
|
42
|
+
|
43
|
+
TODO
|
44
|
+
|
45
|
+
SEE ALSO
|
46
|
+
--------
|
47
|
+
|
48
|
+
:doc:`/suggest`
|
49
|
+
.. : doc:`groonga-suggest-httpd`
|
50
|
+
.. : doc:`groonga-suggest-learner`
|
@@ -151,8 +151,19 @@ Install::
|
|
151
151
|
|
152
152
|
% brew install groonga
|
153
153
|
|
154
|
-
Windows
|
155
|
-
|
154
|
+
Windows (Installer)
|
155
|
+
-------------------
|
156
|
+
|
157
|
+
.. note::
|
158
|
+
|
159
|
+
We only distribute the package for x64.
|
160
|
+
|
161
|
+
You just download installer (.exe file) from
|
162
|
+
`packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
|
163
|
+
and execute it.
|
164
|
+
|
165
|
+
Windows (zip)
|
166
|
+
-------------
|
156
167
|
|
157
168
|
.. note::
|
158
169
|
|
@@ -160,7 +171,7 @@ Windows
|
|
160
171
|
|
161
172
|
You just download zip-file from
|
162
173
|
`packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
|
163
|
-
and extract it.
|
174
|
+
and extract it.
|
164
175
|
|
165
176
|
Others
|
166
177
|
------
|
@@ -0,0 +1,214 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Log
|
6
|
+
===
|
7
|
+
|
8
|
+
Groonga has two log files. They are process log and query
|
9
|
+
log. Process log is for all of :doc:`executables/groonga`
|
10
|
+
works. Query log is just for query processing.
|
11
|
+
|
12
|
+
Process log
|
13
|
+
-----------
|
14
|
+
|
15
|
+
Process log is enabled by default. Log path can be
|
16
|
+
customized by :option:`--log-path` option. Each log has its
|
17
|
+
log level. If a log is smaller than groonga process' log
|
18
|
+
level, it's not logged. Log level can be customized by
|
19
|
+
:option:`-l` or :doc:`commands/log_level`.
|
20
|
+
|
21
|
+
Format
|
22
|
+
^^^^^^
|
23
|
+
|
24
|
+
Process log uses the following format::
|
25
|
+
|
26
|
+
#{TIME_STAMP}|#{L}| #{MESSAGE}
|
27
|
+
|
28
|
+
TIME_STAMP
|
29
|
+
It's time stamp uses the following format::
|
30
|
+
|
31
|
+
YYYY-MM-DD hh:mm:ss.SSSSSS
|
32
|
+
|
33
|
+
YYYY
|
34
|
+
Year with four digits.
|
35
|
+
|
36
|
+
MM
|
37
|
+
Month with two digits.
|
38
|
+
|
39
|
+
DD
|
40
|
+
Day with two digits.
|
41
|
+
|
42
|
+
hh
|
43
|
+
Hour with two digits.
|
44
|
+
|
45
|
+
mm
|
46
|
+
Minute with two digits.
|
47
|
+
|
48
|
+
ss
|
49
|
+
Second with two digits.
|
50
|
+
|
51
|
+
SSSSSS
|
52
|
+
Microsecond with six digits.
|
53
|
+
|
54
|
+
Example::
|
55
|
+
|
56
|
+
2011-07-05 06:25:18.345734
|
57
|
+
|
58
|
+
L
|
59
|
+
Log level with a character. Here is a character and log
|
60
|
+
level map.
|
61
|
+
|
62
|
+
E
|
63
|
+
Emergency
|
64
|
+
|
65
|
+
A
|
66
|
+
Alert
|
67
|
+
|
68
|
+
C
|
69
|
+
Critical
|
70
|
+
|
71
|
+
e
|
72
|
+
Error
|
73
|
+
|
74
|
+
w
|
75
|
+
Warning
|
76
|
+
|
77
|
+
n
|
78
|
+
Notification
|
79
|
+
|
80
|
+
i
|
81
|
+
Information
|
82
|
+
|
83
|
+
d
|
84
|
+
Debug
|
85
|
+
|
86
|
+
\-
|
87
|
+
Dump
|
88
|
+
|
89
|
+
Example::
|
90
|
+
|
91
|
+
E
|
92
|
+
|
93
|
+
MESSAGE
|
94
|
+
Details about the log with free format.
|
95
|
+
|
96
|
+
Example::
|
97
|
+
|
98
|
+
log opened.
|
99
|
+
|
100
|
+
Example::
|
101
|
+
|
102
|
+
2011-07-05 08:35:09.276421|n| grn_init
|
103
|
+
2011-07-05 08:35:09.276553|n| RLIMIT_NOFILE(4096,4096)
|
104
|
+
|
105
|
+
Query log
|
106
|
+
---------
|
107
|
+
|
108
|
+
Query log is disabled by default. It can be enabled by
|
109
|
+
:option:`--query-log-path` option.
|
110
|
+
|
111
|
+
Format
|
112
|
+
^^^^^^
|
113
|
+
|
114
|
+
Query log uses the following formats::
|
115
|
+
|
116
|
+
#{TIME_STAMP}|#{MESSAGE}
|
117
|
+
#{TIME_STAMP}|#{ID}|>#{QUERY}
|
118
|
+
#{TIME_STAMP}|#{ID}|:#{ELAPSED_TIME} #{PROGRESS}
|
119
|
+
#{TIME_STAMP}|#{ID}|<#{ELAPSED_TIME} #{RETURN_CODE}
|
120
|
+
|
121
|
+
TIME_STAMP
|
122
|
+
It's time stamp uses the following format::
|
123
|
+
|
124
|
+
YYYY-MM-DD hh:mm:ss.SSSSSS
|
125
|
+
|
126
|
+
YYYY
|
127
|
+
Year with four digits.
|
128
|
+
|
129
|
+
MM
|
130
|
+
Month with two digits.
|
131
|
+
|
132
|
+
DD
|
133
|
+
Day with two digits.
|
134
|
+
|
135
|
+
hh
|
136
|
+
Hour with two digits.
|
137
|
+
|
138
|
+
mm
|
139
|
+
Minute with two digits.
|
140
|
+
|
141
|
+
ss
|
142
|
+
Second with two digits.
|
143
|
+
|
144
|
+
SSSSSS
|
145
|
+
Microsecond with six digits.
|
146
|
+
|
147
|
+
Example::
|
148
|
+
|
149
|
+
2011-07-05 06:25:18.345734
|
150
|
+
|
151
|
+
ID
|
152
|
+
ID of a thread. Groonga process creates threads to process
|
153
|
+
requests concurrently. Each thread outputs some logs for a
|
154
|
+
request. This ID can be used to extract a log sequence by
|
155
|
+
a thread.
|
156
|
+
|
157
|
+
Example::
|
158
|
+
|
159
|
+
45ea3034
|
160
|
+
|
161
|
+
>
|
162
|
+
A character that indicates query is started.
|
163
|
+
|
164
|
+
:
|
165
|
+
A character that indicates query is processing.
|
166
|
+
|
167
|
+
<
|
168
|
+
A character that indicates query is finished.
|
169
|
+
|
170
|
+
MESSAGE
|
171
|
+
Details about the log with free format.
|
172
|
+
|
173
|
+
Example::
|
174
|
+
|
175
|
+
query log opened.
|
176
|
+
|
177
|
+
QUERY
|
178
|
+
A query to be processed.
|
179
|
+
|
180
|
+
Example::
|
181
|
+
|
182
|
+
select users --match_columns hobby --query music
|
183
|
+
|
184
|
+
ELAPSED_TIME
|
185
|
+
Elapsed time in nanoseconds since query is started.
|
186
|
+
|
187
|
+
Example::
|
188
|
+
|
189
|
+
000000000075770
|
190
|
+
(It means 75,770 nanoseconds.)
|
191
|
+
|
192
|
+
PROGRESS
|
193
|
+
A processed work at the time.
|
194
|
+
|
195
|
+
Example::
|
196
|
+
|
197
|
+
select(313401)
|
198
|
+
(It means that 'select' is processed and 313,401 records are remained.)
|
199
|
+
|
200
|
+
RETURN_CODE
|
201
|
+
A return code for the query.
|
202
|
+
|
203
|
+
Example::
|
204
|
+
|
205
|
+
rc=0
|
206
|
+
(It means return code is 0. 0 means GRN_SUCCESS.)
|
207
|
+
|
208
|
+
Example::
|
209
|
+
|
210
|
+
2011-07-05 06:25:19.458756|45ea3034|>select Properties --limit 0
|
211
|
+
2011-07-05 06:25:19.458829|45ea3034|:000000000072779 select(19)
|
212
|
+
2011-07-05 06:25:19.458856|45ea3034|:000000000099998 output(0)
|
213
|
+
2011-07-05 06:25:19.458875|45ea3034|<000000000119062 rc=0
|
214
|
+
2011-07-05 06:25:19.458986|45ea3034|>quit
|
@@ -117,7 +117,7 @@
|
|
117
117
|
* すべてのモジュールで同じ名前の関数をエクスポートするようにした。#624
|
118
118
|
* 不正な名前を指定したときに指定された名前も報告するようにした。
|
119
119
|
* :doc:`/commands/select` の--filter内での数値比較演算をサポート。 (@s3kiさんが報告)
|
120
|
-
* :doc:`/grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690
|
120
|
+
* :doc:`/executables/grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690
|
121
121
|
* Int8/UInt8/Int16/UInt16の等値比較にC言語の比較演算子を使用。 #660
|
122
122
|
* HTTP経由で存在しないパスにアクセスした時に存在しないパスを報告するように
|
123
123
|
した。
|
@@ -5,6 +5,38 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-1-2-5:
|
9
|
+
|
10
|
+
Release 1.2.5 - 2011/08/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* Added experimental Windows installer support.
|
17
|
+
* Accepted "#" and "-" as a valid name characters. #1043
|
18
|
+
* Accepted all valid characters except "_" as the first character. #1043
|
19
|
+
* Supported `--each` for `[...]` form :doc:`/commands/load`. #1044
|
20
|
+
* Added documentation for :doc:`/suggest`.
|
21
|
+
* Supported threshold as `--frequency_threshold` and
|
22
|
+
`--conditional_probability_threshold` options in all
|
23
|
+
:doc:`/commands/suggest` types. #1042
|
24
|
+
* [groonga-suggest-httpd] Supported log reopen by SIGUSR1. #1048
|
25
|
+
* Supported string input for reference vector column value. #1051
|
26
|
+
* [groonga-suggest-httpd] Added `--n-lines-per-log-file`
|
27
|
+
option that changes log line limitation for a file.
|
28
|
+
* [groonga-suggest-httpd] Added `p` parameter for
|
29
|
+
`--conditional_probability_threshold`.
|
30
|
+
* Added GRN_CTX_PER_DB flag for grn_ctx_init() and grn_ctx_open(). #1053
|
31
|
+
* Exported grn_ctx_close(). #1035
|
32
|
+
|
33
|
+
Fixes
|
34
|
+
^^^^^
|
35
|
+
|
36
|
+
* Fixed a crash bug that invalid value is passed as match expression
|
37
|
+
argument in :doc:`/commands/select`. #1047
|
38
|
+
* Fixed a bug that hash table cursor returns garbage records.
|
39
|
+
|
8
40
|
.. _release-1-2-4:
|
9
41
|
|
10
42
|
Release 1.2.4 - 2011/07/29
|
@@ -16,8 +48,8 @@ Improvements
|
|
16
48
|
* Re-supported *BSD. (Reported by OBATA Akio)
|
17
49
|
* Improved sed related portability. (Suggested by OBATA Akio)
|
18
50
|
* Re-supported Visual C++ 2008.
|
19
|
-
* Supported :doc
|
20
|
-
* Ignored invalid _score in --sortby of :doc
|
51
|
+
* Supported :doc:`/commands/check` for hash table.
|
52
|
+
* Ignored invalid _score in --sortby of :doc:`/commands/select`
|
21
53
|
for convenience. #1030
|
22
54
|
* Added document about :doc:`log`.
|
23
55
|
* Supported ~/.editrc.
|
@@ -52,7 +84,7 @@ Improvements
|
|
52
84
|
* Added groonga-query-log-analyzer that analyze query log.
|
53
85
|
* groonga command shows failed command on error.
|
54
86
|
* groonga command shows file name and line no on error.
|
55
|
-
* Improved error message of :doc
|
87
|
+
* Improved error message of :doc:`/commands/column_create`. #952
|
56
88
|
* Added GRN_OBJ_TABLE_DAT_KEY, double array trie, table. (experimental)
|
57
89
|
|
58
90
|
Fixes
|
@@ -0,0 +1,195 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. % groonga-suggest-create-dataset /tmp/groonga-databases/completion query
|
7
|
+
.. database: completion
|
8
|
+
|
9
|
+
Completion
|
10
|
+
==========
|
11
|
+
|
12
|
+
This section describes about the following completion
|
13
|
+
features:
|
14
|
+
|
15
|
+
* How it works
|
16
|
+
* How to use
|
17
|
+
* How to learn
|
18
|
+
|
19
|
+
How it works
|
20
|
+
------------
|
21
|
+
|
22
|
+
The completion feature uses three searches to compute
|
23
|
+
completed words:
|
24
|
+
|
25
|
+
1. Prefix RK search against registered words.
|
26
|
+
2. Cooccurrence search against learned data.
|
27
|
+
3. Prefix search against registered words. (optional)
|
28
|
+
|
29
|
+
Prefix RK search
|
30
|
+
^^^^^^^^^^^^^^^^
|
31
|
+
|
32
|
+
RK means Romaji and Katakana. Prefix RK search can find
|
33
|
+
registered words that start with user's input by romaji,
|
34
|
+
katakana or hiragana. It's useful for searching in Japanese.
|
35
|
+
|
36
|
+
For example, there is a registered word "日本". And "ニホン"
|
37
|
+
(it must be katakana) is registered as its reading. An user
|
38
|
+
can find "日本" by "ni", "二" or "に".
|
39
|
+
|
40
|
+
Cooccurrence search
|
41
|
+
^^^^^^^^^^^^^^^^^^^
|
42
|
+
|
43
|
+
Cooccurrence search can find registered words from user's
|
44
|
+
partial input. It uses user input sequences that will be
|
45
|
+
learned from query logs, access logs and so on.
|
46
|
+
|
47
|
+
For example, there is the following user input sequence:
|
48
|
+
|
49
|
+
+----------+----------+
|
50
|
+
| input | submit |
|
51
|
+
+==========+==========+
|
52
|
+
|s |no |
|
53
|
+
+----------+----------+
|
54
|
+
|se |no |
|
55
|
+
+----------+----------+
|
56
|
+
|sea |no |
|
57
|
+
+----------+----------+
|
58
|
+
|sear |no |
|
59
|
+
+----------+----------+
|
60
|
+
|searc |no |
|
61
|
+
+----------+----------+
|
62
|
+
|search |yes |
|
63
|
+
+----------+----------+
|
64
|
+
|e |no |
|
65
|
+
+----------+----------+
|
66
|
+
|en |no |
|
67
|
+
+----------+----------+
|
68
|
+
|eng |no |
|
69
|
+
+----------+----------+
|
70
|
+
|engi |no |
|
71
|
+
+----------+----------+
|
72
|
+
|engin |no |
|
73
|
+
+----------+----------+
|
74
|
+
|engine |no |
|
75
|
+
+----------+----------+
|
76
|
+
|enginen |no (typo!)|
|
77
|
+
+----------+----------+
|
78
|
+
|engine |yes |
|
79
|
+
+----------+----------+
|
80
|
+
|
81
|
+
Groonga creates the following completion pairs:
|
82
|
+
|
83
|
+
+----------+--------------------+
|
84
|
+
| input | completed word |
|
85
|
+
+==========+====================+
|
86
|
+
|s |search |
|
87
|
+
+----------+--------------------+
|
88
|
+
|se |search |
|
89
|
+
+----------+--------------------+
|
90
|
+
|sea |search |
|
91
|
+
+----------+--------------------+
|
92
|
+
|sear |search |
|
93
|
+
+----------+--------------------+
|
94
|
+
|searc |search |
|
95
|
+
+----------+--------------------+
|
96
|
+
|e |engine |
|
97
|
+
+----------+--------------------+
|
98
|
+
|en |engine |
|
99
|
+
+----------+--------------------+
|
100
|
+
|eng |engine |
|
101
|
+
+----------+--------------------+
|
102
|
+
|engi |engine |
|
103
|
+
+----------+--------------------+
|
104
|
+
|engin |engine |
|
105
|
+
+----------+--------------------+
|
106
|
+
|engine |engine |
|
107
|
+
+----------+--------------------+
|
108
|
+
|enginen |engine |
|
109
|
+
+----------+--------------------+
|
110
|
+
|
111
|
+
All user not-submitted inputs (e.g. "s", "se" and so on)
|
112
|
+
before each an user submission maps to the submitted input
|
113
|
+
(e.g. "search").
|
114
|
+
|
115
|
+
To be precise, this description isn't correct because it
|
116
|
+
omits about time stamp. Groonga doesn't case about "all user
|
117
|
+
not-submitted inputs before each an user
|
118
|
+
submission". Groonga just case about "all user not-submitted
|
119
|
+
inputs within a minute from an user submission before each
|
120
|
+
an user submission". Groonga doesn't treat user inputs
|
121
|
+
before a minute ago.
|
122
|
+
|
123
|
+
If an user inputs "sea" and cooccurrence search returns
|
124
|
+
"search" because "sea" is in input column and corresponding
|
125
|
+
completed word column value is "search".
|
126
|
+
|
127
|
+
Prefix search
|
128
|
+
^^^^^^^^^^^^^
|
129
|
+
|
130
|
+
Prefix search can find registered word that start with
|
131
|
+
user's input. This search doesn't care about romaji,
|
132
|
+
katakana and hiragana not like Prefix RK search.
|
133
|
+
|
134
|
+
This search isn't always ran. It's just ran when it's
|
135
|
+
requested explicitly or both prefix RK search and
|
136
|
+
cooccurrence search return nothing.
|
137
|
+
|
138
|
+
For example, there is a registered word "search". An user
|
139
|
+
can find "search" by "s", "se", "sea", "sear", "searc" and
|
140
|
+
"search".
|
141
|
+
|
142
|
+
How to use
|
143
|
+
----------
|
144
|
+
|
145
|
+
.. groonga-command
|
146
|
+
.. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
147
|
+
.. [
|
148
|
+
.. {"sequence": "1", "time": 1312950803.86057, "item": "e"},
|
149
|
+
.. {"sequence": "1", "time": 1312950803.96857, "item": "en"},
|
150
|
+
.. {"sequence": "1", "time": 1312950804.26057, "item": "eng"},
|
151
|
+
.. {"sequence": "1", "time": 1312950804.56057, "item": "engi"},
|
152
|
+
.. {"sequence": "1", "time": 1312950804.76057, "item": "engin"},
|
153
|
+
.. {"sequence": "1", "time": 1312950805.86057, "item": "engine", "type": "submit"}
|
154
|
+
.. ]
|
155
|
+
|
156
|
+
Groonga provides :doc:`/commands/suggest` command to use
|
157
|
+
completion. `--type complete` option requests completion.
|
158
|
+
|
159
|
+
For example, here is an command to get completion results by
|
160
|
+
"en":
|
161
|
+
|
162
|
+
.. groonga-command
|
163
|
+
.. include:: ../example/completion-1.log
|
164
|
+
.. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query en
|
165
|
+
|
166
|
+
How it learns
|
167
|
+
-------------
|
168
|
+
|
169
|
+
Cooccurrence search uses learned data. They are based on
|
170
|
+
query logs, access logs and so on. To create learned data,
|
171
|
+
groonga needs user input sequence with time stamp and user
|
172
|
+
submit input with time stamp.
|
173
|
+
|
174
|
+
For example, an user wants to search by "engine". The user
|
175
|
+
inputs the query with the following sequence:
|
176
|
+
|
177
|
+
1. 2011-08-10T13:33:23+09:00: e
|
178
|
+
2. 2011-08-10T13:33:23+09:00: en
|
179
|
+
3. 2011-08-10T13:33:24+09:00: eng
|
180
|
+
4. 2011-08-10T13:33:24+09:00: engi
|
181
|
+
5. 2011-08-10T13:33:24+09:00: engin
|
182
|
+
6. 2011-08-10T13:33:25+09:00: engine (submit!)
|
183
|
+
|
184
|
+
Groonga can be learned from the input sequence by the
|
185
|
+
following command::
|
186
|
+
|
187
|
+
load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
188
|
+
[
|
189
|
+
{"sequence": "1", "time": 1312950803.86057, "item": "e"},
|
190
|
+
{"sequence": "1", "time": 1312950803.96857, "item": "en"},
|
191
|
+
{"sequence": "1", "time": 1312950804.26057, "item": "eng"},
|
192
|
+
{"sequence": "1", "time": 1312950804.56057, "item": "engi"},
|
193
|
+
{"sequence": "1", "time": 1312950804.76057, "item": "engin"},
|
194
|
+
{"sequence": "1", "time": 1312950805.86057, "item": "engine", "type": "submit"}
|
195
|
+
]
|