rroonga 4.0.5-x86-mingw32 → 4.0.6-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 +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +1 -1
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +1 -1
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +41 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.1.3. groonga-benchmark — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.1. 実行ファイル" href="../executables.html" />
|
31
|
+
<link rel="next" title="7.1.4. groonga-httpd" href="groonga-httpd.html" />
|
32
|
+
<link rel="prev" title="7.1.2. groongaコマンド" href="groonga.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="
|
59
|
+
<a href="groonga-httpd.html" title="7.1.4. groonga-httpd"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="groonga.html" title="
|
62
|
+
<a href="groonga.html" title="7.1.2. groongaコマンド"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../executables.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,26 +73,26 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="groonga-benchmark">
|
76
|
-
<h1>
|
76
|
+
<h1>7.1.3. groonga-benchmark<a class="headerlink" href="#groonga-benchmark" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>
|
78
|
+
<h2>7.1.3.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>
|
82
|
+
<h2>7.1.3.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>
|
88
|
+
<h2>7.1.3.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>
|
95
|
+
<h2>7.1.3.4. オプション<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
96
96
|
<dl class="cmdoption">
|
97
97
|
<dt id="cmdoption-i">
|
98
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>
|
@@ -137,7 +137,7 @@
|
|
137
137
|
|
138
138
|
</div>
|
139
139
|
<div class="section" id="id5">
|
140
|
-
<h2>
|
140
|
+
<h2>7.1.3.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>
|
@@ -152,7 +152,7 @@
|
|
152
152
|
|
153
153
|
</div>
|
154
154
|
<div class="section" id="id6">
|
155
|
-
<h2>
|
155
|
+
<h2>7.1.3.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>
|
167
|
+
<h2>7.1.3.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>
|
172
|
+
<h3>7.1.3.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>
|
214
|
+
<h3>7.1.3.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>
|
218
|
+
<h3>7.1.3.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>
|
241
|
+
<h3>7.1.3.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>
|
268
|
+
<h2>7.1.3.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>
|
324
|
+
<h2>7.1.3.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>
|
331
|
+
<h2>7.1.3.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>
|
@@ -347,33 +347,33 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
347
347
|
<div class="sphinxsidebarwrapper">
|
348
348
|
<h3><a href="../../index.html">目次</a></h3>
|
349
349
|
<ul>
|
350
|
-
<li><a class="reference internal" href="#">
|
351
|
-
<li><a class="reference internal" href="#id1">
|
352
|
-
<li><a class="reference internal" href="#id2">
|
353
|
-
<li><a class="reference internal" href="#id3">
|
354
|
-
<li><a class="reference internal" href="#id4">
|
355
|
-
<li><a class="reference internal" href="#id5">
|
356
|
-
<li><a class="reference internal" href="#id6">
|
357
|
-
<li><a class="reference internal" href="#id7">
|
358
|
-
<li><a class="reference internal" href="#id8">
|
359
|
-
<li><a class="reference internal" href="#id9">
|
360
|
-
<li><a class="reference internal" href="#id10">
|
361
|
-
<li><a class="reference internal" href="#id11">
|
350
|
+
<li><a class="reference internal" href="#">7.1.3. groonga-benchmark</a><ul>
|
351
|
+
<li><a class="reference internal" href="#id1">7.1.3.1. 名前</a></li>
|
352
|
+
<li><a class="reference internal" href="#id2">7.1.3.2. 書式</a></li>
|
353
|
+
<li><a class="reference internal" href="#id3">7.1.3.3. 説明</a></li>
|
354
|
+
<li><a class="reference internal" href="#id4">7.1.3.4. オプション</a></li>
|
355
|
+
<li><a class="reference internal" href="#id5">7.1.3.5. 引数</a></li>
|
356
|
+
<li><a class="reference internal" href="#id6">7.1.3.6. 使い方</a></li>
|
357
|
+
<li><a class="reference internal" href="#id7">7.1.3.7. スクリプトファイル</a><ul>
|
358
|
+
<li><a class="reference internal" href="#id8">7.1.3.7.1. groonga-benchmark命令</a></li>
|
359
|
+
<li><a class="reference internal" href="#id9">7.1.3.7.2. コマンドファイル</a></li>
|
360
|
+
<li><a class="reference internal" href="#id10">7.1.3.7.3. サンプル</a></li>
|
361
|
+
<li><a class="reference internal" href="#id11">7.1.3.7.4. 特殊命令</a></li>
|
362
362
|
</ul>
|
363
363
|
</li>
|
364
|
-
<li><a class="reference internal" href="#id12">
|
365
|
-
<li><a class="reference internal" href="#id13">
|
366
|
-
<li><a class="reference internal" href="#id14">
|
364
|
+
<li><a class="reference internal" href="#id12">7.1.3.8. groonga-benchmark実行結果</a></li>
|
365
|
+
<li><a class="reference internal" href="#id13">7.1.3.9. 制限事項</a></li>
|
366
|
+
<li><a class="reference internal" href="#id14">7.1.3.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="前の章へ">
|
373
|
+
title="前の章へ">7.1.2. groongaコマンド</a></p>
|
374
374
|
<h4>次のトピックへ</h4>
|
375
375
|
<p class="topless"><a href="groonga-httpd.html"
|
376
|
-
title="次の章へ">
|
376
|
+
title="次の章へ">7.1.4. groonga-httpd</a></p>
|
377
377
|
<h3>このページ</h3>
|
378
378
|
<ul class="this-page-menu">
|
379
379
|
<li><a href="../../_sources/reference/executables/groonga-benchmark.txt"
|
@@ -403,14 +403,14 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
403
403
|
<a href="../../genindex.html" title="総合索引"
|
404
404
|
>索引</a></li>
|
405
405
|
<li class="right" >
|
406
|
-
<a href="groonga-httpd.html" title="
|
406
|
+
<a href="groonga-httpd.html" title="7.1.4. groonga-httpd"
|
407
407
|
>次へ</a> |</li>
|
408
408
|
<li class="right" >
|
409
|
-
<a href="groonga.html" title="
|
409
|
+
<a href="groonga.html" title="7.1.2. groongaコマンド"
|
410
410
|
>前へ</a> |</li>
|
411
|
-
<li><a href="../../index.html">Groonga v4.0.
|
412
|
-
<li><a href="../../reference.html" >
|
413
|
-
<li><a href="../executables.html" >
|
411
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
412
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
413
|
+
<li><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
414
414
|
</ul>
|
415
415
|
</div>
|
416
416
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.1.4. groonga-httpd — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.1. 実行ファイル" href="../executables.html" />
|
31
|
+
<link rel="next" title="7.1.5. groonga HTTPサーバー" href="groonga-server-http.html" />
|
32
|
+
<link rel="prev" title="7.1.3. groonga-benchmark" href="groonga-benchmark.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="
|
59
|
+
<a href="groonga-server-http.html" title="7.1.5. groonga HTTPサーバー"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="groonga-benchmark.html" title="
|
62
|
+
<a href="groonga-benchmark.html" title="7.1.3. groonga-benchmark"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../executables.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,22 +73,22 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="groonga-httpd">
|
76
|
-
<h1>
|
76
|
+
<h1>7.1.4. groonga-httpd<a class="headerlink" href="#groonga-httpd" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>
|
78
|
+
<h2>7.1.4.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>
|
83
|
+
<h2>7.1.4.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>
|
89
|
+
<h2>7.1.4.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
90
|
<div class="section" id="set-up">
|
91
|
-
<h3>
|
91
|
+
<h3>7.1.4.3.1. 設定をする<a class="headerlink" href="#set-up" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
92
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.
|
@@ -113,7 +113,7 @@ http {
|
|
113
113
|
</div>
|
114
114
|
</div>
|
115
115
|
<div class="section" id="request-queries">
|
116
|
-
<h3>
|
116
|
+
<h3>7.1.4.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>
|
142
|
+
<h3>7.1.4.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>
|
162
|
+
<h3>7.1.4.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>
|
166
|
+
<h3>7.1.4.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,14 +171,14 @@ http {
|
|
171
171
|
</div>
|
172
172
|
</div>
|
173
173
|
<div class="section" id="configuration-directives">
|
174
|
-
<h2>
|
174
|
+
<h2>7.1.4.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>
|
178
|
+
<h3>7.1.4.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>
|
181
|
+
<h4>7.1.4.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>
|
@@ -202,7 +202,7 @@ location /d/ {
|
|
202
202
|
</div>
|
203
203
|
</div>
|
204
204
|
<div class="section" id="groonga-database">
|
205
|
-
<span id="id1"></span><h4>
|
205
|
+
<span id="id1"></span><h4>7.1.4.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>
|
@@ -216,7 +216,7 @@ location /d/ {
|
|
216
216
|
<p>Groongaデータベースのパスを指定します。このディレクティブは必須です。</p>
|
217
217
|
</div>
|
218
218
|
<div class="section" id="groonga-database-auto-create">
|
219
|
-
<span id="id2"></span><h4>
|
219
|
+
<span id="id2"></span><h4>7.1.4.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>
|
@@ -232,7 +232,7 @@ location /d/ {
|
|
232
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>
|
235
|
+
<h4>7.1.4.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>
|
@@ -269,7 +269,7 @@ location /d/ {
|
|
269
269
|
</div>
|
270
270
|
</div>
|
271
271
|
<div class="section" id="groonga-log-path">
|
272
|
-
<span id="id3"></span><h4>
|
272
|
+
<span id="id3"></span><h4>7.1.4.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>
|
@@ -291,7 +291,7 @@ location /d/ {
|
|
291
291
|
</div>
|
292
292
|
</div>
|
293
293
|
<div class="section" id="groonga-log-level">
|
294
|
-
<span id="id4"></span><h4>
|
294
|
+
<span id="id4"></span><h4>7.1.4.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>
|
@@ -313,7 +313,7 @@ location /d/ {
|
|
313
313
|
</div>
|
314
314
|
</div>
|
315
315
|
<div class="section" id="groonga-query-log-path">
|
316
|
-
<span id="id5"></span><h4>
|
316
|
+
<span id="id5"></span><h4>7.1.4.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>
|
@@ -347,16 +347,16 @@ location /d/ {
|
|
347
347
|
</div>
|
348
348
|
</div>
|
349
349
|
<div class="section" id="performance-related-directives">
|
350
|
-
<h3>
|
350
|
+
<h3>7.1.4.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>
|
353
|
+
<h4>7.1.4.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>
|
359
|
+
<span id="id6"></span><h4>7.1.4.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;
|
@@ -379,10 +379,10 @@ location /d/ {
|
|
379
379
|
</div>
|
380
380
|
</div>
|
381
381
|
<div class="section" id="proxy-cache">
|
382
|
-
<h4>
|
382
|
+
<h4>7.1.4.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>
|
385
|
+
<h5>7.1.4.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>
|
413
|
+
<h5>7.1.4.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>
|
476
|
+
<h2>7.1.4.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>
|
@@ -486,51 +486,51 @@ http {
|
|
486
486
|
<div class="sphinxsidebarwrapper">
|
487
487
|
<h3><a href="../../index.html">目次</a></h3>
|
488
488
|
<ul>
|
489
|
-
<li><a class="reference internal" href="#">
|
490
|
-
<li><a class="reference internal" href="#summary">
|
491
|
-
<li><a class="reference internal" href="#synopsis">
|
492
|
-
<li><a class="reference internal" href="#usage">
|
493
|
-
<li><a class="reference internal" href="#set-up">
|
494
|
-
<li><a class="reference internal" href="#request-queries">
|
495
|
-
<li><a class="reference internal" href="#loading-data-by-post">
|
496
|
-
<li><a class="reference internal" href="#browse-the-administration-tool">
|
497
|
-
<li><a class="reference internal" href="#shut-down">
|
489
|
+
<li><a class="reference internal" href="#">7.1.4. groonga-httpd</a><ul>
|
490
|
+
<li><a class="reference internal" href="#summary">7.1.4.1. 概要</a></li>
|
491
|
+
<li><a class="reference internal" href="#synopsis">7.1.4.2. 書式</a></li>
|
492
|
+
<li><a class="reference internal" href="#usage">7.1.4.3. 使い方</a><ul>
|
493
|
+
<li><a class="reference internal" href="#set-up">7.1.4.3.1. 設定をする</a></li>
|
494
|
+
<li><a class="reference internal" href="#request-queries">7.1.4.3.2. クエリーを実行する</a></li>
|
495
|
+
<li><a class="reference internal" href="#loading-data-by-post">7.1.4.3.3. Loading data by POST</a></li>
|
496
|
+
<li><a class="reference internal" href="#browse-the-administration-tool">7.1.4.3.4. 管理ツールを使う</a></li>
|
497
|
+
<li><a class="reference internal" href="#shut-down">7.1.4.3.5. 終了する</a></li>
|
498
498
|
</ul>
|
499
499
|
</li>
|
500
|
-
<li><a class="reference internal" href="#configuration-directives">
|
501
|
-
<li><a class="reference internal" href="#groonga-httpd-specific-directives">
|
502
|
-
<li><a class="reference internal" href="#groonga">
|
503
|
-
<li><a class="reference internal" href="#groonga-database">
|
504
|
-
<li><a class="reference internal" href="#groonga-database-auto-create">
|
505
|
-
<li><a class="reference internal" href="#groonga-base-path">
|
506
|
-
<li><a class="reference internal" href="#groonga-log-path">
|
507
|
-
<li><a class="reference internal" href="#groonga-log-level">
|
508
|
-
<li><a class="reference internal" href="#groonga-query-log-path">
|
500
|
+
<li><a class="reference internal" href="#configuration-directives">7.1.4.4. 設定ディレクティブ</a><ul>
|
501
|
+
<li><a class="reference internal" href="#groonga-httpd-specific-directives">7.1.4.4.1. groonga-httpd特有のディレクティブ</a><ul>
|
502
|
+
<li><a class="reference internal" href="#groonga">7.1.4.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.4.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.4.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.4.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.4.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.4.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.4.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">
|
512
|
-
<li><a class="reference internal" href="#worker-processes">
|
513
|
-
<li><a class="reference internal" href="#groonga-cache-limit">
|
514
|
-
<li><a class="reference internal" href="#proxy-cache">
|
515
|
-
<li><a class="reference internal" href="#query-cache">
|
516
|
-
<li><a class="reference internal" href="#reverse-proxy-and-cache">
|
511
|
+
<li><a class="reference internal" href="#performance-related-directives">7.1.4.4.2. 性能関連のディレクティブ</a><ul>
|
512
|
+
<li><a class="reference internal" href="#worker-processes">7.1.4.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.4.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.4.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.4.4.2.3.1. クエリーキャッシュ</a></li>
|
516
|
+
<li><a class="reference internal" href="#reverse-proxy-and-cache">7.1.4.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">
|
523
|
+
<li><a class="reference internal" href="#available-nginx-modules">7.1.4.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="前の章へ">
|
530
|
+
title="前の章へ">7.1.3. groonga-benchmark</a></p>
|
531
531
|
<h4>次のトピックへ</h4>
|
532
532
|
<p class="topless"><a href="groonga-server-http.html"
|
533
|
-
title="次の章へ">
|
533
|
+
title="次の章へ">7.1.5. groonga HTTPサーバー</a></p>
|
534
534
|
<h3>このページ</h3>
|
535
535
|
<ul class="this-page-menu">
|
536
536
|
<li><a href="../../_sources/reference/executables/groonga-httpd.txt"
|
@@ -560,14 +560,14 @@ http {
|
|
560
560
|
<a href="../../genindex.html" title="総合索引"
|
561
561
|
>索引</a></li>
|
562
562
|
<li class="right" >
|
563
|
-
<a href="groonga-server-http.html" title="
|
563
|
+
<a href="groonga-server-http.html" title="7.1.5. groonga HTTPサーバー"
|
564
564
|
>次へ</a> |</li>
|
565
565
|
<li class="right" >
|
566
|
-
<a href="groonga-benchmark.html" title="
|
566
|
+
<a href="groonga-benchmark.html" title="7.1.3. groonga-benchmark"
|
567
567
|
>前へ</a> |</li>
|
568
|
-
<li><a href="../../index.html">Groonga v4.0.
|
569
|
-
<li><a href="../../reference.html" >
|
570
|
-
<li><a href="../executables.html" >
|
568
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
569
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
570
|
+
<li><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
571
571
|
</ul>
|
572
572
|
</div>
|
573
573
|
<div class="footer">
|