rroonga 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +13 -3
- data/doc/text/news.textile +8 -0
- data/ext/groonga/extconf.rb +1 -3
- data/ext/groonga/rb-grn-table-key-support.c +0 -4
- 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/rroonga-build.rb +3 -3
- 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 +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +10 -2
- data/vendor/local/include/groonga/groonga.h +30 -1048
- 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/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/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/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/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +85 -49
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +5 -0
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +136 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_cache.txt +114 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +92 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_command_version.txt +37 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +70 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_encoding.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +83 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +55 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_hook.txt +67 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ii.txt +35 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_index_cursor.txt +44 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_info.txt +56 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_match_escalation.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +246 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_proc.txt +56 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_search.txt +31 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table.txt +219 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table_cursor.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_type.txt +31 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_user_data.txt +29 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +63 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +85 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +218 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +19 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +16 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +18 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- 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 +60 -55
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +118 -105
- 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 +37 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +638 -6
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +50 -24
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -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 +11 -11
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +13 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +308 -152
- 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 +37 -18
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +30 -12
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +322 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +284 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +197 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +190 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +173 -16
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +244 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +196 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +648 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +180 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +546 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +177 -0
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +17 -16
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +71 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +203 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +94 -94
- 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 +33 -33
- 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 +39 -39
- 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 +5 -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 +219 -12
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- 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 +31 -28
- 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 +22 -23
- 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 +9 -6
- 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 +17 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/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 +22 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +14 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +5 -0
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +136 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_cache.txt +114 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +92 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_command_version.txt +37 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +70 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_encoding.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +83 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +55 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_hook.txt +67 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ii.txt +35 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_index_cursor.txt +44 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_info.txt +56 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_match_escalation.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +246 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_proc.txt +56 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_search.txt +31 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table.txt +219 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table_cursor.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_type.txt +31 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_user_data.txt +29 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +63 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +85 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +218 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +19 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +16 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +18 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- 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 +61 -56
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +119 -106
- 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 +38 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -10
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +642 -10
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +50 -25
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -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 +12 -12
- 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 +9 -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 +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +336 -154
- 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 +38 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +31 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +319 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +285 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +198 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +191 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +255 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +172 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +238 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +245 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +197 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +238 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +201 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +649 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +228 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +181 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +547 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +322 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +178 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +18 -17
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +64 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- 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 +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +207 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
- 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 +6 -6
- 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 +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +95 -95
- 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 +34 -34
- 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 +40 -40
- 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 +6 -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 +194 -12
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -6
- 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 +31 -29
- 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 +20 -23
- 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 +10 -15
- 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 +11 -7
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
- 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/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 +17 -10
- data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- 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 +9 -9
- 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 +16 -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 +13 -13
- 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/groonga/html/admin/css/groonga-admin.css +4 -0
- data/vendor/local/share/groonga/html/admin/index.html +28 -26
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +13 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +3418 -350
- data/vendor/local/share/man/man1/groonga.1 +3485 -348
- metadata +116 -63
@@ -0,0 +1,29 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
``grn_user_data``
|
6
|
+
=================
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
TODO...
|
12
|
+
|
13
|
+
Example
|
14
|
+
-------
|
15
|
+
|
16
|
+
TODO...
|
17
|
+
|
18
|
+
Reference
|
19
|
+
---------
|
20
|
+
|
21
|
+
.. c:type:: grn_user_data
|
22
|
+
|
23
|
+
TODO...
|
24
|
+
|
25
|
+
.. c:function:: grn_user_data *grn_obj_user_data(grn_ctx *ctx, grn_obj *obj)
|
26
|
+
|
27
|
+
objectに登録できるユーザデータへのポインタを返します。table, column, proc, exprのみ使用可能です。
|
28
|
+
|
29
|
+
:param obj: 対象objectを指定します。
|
@@ -2,53 +2,85 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_cache_limit
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
``cache_limit``
|
9
|
+
===============
|
10
10
|
|
11
|
-
|
11
|
+
Summary
|
12
|
+
-------
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
::
|
14
|
+
``cache_limit`` gets or sets the max number of query cache
|
15
|
+
entries. Query cache is used only by :doc:`select` command.
|
16
16
|
|
17
|
-
|
17
|
+
If the max number of query cache entries is 100, the recent 100
|
18
|
+
``select`` commands are only cached. The cache expire algorithm is LRU
|
19
|
+
(least recently used).
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
+
Syntax
|
22
|
+
------
|
21
23
|
|
22
|
-
|
24
|
+
``cache_limit`` has one optional parameter::
|
23
25
|
|
24
|
-
cache_limit
|
26
|
+
cache_limit [max=null]
|
25
27
|
|
26
|
-
|
27
|
-
|
28
|
+
Usage
|
29
|
+
-----
|
30
|
+
|
31
|
+
You can get the current max number of cache entries by executing
|
32
|
+
``cache_limit`` without parameter.
|
33
|
+
|
34
|
+
.. groonga-command
|
35
|
+
.. include:: ../../example/reference/commands/cache_limit/get.log
|
36
|
+
.. cache_limit
|
37
|
+
|
38
|
+
You can set the max number of cache entries by executing ``cache_limit``
|
39
|
+
with ``max`` parameter.
|
40
|
+
|
41
|
+
Here is an example that sets ``10`` as the max number of cache
|
42
|
+
entries.
|
43
|
+
|
44
|
+
.. groonga-command
|
45
|
+
.. include:: ../../example/reference/commands/cache_limit/set.log
|
46
|
+
.. cache_limit 10
|
47
|
+
.. cache_limit
|
48
|
+
|
49
|
+
If ``max`` parameter is used, the return value is the max number of
|
50
|
+
cache entries before ``max`` parameter is set.
|
51
|
+
|
52
|
+
|
53
|
+
Parameters
|
54
|
+
----------
|
55
|
+
|
56
|
+
This section describes all parameters.
|
28
57
|
|
29
58
|
``max``
|
59
|
+
"""""""
|
60
|
+
|
61
|
+
It specifies the max number of query cache entries as a number.
|
62
|
+
|
63
|
+
If ``max`` parameter isn't specified, the current max number of query
|
64
|
+
cache entries isn't changed. ``cache_limit`` just returns the current
|
65
|
+
max number of query cache entries.
|
30
66
|
|
31
|
-
|
32
|
-
|
33
|
-
現在の設定値のみが返されます。
|
67
|
+
Return value
|
68
|
+
------------
|
34
69
|
|
35
|
-
|
36
|
-
----
|
70
|
+
``cache_limit`` returns the current max number of query cache entries::
|
37
71
|
|
38
|
-
|
39
|
-
^^^^
|
72
|
+
[[HEADER, n_entries]]
|
40
73
|
|
41
|
-
|
74
|
+
``HEADER``
|
42
75
|
|
43
|
-
|
76
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
44
77
|
|
45
|
-
|
78
|
+
``n_entries``
|
46
79
|
|
47
|
-
|
80
|
+
``n_entries`` is the current max number of query cache entries. It
|
81
|
+
is a number.
|
48
82
|
|
49
|
-
|
50
|
-
|
51
|
-
::
|
83
|
+
See also
|
84
|
+
--------
|
52
85
|
|
53
|
-
|
54
|
-
[100]
|
86
|
+
* :doc:`select`
|
@@ -2,70 +2,121 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_delete
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
``delete``
|
9
|
+
==========
|
10
10
|
|
11
|
-
|
11
|
+
Summary
|
12
|
+
-------
|
12
13
|
|
13
|
-
|
14
|
-
----
|
15
|
-
::
|
14
|
+
``delete`` command deletes specified record of table.
|
16
15
|
|
17
|
-
delete
|
16
|
+
.. _cascade-delete:
|
17
|
+
|
18
|
+
Cascade delete
|
19
|
+
^^^^^^^^^^^^^^
|
20
|
+
|
21
|
+
There is a case that multiple table is associated. For example, the key of one table are referenced by other table's records. In such a case, if you delete the key of one table, other table's records are also removed.
|
18
22
|
|
19
|
-
|
20
|
-
----
|
23
|
+
Note that the type of other table's column is COLUMN_VECTOR, only the value of referencing key is removed from the vector value.
|
21
24
|
|
22
|
-
|
25
|
+
Syntax
|
26
|
+
------
|
27
|
+
::
|
23
28
|
|
24
|
-
delete
|
29
|
+
delete table [key [id [filter]]]
|
25
30
|
|
26
|
-
|
27
|
-
|
31
|
+
Usage
|
32
|
+
-----
|
33
|
+
|
34
|
+
Here are a schema definition and sample data to show usage.
|
35
|
+
|
36
|
+
.. groonga-command
|
37
|
+
.. table_create Entry TABLE_HASH_KEY UInt32
|
38
|
+
.. column_create Entry status --type ShortText
|
39
|
+
.. load --table Entry
|
40
|
+
.. [
|
41
|
+
.. {"_key": 1, "status": "OK"}
|
42
|
+
.. {"_key": 2, "status": "NG"}
|
43
|
+
.. ]
|
44
|
+
|
45
|
+
Delete the record from Entry table which has "2" as the key.
|
46
|
+
|
47
|
+
.. groonga-command
|
48
|
+
.. include:: ../../example/reference/commands/delete/status.log
|
49
|
+
.. delete Entry 2
|
50
|
+
.. select Entry
|
51
|
+
|
52
|
+
Here is the example about cascaded delete.
|
53
|
+
|
54
|
+
The country column of Users table associates with Country table.
|
55
|
+
|
56
|
+
"Cascaded delete" removes the records which matches specified key and refers that key.
|
57
|
+
|
58
|
+
.. groonga-command
|
59
|
+
.. include:: ../../example/reference/commands/delete/cascade.log
|
60
|
+
.. table_create Country TABLE_HASH_KEY ShortText
|
61
|
+
.. table_create Users TABLE_HASH_KEY UInt32
|
62
|
+
.. column_create Users name COLUMN_SCALAR ShortText
|
63
|
+
.. column_create Users country COLUMN_SCALAR Country
|
64
|
+
.. load --table Users
|
65
|
+
.. [
|
66
|
+
.. {"_key": 1, "name": "John", country: "United States"}
|
67
|
+
.. {"_key": 2, "name": "Mike", country: "United States"}
|
68
|
+
.. {"_key": 3, "name": "Takashi", country: "Japan"}
|
69
|
+
.. {"_key": 4, "name": "Hanako", country: "Japan"}
|
70
|
+
.. ]
|
71
|
+
.. load --table Country
|
72
|
+
.. [
|
73
|
+
.. {"_key": "United States"}
|
74
|
+
.. {"_key": "Japan"}
|
75
|
+
.. ]
|
76
|
+
.. delete Country "United States"
|
77
|
+
.. select Country
|
78
|
+
.. select Users
|
79
|
+
|
80
|
+
|
81
|
+
Parameters
|
82
|
+
----------
|
28
83
|
|
29
84
|
``table``
|
30
85
|
|
31
|
-
|
86
|
+
It specifies the name of table to delete the records.
|
32
87
|
|
33
88
|
``key``
|
34
89
|
|
35
|
-
|
90
|
+
It specifies the key of record to delete. If you use the table with TABLE_NO_KEY, the key is just ignored.
|
91
|
+
(Use ``id`` parameter in such a case)
|
36
92
|
|
37
93
|
``id``
|
38
94
|
|
39
|
-
|
95
|
+
It specifies the id of record to delete. If you specify ``id`` parameter, you must not specify ``key`` parameter.
|
40
96
|
|
41
97
|
``filter``
|
42
98
|
|
43
|
-
|
99
|
+
It specifies the expression of grn_expr to identify the record. If you specify ``filter`` parameter,
|
100
|
+
you must not specify ``key`` and ``id`` parameter.
|
44
101
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
json形式
|
49
|
-
^^^^^^^^
|
102
|
+
Return value
|
103
|
+
------------
|
50
104
|
|
51
105
|
::
|
52
106
|
|
53
|
-
[
|
54
|
-
|
55
|
-
``成功かどうかのフラグ``
|
107
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
56
108
|
|
57
|
-
|
109
|
+
``HEADER``
|
58
110
|
|
59
|
-
|
60
|
-
|
111
|
+
The format of HEADER is [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME].
|
112
|
+
See :doc:`/reference/command/output_format` about HEADER.
|
61
113
|
|
62
|
-
|
114
|
+
``SUCCEEDED_OR_NOT``
|
63
115
|
|
64
|
-
|
116
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
65
117
|
|
66
|
-
[true]
|
67
118
|
|
68
|
-
|
119
|
+
See also
|
69
120
|
--------
|
70
121
|
|
71
122
|
:doc:`load`
|
@@ -0,0 +1,77 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_ruby_eval
|
7
|
+
|
8
|
+
``ruby_eval``
|
9
|
+
=============
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``ruby_eval`` command evaluates ruby script and returns the result.
|
15
|
+
|
16
|
+
Syntax
|
17
|
+
------
|
18
|
+
|
19
|
+
``ruby_eval`` has one required parameter::
|
20
|
+
|
21
|
+
ruby_eval ruby_script
|
22
|
+
|
23
|
+
Usage
|
24
|
+
-----
|
25
|
+
|
26
|
+
You can execute any scripts which mruby supports by calling ``ruby_eval``.
|
27
|
+
|
28
|
+
Here is an example that just calculate ``1 + 2`` by mruby plugin.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/commands/ruby_eval/calc.log
|
32
|
+
.. register ruby/eval
|
33
|
+
.. ruby_eval "1 + 2"
|
34
|
+
|
35
|
+
Register ``ruby/eval`` plugin to use ``ruby_eval`` command in advance.
|
36
|
+
|
37
|
+
Note that ``ruby_eval`` 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
|
+
``ruby_script``
|
46
|
+
"""""""""""""""
|
47
|
+
|
48
|
+
It specifies the ruby script which you want to evaluate.
|
49
|
+
|
50
|
+
Return value
|
51
|
+
------------
|
52
|
+
|
53
|
+
``ruby_eval`` returns the evaluated result which key is "value" as json format::
|
54
|
+
|
55
|
+
[[HEADER, EVALUATED]]
|
56
|
+
|
57
|
+
``HEADER``
|
58
|
+
|
59
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
60
|
+
|
61
|
+
``EVALUATED``
|
62
|
+
|
63
|
+
``EVALUATED`` consists of pair of key and value in forms of {key:value}.
|
64
|
+
|
65
|
+
.. list-table::
|
66
|
+
:header-rows: 1
|
67
|
+
|
68
|
+
* - Name
|
69
|
+
- Description
|
70
|
+
* - ``key``
|
71
|
+
- reserved word 'value'.
|
72
|
+
* - ``value``
|
73
|
+
- the value of evaluated script. It must be a number.
|
74
|
+
|
75
|
+
See also
|
76
|
+
--------
|
77
|
+
|
@@ -645,6 +645,8 @@ is equal to or more than ``10`` from ``Entries`` table.
|
|
645
645
|
Output related parameters
|
646
646
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
647
647
|
|
648
|
+
.. _output_columns:
|
649
|
+
|
648
650
|
``output_columns``
|
649
651
|
""""""""""""""""""
|
650
652
|
|
@@ -860,11 +862,11 @@ TODO: write in English and add example.
|
|
860
862
|
|
861
863
|
drilldown条件が実行される前の検索結果が以下のように出力されます。::
|
862
864
|
|
863
|
-
[[
|
865
|
+
[[ヒット数], [[カラム名1,カラム型1],..], 検索結果1,..]
|
864
866
|
|
865
|
-
|
867
|
+
``ヒット数``
|
866
868
|
|
867
|
-
|
869
|
+
検索条件にヒットしたレコードの数が出力されます。 ``--limit`` オプションで出力件数を制限した場合は出力するレコード数と一致しません。 ``ヒット数`` は ``--limit`` オプションに関係なく常にヒットしたレコードの数になります。
|
868
870
|
|
869
871
|
``カラム名n``
|
870
872
|
|
data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt
CHANGED
@@ -136,6 +136,11 @@ Context
|
|
136
136
|
Specifies the path to a groonga database. This is the required
|
137
137
|
directive.
|
138
138
|
|
139
|
+
``groonga_database_auto_create``
|
140
|
+
""""""""""""""""""""""""""""""""
|
141
|
+
|
142
|
+
TODO
|
143
|
+
|
139
144
|
``groonga_base_path``
|
140
145
|
"""""""""""""""""""""
|
141
146
|
|
@@ -183,6 +188,101 @@ Here is an example configuration to add authorization to
|
|
183
188
|
# Because location name is the base path.
|
184
189
|
}
|
185
190
|
|
191
|
+
.. _groonga-log-path:
|
192
|
+
|
193
|
+
``groonga_log_path``
|
194
|
+
"""""""""""""""""""""
|
195
|
+
|
196
|
+
Synopsis::
|
197
|
+
|
198
|
+
groonga_log_path path | off;
|
199
|
+
|
200
|
+
Default
|
201
|
+
``/var/log/groonga/httpd/groonga.log``
|
202
|
+
|
203
|
+
Context
|
204
|
+
``http``, ``server``, ``location``
|
205
|
+
|
206
|
+
Specifies groonga log path in the ``http``, ``server`` or ``location`` block. The
|
207
|
+
default is ``/var/log/groonga/httpd/groonga.log``.
|
208
|
+
You can disable logging to specify ``off``.
|
209
|
+
|
210
|
+
Examples::
|
211
|
+
|
212
|
+
location /d/ {
|
213
|
+
groonga on;
|
214
|
+
# You can disable log for groonga.
|
215
|
+
groonga_log_path off;
|
216
|
+
}
|
217
|
+
|
218
|
+
.. _groonga-log-level:
|
219
|
+
|
220
|
+
``groonga_log_level``
|
221
|
+
"""""""""""""""""""""
|
222
|
+
|
223
|
+
Synopsis::
|
224
|
+
|
225
|
+
groonga_log_level none | emergency | alert | ciritical | error | warning | notice | info | debug | dump;
|
226
|
+
|
227
|
+
Default
|
228
|
+
``notice``
|
229
|
+
|
230
|
+
Context
|
231
|
+
``http``, ``server``, ``location``
|
232
|
+
|
233
|
+
Specifies groonga log level in the ``http``, ``server`` or ``location`` block. The
|
234
|
+
default is ``notice``. You can disable logging by specifying ``none`` as log level.
|
235
|
+
|
236
|
+
Examples::
|
237
|
+
|
238
|
+
location /d/ {
|
239
|
+
groonga on;
|
240
|
+
# You can customize log level for groonga.
|
241
|
+
groonga_log_level notice;
|
242
|
+
}
|
243
|
+
|
244
|
+
.. _groonga-query-log-path:
|
245
|
+
|
246
|
+
``groonga_query_log_path``
|
247
|
+
""""""""""""""""""""""""""
|
248
|
+
|
249
|
+
Synopsis::
|
250
|
+
|
251
|
+
groonga_query_log_path path | off;
|
252
|
+
|
253
|
+
Default
|
254
|
+
``/var/log/groonga/httpd/groonga-query.log``
|
255
|
+
|
256
|
+
Context
|
257
|
+
``http``, ``server``, ``location``
|
258
|
+
|
259
|
+
Specifies groonga's query log path in the ``http``, ``server`` or
|
260
|
+
``location`` block. The default is
|
261
|
+
``/var/log/groonga/httpd/groonga-query.log``. You can disable logging
|
262
|
+
to specify ``off``.
|
263
|
+
|
264
|
+
Examples::
|
265
|
+
|
266
|
+
location /d/ {
|
267
|
+
groonga on;
|
268
|
+
# You can disable query log for groonga.
|
269
|
+
groonga_query_log_path off;
|
270
|
+
}
|
271
|
+
|
272
|
+
Query log is useful for the following cases:
|
273
|
+
|
274
|
+
* Detecting slow query.
|
275
|
+
* Debugging.
|
276
|
+
|
277
|
+
You can analyze your query log by `groonga-query-log package
|
278
|
+
<https://github.com/groonga/groonga-query-log>`_. The package provides
|
279
|
+
useful tools.
|
280
|
+
|
281
|
+
For example, there is a tool that analyzing your query log. It can
|
282
|
+
detect slow queries from your query log. There is a tool that
|
283
|
+
replaying same queries in your query log. It can test the new groonga
|
284
|
+
before updating production environment.
|
285
|
+
|
186
286
|
Performance related directives
|
187
287
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
188
288
|
|
@@ -200,10 +300,127 @@ see http://wiki.nginx.org/CoreModule#worker_processes.
|
|
200
300
|
|
201
301
|
By default, this is set to 1. It is nginx's default.
|
202
302
|
|
303
|
+
``proxy_cache``
|
304
|
+
"""""""""""""""
|
305
|
+
|
306
|
+
In short, you can use nginx's reverse proxy and cache mechanism
|
307
|
+
instead of groonga's built-in query cache feature.
|
308
|
+
|
309
|
+
Query cache
|
310
|
+
+++++++++++
|
311
|
+
|
312
|
+
Groonga has query cache feature for :doc:`/reference/commands/select`
|
313
|
+
command. The feature improves performance in many cases.
|
314
|
+
|
315
|
+
Query cache feature works well on groonga-httpd except you use
|
316
|
+
:doc:`/reference/commands/cache_limit` command on 2 or more
|
317
|
+
workers. Normally, :doc:`/reference/commands/cache_limit` command
|
318
|
+
isn't used. So there is no problem on many cases.
|
319
|
+
|
320
|
+
Here is a description about a problem of using
|
321
|
+
:doc:`/reference/commands/cache_limit` command on 2 or more workers.
|
322
|
+
|
323
|
+
Groonga's query cache is available in the same process. It means that
|
324
|
+
workers can't share the cache. If you don't change cache size, it
|
325
|
+
isn't a big problem. If you want to change cache size by
|
326
|
+
:doc:`/reference/commands/cache_limit` command, there is a problem.
|
327
|
+
|
328
|
+
There is no portable ways to change cache size for all workers.
|
329
|
+
|
330
|
+
For example, there are 3 workers::
|
331
|
+
|
332
|
+
+-- worker 1
|
333
|
+
client -- groonga-httpd (master) --+-- worker 2
|
334
|
+
+-- worker 3
|
335
|
+
|
336
|
+
The client requests :doc:`/reference/commands/cache_limit` command and
|
337
|
+
the worker 1 receives it::
|
338
|
+
|
339
|
+
+-> worker 1 (changed!)
|
340
|
+
client -> groonga-httpd (master) --+-- worker 2
|
341
|
+
+-- worker 3
|
342
|
+
|
343
|
+
The client requests :doc:`/reference/commands/cache_limit` command
|
344
|
+
again and the worker 1 receives it again::
|
345
|
+
|
346
|
+
+-> worker 1 (changed again!!!)
|
347
|
+
client -> groonga-httpd (master) --+-- worker 2
|
348
|
+
+-- worker 3
|
349
|
+
|
350
|
+
In this case, the worker 2 and the worker 3 aren't received any
|
351
|
+
requests. So they don't change cache size.
|
352
|
+
|
353
|
+
You can't choose a worker. So you can't change cache sizes of all
|
354
|
+
workers by :doc:`/reference/commands/cache_limit` command.
|
355
|
+
|
356
|
+
Reverse proxy and cache
|
357
|
+
+++++++++++++++++++++++
|
358
|
+
|
359
|
+
You can use nginx's reverse proxy and cache feature for query cache::
|
360
|
+
|
361
|
+
+-- worker 1
|
362
|
+
client -- groonga-httpd (master) -- reverse proxy + cache --+-- worker 2
|
363
|
+
+-- worker 3
|
364
|
+
|
365
|
+
You can use the same cache configuration for all workers but you can't
|
366
|
+
change cache configuration dynamically by HTTP.
|
367
|
+
|
368
|
+
Here is a sample configuration::
|
369
|
+
|
370
|
+
...
|
371
|
+
http {
|
372
|
+
proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m;
|
373
|
+
proxy_cache_valid 10m;
|
374
|
+
...
|
375
|
+
# Reverse proxy and cache
|
376
|
+
server {
|
377
|
+
listen 10041;
|
378
|
+
...
|
379
|
+
# Only select command
|
380
|
+
location /d/select {
|
381
|
+
# Pass through groonga with cache
|
382
|
+
proxy_cache groonga;
|
383
|
+
proxy_pass http://localhost:20041;
|
384
|
+
}
|
385
|
+
|
386
|
+
location / {
|
387
|
+
# Pass through groonga
|
388
|
+
proxy_pass http://localhost:20041;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
# groonga
|
393
|
+
server {
|
394
|
+
location 20041;
|
395
|
+
location /d/ {
|
396
|
+
groonga on;
|
397
|
+
groonga_database /var/lib/groonga/db/db;
|
398
|
+
}
|
399
|
+
}
|
400
|
+
...
|
401
|
+
}
|
402
|
+
|
403
|
+
See the following nginx documentations for parameter details:
|
404
|
+
|
405
|
+
* http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path
|
406
|
+
* http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid
|
407
|
+
* http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache
|
408
|
+
* http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass
|
409
|
+
|
410
|
+
Note that you need to remove cache files created by nginx by hand
|
411
|
+
after you load new data to groonga. For the above sample
|
412
|
+
configuration, run the following command to remove cache files::
|
413
|
+
|
414
|
+
% groonga DB_PATH < load.grn
|
415
|
+
% rm -rf /var/cache/groonga-httpd/*
|
416
|
+
|
417
|
+
If you use groonga's query cache feature, you don't need to expire
|
418
|
+
cache by hand. It is done automatically.
|
419
|
+
|
203
420
|
Available nginx modules
|
204
421
|
-----------------------
|
205
422
|
|
206
|
-
All standard HTTP modules
|
423
|
+
All standard HTTP modules are available. HttpRewriteModule is
|
207
424
|
disabled when you don't have PCRE (Perl Compatible Regular
|
208
425
|
Expressions). For the list of standard HTTP modules, see
|
209
426
|
http://wiki.nginx.org/Modules.
|