rroonga 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.textile +10 -10
- data/bin/groonga-database-inspect +40 -0
- data/doc/text/news.textile +19 -0
- data/ext/groonga/extconf.rb +3 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-operator.c +218 -8
- data/ext/groonga/rb-grn.h +4 -2
- 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.rb +4 -1
- data/lib/groonga/column.rb +25 -0
- data/lib/groonga/database-inspector.rb +279 -0
- data/lib/groonga/database.rb +32 -2
- data/lib/groonga/dumper.rb +7 -13
- data/lib/groonga/index-column.rb +11 -1
- data/lib/groonga/statistic-measurer.rb +37 -0
- data/lib/groonga/table.rb +25 -0
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +10 -10
- data/test/test-column.rb +26 -0
- data/test/test-database-inspector.rb +676 -0
- data/test/test-database.rb +25 -1
- data/test/test-expression-builder.rb +1 -0
- data/test/test-expression.rb +73 -0
- data/test/test-index-column.rb +23 -0
- data/test/test-statistic-measurer.rb +55 -0
- data/test/test-table.rb +40 -0
- 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/mecab.exe +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/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/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +25 -39
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +273 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +16 -6
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +50 -45
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +220 -172
- 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/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +12 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +410 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +21 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/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 +8 -8
- 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 +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +25 -39
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +273 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +16 -6
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +39 -38
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +234 -173
- 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/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +12 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +411 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +21 -11
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- 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 +8 -8
- 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 +5 -5
- 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 +12 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +489 -491
- data/vendor/local/share/man/man1/groonga.1 +500 -498
- metadata +21 -8
- data/lib/groonga/view-record.rb +0 -50
@@ -17,9 +17,9 @@ Install required packages to build groonga::
|
|
17
17
|
|
18
18
|
Download source::
|
19
19
|
|
20
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
21
|
-
% gtar xvzf groonga-3.0.
|
22
|
-
% cd groonga-3.0
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.1.0.tar.gz
|
21
|
+
% gtar xvzf groonga-3.1.0.tar.gz
|
22
|
+
% cd groonga-3.1.0
|
23
23
|
|
24
24
|
Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
|
25
25
|
needed for building 64-bit version. To build 32-bit version, just
|
@@ -253,9 +253,9 @@ Install required packages to build groonga::
|
|
253
253
|
|
254
254
|
Download source::
|
255
255
|
|
256
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
257
|
-
% tar xvzf groonga-3.0.
|
258
|
-
% cd groonga-3.0
|
256
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.1.0.tar.gz
|
257
|
+
% tar xvzf groonga-3.1.0.tar.gz
|
258
|
+
% cd groonga-3.1.0
|
259
259
|
|
260
260
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
261
261
|
|
@@ -5,8 +5,8 @@
|
|
5
5
|
Windows
|
6
6
|
=======
|
7
7
|
|
8
|
-
This section describes how to install
|
9
|
-
install
|
8
|
+
This section describes how to install Groonga on Windows. You can
|
9
|
+
install Groogna by extracting a zip package or running an installer.
|
10
10
|
|
11
11
|
We distribute both 32-bit and 64-bit packages but we strongly
|
12
12
|
recommend a 64-bit package for server. You should use a 32-bit package
|
@@ -17,89 +17,75 @@ size data.
|
|
17
17
|
Installer
|
18
18
|
---------
|
19
19
|
|
20
|
-
For 32-bit environment, download x86 executable binary from
|
20
|
+
For 32-bit environment, download x86 executable binary from
|
21
|
+
packages.groonga.org:
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
|
25
|
-
|
26
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x86.exe
|
23
|
+
* http://packages.groonga.org/windows/groonga/groonga-3.1.0-x86.exe
|
27
24
|
|
28
25
|
Then run it.
|
29
26
|
|
27
|
+
For 64-bit environment, download x64 executable binary from
|
28
|
+
packages.goronga.org:
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
|
34
|
-
|
35
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x64.exe
|
30
|
+
* http://packages.groonga.org/windows/groonga/groonga-3.1.0-x64.exe
|
36
31
|
|
37
32
|
Then run it.
|
38
33
|
|
39
|
-
Use command prompt
|
34
|
+
Use command prompt in start menu to run
|
35
|
+
:doc:`/reference/executables/groonga`.
|
40
36
|
|
41
37
|
zip
|
42
38
|
---
|
43
39
|
|
44
|
-
For 32-bit environment, download x86 zip archive from
|
45
|
-
|
46
|
-
You can download such a binary by command line operation.
|
40
|
+
For 32-bit environment, download x86 zip archive from
|
41
|
+
packages.groonga.org:
|
47
42
|
|
48
|
-
|
49
|
-
|
50
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.9-x86.zip
|
43
|
+
* http://packages.groonga.org/windows/groonga/groonga-3.1.0-x86.zip
|
51
44
|
|
52
45
|
Then extract it.
|
53
46
|
|
54
|
-
For 64-bit environment, download x64 zip archive from
|
55
|
-
|
56
|
-
Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
|
47
|
+
For 64-bit environment, download x64 zip archive from
|
48
|
+
packages.groonga.org:
|
57
49
|
|
58
|
-
|
50
|
+
* http://packages.groonga.org/windows/groonga/groonga-3.1.0-x64.zip
|
59
51
|
|
60
52
|
Then extract it.
|
61
53
|
|
62
|
-
:doc:`/reference/executables/groonga`
|
54
|
+
You can find :doc:`/reference/executables/groonga` in ``bin`` folder.
|
63
55
|
|
64
56
|
Build from source
|
65
57
|
-----------------
|
66
58
|
|
67
|
-
First, you need to install required tools for building
|
59
|
+
First, you need to install required tools for building Groonga on
|
68
60
|
Windows. Here are required tools:
|
69
61
|
|
70
62
|
* `Microsoft Visual Studio 2010 Express
|
71
63
|
<http://www.microsoft.com/japan/msdn/vstudio/express/>`_
|
72
64
|
* `CMake <http://www.cmake.org/>`_
|
73
65
|
|
74
|
-
Download zipped source from packages.groonga.org
|
75
|
-
|
76
|
-
You can download such a zipped source file by command line operation.
|
77
|
-
|
78
|
-
Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
79
|
-
Visual Studio 2010 Express and download it by default browser::
|
66
|
+
Download zipped source from packages.groonga.org:
|
80
67
|
|
81
|
-
|
82
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.9.zip
|
68
|
+
* http://packages.groonga.org/source/groonga/groonga-3.1.0.zip
|
83
69
|
|
84
70
|
Then extract it.
|
85
71
|
|
86
|
-
Move to the
|
72
|
+
Move to the Groonga's source folder::
|
87
73
|
|
88
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0
|
74
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-3.1.0
|
89
75
|
|
90
76
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
91
77
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
92
78
|
parameter instead::
|
93
79
|
|
94
|
-
groonga-3.0
|
80
|
+
groonga-3.1.0> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
95
81
|
|
96
82
|
Build::
|
97
83
|
|
98
|
-
groonga-3.0
|
84
|
+
groonga-3.1.0> cmake --build . --config Release
|
99
85
|
|
100
86
|
Install::
|
101
87
|
|
102
|
-
groonga-3.0
|
88
|
+
groonga-3.1.0> cmake --build . --config Release --target Install
|
103
89
|
|
104
90
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
105
91
|
``c:\groonga\bin\groonga.exe``.
|
@@ -5,6 +5,47 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-3-1-0:
|
9
|
+
|
10
|
+
Release 3.1.0 - 2013/11/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* [experimental] Supported an option to skip updating for the same value.
|
17
|
+
It is enabled by setting GRN_JA_SKIP_SAME_VALUE_PUT=yes as environment variable.
|
18
|
+
* Improved to show tokenizer and original text in empty token warning message.
|
19
|
+
It shows actual token, so it helps you to investigate token related issue.
|
20
|
+
* Dropped broken AIO support. [#2054] [Reported by sho MINAGAWA]
|
21
|
+
* [windows] Supported build with Visual Studio Express 2008. [#1964 the 21th comment]
|
22
|
+
It is aimed to promote bundling Mroonga with MariaDB in the future.
|
23
|
+
|
24
|
+
Fixes
|
25
|
+
^^^^^
|
26
|
+
|
27
|
+
* Fixed a bug that type of "_value" column is treated as Int32.
|
28
|
+
It causes the case that the value of "_value" column is casted unexpectedly.
|
29
|
+
[Reported by Genki Takiuchi]
|
30
|
+
* Fixed to require GLib 2.14.0 or later for benchmark program.
|
31
|
+
The benchmark program is changed to use GRegex which requires GLib 2.14.0 or later.
|
32
|
+
It affects users who compile Groonga with '--enable-benchmark' configuration.
|
33
|
+
[groonga-dev,01890] [Reported by WING]
|
34
|
+
* Fixed a memory leak on updating an empty column vector with the same value.
|
35
|
+
* Fixed a memory leak on updating index for column vector.
|
36
|
+
It affects the case if you store the value of column which has invalid UTF-8 byte
|
37
|
+
sequence.
|
38
|
+
* [plugin][windows] Fixed the issue that register command fails without
|
39
|
+
'lib/groonga/plugins'. [Reported by @yito]
|
40
|
+
|
41
|
+
Thanks
|
42
|
+
^^^^^^
|
43
|
+
|
44
|
+
* sho MINAGAWA
|
45
|
+
* Genki Takiuchi
|
46
|
+
* WING
|
47
|
+
* @yito
|
48
|
+
|
8
49
|
.. _release-3-0-9:
|
9
50
|
|
10
51
|
Release 3.0.9 - 2013/10/29
|
data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt
ADDED
@@ -0,0 +1,273 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
groonga-benchmark
|
6
|
+
=================
|
7
|
+
|
8
|
+
名前
|
9
|
+
----
|
10
|
+
|
11
|
+
groonga-benchmark - groongaテストプログラム
|
12
|
+
|
13
|
+
書式
|
14
|
+
----
|
15
|
+
|
16
|
+
::
|
17
|
+
|
18
|
+
groonga-benchmark [options...] [script] [db]
|
19
|
+
|
20
|
+
説明
|
21
|
+
----
|
22
|
+
|
23
|
+
groonga-benchmarkは、groonga汎用ベンチマークツールです。
|
24
|
+
|
25
|
+
groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利用する場合の動作確認や実行速度測定が可能です。
|
26
|
+
|
27
|
+
groonga-benchmark用のデータファイルは自分で作成することも既存のものを利用することもできます。既存のデータファイルは、ftp.groonga.orgから必要に応じダウンロードします。そのため、groonga及びgroonga-benchmarkが動作し、インターネットに接続できる環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。
|
28
|
+
|
29
|
+
現在は、Linux 及びWindows上で動作します。make installしてもインストールは行われません。
|
30
|
+
|
31
|
+
オプション
|
32
|
+
----------
|
33
|
+
.. cmdoption:: -i, --host <ip/hostname>
|
34
|
+
|
35
|
+
接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先にgroongaサーバが立ち上がっていない場合、接続不能となることに注意してください。このオプションを指定しない場合、groonga-benchmarkは自動的にlocalhostのgroongaサーバを起動して接続します。
|
36
|
+
|
37
|
+
|
38
|
+
.. cmdoption:: -p, --port <port number>
|
39
|
+
|
40
|
+
自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、このオプションで指定したポート番号が異なる場合、接続不能となることに注意してください。
|
41
|
+
|
42
|
+
|
43
|
+
.. cmdoption:: --dir
|
44
|
+
|
45
|
+
ftp.groonga.org に用意されているスクリプトファイルを表示します。
|
46
|
+
|
47
|
+
.. cmdoption:: --ftp
|
48
|
+
|
49
|
+
ftp.groonga.orgとFTP通信を行い、scriptファイルの同期やログファイルの送信を行います。
|
50
|
+
|
51
|
+
.. cmdoption:: --log-output-dir
|
52
|
+
|
53
|
+
デフォルトでは、groonga-benchmark終了後のログファイルの出力先ははカレントディレクトリです。このオプションを利用すると、任意のディレクトリに出力先を変更することができます。
|
54
|
+
|
55
|
+
.. cmdoption:: --groonga <groonga_path>
|
56
|
+
|
57
|
+
groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマンドを探します。
|
58
|
+
|
59
|
+
.. cmdoption:: --protocol <gqtp|http>
|
60
|
+
|
61
|
+
groongaコマンドが使うプロトコルとして `gqtp` または `http` を指定します。
|
62
|
+
|
63
|
+
引数
|
64
|
+
----
|
65
|
+
|
66
|
+
.. cmdoption:: script
|
67
|
+
|
68
|
+
groonga-benchmarkの動作方法(以下、groonga-benchmark命令と呼びます)を記述したテキストファイルです。拡張子は.scrです。
|
69
|
+
|
70
|
+
.. cmdoption:: db
|
71
|
+
|
72
|
+
groonga-benchmarkが利用するgroonga データベースです。指定されたデータベースが存在しない場合、groonga-benchmarkが新規に作成します。またgroonga サーバを自動的に起動する場合もこの引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースになることに注意してください。
|
73
|
+
|
74
|
+
|
75
|
+
使い方
|
76
|
+
------
|
77
|
+
まず、シェル上(Windowsならコマンドプロンプト上)で::
|
78
|
+
|
79
|
+
groonga-benchmark test.scr 任意のDB名
|
80
|
+
|
81
|
+
とタイプしてください。もしgroonga-benchmarkが正常に動作すれば、::
|
82
|
+
|
83
|
+
test-ユーザ名-数字.log
|
84
|
+
|
85
|
+
というファイルが作成されるはずです。作成されない場合、このドキュメントの「トラブルシューティング」の章を参照してください。
|
86
|
+
|
87
|
+
|
88
|
+
スクリプトファイル
|
89
|
+
------------------
|
90
|
+
|
91
|
+
スクリプトファイルは、groonga-benchmark命令を記述したテキストファイルです。
|
92
|
+
";"セミコロンを利用して、一行に複数のgroonga-benchmark命令を記述することができます。一行に複数のgroonga-benchmark命令がある場合、各命令は並列に実行されます。
|
93
|
+
"#"で始まる行はコメントとして扱われます。
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
groonga-benchmark命令
|
98
|
+
^^^^^^^^^^^^^^^^^^^^^
|
99
|
+
|
100
|
+
現在サポートされているgroonga-benchmark命令は以下の8つです。
|
101
|
+
|
102
|
+
do_local コマンドファイル [スレッド数] [繰り返し数]
|
103
|
+
|
104
|
+
コマンドファイルをgroonga-benchmark単体で実行します。スレッド数が指定されている場合、複数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されてい場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数とも省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイル 1 [繰り返し数]と明示的に指定してください。
|
105
|
+
|
106
|
+
do_gqpt コマンドファイル [スレッド数] [繰り返し数]
|
107
|
+
|
108
|
+
コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。
|
109
|
+
|
110
|
+
rep_local コマンドファイル [スレッド数] [繰り返し数]
|
111
|
+
|
112
|
+
コマンドファイルをgroonga-benchmark単体で実行し、より詳細な報告を行います。
|
113
|
+
|
114
|
+
rep_gqpt コマンドファイル [スレッド数] [繰り返し数]
|
115
|
+
|
116
|
+
コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。
|
117
|
+
|
118
|
+
out_local コマンドファイル 入力ファイル名
|
119
|
+
|
120
|
+
コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果をすべて”出力ファイル"に書きだします。この結果は、test_local, test_gqtp命令で利用します。なおこの命令の「出力ファイル」とは、groonga-benchmark実行時に自動的に作成されるログとは別のものです。groonga-benchmarkではコメントが利用できる以外、::
|
121
|
+
|
122
|
+
groonga < コマンドファイル > 出力ファイル
|
123
|
+
|
124
|
+
とした場合と同じです。
|
125
|
+
|
126
|
+
out_gqtp コマンドファイル 出力ファイル名
|
127
|
+
|
128
|
+
コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等です。
|
129
|
+
|
130
|
+
test_local コマンドファイル 入力ファイル名
|
131
|
+
コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。
|
132
|
+
|
133
|
+
|
134
|
+
コマンドファイル
|
135
|
+
^^^^^^^^^^^^^^^^
|
136
|
+
|
137
|
+
コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/command` を参照してください。
|
138
|
+
|
139
|
+
サンプル
|
140
|
+
^^^^^^^^
|
141
|
+
|
142
|
+
スクリプトファイルのサンプルです。::
|
143
|
+
|
144
|
+
# sample script
|
145
|
+
rep_local test.ddl
|
146
|
+
do_local test.load;
|
147
|
+
do_gqtp test.select 10 10; do_local test.status 10
|
148
|
+
|
149
|
+
|
150
|
+
上記の意味は以下のとおりです。
|
151
|
+
|
152
|
+
1行目
|
153
|
+
コメント行。
|
154
|
+
2行目
|
155
|
+
test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。
|
156
|
+
3行目
|
157
|
+
test.load というコマンドファイルをgroonga単体で実行する。(最後の";"セミコロンは複数のgroonga-benchmark命令を記述する場合に必要ですが、この例のように1つのgroonga-benchmark命令を実行する場合に付与しても問題ありません。)
|
158
|
+
4行目
|
159
|
+
test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体でtest.statusというコマンドファイルを10個のスレッドで実行する。
|
160
|
+
|
161
|
+
特殊命令
|
162
|
+
^^^^^^^^
|
163
|
+
|
164
|
+
スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在サポートされている特殊命令は以下の二つです。
|
165
|
+
|
166
|
+
#SET_HOST <ip/hostname>
|
167
|
+
-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPアドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプションで指定した場合と同様です。
|
168
|
+
|
169
|
+
#SET_PORT <port number>
|
170
|
+
-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポート番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_PORTが優先されます。
|
171
|
+
|
172
|
+
|
173
|
+
特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。
|
174
|
+
|
175
|
+
例えば、
|
176
|
+
|
177
|
+
::
|
178
|
+
|
179
|
+
$ ./groonga-benchmark --port 20010 test.scr testdb
|
180
|
+
|
181
|
+
とコマンド上でポートを指定した場合でも、もしtest.scrの中身が
|
182
|
+
|
183
|
+
::
|
184
|
+
|
185
|
+
#SET_PORT 10900
|
186
|
+
rep_local test.ddl
|
187
|
+
do_local test.load;
|
188
|
+
rep_gqtp test.select 10 10; rep_local test.status 10
|
189
|
+
#SET_PORT 10400
|
190
|
+
|
191
|
+
であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。
|
192
|
+
|
193
|
+
|
194
|
+
groonga-benchmark実行結果
|
195
|
+
---------------
|
196
|
+
|
197
|
+
groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
|
198
|
+
に送信されます。ログファイルは以下のようなjson形式のテキストです。
|
199
|
+
|
200
|
+
::
|
201
|
+
|
202
|
+
[{"script": "test.scr",
|
203
|
+
"user": "homepage",
|
204
|
+
"date": "2010-04-14 22:47:04",
|
205
|
+
"CPU": Intel(R) Pentium(R) 4 CPU 2.80GHz",
|
206
|
+
"BIT": 32,
|
207
|
+
"CORE": 1,
|
208
|
+
"RAM": "975MBytes",
|
209
|
+
"HDD": "257662232KBytes",
|
210
|
+
"OS": "Linux 2.4.20-24.7-i686",
|
211
|
+
"HOST": "localhost",
|
212
|
+
"PORT": "10041",
|
213
|
+
"VERSION": "0.1.8-100-ga54c5f8"
|
214
|
+
},
|
215
|
+
{"jobs": "rep_local test.ddl",
|
216
|
+
"detail": [
|
217
|
+
[0, "table_create res_table --key_type ShortText", 1490, 3086, [0,1271252824.25846,0.00144
|
218
|
+
7]],
|
219
|
+
[0, "column_create res_table res_column --type Text", 3137, 5956, [0,1271252824.2601,0.002
|
220
|
+
741]],
|
221
|
+
[0, "column_create res_table user_column --type Text", 6020, 8935, [0,1271252824.26298,0.0
|
222
|
+
02841]],
|
223
|
+
[0, "column_create res_table mail_column --type Text", 8990, 11925, [0,1271252824.26595,0.
|
224
|
+
002861]],
|
225
|
+
[0, "column_create res_table time_column --type Time", 12008, 13192, [0,1271252824.26897,0
|
226
|
+
.001147]],
|
227
|
+
[0, "status", 13214, 13277, [0,1271252824.27018,3.0e-05]],
|
228
|
+
[0, "table_create thread_table --key_type ShortText", 13289, 14541, [0,1271252824.27025,0.
|
229
|
+
001213]],
|
230
|
+
[0, "column_create thread_table thread_title_column --type ShortText", 14570, 17380, [0,12
|
231
|
+
71252824.27153,0.002741]],
|
232
|
+
[0, "status", 17435, 17480, [0,1271252824.2744,2.7e-05]],
|
233
|
+
[0, "table_create lexicon_table --flags 129 --key_type ShortText --default_tokenizer Token
|
234
|
+
Bigram", 17491, 18970, [0,1271252824.27446,0.001431]],
|
235
|
+
[0, "column_create lexicon_table inv_res_column 514 res_table res_column ", 18998, 33248,
|
236
|
+
[0,1271252824.27596,0.01418]],
|
237
|
+
[0, "column_create lexicon_table inv_thread_column 514 thread_table thread_title_column ",
|
238
|
+
33285, 48472, [0,1271252824.29025,0.015119]],
|
239
|
+
[0, "status", 48509, 48554, [0,1271252824.30547,2.7e-05]]],
|
240
|
+
"summary" :[{"job": "rep_local test.ddl", "latency": 48607, "self": 47719, "qps": 272.4281
|
241
|
+
73, "min": 45, "max": 15187, "queries": 13}]},
|
242
|
+
{"jobs": "do_local test.load; ",
|
243
|
+
"summary" :[{"job": "do_local test.load", "latency": 68693, "self": 19801, "qps": 1010.049
|
244
|
+
997, "min": 202, "max": 5453, "queries": 20}]},
|
245
|
+
{"jobs": "do_gqtp test.select 10 10; do_local test.status 10",
|
246
|
+
"summary" :[{"job": " do_local test.status 10", "latency": 805990, "self": 737014, "qps":
|
247
|
+
54.273053, "min": 24, "max": 218, "queries": 40},{"job": "do_gqtp test.select 10 10", "lat
|
248
|
+
ency": 831495, "self": 762519, "qps": 1967.164097, "min": 73, "max": 135631, "queries": 15
|
249
|
+
00}]},
|
250
|
+
{"total": 915408, "qps": 1718.359464, "queries": 1573}]
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
制限事項
|
255
|
+
--------
|
256
|
+
|
257
|
+
* スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。
|
258
|
+
|
259
|
+
* コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。
|
260
|
+
|
261
|
+
|
262
|
+
トラブルシューティング
|
263
|
+
----------------------
|
264
|
+
|
265
|
+
もし、groonga-benchmarkが正常に動作しない場合、まず以下を確認してください。
|
266
|
+
|
267
|
+
* インターネットに接続しているか? `--ftp` オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。
|
268
|
+
|
269
|
+
* groonga サーバが動作していないか? groonga-benchmarkは、-i, --host オプションで明示的にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。すでにgroongaサーバが動作している場合、groonga-benchmarkは正常に動作しない可能性があります。
|
270
|
+
|
271
|
+
* 指定したDBが適切か? groonga-benchmarkは、引数で指定したDBの中身はチェックしません。もし指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性があります。
|
272
|
+
|
273
|
+
以上の原因でなければ、問題はgroonga-benchmarkかgroongaにあります。ご報告をお願いします。
|