rroonga 4.0.7-x86-mingw32 → 4.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/doc/text/news.textile +17 -1
- data/ext/groonga/extconf.rb +2 -1
- data/ext/groonga/rb-grn-column.c +31 -0
- data/ext/groonga/rb-grn-database.c +33 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/geo-point.rb +2 -1
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +68 -6
- data/test/test-command-select.rb +0 -3
- data/test/test-database.rb +28 -1
- data/test/test-expression-builder.rb +1 -1
- data/test/test-geo-point.rb +15 -0
- data/test/test-variable-size-column.rb +2 -2
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +4 -1
- data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
- data/vendor/local/include/lz4.h +21 -29
- data/vendor/local/include/lz4frame.h +252 -0
- data/vendor/local/include/lz4hc.h +14 -63
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- 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/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +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/groonga/scripts/ruby/command/grndb.rb +169 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -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 +4 -4
- 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 +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -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 +4 -4
- 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 +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/groonga/html/admin/index.html +1 -1
- data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
- data/vendor/local/share/license/mruby/AUTHORS +11 -0
- data/vendor/local/share/license/mruby/README.md +32 -20
- data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
- data/vendor/local/share/man/man1/groonga.1 +930 -239
- metadata +103 -80
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.1.
|
10
|
+
<title>7.1.4. groonga-benchmark — Groonga v4.0.8-168-gae696d7ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.1. 実行ファイル" href="../executables.html" />
|
31
|
-
<link rel="next" title="7.1.
|
32
|
-
<link rel="prev" title="7.1.
|
31
|
+
<link rel="next" title="7.1.5. groonga-httpd" href="groonga-httpd.html" />
|
32
|
+
<link rel="prev" title="7.1.3. groongaコマンド" href="groonga.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,19 +49,19 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="groonga-httpd.html" title="7.1.
|
59
|
+
<a href="groonga-httpd.html" title="7.1.5. groonga-httpd"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="groonga.html" title="7.1.
|
62
|
+
<a href="groonga.html" title="7.1.3. groongaコマンド"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
67
67
|
</ul>
|
@@ -70,89 +70,89 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="groonga-benchmark">
|
76
|
-
<h1>7.1.
|
76
|
+
<h1>7.1.4. groonga-benchmark<a class="headerlink" href="#groonga-benchmark" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>7.1.
|
78
|
+
<h2>7.1.4.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>groonga-benchmark - groongaテストプログラム</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>7.1.
|
82
|
+
<h2>7.1.4.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>groonga-benchmark [options...] [script] [db]
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>7.1.
|
88
|
+
<h2>7.1.4.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>groonga-benchmarkは、groonga汎用ベンチマークツールです。</p>
|
90
90
|
<p>groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利用する場合の動作確認や実行速度測定が可能です。</p>
|
91
91
|
<p>groonga-benchmark用のデータファイルは自分で作成することも既存のものを利用することもできます。既存のデータファイルは、ftp.groonga.orgから必要に応じダウンロードします。そのため、groonga及びgroonga-benchmarkが動作し、インターネットに接続できる環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。</p>
|
92
92
|
<p>現在は、Linux 及びWindows上で動作します。make installしてもインストールは行われません。</p>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="id4">
|
95
|
-
<h2>7.1.
|
95
|
+
<h2>7.1.4.4. オプション<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
96
96
|
<dl class="cmdoption">
|
97
97
|
<dt id="cmdoption-i">
|
98
|
-
<span id="cmdoption--host"></span><
|
98
|
+
<span id="cmdoption--host"></span><tt class="descname">-i</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--host</tt><tt class="descclassname"> <ip/hostname></tt><a class="headerlink" href="#cmdoption-i" title="この定義へのパーマリンク">¶</a></dt>
|
99
99
|
<dd><p>接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先にgroongaサーバが立ち上がっていない場合、接続不能となることに注意してください。このオプションを指定しない場合、groonga-benchmarkは自動的にlocalhostのgroongaサーバを起動して接続します。</p>
|
100
100
|
</dd></dl>
|
101
101
|
|
102
102
|
<dl class="cmdoption">
|
103
103
|
<dt id="cmdoption-p">
|
104
|
-
<span id="cmdoption--port"></span><
|
104
|
+
<span id="cmdoption--port"></span><tt class="descname">-p</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--port</tt><tt class="descclassname"> <port number></tt><a class="headerlink" href="#cmdoption-p" title="この定義へのパーマリンク">¶</a></dt>
|
105
105
|
<dd><p>自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、このオプションで指定したポート番号が異なる場合、接続不能となることに注意してください。</p>
|
106
106
|
</dd></dl>
|
107
107
|
|
108
108
|
<dl class="cmdoption">
|
109
109
|
<dt id="cmdoption--dir">
|
110
|
-
<
|
110
|
+
<tt class="descname">--dir</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--dir" title="この定義へのパーマリンク">¶</a></dt>
|
111
111
|
<dd><p>ftp.groonga.org に用意されているスクリプトファイルを表示します。</p>
|
112
112
|
</dd></dl>
|
113
113
|
|
114
114
|
<dl class="cmdoption">
|
115
115
|
<dt id="cmdoption--ftp">
|
116
|
-
<
|
116
|
+
<tt class="descname">--ftp</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--ftp" title="この定義へのパーマリンク">¶</a></dt>
|
117
117
|
<dd><p>ftp.groonga.orgとFTP通信を行い、scriptファイルの同期やログファイルの送信を行います。</p>
|
118
118
|
</dd></dl>
|
119
119
|
|
120
120
|
<dl class="cmdoption">
|
121
121
|
<dt id="cmdoption--log-output-dir">
|
122
|
-
<
|
122
|
+
<tt class="descname">--log-output-dir</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--log-output-dir" title="この定義へのパーマリンク">¶</a></dt>
|
123
123
|
<dd><p>デフォルトでは、groonga-benchmark終了後のログファイルの出力先ははカレントディレクトリです。このオプションを利用すると、任意のディレクトリに出力先を変更することができます。</p>
|
124
124
|
</dd></dl>
|
125
125
|
|
126
126
|
<dl class="cmdoption">
|
127
127
|
<dt id="cmdoption--groonga">
|
128
|
-
<
|
128
|
+
<tt class="descname">--groonga</tt><tt class="descclassname"> <groonga_path></tt><a class="headerlink" href="#cmdoption--groonga" title="この定義へのパーマリンク">¶</a></dt>
|
129
129
|
<dd><p>groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマンドを探します。</p>
|
130
130
|
</dd></dl>
|
131
131
|
|
132
132
|
<dl class="cmdoption">
|
133
133
|
<dt id="cmdoption--protocol">
|
134
|
-
<
|
134
|
+
<tt class="descname">--protocol</tt><tt class="descclassname"> <gqtp|http></tt><a class="headerlink" href="#cmdoption--protocol" title="この定義へのパーマリンク">¶</a></dt>
|
135
135
|
<dd><p>groongaコマンドが使うプロトコルとして <cite>gqtp</cite> または <cite>http</cite> を指定します。</p>
|
136
136
|
</dd></dl>
|
137
137
|
|
138
138
|
</div>
|
139
139
|
<div class="section" id="id5">
|
140
|
-
<h2>7.1.
|
140
|
+
<h2>7.1.4.5. 引数<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
141
141
|
<dl class="cmdoption">
|
142
142
|
<dt id="cmdoption-arg-script">
|
143
|
-
<
|
143
|
+
<tt class="descname">script</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-arg-script" title="この定義へのパーマリンク">¶</a></dt>
|
144
144
|
<dd><p>groonga-benchmarkの動作方法(以下、groonga-benchmark命令と呼びます)を記述したテキストファイルです。拡張子は.scrです。</p>
|
145
145
|
</dd></dl>
|
146
146
|
|
147
147
|
<dl class="cmdoption">
|
148
148
|
<dt id="cmdoption-arg-db">
|
149
|
-
<
|
149
|
+
<tt class="descname">db</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-arg-db" title="この定義へのパーマリンク">¶</a></dt>
|
150
150
|
<dd><p>groonga-benchmarkが利用するgroonga データベースです。指定されたデータベースが存在しない場合、groonga-benchmarkが新規に作成します。またgroonga サーバを自動的に起動する場合もこの引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースになることに注意してください。</p>
|
151
151
|
</dd></dl>
|
152
152
|
|
153
153
|
</div>
|
154
154
|
<div class="section" id="id6">
|
155
|
-
<h2>7.1.
|
155
|
+
<h2>7.1.4.6. 使い方<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
156
156
|
<p>まず、シェル上(Windowsならコマンドプロンプト上)で:</p>
|
157
157
|
<div class="highlight-none"><div class="highlight"><pre>groonga-benchmark test.scr 任意のDB名
|
158
158
|
</pre></div>
|
@@ -164,12 +164,12 @@
|
|
164
164
|
<p>というファイルが作成されるはずです。作成されない場合、このドキュメントの「トラブルシューティング」の章を参照してください。</p>
|
165
165
|
</div>
|
166
166
|
<div class="section" id="id7">
|
167
|
-
<h2>7.1.
|
167
|
+
<h2>7.1.4.7. スクリプトファイル<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
168
168
|
<p>スクリプトファイルは、groonga-benchmark命令を記述したテキストファイルです。
|
169
169
|
";"セミコロンを利用して、一行に複数のgroonga-benchmark命令を記述することができます。一行に複数のgroonga-benchmark命令がある場合、各命令は並列に実行されます。
|
170
170
|
"#"で始まる行はコメントとして扱われます。</p>
|
171
171
|
<div class="section" id="id8">
|
172
|
-
<h3>7.1.
|
172
|
+
<h3>7.1.4.7.1. groonga-benchmark命令<a class="headerlink" href="#id8" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
173
173
|
<p>現在サポートされているgroonga-benchmark命令は以下の11種類です。</p>
|
174
174
|
<blockquote>
|
175
175
|
<div><p>do_local コマンドファイル [スレッド数] [繰り返し数]</p>
|
@@ -211,11 +211,11 @@
|
|
211
211
|
</div></blockquote>
|
212
212
|
</div>
|
213
213
|
<div class="section" id="id9">
|
214
|
-
<h3>7.1.
|
214
|
+
<h3>7.1.4.7.2. コマンドファイル<a class="headerlink" href="#id9" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
215
215
|
<p>コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては <a class="reference internal" href="../command.html"><em>コマンド</em></a> を参照してください。</p>
|
216
216
|
</div>
|
217
217
|
<div class="section" id="id10">
|
218
|
-
<h3>7.1.
|
218
|
+
<h3>7.1.4.7.3. サンプル<a class="headerlink" href="#id10" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
219
219
|
<p>スクリプトファイルのサンプルです。:</p>
|
220
220
|
<div class="highlight-none"><div class="highlight"><pre># sample script
|
221
221
|
rep_local test.ddl
|
@@ -238,7 +238,7 @@ do_gqtp test.select 10 10; do_local test.status 10
|
|
238
238
|
</div></blockquote>
|
239
239
|
</div>
|
240
240
|
<div class="section" id="id11">
|
241
|
-
<h3>7.1.
|
241
|
+
<h3>7.1.4.7.4. 特殊命令<a class="headerlink" href="#id11" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
242
242
|
<p>スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在サポートされている特殊命令は以下の二つです。</p>
|
243
243
|
<blockquote>
|
244
244
|
<div><dl class="docutils">
|
@@ -265,7 +265,7 @@ rep_gqtp test.select 10 10; rep_local test.status 10
|
|
265
265
|
</div>
|
266
266
|
</div>
|
267
267
|
<div class="section" id="id12">
|
268
|
-
<h2>7.1.
|
268
|
+
<h2>7.1.4.8. groonga-benchmark実行結果<a class="headerlink" href="#id12" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
269
269
|
<p>groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
|
270
270
|
に送信されます。ログファイルは以下のようなjson形式のテキストです。</p>
|
271
271
|
<div class="highlight-none"><div class="highlight"><pre>[{"script": "test.scr",
|
@@ -321,14 +321,14 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
321
321
|
</div>
|
322
322
|
</div>
|
323
323
|
<div class="section" id="id13">
|
324
|
-
<h2>7.1.
|
324
|
+
<h2>7.1.4.9. 制限事項<a class="headerlink" href="#id13" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
325
325
|
<ul class="simple">
|
326
326
|
<li>スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。</li>
|
327
327
|
<li>コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。</li>
|
328
328
|
</ul>
|
329
329
|
</div>
|
330
330
|
<div class="section" id="id14">
|
331
|
-
<h2>7.1.
|
331
|
+
<h2>7.1.4.10. トラブルシューティング<a class="headerlink" href="#id14" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
332
332
|
<p>もし、groonga-benchmarkが正常に動作しない場合、まず以下を確認してください。</p>
|
333
333
|
<ul class="simple">
|
334
334
|
<li>インターネットに接続しているか? <cite>--ftp</cite> オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。</li>
|
@@ -343,45 +343,43 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
343
343
|
</div>
|
344
344
|
</div>
|
345
345
|
</div>
|
346
|
-
<div class="sphinxsidebar"
|
346
|
+
<div class="sphinxsidebar">
|
347
347
|
<div class="sphinxsidebarwrapper">
|
348
348
|
<h3><a href="../../index.html">目次</a></h3>
|
349
349
|
<ul>
|
350
|
-
<li><a class="reference internal" href="#">7.1.
|
351
|
-
<li><a class="reference internal" href="#id1">7.1.
|
352
|
-
<li><a class="reference internal" href="#id2">7.1.
|
353
|
-
<li><a class="reference internal" href="#id3">7.1.
|
354
|
-
<li><a class="reference internal" href="#id4">7.1.
|
355
|
-
<li><a class="reference internal" href="#id5">7.1.
|
356
|
-
<li><a class="reference internal" href="#id6">7.1.
|
357
|
-
<li><a class="reference internal" href="#id7">7.1.
|
358
|
-
<li><a class="reference internal" href="#id8">7.1.
|
359
|
-
<li><a class="reference internal" href="#id9">7.1.
|
360
|
-
<li><a class="reference internal" href="#id10">7.1.
|
361
|
-
<li><a class="reference internal" href="#id11">7.1.
|
350
|
+
<li><a class="reference internal" href="#">7.1.4. groonga-benchmark</a><ul>
|
351
|
+
<li><a class="reference internal" href="#id1">7.1.4.1. 名前</a></li>
|
352
|
+
<li><a class="reference internal" href="#id2">7.1.4.2. 書式</a></li>
|
353
|
+
<li><a class="reference internal" href="#id3">7.1.4.3. 説明</a></li>
|
354
|
+
<li><a class="reference internal" href="#id4">7.1.4.4. オプション</a></li>
|
355
|
+
<li><a class="reference internal" href="#id5">7.1.4.5. 引数</a></li>
|
356
|
+
<li><a class="reference internal" href="#id6">7.1.4.6. 使い方</a></li>
|
357
|
+
<li><a class="reference internal" href="#id7">7.1.4.7. スクリプトファイル</a><ul>
|
358
|
+
<li><a class="reference internal" href="#id8">7.1.4.7.1. groonga-benchmark命令</a></li>
|
359
|
+
<li><a class="reference internal" href="#id9">7.1.4.7.2. コマンドファイル</a></li>
|
360
|
+
<li><a class="reference internal" href="#id10">7.1.4.7.3. サンプル</a></li>
|
361
|
+
<li><a class="reference internal" href="#id11">7.1.4.7.4. 特殊命令</a></li>
|
362
362
|
</ul>
|
363
363
|
</li>
|
364
|
-
<li><a class="reference internal" href="#id12">7.1.
|
365
|
-
<li><a class="reference internal" href="#id13">7.1.
|
366
|
-
<li><a class="reference internal" href="#id14">7.1.
|
364
|
+
<li><a class="reference internal" href="#id12">7.1.4.8. groonga-benchmark実行結果</a></li>
|
365
|
+
<li><a class="reference internal" href="#id13">7.1.4.9. 制限事項</a></li>
|
366
|
+
<li><a class="reference internal" href="#id14">7.1.4.10. トラブルシューティング</a></li>
|
367
367
|
</ul>
|
368
368
|
</li>
|
369
369
|
</ul>
|
370
370
|
|
371
371
|
<h4>前のトピックへ</h4>
|
372
372
|
<p class="topless"><a href="groonga.html"
|
373
|
-
title="前の章へ">7.1.
|
373
|
+
title="前の章へ">7.1.3. groongaコマンド</a></p>
|
374
374
|
<h4>次のトピックへ</h4>
|
375
375
|
<p class="topless"><a href="groonga-httpd.html"
|
376
|
-
title="次の章へ">7.1.
|
377
|
-
<
|
378
|
-
|
379
|
-
<
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
</div>
|
384
|
-
<div id="searchbox" style="display: none" role="search">
|
376
|
+
title="次の章へ">7.1.5. groonga-httpd</a></p>
|
377
|
+
<h3>このページ</h3>
|
378
|
+
<ul class="this-page-menu">
|
379
|
+
<li><a href="../../_sources/reference/executables/groonga-benchmark.txt"
|
380
|
+
rel="nofollow">ソースコードを表示</a></li>
|
381
|
+
</ul>
|
382
|
+
<div id="searchbox" style="display: none">
|
385
383
|
<h3>クイック検索</h3>
|
386
384
|
<form class="search" action="../../search.html" method="get">
|
387
385
|
<input type="text" name="q" />
|
@@ -398,24 +396,24 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
398
396
|
</div>
|
399
397
|
<div class="clearer"></div>
|
400
398
|
</div>
|
401
|
-
<div class="related"
|
399
|
+
<div class="related">
|
402
400
|
<h3>ナビゲーション</h3>
|
403
401
|
<ul>
|
404
402
|
<li class="right" style="margin-right: 10px">
|
405
403
|
<a href="../../genindex.html" title="総合索引"
|
406
404
|
>索引</a></li>
|
407
405
|
<li class="right" >
|
408
|
-
<a href="groonga-httpd.html" title="7.1.
|
406
|
+
<a href="groonga-httpd.html" title="7.1.5. groonga-httpd"
|
409
407
|
>次へ</a> |</li>
|
410
408
|
<li class="right" >
|
411
|
-
<a href="groonga.html" title="7.1.
|
409
|
+
<a href="groonga.html" title="7.1.3. groongaコマンド"
|
412
410
|
>前へ</a> |</li>
|
413
|
-
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
411
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> »</li>
|
414
412
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
415
413
|
<li><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
416
414
|
</ul>
|
417
415
|
</div>
|
418
|
-
<div class="footer"
|
416
|
+
<div class="footer">
|
419
417
|
© Copyright 2009-2014, Brazil, Inc.
|
420
418
|
</div>
|
421
419
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.1.
|
10
|
+
<title>7.1.5. groonga-httpd — Groonga v4.0.8-168-gae696d7ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.1. 実行ファイル" href="../executables.html" />
|
31
|
-
<link rel="next" title="7.1.
|
32
|
-
<link rel="prev" title="7.1.
|
31
|
+
<link rel="next" title="7.1.6. groonga HTTPサーバー" href="groonga-server-http.html" />
|
32
|
+
<link rel="prev" title="7.1.4. groonga-benchmark" href="groonga-benchmark.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,19 +49,19 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="groonga-server-http.html" title="7.1.
|
59
|
+
<a href="groonga-server-http.html" title="7.1.6. groonga HTTPサーバー"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="groonga-benchmark.html" title="7.1.
|
62
|
+
<a href="groonga-benchmark.html" title="7.1.4. groonga-benchmark"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
67
67
|
</ul>
|
@@ -70,26 +70,26 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="groonga-httpd">
|
76
|
-
<h1>7.1.
|
76
|
+
<h1>7.1.5. groonga-httpd<a class="headerlink" href="#groonga-httpd" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.1.
|
78
|
+
<h2>7.1.5.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>groonga-httpdはGroongaサーバーとHTTPプロトコルで通信するプログラムです。 機能的には、 <a class="reference internal" href="groonga-server-http.html"><em>groonga HTTPサーバー</em></a> と同じです。 <a class="reference internal" href="groonga-server-http.html"><em>groonga HTTPサーバー</em></a> はHTTPサーバーとしては最小限の機能しか持ちませんが、groonga-httpdは <a class="reference external" href="http://www.nginx.org/">nginx</a> を組み込むことでnginxが準拠しているHTTPの仕様と機能をすべて利用できます。</p>
|
80
80
|
<p>groonga-httpdにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。ウェブブラウザでhttp://hostname:port/にアクセスすると、管理ツールを利用できます。</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="synopsis">
|
83
|
-
<h2>7.1.
|
83
|
+
<h2>7.1.5.2. 書式<a class="headerlink" href="#synopsis" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>groonga-httpd [nginx options]
|
85
85
|
</pre></div>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="usage">
|
89
|
-
<h2>7.1.
|
89
|
+
<h2>7.1.5.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
90
|
<div class="section" id="set-up">
|
91
|
-
<h3>7.1.
|
92
|
-
<p>まずは、データベースを指定するためにgroonga-httpdの設定ファイルを編集する必要があります。次のように/etc/groonga/httpd/groonga-httpd.confを編集して <
|
91
|
+
<h3>7.1.5.3.1. 設定をする<a class="headerlink" href="#set-up" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
92
|
+
<p>まずは、データベースを指定するためにgroonga-httpdの設定ファイルを編集する必要があります。次のように/etc/groonga/httpd/groonga-httpd.confを編集して <tt class="docutils literal"><span class="pre">groonga_database</span></tt> ディレクティブを有効にしてます。</p>
|
93
93
|
<div class="highlight-none"><div class="highlight"><pre># Match this to the file owner of groonga database files if groonga-httpd is
|
94
94
|
# run as root.
|
95
95
|
#user groonga;
|
@@ -113,7 +113,7 @@ http {
|
|
113
113
|
</div>
|
114
114
|
</div>
|
115
115
|
<div class="section" id="request-queries">
|
116
|
-
<h3>7.1.
|
116
|
+
<h3>7.1.5.3.2. クエリーを実行する<a class="headerlink" href="#request-queries" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
117
117
|
<p>動作を確認するため、簡単なクエリー( <a class="reference internal" href="../commands/status.html"><em>status</em></a> )をリクエストしてみます。</p>
|
118
118
|
<p>実行例:</p>
|
119
119
|
<div class="highlight-none"><div class="highlight"><pre>% curl http://localhost:10041/d/status
|
@@ -139,7 +139,7 @@ http {
|
|
139
139
|
</div>
|
140
140
|
</div>
|
141
141
|
<div class="section" id="loading-data-by-post">
|
142
|
-
<h3>7.1.
|
142
|
+
<h3>7.1.5.3.3. Loading data by POST<a class="headerlink" href="#loading-data-by-post" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
143
143
|
<p>The feature of groonga-httpd in contrast to groonga is supporting POST method.</p>
|
144
144
|
<p>You can load data by POST JSON data.</p>
|
145
145
|
<p>Here is an example curl command line that loads two users alice and bob to Users table:</p>
|
@@ -159,11 +159,11 @@ http {
|
|
159
159
|
</div>
|
160
160
|
</div>
|
161
161
|
<div class="section" id="browse-the-administration-tool">
|
162
|
-
<h3>7.1.
|
162
|
+
<h3>7.1.5.3.4. 管理ツールを使う<a class="headerlink" href="#browse-the-administration-tool" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
163
163
|
<p>補足ですが、 <a class="reference external" href="http://localhost:10041/">http://localhost:10041/</a> にアクセスすると管理ツールを利用できます。</p>
|
164
164
|
</div>
|
165
165
|
<div class="section" id="shut-down">
|
166
|
-
<h3>7.1.
|
166
|
+
<h3>7.1.5.3.5. 終了する<a class="headerlink" href="#shut-down" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
167
167
|
<p>最後に、次のコマンドで動作中のgroonga-httpdデーモンを終了できます。</p>
|
168
168
|
<div class="highlight-none"><div class="highlight"><pre>% groonga-httpd -s stop
|
169
169
|
</pre></div>
|
@@ -171,25 +171,25 @@ http {
|
|
171
171
|
</div>
|
172
172
|
</div>
|
173
173
|
<div class="section" id="configuration-directives">
|
174
|
-
<h2>7.1.
|
174
|
+
<h2>7.1.5.4. 設定ディレクティブ<a class="headerlink" href="#configuration-directives" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
175
175
|
<p>このセクションでは重要なディレクティブのみ説明します。重要なディレクティブとはgroonga-http特有のディレクティブと性能に関するディレクティブです。</p>
|
176
176
|
<p>以下のディレクティブはgroonga-httpdの設定ファイル中で使用することができます。デフォルトでは、設定ファイルは/etc/groonga/httpd/groonga-httpd.confに置かれています。</p>
|
177
177
|
<div class="section" id="groonga-httpd-specific-directives">
|
178
|
-
<h3>7.1.
|
178
|
+
<h3>7.1.5.4.1. groonga-httpd特有のディレクティブ<a class="headerlink" href="#groonga-httpd-specific-directives" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
179
179
|
<p>以下のディレクティブはnginxが提供しているものではなく、groonga-httpd関連の設定をするためにgroonga-httpdが提供しているディレクティブです。</p>
|
180
180
|
<div class="section" id="groonga">
|
181
|
-
<h4>7.1.
|
181
|
+
<h4>7.1.5.4.1.1. <tt class="docutils literal"><span class="pre">groonga</span></tt><a class="headerlink" href="#groonga" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
182
182
|
<p>書式:</p>
|
183
183
|
<div class="highlight-none"><div class="highlight"><pre>groonga on | off;
|
184
184
|
</pre></div>
|
185
185
|
</div>
|
186
186
|
<dl class="docutils">
|
187
187
|
<dt>Default</dt>
|
188
|
-
<dd><
|
188
|
+
<dd><tt class="docutils literal"><span class="pre">groonga</span> <span class="pre">off;</span></tt></dd>
|
189
189
|
<dt>Context</dt>
|
190
|
-
<dd><
|
190
|
+
<dd><tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
191
191
|
</dl>
|
192
|
-
<p>この <
|
192
|
+
<p>この <tt class="docutils literal"><span class="pre">location</span></tt> ブロックでGroongaを使うかどうかを指定します。デフォルトは <tt class="docutils literal"><span class="pre">off</span></tt> です。Groongaを使うためには <tt class="docutils literal"><span class="pre">on</span></tt> を指定してください。</p>
|
193
193
|
<p>例:</p>
|
194
194
|
<div class="highlight-none"><div class="highlight"><pre>location /d/ {
|
195
195
|
groonga on; # Enables groonga under /d/... path
|
@@ -202,49 +202,49 @@ location /d/ {
|
|
202
202
|
</div>
|
203
203
|
</div>
|
204
204
|
<div class="section" id="groonga-database">
|
205
|
-
<span id="id1"></span><h4>7.1.
|
205
|
+
<span id="id1"></span><h4>7.1.5.4.1.2. <tt class="docutils literal"><span class="pre">groonga_database</span></tt><a class="headerlink" href="#groonga-database" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
206
206
|
<p>書式:</p>
|
207
207
|
<div class="highlight-none"><div class="highlight"><pre>groonga_database /path/to/groonga/database;
|
208
208
|
</pre></div>
|
209
209
|
</div>
|
210
210
|
<dl class="docutils">
|
211
211
|
<dt>Default</dt>
|
212
|
-
<dd><
|
212
|
+
<dd><tt class="docutils literal"><span class="pre">groonga_database</span> <span class="pre">/usr/local/var/lib/groonga/db/db;</span></tt></dd>
|
213
213
|
<dt>Context</dt>
|
214
|
-
<dd><
|
214
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
215
215
|
</dl>
|
216
216
|
<p>Groongaデータベースのパスを指定します。このディレクティブは必須です。</p>
|
217
217
|
</div>
|
218
218
|
<div class="section" id="groonga-database-auto-create">
|
219
|
-
<span id="id2"></span><h4>7.1.
|
219
|
+
<span id="id2"></span><h4>7.1.5.4.1.3. <tt class="docutils literal"><span class="pre">groonga_database_auto_create</span></tt><a class="headerlink" href="#groonga-database-auto-create" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
220
220
|
<p>書式:</p>
|
221
221
|
<div class="highlight-none"><div class="highlight"><pre>groonga_database_auto_create on | off;
|
222
222
|
</pre></div>
|
223
223
|
</div>
|
224
224
|
<dl class="docutils">
|
225
225
|
<dt>Default</dt>
|
226
|
-
<dd><
|
226
|
+
<dd><tt class="docutils literal"><span class="pre">groonga_database_auto_create</span> <span class="pre">on;</span></tt></dd>
|
227
227
|
<dt>Context</dt>
|
228
|
-
<dd><
|
228
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
229
229
|
</dl>
|
230
|
-
<p>Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が <
|
230
|
+
<p>Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が <tt class="docutils literal"><span class="pre">on</span></tt> で <a class="reference internal" href="#groonga-database"><em>groonga_database</em></a> に指定したGroongaのデータベースが存在しない場合は自動でGroongaのデータベースを作成します。Groongaのデータベースが存在している場合は何もしません。</p>
|
231
231
|
<p>もし、親ディレクトリが存在しな場合は再帰的に親ディレクトリも作成します。</p>
|
232
|
-
<p>デフォルト値は <
|
232
|
+
<p>デフォルト値は <tt class="docutils literal"><span class="pre">on</span></tt> です。通常、この値を変更する必要はありません。</p>
|
233
233
|
</div>
|
234
234
|
<div class="section" id="groonga-base-path">
|
235
|
-
<h4>7.1.
|
235
|
+
<h4>7.1.5.4.1.4. <tt class="docutils literal"><span class="pre">groonga_base_path</span></tt><a class="headerlink" href="#groonga-base-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
236
236
|
<p>書式:</p>
|
237
237
|
<div class="highlight-none"><div class="highlight"><pre>groonga_base_path /d/;
|
238
238
|
</pre></div>
|
239
239
|
</div>
|
240
240
|
<dl class="docutils">
|
241
241
|
<dt>Default</dt>
|
242
|
-
<dd><p class="first last"><
|
242
|
+
<dd><p class="first last"><tt class="docutils literal"><span class="pre">location</span></tt> の名前と同じ値。</p>
|
243
243
|
</dd>
|
244
244
|
<dt>Context</dt>
|
245
|
-
<dd><
|
245
|
+
<dd><tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
246
246
|
</dl>
|
247
|
-
<p>URIのベースパスを指定します。Groongaは <
|
247
|
+
<p>URIのベースパスを指定します。Groongaは <tt class="docutils literal"><span class="pre">command</span></tt> を実行するために <tt class="docutils literal"><span class="pre">/d/command?parameter1=value1&...</span></tt> というパスを使います。groonga-httpdでもこのパスの形式を使いますが、groonga-httpdは <tt class="docutils literal"><span class="pre">/other-prefix/command?parameter1=value1&...</span></tt> というように <tt class="docutils literal"><span class="pre">/d/</span></tt> ではなく別のプレフィックスを使った形式もサポートしています。この別の形式もサポートするために、groonga-httpdはリクエストURIの先頭からベースパスを削除し、先頭に <tt class="docutils literal"><span class="pre">/d/</span></tt> を追加します。このパスの変換をすることにより、ユーザーはプレフィックスをカスタムできるようになりますが、Groongaは常に <tt class="docutils literal"><span class="pre">/d/command?parameter1=value1&...</span></tt> という形式で処理できます。</p>
|
248
248
|
<p>通常、このディレクティブを使う必要はありません。このディレクティブはコマンド毎に設定をしたい場合に使います。</p>
|
249
249
|
<p>以下は <a class="reference internal" href="../commands/shutdown.html"><em>shutdown</em></a> コマンドに認証をかける設定例です。:</p>
|
250
250
|
<div class="highlight-none"><div class="highlight"><pre>groonga_database /var/lib/groonga/db/db;
|
@@ -269,18 +269,18 @@ location /d/ {
|
|
269
269
|
</div>
|
270
270
|
</div>
|
271
271
|
<div class="section" id="groonga-log-path">
|
272
|
-
<span id="id3"></span><h4>7.1.
|
272
|
+
<span id="id3"></span><h4>7.1.5.4.1.5. <tt class="docutils literal"><span class="pre">groonga_log_path</span></tt><a class="headerlink" href="#groonga-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
273
273
|
<p>書式:</p>
|
274
274
|
<div class="highlight-none"><div class="highlight"><pre>groonga_log_path path | off;
|
275
275
|
</pre></div>
|
276
276
|
</div>
|
277
277
|
<dl class="docutils">
|
278
278
|
<dt>Default</dt>
|
279
|
-
<dd><
|
279
|
+
<dd><tt class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga.log</span></tt></dd>
|
280
280
|
<dt>Context</dt>
|
281
|
-
<dd><
|
281
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
282
282
|
</dl>
|
283
|
-
<p>Groongaのログ保存先を <
|
283
|
+
<p>Groongaのログ保存先を <tt class="docutils literal"><span class="pre">http</span></tt> 、<tt class="docutils literal"><span class="pre">server</span></tt> もしくは <tt class="docutils literal"><span class="pre">location</span></tt> ブロックで指定します。デフォルトは <tt class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga.log</span></tt> です。ログを無効にするには <tt class="docutils literal"><span class="pre">off</span></tt> を指定します。</p>
|
284
284
|
<p>例:</p>
|
285
285
|
<div class="highlight-none"><div class="highlight"><pre>location /d/ {
|
286
286
|
groonga on;
|
@@ -291,18 +291,18 @@ location /d/ {
|
|
291
291
|
</div>
|
292
292
|
</div>
|
293
293
|
<div class="section" id="groonga-log-level">
|
294
|
-
<span id="id4"></span><h4>7.1.
|
294
|
+
<span id="id4"></span><h4>7.1.5.4.1.6. <tt class="docutils literal"><span class="pre">groonga_log_level</span></tt><a class="headerlink" href="#groonga-log-level" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
295
295
|
<p>書式:</p>
|
296
296
|
<div class="highlight-none"><div class="highlight"><pre>groonga_log_level none | emergency | alert | ciritical | error | warning | notice | info | debug | dump;
|
297
297
|
</pre></div>
|
298
298
|
</div>
|
299
299
|
<dl class="docutils">
|
300
300
|
<dt>Default</dt>
|
301
|
-
<dd><
|
301
|
+
<dd><tt class="docutils literal"><span class="pre">notice</span></tt></dd>
|
302
302
|
<dt>Context</dt>
|
303
|
-
<dd><
|
303
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
304
304
|
</dl>
|
305
|
-
<p>Groongaのログレベルを <
|
305
|
+
<p>Groongaのログレベルを <tt class="docutils literal"><span class="pre">http</span></tt> 、 <tt class="docutils literal"><span class="pre">server</span></tt> もしくは <tt class="docutils literal"><span class="pre">location</span></tt> ブロックで指定します。デフォルトは <tt class="docutils literal"><span class="pre">notice</span></tt> です。 <tt class="docutils literal"><span class="pre">none</span></tt> を指定することでログを無効にできます。</p>
|
306
306
|
<p>例:</p>
|
307
307
|
<div class="highlight-none"><div class="highlight"><pre>location /d/ {
|
308
308
|
groonga on;
|
@@ -313,18 +313,18 @@ location /d/ {
|
|
313
313
|
</div>
|
314
314
|
</div>
|
315
315
|
<div class="section" id="groonga-query-log-path">
|
316
|
-
<span id="id5"></span><h4>7.1.
|
316
|
+
<span id="id5"></span><h4>7.1.5.4.1.7. <tt class="docutils literal"><span class="pre">groonga_query_log_path</span></tt><a class="headerlink" href="#groonga-query-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
317
317
|
<p>書式:</p>
|
318
318
|
<div class="highlight-none"><div class="highlight"><pre>groonga_query_log_path path | off;
|
319
319
|
</pre></div>
|
320
320
|
</div>
|
321
321
|
<dl class="docutils">
|
322
322
|
<dt>Default</dt>
|
323
|
-
<dd><
|
323
|
+
<dd><tt class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga-query.log</span></tt></dd>
|
324
324
|
<dt>Context</dt>
|
325
|
-
<dd><
|
325
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
326
326
|
</dl>
|
327
|
-
<p>Groongaのクエリーログの保存先を <
|
327
|
+
<p>Groongaのクエリーログの保存先を <tt class="docutils literal"><span class="pre">http</span></tt> 、<tt class="docutils literal"><span class="pre">server</span></tt> もしくは <tt class="docutils literal"><span class="pre">location</span></tt> ブロックで指定します。デフォルトは <tt class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga-query.log</span></tt> です。ログを無効にするには <tt class="docutils literal"><span class="pre">off</span></tt> を指定します。</p>
|
328
328
|
<p>例:</p>
|
329
329
|
<div class="highlight-none"><div class="highlight"><pre>location /d/ {
|
330
330
|
groonga on;
|
@@ -347,16 +347,16 @@ location /d/ {
|
|
347
347
|
</div>
|
348
348
|
</div>
|
349
349
|
<div class="section" id="performance-related-directives">
|
350
|
-
<h3>7.1.
|
350
|
+
<h3>7.1.5.4.2. 性能関連のディレクティブ<a class="headerlink" href="#performance-related-directives" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
351
351
|
<p>以下のディレクティブはgronoga-httpdの性能に関連しているディレクティブです。</p>
|
352
352
|
<div class="section" id="worker-processes">
|
353
|
-
<h4>7.1.
|
353
|
+
<h4>7.1.5.4.2.1. <tt class="docutils literal"><span class="pre">worker_processes</span></tt><a class="headerlink" href="#worker-processes" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
354
354
|
<p>最適なパフォーマンスを得るためには、CPU数あるいはコア数と同じ数になるようにこのディレクティブを設定してください。大抵の場合、GroongaのクエリーはCPU負荷が高いものとなり、複数のCPU/コアを使い切るためには、このディレクティブを設定する必要があります。</p>
|
355
355
|
<p>このディレクティブはgroonga-httpdのディレクティブではなく、nginxのディレクティブです。詳細は、 <a class="reference external" href="http://wiki.nginx.org/CoreModule#worker_processes">http://wiki.nginx.org/CoreModule#worker_processes</a> を参照してください。</p>
|
356
356
|
<p>デフォルトで、このディレクティブには1が設定されています。</p>
|
357
357
|
</div>
|
358
358
|
<div class="section" id="groonga-cache-limit">
|
359
|
-
<span id="id6"></span><h4>7.1.
|
359
|
+
<span id="id6"></span><h4>7.1.5.4.2.2. <tt class="docutils literal"><span class="pre">groonga_cache_limit</span></tt><a class="headerlink" href="#groonga-cache-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
360
360
|
<p>This directive is introduced to customize cache limit for each worker process.</p>
|
361
361
|
<p>書式:</p>
|
362
362
|
<div class="highlight-none"><div class="highlight"><pre>groonga_cache_limit CACHE_LIMIT;
|
@@ -366,9 +366,9 @@ location /d/ {
|
|
366
366
|
<dt>Default</dt>
|
367
367
|
<dd>100</dd>
|
368
368
|
<dt>Context</dt>
|
369
|
-
<dd><
|
369
|
+
<dd><tt class="docutils literal"><span class="pre">http</span></tt>, <tt class="docutils literal"><span class="pre">server</span></tt>, <tt class="docutils literal"><span class="pre">location</span></tt></dd>
|
370
370
|
</dl>
|
371
|
-
<p>Groongaのクエリキャッシュの制限を <
|
371
|
+
<p>Groongaのクエリキャッシュの制限を <tt class="docutils literal"><span class="pre">http</span></tt> 、 <tt class="docutils literal"><span class="pre">server</span></tt> もしくは <tt class="docutils literal"><span class="pre">location</span></tt> ブロックで指定します。デフォルトは <tt class="docutils literal"><span class="pre">100</span></tt> です。 <tt class="docutils literal"><span class="pre">0</span></tt> を指定することで <tt class="docutils literal"><span class="pre">groonga_cache_limit</span></tt> を明示的に無効にできます。</p>
|
372
372
|
<p>例:</p>
|
373
373
|
<div class="highlight-none"><div class="highlight"><pre>location /d/ {
|
374
374
|
groonga on;
|
@@ -379,10 +379,10 @@ location /d/ {
|
|
379
379
|
</div>
|
380
380
|
</div>
|
381
381
|
<div class="section" id="proxy-cache">
|
382
|
-
<h4>7.1.
|
382
|
+
<h4>7.1.5.4.2.3. <tt class="docutils literal"><span class="pre">proxy_cache</span></tt><a class="headerlink" href="#proxy-cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
383
383
|
<p>まとめると、Groonga組み込みのクエリーキャッシュ機能の代わりにnginxのリバースプロ機とキャッシュの仕組みを使うこともできます。</p>
|
384
384
|
<div class="section" id="query-cache">
|
385
|
-
<h5>7.1.
|
385
|
+
<h5>7.1.5.4.2.3.1. クエリーキャッシュ<a class="headerlink" href="#query-cache" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
386
386
|
<p>groongaは <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンド用にクエリーキャッシュ機能を提供しています。この機能は多くのケースで性能向上を実現します。</p>
|
387
387
|
<p>クエリーキャッシュ機能は <a class="reference internal" href="../commands/cache_limit.html"><em>cache_limit</em></a> コマンドを使っていないあるいはワーカー数が1だけの場合はgroonga-httpd上でもきちんと動作します。通常、 <a class="reference internal" href="../commands/cache_limit.html"><em>cache_limit</em></a> コマンドは使わないので、多くの場合は問題がありません。</p>
|
388
388
|
<p>2ワーカー以上で <a class="reference internal" href="../commands/cache_limit.html"><em>cache_limit</em></a> コマンドを使ったときの問題点を説明します。</p>
|
@@ -410,7 +410,7 @@ client -> groonga-httpd (master) --+-- worker 2
|
|
410
410
|
<p>クライアントはワーカーを選ぶことができないので、 <a class="reference internal" href="../commands/cache_limit.html"><em>cache_limit</em></a> コマンドですべてのワーカのキャッシュサイズを変更することができないのです。</p>
|
411
411
|
</div>
|
412
412
|
<div class="section" id="reverse-proxy-and-cache">
|
413
|
-
<h5>7.1.
|
413
|
+
<h5>7.1.5.4.2.3.2. リバースプロキシとキャッシュ<a class="headerlink" href="#reverse-proxy-and-cache" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
414
414
|
<p>nginxのリバースプロキシ機能とキャッシュ機能を使ってクエリーキャッシュを実現できます:</p>
|
415
415
|
<div class="highlight-none"><div class="highlight"><pre> +-- worker 1
|
416
416
|
client -- groonga-httpd (master) -- reverse proxy + cache --+-- worker 2
|
@@ -473,7 +473,7 @@ http {
|
|
473
473
|
</div>
|
474
474
|
</div>
|
475
475
|
<div class="section" id="available-nginx-modules">
|
476
|
-
<h2>7.1.
|
476
|
+
<h2>7.1.5.5. 利用可能なnginxモジュール<a class="headerlink" href="#available-nginx-modules" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
477
477
|
<p>全てのHTTPの標準モジュールが利用可能です。PCRE(Perl Compatible Regular Expressions)がない場合はHttpRewriteModuleは無効になります。標準モジュールの一覧は、 <a class="reference external" href="http://wiki.nginx.org/Modules">http://wiki.nginx.org/Modules</a> を参照してください。</p>
|
478
478
|
</div>
|
479
479
|
</div>
|
@@ -482,63 +482,61 @@ http {
|
|
482
482
|
</div>
|
483
483
|
</div>
|
484
484
|
</div>
|
485
|
-
<div class="sphinxsidebar"
|
485
|
+
<div class="sphinxsidebar">
|
486
486
|
<div class="sphinxsidebarwrapper">
|
487
487
|
<h3><a href="../../index.html">目次</a></h3>
|
488
488
|
<ul>
|
489
|
-
<li><a class="reference internal" href="#">7.1.
|
490
|
-
<li><a class="reference internal" href="#summary">7.1.
|
491
|
-
<li><a class="reference internal" href="#synopsis">7.1.
|
492
|
-
<li><a class="reference internal" href="#usage">7.1.
|
493
|
-
<li><a class="reference internal" href="#set-up">7.1.
|
494
|
-
<li><a class="reference internal" href="#request-queries">7.1.
|
495
|
-
<li><a class="reference internal" href="#loading-data-by-post">7.1.
|
496
|
-
<li><a class="reference internal" href="#browse-the-administration-tool">7.1.
|
497
|
-
<li><a class="reference internal" href="#shut-down">7.1.
|
489
|
+
<li><a class="reference internal" href="#">7.1.5. groonga-httpd</a><ul>
|
490
|
+
<li><a class="reference internal" href="#summary">7.1.5.1. 概要</a></li>
|
491
|
+
<li><a class="reference internal" href="#synopsis">7.1.5.2. 書式</a></li>
|
492
|
+
<li><a class="reference internal" href="#usage">7.1.5.3. 使い方</a><ul>
|
493
|
+
<li><a class="reference internal" href="#set-up">7.1.5.3.1. 設定をする</a></li>
|
494
|
+
<li><a class="reference internal" href="#request-queries">7.1.5.3.2. クエリーを実行する</a></li>
|
495
|
+
<li><a class="reference internal" href="#loading-data-by-post">7.1.5.3.3. Loading data by POST</a></li>
|
496
|
+
<li><a class="reference internal" href="#browse-the-administration-tool">7.1.5.3.4. 管理ツールを使う</a></li>
|
497
|
+
<li><a class="reference internal" href="#shut-down">7.1.5.3.5. 終了する</a></li>
|
498
498
|
</ul>
|
499
499
|
</li>
|
500
|
-
<li><a class="reference internal" href="#configuration-directives">7.1.
|
501
|
-
<li><a class="reference internal" href="#groonga-httpd-specific-directives">7.1.
|
502
|
-
<li><a class="reference internal" href="#groonga">7.1.
|
503
|
-
<li><a class="reference internal" href="#groonga-database">7.1.
|
504
|
-
<li><a class="reference internal" href="#groonga-database-auto-create">7.1.
|
505
|
-
<li><a class="reference internal" href="#groonga-base-path">7.1.
|
506
|
-
<li><a class="reference internal" href="#groonga-log-path">7.1.
|
507
|
-
<li><a class="reference internal" href="#groonga-log-level">7.1.
|
508
|
-
<li><a class="reference internal" href="#groonga-query-log-path">7.1.
|
500
|
+
<li><a class="reference internal" href="#configuration-directives">7.1.5.4. 設定ディレクティブ</a><ul>
|
501
|
+
<li><a class="reference internal" href="#groonga-httpd-specific-directives">7.1.5.4.1. groonga-httpd特有のディレクティブ</a><ul>
|
502
|
+
<li><a class="reference internal" href="#groonga">7.1.5.4.1.1. <tt class="docutils literal"><span class="pre">groonga</span></tt></a></li>
|
503
|
+
<li><a class="reference internal" href="#groonga-database">7.1.5.4.1.2. <tt class="docutils literal"><span class="pre">groonga_database</span></tt></a></li>
|
504
|
+
<li><a class="reference internal" href="#groonga-database-auto-create">7.1.5.4.1.3. <tt class="docutils literal"><span class="pre">groonga_database_auto_create</span></tt></a></li>
|
505
|
+
<li><a class="reference internal" href="#groonga-base-path">7.1.5.4.1.4. <tt class="docutils literal"><span class="pre">groonga_base_path</span></tt></a></li>
|
506
|
+
<li><a class="reference internal" href="#groonga-log-path">7.1.5.4.1.5. <tt class="docutils literal"><span class="pre">groonga_log_path</span></tt></a></li>
|
507
|
+
<li><a class="reference internal" href="#groonga-log-level">7.1.5.4.1.6. <tt class="docutils literal"><span class="pre">groonga_log_level</span></tt></a></li>
|
508
|
+
<li><a class="reference internal" href="#groonga-query-log-path">7.1.5.4.1.7. <tt class="docutils literal"><span class="pre">groonga_query_log_path</span></tt></a></li>
|
509
509
|
</ul>
|
510
510
|
</li>
|
511
|
-
<li><a class="reference internal" href="#performance-related-directives">7.1.
|
512
|
-
<li><a class="reference internal" href="#worker-processes">7.1.
|
513
|
-
<li><a class="reference internal" href="#groonga-cache-limit">7.1.
|
514
|
-
<li><a class="reference internal" href="#proxy-cache">7.1.
|
515
|
-
<li><a class="reference internal" href="#query-cache">7.1.
|
516
|
-
<li><a class="reference internal" href="#reverse-proxy-and-cache">7.1.
|
511
|
+
<li><a class="reference internal" href="#performance-related-directives">7.1.5.4.2. 性能関連のディレクティブ</a><ul>
|
512
|
+
<li><a class="reference internal" href="#worker-processes">7.1.5.4.2.1. <tt class="docutils literal"><span class="pre">worker_processes</span></tt></a></li>
|
513
|
+
<li><a class="reference internal" href="#groonga-cache-limit">7.1.5.4.2.2. <tt class="docutils literal"><span class="pre">groonga_cache_limit</span></tt></a></li>
|
514
|
+
<li><a class="reference internal" href="#proxy-cache">7.1.5.4.2.3. <tt class="docutils literal"><span class="pre">proxy_cache</span></tt></a><ul>
|
515
|
+
<li><a class="reference internal" href="#query-cache">7.1.5.4.2.3.1. クエリーキャッシュ</a></li>
|
516
|
+
<li><a class="reference internal" href="#reverse-proxy-and-cache">7.1.5.4.2.3.2. リバースプロキシとキャッシュ</a></li>
|
517
517
|
</ul>
|
518
518
|
</li>
|
519
519
|
</ul>
|
520
520
|
</li>
|
521
521
|
</ul>
|
522
522
|
</li>
|
523
|
-
<li><a class="reference internal" href="#available-nginx-modules">7.1.
|
523
|
+
<li><a class="reference internal" href="#available-nginx-modules">7.1.5.5. 利用可能なnginxモジュール</a></li>
|
524
524
|
</ul>
|
525
525
|
</li>
|
526
526
|
</ul>
|
527
527
|
|
528
528
|
<h4>前のトピックへ</h4>
|
529
529
|
<p class="topless"><a href="groonga-benchmark.html"
|
530
|
-
title="前の章へ">7.1.
|
530
|
+
title="前の章へ">7.1.4. groonga-benchmark</a></p>
|
531
531
|
<h4>次のトピックへ</h4>
|
532
532
|
<p class="topless"><a href="groonga-server-http.html"
|
533
|
-
title="次の章へ">7.1.
|
534
|
-
<
|
535
|
-
|
536
|
-
<
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
</div>
|
541
|
-
<div id="searchbox" style="display: none" role="search">
|
533
|
+
title="次の章へ">7.1.6. groonga HTTPサーバー</a></p>
|
534
|
+
<h3>このページ</h3>
|
535
|
+
<ul class="this-page-menu">
|
536
|
+
<li><a href="../../_sources/reference/executables/groonga-httpd.txt"
|
537
|
+
rel="nofollow">ソースコードを表示</a></li>
|
538
|
+
</ul>
|
539
|
+
<div id="searchbox" style="display: none">
|
542
540
|
<h3>クイック検索</h3>
|
543
541
|
<form class="search" action="../../search.html" method="get">
|
544
542
|
<input type="text" name="q" />
|
@@ -555,24 +553,24 @@ http {
|
|
555
553
|
</div>
|
556
554
|
<div class="clearer"></div>
|
557
555
|
</div>
|
558
|
-
<div class="related"
|
556
|
+
<div class="related">
|
559
557
|
<h3>ナビゲーション</h3>
|
560
558
|
<ul>
|
561
559
|
<li class="right" style="margin-right: 10px">
|
562
560
|
<a href="../../genindex.html" title="総合索引"
|
563
561
|
>索引</a></li>
|
564
562
|
<li class="right" >
|
565
|
-
<a href="groonga-server-http.html" title="7.1.
|
563
|
+
<a href="groonga-server-http.html" title="7.1.6. groonga HTTPサーバー"
|
566
564
|
>次へ</a> |</li>
|
567
565
|
<li class="right" >
|
568
|
-
<a href="groonga-benchmark.html" title="7.1.
|
566
|
+
<a href="groonga-benchmark.html" title="7.1.4. groonga-benchmark"
|
569
567
|
>前へ</a> |</li>
|
570
|
-
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
568
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> »</li>
|
571
569
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
572
570
|
<li><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
573
571
|
</ul>
|
574
572
|
</div>
|
575
|
-
<div class="footer"
|
573
|
+
<div class="footer">
|
576
574
|
© Copyright 2009-2014, Brazil, Inc.
|
577
575
|
</div>
|
578
576
|
</body>
|