rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.textile +13 -1
- data/ext/groonga/rb-grn-index-column.c +4 -0
- data/ext/groonga/rb-grn-object.c +2 -3
- 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/schema.rb +1 -1
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +1 -1
- data/test/test-database.rb +74 -0
- data/test/test-index-column.rb +22 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +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 +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.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/contribution/development/document.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
- 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 +15 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -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 +54 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
- 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 +20 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -165
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +46 -36
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +95 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +24 -12
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +290 -0
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +194 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
- 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 +15 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -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 +54 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
- 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 +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- 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 +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- 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 +1152 -241
- data/vendor/local/share/man/man1/groonga.1 +1215 -269
- metadata +150 -130
@@ -11,21 +11,21 @@
|
|
11
11
|
Summary
|
12
12
|
-------
|
13
13
|
|
14
|
-
``ruby_eval`` command evaluates
|
14
|
+
``ruby_eval`` command evaluates Ruby script and returns the result.
|
15
15
|
|
16
16
|
Syntax
|
17
17
|
------
|
18
18
|
|
19
19
|
``ruby_eval`` has one required parameter::
|
20
20
|
|
21
|
-
ruby_eval
|
21
|
+
ruby_eval script
|
22
22
|
|
23
23
|
Usage
|
24
24
|
-----
|
25
25
|
|
26
26
|
You can execute any scripts which mruby supports by calling ``ruby_eval``.
|
27
27
|
|
28
|
-
Here is an example that just calculate ``1 + 2``
|
28
|
+
Here is an example that just calculate ``1 + 2`` as Ruby script.
|
29
29
|
|
30
30
|
.. groonga-command
|
31
31
|
.. include:: ../../example/reference/commands/ruby_eval/calc.log
|
@@ -42,35 +42,29 @@ Parameters
|
|
42
42
|
|
43
43
|
This section describes all parameters.
|
44
44
|
|
45
|
-
``
|
46
|
-
""""""""""
|
45
|
+
``script``
|
46
|
+
""""""""""
|
47
47
|
|
48
|
-
It specifies the
|
48
|
+
It specifies the Ruby script which you want to evaluate.
|
49
49
|
|
50
50
|
Return value
|
51
51
|
------------
|
52
52
|
|
53
|
-
``ruby_eval`` returns the evaluated result
|
53
|
+
``ruby_eval`` returns the evaluated result with metadata such as
|
54
|
+
exception information (Including metadata isn't implemented yet)::
|
54
55
|
|
55
|
-
[
|
56
|
+
[HEADER, {"value": EVALUATED_VALUE}]
|
56
57
|
|
57
58
|
``HEADER``
|
58
59
|
|
59
60
|
See :doc:`/reference/command/output_format` about ``HEADER``.
|
60
61
|
|
61
|
-
``
|
62
|
+
``EVALUATED_VALUE``
|
62
63
|
|
63
|
-
``
|
64
|
+
``EVALUATED_VALUE`` is the evaludated value of ``ruby_script``.
|
64
65
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
* - Name
|
69
|
-
- Description
|
70
|
-
* - ``key``
|
71
|
-
- reserved word 'value'.
|
72
|
-
* - ``value``
|
73
|
-
- the value of evaluated script. It must be a number.
|
66
|
+
``ruby_eval`` supports only a number for evaluated value for now.
|
67
|
+
Supported types will be increased in the future.
|
74
68
|
|
75
69
|
See also
|
76
70
|
--------
|
@@ -0,0 +1,71 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_ruby_load
|
7
|
+
|
8
|
+
``ruby_load``
|
9
|
+
=============
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``ruby_load`` command loads specified Ruby script.
|
15
|
+
|
16
|
+
Syntax
|
17
|
+
------
|
18
|
+
|
19
|
+
``ruby_load`` has one required parameter::
|
20
|
+
|
21
|
+
ruby_load path
|
22
|
+
|
23
|
+
Usage
|
24
|
+
-----
|
25
|
+
|
26
|
+
You can load any script file which mruby supports by calling ``ruby_load``.
|
27
|
+
|
28
|
+
Here is an example that just load ``expression.rb`` as Ruby script.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/commands/ruby_load/load.log
|
32
|
+
.. register ruby/load
|
33
|
+
.. ruby_load "expression.rb"
|
34
|
+
|
35
|
+
Register ``ruby/load`` plugin to use ``ruby_load`` command in advance.
|
36
|
+
|
37
|
+
Note that ``ruby_load`` is implemented as an experimental plugin,
|
38
|
+
and the specification may be changed in the future.
|
39
|
+
|
40
|
+
Parameters
|
41
|
+
----------
|
42
|
+
|
43
|
+
This section describes all parameters.
|
44
|
+
|
45
|
+
``path``
|
46
|
+
"""""""""""""""
|
47
|
+
|
48
|
+
It specifies the Ruby script path which you want to load.
|
49
|
+
|
50
|
+
Return value
|
51
|
+
------------
|
52
|
+
|
53
|
+
``ruby_load`` returns the loaded result with metadata such as
|
54
|
+
exception information (Including metadata isn't implemented yet)::
|
55
|
+
|
56
|
+
[HEADER, {"value": LOADED_VALUE}]
|
57
|
+
|
58
|
+
``HEADER``
|
59
|
+
|
60
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
61
|
+
|
62
|
+
``LOADED_VALUE``
|
63
|
+
|
64
|
+
``LOADED_VALUE`` is the loaded value of ruby script.
|
65
|
+
|
66
|
+
``ruby_load`` just return ``null`` as ``LOADED_VALUE`` for now, it will be supported in the future.
|
67
|
+
|
68
|
+
See also
|
69
|
+
--------
|
70
|
+
|
71
|
+
:doc:`/reference/commands/ruby_eval`
|
@@ -58,7 +58,7 @@ tokenizer that is named ``tokenizer``.
|
|
58
58
|
|
59
59
|
See :doc:`/reference/tokenizers` about built-in tokenizers.
|
60
60
|
|
61
|
-
Here is an example to use ``TokenTrigram`` tokenizer.
|
61
|
+
Here is an example to use built-in ``TokenTrigram`` tokenizer.
|
62
62
|
|
63
63
|
.. groonga-command
|
64
64
|
.. include:: ../../example/reference/commands/tokenize/tokenizer_token_trigram.log
|
@@ -66,15 +66,16 @@ Here is an example to use ``TokenTrigram`` tokenizer.
|
|
66
66
|
|
67
67
|
If you want to use other tokenizers, you need to register additional
|
68
68
|
tokenizer plugin by :doc:`register` command. For example, you can use
|
69
|
-
|
70
|
-
|
69
|
+
`KyTea <http://www.phontron.com/kytea/>`_ based tokenizer by
|
70
|
+
registering ``tokenizers/kytea``.
|
71
71
|
|
72
72
|
``string``
|
73
73
|
""""""""""
|
74
74
|
|
75
|
-
It specifies any string which you want to tokenize.
|
76
|
-
|
77
|
-
|
75
|
+
It specifies any string which you want to tokenize.
|
76
|
+
|
77
|
+
If you want to include spaces in ``string``, you need to quote
|
78
|
+
``string`` by single quotation (``'``) or double quotation (``"``).
|
78
79
|
|
79
80
|
Here is an example to use spaces in ``string``.
|
80
81
|
|
data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt
CHANGED
@@ -120,6 +120,8 @@ Examples::
|
|
120
120
|
groonga off; # Disables groonga under /d/... path
|
121
121
|
}
|
122
122
|
|
123
|
+
.. _groonga-database:
|
124
|
+
|
123
125
|
``groonga_database``
|
124
126
|
""""""""""""""""""""
|
125
127
|
|
@@ -136,10 +138,33 @@ Context
|
|
136
138
|
Specifies the path to a groonga database. This is the required
|
137
139
|
directive.
|
138
140
|
|
141
|
+
.. _groonga-database-auto-create:
|
142
|
+
|
139
143
|
``groonga_database_auto_create``
|
140
144
|
""""""""""""""""""""""""""""""""
|
141
145
|
|
142
|
-
|
146
|
+
Synopsis::
|
147
|
+
|
148
|
+
groonga_database_auto_create on | off;
|
149
|
+
|
150
|
+
Default
|
151
|
+
``groonga_database_auto_create on;``
|
152
|
+
|
153
|
+
Context
|
154
|
+
``http``, ``server``, ``location``
|
155
|
+
|
156
|
+
Specifies whether groonga database is created automatically or not. If
|
157
|
+
the value is ``on`` and the groonga database specified by
|
158
|
+
:ref:`groonga-database` doesn't exist, the groonga database is created
|
159
|
+
automatically. If the groonga database exists, groonga-httpd does
|
160
|
+
nothing.
|
161
|
+
|
162
|
+
If parent directory doesn't exist, parent directory is also created
|
163
|
+
recursively.
|
164
|
+
|
165
|
+
The default value is ``on``. Normally, the value doesn't need to be
|
166
|
+
changed.
|
167
|
+
|
143
168
|
|
144
169
|
``groonga_base_path``
|
145
170
|
"""""""""""""""""""""
|
@@ -300,6 +325,35 @@ see http://wiki.nginx.org/CoreModule#worker_processes.
|
|
300
325
|
|
301
326
|
By default, this is set to 1. It is nginx's default.
|
302
327
|
|
328
|
+
.. _groonga-cache-limit:
|
329
|
+
|
330
|
+
``groonga_cache_limit``
|
331
|
+
"""""""""""""""""""""""
|
332
|
+
|
333
|
+
This directive is introduced to customize cache limit for each worker process.
|
334
|
+
|
335
|
+
Synopsis::
|
336
|
+
|
337
|
+
groonga_cache_limit CACHE_LIMIT;
|
338
|
+
|
339
|
+
Default
|
340
|
+
100
|
341
|
+
|
342
|
+
Context
|
343
|
+
``http``, ``server``, ``location``
|
344
|
+
|
345
|
+
Specifies groonga's limit of query cache in the ``http``, ``server`` or
|
346
|
+
``location`` block. The default value is 100.
|
347
|
+
You can disable query cache to specify 0 to ``groonga_cache_limit`` explicitly.
|
348
|
+
|
349
|
+
Examples::
|
350
|
+
|
351
|
+
location /d/ {
|
352
|
+
groonga on;
|
353
|
+
# You can customize query cache limit for groonga.
|
354
|
+
groonga_cache_limit 100;
|
355
|
+
}
|
356
|
+
|
303
357
|
``proxy_cache``
|
304
358
|
"""""""""""""""
|
305
359
|
|
@@ -367,38 +421,38 @@ change cache configuration dynamically by HTTP.
|
|
367
421
|
|
368
422
|
Here is a sample configuration::
|
369
423
|
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
424
|
+
...
|
425
|
+
http {
|
426
|
+
proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m;
|
427
|
+
proxy_cache_valid 10m;
|
428
|
+
...
|
429
|
+
# Reverse proxy and cache
|
430
|
+
server {
|
431
|
+
listen 10041;
|
432
|
+
...
|
433
|
+
# Only select command
|
434
|
+
location /d/select {
|
435
|
+
# Pass through groonga with cache
|
436
|
+
proxy_cache groonga;
|
437
|
+
proxy_pass http://localhost:20041;
|
438
|
+
}
|
439
|
+
|
440
|
+
location / {
|
441
|
+
# Pass through groonga
|
442
|
+
proxy_pass http://localhost:20041;
|
443
|
+
}
|
444
|
+
}
|
445
|
+
|
446
|
+
# groonga
|
447
|
+
server {
|
448
|
+
location 20041;
|
449
|
+
location /d/ {
|
450
|
+
groonga on;
|
451
|
+
groonga_database /var/lib/groonga/db/db;
|
452
|
+
}
|
453
|
+
}
|
454
|
+
...
|
455
|
+
}
|
402
456
|
|
403
457
|
See the following nginx documentations for parameter details:
|
404
458
|
|
@@ -22,6 +22,19 @@ DESCTIPION
|
|
22
22
|
|
23
23
|
groonga-suggest-create-dataset creates a dataset for :doc:`/suggest`. A database has many datasets. This command just defines schema for a suggestion dataset.
|
24
24
|
|
25
|
+
This command generates some tables and columns for :doc:`/suggest`.
|
26
|
+
|
27
|
+
Here is the list of such tables. If you specify 'query' as dataset name, following '_DATASET' suffix are replaced. Thus, 'item_query', 'pair_query', 'sequence_query', 'event_query' tables are generated.
|
28
|
+
|
29
|
+
* event_type
|
30
|
+
* bigram
|
31
|
+
* kana
|
32
|
+
* item_DATASET
|
33
|
+
* pair_DATASET
|
34
|
+
* sequence_DATASET
|
35
|
+
* event_DATASET
|
36
|
+
* configuration
|
37
|
+
|
25
38
|
OPTIONS
|
26
39
|
-------
|
27
40
|
|
@@ -46,5 +59,5 @@ SEE ALSO
|
|
46
59
|
--------
|
47
60
|
|
48
61
|
:doc:`/suggest`
|
49
|
-
|
50
|
-
|
62
|
+
:doc:`groonga-suggest-httpd`
|
63
|
+
:doc:`groonga-suggest-learner`
|
data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
groonga-suggest-httpd
|
6
|
+
=====================
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
TODO
|
12
|
+
|
13
|
+
Synopsis
|
14
|
+
--------
|
15
|
+
|
16
|
+
::
|
17
|
+
|
18
|
+
groonga-suggest-httpd [options] database_path
|
19
|
+
|
20
|
+
Usage
|
21
|
+
-----
|
22
|
+
|
23
|
+
TODO
|
24
|
+
|
25
|
+
Options
|
26
|
+
-------
|
27
|
+
|
28
|
+
.. cmdoption:: -p, --port
|
29
|
+
|
30
|
+
Specify http server port number. The default value is 8080.
|
31
|
+
|
32
|
+
.. cmdoption:: -t, --n-threads
|
33
|
+
|
34
|
+
Specify number of threads. The default value is 8.
|
35
|
+
|
36
|
+
.. cmdoption:: -s, --send-endpoint
|
37
|
+
|
38
|
+
Specify endpoint for sender.
|
39
|
+
|
40
|
+
.. cmdoption:: -r, --receive-endpoint
|
41
|
+
|
42
|
+
Specify endpoint for receiver.
|
43
|
+
|
44
|
+
.. cmdoption:: -l, --log-base-path
|
45
|
+
|
46
|
+
Specify path prefix of log.
|
47
|
+
|
48
|
+
.. cmdoption:: --n-lines-per-log-file
|
49
|
+
|
50
|
+
Specify the number of lines in a log file. The default value is 1,000,000.
|
51
|
+
|
52
|
+
.. cmdoption:: -d, --daemon
|
53
|
+
|
54
|
+
Specify this option to daemonize.
|
55
|
+
|
56
|
+
.. cmdoption:: --disable-max-fd-check
|
57
|
+
|
58
|
+
Specify this option to disable checking max fd on start.
|
59
|
+
|
60
|
+
Parameters
|
61
|
+
----------
|
62
|
+
|
63
|
+
There is one required parameter - ``database_path``.
|
64
|
+
|
65
|
+
``database_path``
|
66
|
+
^^^^^^^^^^^^^^^^^^^
|
67
|
+
|
68
|
+
Specifies the path to a groonga database.
|
@@ -0,0 +1,40 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
groonga-suggest-learner
|
6
|
+
=======================
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
TODO
|
12
|
+
|
13
|
+
Synopsis
|
14
|
+
--------
|
15
|
+
|
16
|
+
::
|
17
|
+
|
18
|
+
groonga-suggest-learner [options] database_path
|
19
|
+
|
20
|
+
Usage
|
21
|
+
-----
|
22
|
+
|
23
|
+
TODO
|
24
|
+
|
25
|
+
Options
|
26
|
+
-------
|
27
|
+
|
28
|
+
TODO
|
29
|
+
|
30
|
+
Parameters
|
31
|
+
----------
|
32
|
+
|
33
|
+
There is one required parameter - ``database_path``.
|
34
|
+
|
35
|
+
``database_path``
|
36
|
+
^^^^^^^^^^^^^^^^^
|
37
|
+
|
38
|
+
Specifies the path to a groonga database.
|
39
|
+
|
40
|
+
|