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,319 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
+
<head>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
|
10
|
+
<title>8.14.1. grn_cache — groonga v3.0.8ドキュメント</title>
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '3.0.8',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
+
<link rel="top" title="groonga v3.0.8ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="8.14. API" href="../api.html" />
|
31
|
+
<link rel="next" title="8.14.2. grn_column" href="grn_column.html" />
|
32
|
+
<link rel="prev" title="8.14. API" href="../api.html" />
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
<div class="header">
|
36
|
+
<h1 class="title">
|
37
|
+
<a id="top-link" href="../../index.html">
|
38
|
+
<span class="project">groonga</span>
|
39
|
+
<span class="separator">-</span>
|
40
|
+
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
41
|
+
</a>
|
42
|
+
</h1>
|
43
|
+
|
44
|
+
<div class="other-language-links">
|
45
|
+
<ul>
|
46
|
+
<li><a href="../../../../en/html/reference/api/grn_cache.html"><img src="../../_static/us.png" alt="English">English page</a></li>
|
47
|
+
</ul>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div class="related">
|
53
|
+
<h3>ナビゲーション</h3>
|
54
|
+
<ul>
|
55
|
+
<li class="right" style="margin-right: 10px">
|
56
|
+
<a href="../../genindex.html" title="総合索引"
|
57
|
+
accesskey="I">索引</a></li>
|
58
|
+
<li class="right" >
|
59
|
+
<a href="grn_column.html" title="8.14.2. grn_column"
|
60
|
+
accesskey="N">次へ</a> |</li>
|
61
|
+
<li class="right" >
|
62
|
+
<a href="../api.html" title="8.14. API"
|
63
|
+
accesskey="P">前へ</a> |</li>
|
64
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../api.html" accesskey="U">8.14. API</a> »</li>
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="document">
|
71
|
+
<div class="documentwrapper">
|
72
|
+
<div class="bodywrapper">
|
73
|
+
<div class="body">
|
74
|
+
|
75
|
+
<div class="section" id="grn-cache">
|
76
|
+
<h1>8.14.1. <tt class="docutils literal"><span class="pre">grn_cache</span></tt><a class="headerlink" href="#grn-cache" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
|
+
<div class="section" id="summary">
|
78
|
+
<h2>8.14.1.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
+
<div class="admonition note">
|
80
|
+
<p class="first admonition-title">ノート</p>
|
81
|
+
<p class="last">This API is experimental.</p>
|
82
|
+
</div>
|
83
|
+
<p><tt class="docutils literal"><span class="pre">grn_cache</span></tt> is a data store that keeps responses of
|
84
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command. It is not general use cache
|
85
|
+
object. It is only for <a class="reference internal" href="../commands/select.html"><em>select</em></a> command.</p>
|
86
|
+
<p>You can just change the current cache object by
|
87
|
+
<a class="reference internal" href="#grn_cache_current_set" title="grn_cache_current_set"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_current_set()</span></tt></a>. <a class="reference internal" href="../commands/select.html"><em>select</em></a>
|
88
|
+
command response cache is done internally.</p>
|
89
|
+
<p><a class="reference internal" href="../commands/select.html"><em>select</em></a> command uses one global cache
|
90
|
+
object. If you open multiple databases, the one cache is shared. It is
|
91
|
+
an important problem.</p>
|
92
|
+
<p>If you open multiple databases and use
|
93
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command, you need to use
|
94
|
+
<tt class="docutils literal"><span class="pre">grn_cache</span></tt> object. It is <a class="reference internal" href="../executables/groonga-httpd.html"><em>groonga-httpd</em></a>
|
95
|
+
case. If you open only one database or don't use
|
96
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command, you don't need to use
|
97
|
+
<tt class="docutils literal"><span class="pre">grn_cache</span></tt> object. It is <a class="reference external" href="http://ranguba.org/#about-rroonga">rroonga</a> case.</p>
|
98
|
+
</div>
|
99
|
+
<div class="section" id="example">
|
100
|
+
<h2>8.14.1.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
101
|
+
<p>以下はキャシュを変更する例です。</p>
|
102
|
+
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_cache</span> <span class="o">*</span><span class="n">cache</span><span class="p">;</span>
|
103
|
+
<span class="n">grn_cache</span> <span class="o">*</span><span class="n">cache_previous</span><span class="p">;</span>
|
104
|
+
<span class="n">cache</span> <span class="o">=</span> <span class="n">grn_cache_open</span><span class="p">(</span><span class="n">ctx</span><span class="p">);</span>
|
105
|
+
<span class="n">cache_previous</span> <span class="o">=</span> <span class="n">grn_cache_current_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">);</span>
|
106
|
+
<span class="n">grn_cache_current_set</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">cache</span><span class="p">);</span>
|
107
|
+
<span class="cm">/* grn_ctx_send(ctx, ...); */</span>
|
108
|
+
<span class="n">grn_cache_current_set</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">cache_previous</span><span class="p">);</span>
|
109
|
+
</pre></div>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="section" id="reference">
|
113
|
+
<h2>8.14.1.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
114
|
+
<dl class="type">
|
115
|
+
<dt id="grn_cache">
|
116
|
+
<tt class="descname">grn_cache</tt><a class="headerlink" href="#grn_cache" title="この定義へのパーマリンク">¶</a></dt>
|
117
|
+
<dd><p>It is an opaque cache object. You can create a <tt class="docutils literal"><span class="pre">grn_cache</span></tt> by
|
118
|
+
<a class="reference internal" href="#grn_cache_open" title="grn_cache_open"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_open()</span></tt></a> and free the created object by
|
119
|
+
<a class="reference internal" href="#grn_cache_close" title="grn_cache_close"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></tt></a>.</p>
|
120
|
+
</dd></dl>
|
121
|
+
|
122
|
+
<dl class="function">
|
123
|
+
<dt id="grn_cache_open">
|
124
|
+
<a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a> *<tt class="descname">grn_cache_open</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em><big>)</big><a class="headerlink" href="#grn_cache_open" title="この定義へのパーマリンク">¶</a></dt>
|
125
|
+
<dd><p>新規にキャッシュオブジェクトを作成します。</p>
|
126
|
+
<p>If memory allocation for the new cache object is failed, <tt class="docutils literal"><span class="pre">NULL</span></tt>
|
127
|
+
is returned. Error information is stored into the <tt class="docutils literal"><span class="pre">ctx</span></tt>.</p>
|
128
|
+
<table class="docutils field-list" frame="void" rules="none">
|
129
|
+
<col class="field-name" />
|
130
|
+
<col class="field-body" />
|
131
|
+
<tbody valign="top">
|
132
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
133
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
134
|
+
</ul>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">A newly allocated cache object on success, <tt class="docutils literal"><span class="pre">NULL</span></tt>
|
138
|
+
otherwise. The returned cache object must be freed by
|
139
|
+
<a class="reference internal" href="#grn_cache_close" title="grn_cache_close"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></tt></a>.</p>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
</tbody>
|
143
|
+
</table>
|
144
|
+
</dd></dl>
|
145
|
+
|
146
|
+
<dl class="function">
|
147
|
+
<dt id="grn_cache_close">
|
148
|
+
grn_rc <tt class="descname">grn_cache_close</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#grn_cache_close" title="この定義へのパーマリンク">¶</a></dt>
|
149
|
+
<dd><p>Frees resourses of the <tt class="docutils literal"><span class="pre">cache</span></tt>.</p>
|
150
|
+
<table class="docutils field-list" frame="void" rules="none">
|
151
|
+
<col class="field-name" />
|
152
|
+
<col class="field-body" />
|
153
|
+
<tbody valign="top">
|
154
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
155
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
156
|
+
<li><strong>cache</strong> -- The cache object to be freed.</li>
|
157
|
+
</ul>
|
158
|
+
</td>
|
159
|
+
</tr>
|
160
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 、エラー時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 以外。</p>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
</tbody>
|
164
|
+
</table>
|
165
|
+
</dd></dl>
|
166
|
+
|
167
|
+
<dl class="function">
|
168
|
+
<dt id="grn_cache_current_set">
|
169
|
+
grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#grn_cache_current_set" title="この定義へのパーマリンク">¶</a></dt>
|
170
|
+
<dd><p><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクトを設定します。</p>
|
171
|
+
<table class="docutils field-list" frame="void" rules="none">
|
172
|
+
<col class="field-name" />
|
173
|
+
<col class="field-body" />
|
174
|
+
<tbody valign="top">
|
175
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
176
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
177
|
+
<li><strong>cache</strong> -- <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクト。</li>
|
178
|
+
</ul>
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 、エラー時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 以外。</p>
|
182
|
+
</td>
|
183
|
+
</tr>
|
184
|
+
</tbody>
|
185
|
+
</table>
|
186
|
+
</dd></dl>
|
187
|
+
|
188
|
+
<dl class="function">
|
189
|
+
<dt id="grn_cache_current_get">
|
190
|
+
<a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a> *<tt class="descname">grn_cache_current_get</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em><big>)</big><a class="headerlink" href="#grn_cache_current_get" title="この定義へのパーマリンク">¶</a></dt>
|
191
|
+
<dd><p><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクトを取得します。</p>
|
192
|
+
<table class="docutils field-list" frame="void" rules="none">
|
193
|
+
<col class="field-name" />
|
194
|
+
<col class="field-body" />
|
195
|
+
<tbody valign="top">
|
196
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
197
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
198
|
+
</ul>
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last"><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクト。 <tt class="docutils literal"><span class="pre">NULL</span></tt> のこともあります。</p>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
</tbody>
|
205
|
+
</table>
|
206
|
+
</dd></dl>
|
207
|
+
|
208
|
+
<dl class="function">
|
209
|
+
<dt id="grn_cache_set_max_n_entries">
|
210
|
+
grn_rc <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a><em> *cache</em>, unsigned int<em> n</em><big>)</big><a class="headerlink" href="#grn_cache_set_max_n_entries" title="この定義へのパーマリンク">¶</a></dt>
|
211
|
+
<dd><p>キャッシュオブジェクトのエントリの最大数を設定します。</p>
|
212
|
+
<table class="docutils field-list" frame="void" rules="none">
|
213
|
+
<col class="field-name" />
|
214
|
+
<col class="field-body" />
|
215
|
+
<tbody valign="top">
|
216
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
217
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
218
|
+
<li><strong>cache</strong> -- 変更するキャッシュオブジェクト。</li>
|
219
|
+
<li><strong>n</strong> -- The new max number of entries of the cache object.</li>
|
220
|
+
</ul>
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 、エラー時は <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> 以外。</p>
|
224
|
+
</td>
|
225
|
+
</tr>
|
226
|
+
</tbody>
|
227
|
+
</table>
|
228
|
+
</dd></dl>
|
229
|
+
|
230
|
+
<dl class="function">
|
231
|
+
<dt id="grn_cache_get_max_n_entries">
|
232
|
+
unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#grn_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#grn_cache_get_max_n_entries" title="この定義へのパーマリンク">¶</a></dt>
|
233
|
+
<dd><p>キャッシュオブジェクトのエントリの最大数を取得します。</p>
|
234
|
+
<table class="docutils field-list" frame="void" rules="none">
|
235
|
+
<col class="field-name" />
|
236
|
+
<col class="field-body" />
|
237
|
+
<tbody valign="top">
|
238
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
239
|
+
<li><strong>ctx</strong> -- その時点のコンテキスト。</li>
|
240
|
+
<li><strong>cache</strong> -- The target cache object.</li>
|
241
|
+
</ul>
|
242
|
+
</td>
|
243
|
+
</tr>
|
244
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">The max number of entries of the cache object.</p>
|
245
|
+
</td>
|
246
|
+
</tr>
|
247
|
+
</tbody>
|
248
|
+
</table>
|
249
|
+
</dd></dl>
|
250
|
+
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
</div>
|
258
|
+
<div class="sphinxsidebar">
|
259
|
+
<div class="sphinxsidebarwrapper">
|
260
|
+
<h3><a href="../../index.html">目次</a></h3>
|
261
|
+
<ul>
|
262
|
+
<li><a class="reference internal" href="#">8.14.1. <tt class="docutils literal"><span class="pre">grn_cache</span></tt></a><ul>
|
263
|
+
<li><a class="reference internal" href="#summary">8.14.1.1. 概要</a></li>
|
264
|
+
<li><a class="reference internal" href="#example">8.14.1.2. 実行例:</a></li>
|
265
|
+
<li><a class="reference internal" href="#reference">8.14.1.3. リファレンス</a></li>
|
266
|
+
</ul>
|
267
|
+
</li>
|
268
|
+
</ul>
|
269
|
+
|
270
|
+
<h4>前のトピックへ</h4>
|
271
|
+
<p class="topless"><a href="../api.html"
|
272
|
+
title="前の章へ">8.14. API</a></p>
|
273
|
+
<h4>次のトピックへ</h4>
|
274
|
+
<p class="topless"><a href="grn_column.html"
|
275
|
+
title="次の章へ">8.14.2. <tt class="docutils literal"><span class="pre">grn_column</span></tt></a></p>
|
276
|
+
<h3>このページ</h3>
|
277
|
+
<ul class="this-page-menu">
|
278
|
+
<li><a href="../../_sources/reference/api/grn_cache.txt"
|
279
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
280
|
+
</ul>
|
281
|
+
<div id="searchbox" style="display: none">
|
282
|
+
<h3>クイック検索</h3>
|
283
|
+
<form class="search" action="../../search.html" method="get">
|
284
|
+
<input type="text" name="q" />
|
285
|
+
<input type="submit" value="検索" />
|
286
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
287
|
+
<input type="hidden" name="area" value="default" />
|
288
|
+
</form>
|
289
|
+
<p class="searchtip" style="font-size: 90%">
|
290
|
+
モジュール、クラス、または関数名を入力してください
|
291
|
+
</p>
|
292
|
+
</div>
|
293
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
294
|
+
</div>
|
295
|
+
</div>
|
296
|
+
<div class="clearer"></div>
|
297
|
+
</div>
|
298
|
+
<div class="related">
|
299
|
+
<h3>ナビゲーション</h3>
|
300
|
+
<ul>
|
301
|
+
<li class="right" style="margin-right: 10px">
|
302
|
+
<a href="../../genindex.html" title="総合索引"
|
303
|
+
>索引</a></li>
|
304
|
+
<li class="right" >
|
305
|
+
<a href="grn_column.html" title="8.14.2. grn_column"
|
306
|
+
>次へ</a> |</li>
|
307
|
+
<li class="right" >
|
308
|
+
<a href="../api.html" title="8.14. API"
|
309
|
+
>前へ</a> |</li>
|
310
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
311
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
312
|
+
<li><a href="../api.html" >8.14. API</a> »</li>
|
313
|
+
</ul>
|
314
|
+
</div>
|
315
|
+
<div class="footer">
|
316
|
+
© Copyright 2009-2013, Brazil, Inc.
|
317
|
+
</div>
|
318
|
+
</body>
|
319
|
+
</html>
|
@@ -0,0 +1,285 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
+
<head>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
|
10
|
+
<title>8.14.2. grn_column — groonga v3.0.8ドキュメント</title>
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '3.0.8',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
+
<link rel="top" title="groonga v3.0.8ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="8.14. API" href="../api.html" />
|
31
|
+
<link rel="next" title="8.14.3. grn_command_version" href="grn_command_version.html" />
|
32
|
+
<link rel="prev" title="8.14.1. grn_cache" href="grn_cache.html" />
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
<div class="header">
|
36
|
+
<h1 class="title">
|
37
|
+
<a id="top-link" href="../../index.html">
|
38
|
+
<span class="project">groonga</span>
|
39
|
+
<span class="separator">-</span>
|
40
|
+
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
41
|
+
</a>
|
42
|
+
</h1>
|
43
|
+
|
44
|
+
<div class="other-language-links">
|
45
|
+
<ul>
|
46
|
+
<li><a href="../../../../en/html/reference/api/grn_column.html"><img src="../../_static/us.png" alt="English">English page</a></li>
|
47
|
+
</ul>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div class="related">
|
53
|
+
<h3>ナビゲーション</h3>
|
54
|
+
<ul>
|
55
|
+
<li class="right" style="margin-right: 10px">
|
56
|
+
<a href="../../genindex.html" title="総合索引"
|
57
|
+
accesskey="I">索引</a></li>
|
58
|
+
<li class="right" >
|
59
|
+
<a href="grn_command_version.html" title="8.14.3. grn_command_version"
|
60
|
+
accesskey="N">次へ</a> |</li>
|
61
|
+
<li class="right" >
|
62
|
+
<a href="grn_cache.html" title="8.14.1. grn_cache"
|
63
|
+
accesskey="P">前へ</a> |</li>
|
64
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../api.html" accesskey="U">8.14. API</a> »</li>
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="document">
|
71
|
+
<div class="documentwrapper">
|
72
|
+
<div class="bodywrapper">
|
73
|
+
<div class="body">
|
74
|
+
|
75
|
+
<div class="section" id="grn-column">
|
76
|
+
<h1>8.14.2. <tt class="docutils literal"><span class="pre">grn_column</span></tt><a class="headerlink" href="#grn-column" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
|
+
<div class="section" id="summary">
|
78
|
+
<h2>8.14.2.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
+
<p>TODO...</p>
|
80
|
+
</div>
|
81
|
+
<div class="section" id="example">
|
82
|
+
<h2>8.14.2.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
|
+
<p>TODO...</p>
|
84
|
+
</div>
|
85
|
+
<div class="section" id="reference">
|
86
|
+
<h2>8.14.2.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
|
+
<dl class="function">
|
88
|
+
<dt id="grn_column_create">
|
89
|
+
<a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_column_create</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *table</em>, const char<em> *name</em>, unsigned int<em> name_size</em>, const char<em> *path</em>, grn_obj_flags<em> flags</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *type</em><big>)</big><a class="headerlink" href="#grn_column_create" title="この定義へのパーマリンク">¶</a></dt>
|
90
|
+
<dd><p>tableに新たなカラムを定義します。nameは省略できません。一つのtableに同一のnameのcolumnを複数定義することはできません。</p>
|
91
|
+
<table class="docutils field-list" frame="void" rules="none">
|
92
|
+
<col class="field-name" />
|
93
|
+
<col class="field-body" />
|
94
|
+
<tbody valign="top">
|
95
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
96
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
97
|
+
<li><strong>name</strong> -- カラム名を指定します。</li>
|
98
|
+
<li><strong>name_size</strong> -- nameパラメータのsize(byte)を指定します。</li>
|
99
|
+
<li><strong>path</strong> -- カラムを格納するファイルパスを指定します。
|
100
|
+
flagsに <tt class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></tt> が指定されている場合のみ有効です。
|
101
|
+
NULLなら自動的にファイルパスが付与されます。</li>
|
102
|
+
<li><strong>flags</strong> -- <p><tt class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></tt> を指定すると永続columnとなります。</p>
|
103
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> を指定すると転置インデックスとなります。</p>
|
104
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_SCALAR</span></tt> を指定するとスカラ値(単独の値)を格納します。</p>
|
105
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_VECTOR</span></tt> を指定すると値の配列を格納します。</p>
|
106
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_ZLIB</span></tt> を指定すると値をzlib圧縮して格納します。</p>
|
107
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_LZO</span></tt> を指定すると値をlzo圧縮して格納します。</p>
|
108
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_SECTION</span></tt> を指定すると、転置索引にsection(段落情報)を合わせて格納します。</p>
|
109
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_WEIGHT</span></tt> を指定すると、転置索引にweight情報を合わせて格納します。</p>
|
110
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_POSITION</span></tt> を指定すると、転置索引に出現位置情報を合わせて格納します。</p>
|
111
|
+
</li>
|
112
|
+
<li><strong>type</strong> -- カラム値の型を指定します。定義済みのtypeあるいはtableを指定できます。</li>
|
113
|
+
</ul>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
</tbody>
|
117
|
+
</table>
|
118
|
+
</dd></dl>
|
119
|
+
|
120
|
+
<dl class="function">
|
121
|
+
<dt id="grn_column_index_update">
|
122
|
+
grn_rc <tt class="descname">grn_column_index_update</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, grn_id<em> id</em>, unsigned int<em> section</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *oldvalue</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *newvalue</em><big>)</big><a class="headerlink" href="#grn_column_index_update" title="この定義へのパーマリンク">¶</a></dt>
|
123
|
+
<dd><p>oldvalue, newvalueの値から得られるキーに対応するcolumnの値の中の、id, sectionに対応するエントリを更新します。columnは <tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> 型のカラムでなければなりません。</p>
|
124
|
+
<table class="docutils field-list" frame="void" rules="none">
|
125
|
+
<col class="field-name" />
|
126
|
+
<col class="field-body" />
|
127
|
+
<tbody valign="top">
|
128
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
129
|
+
<li><strong>column</strong> -- 対象columnを指定します。</li>
|
130
|
+
<li><strong>id</strong> -- 対象レコードのIDを指定します。</li>
|
131
|
+
<li><strong>section</strong> -- 対象レコードのセクション番号を指定します。</li>
|
132
|
+
<li><strong>oldvalue</strong> -- 更新前の値を指定します。</li>
|
133
|
+
<li><strong>newvalue</strong> -- 更新後の値を指定します。</li>
|
134
|
+
</ul>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
</tbody>
|
138
|
+
</table>
|
139
|
+
</dd></dl>
|
140
|
+
|
141
|
+
<dl class="function">
|
142
|
+
<dt id="grn_column_table">
|
143
|
+
<a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_column_table</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *column</em><big>)</big><a class="headerlink" href="#grn_column_table" title="この定義へのパーマリンク">¶</a></dt>
|
144
|
+
<dd><p>columnが属するtableを返します。</p>
|
145
|
+
<table class="docutils field-list" frame="void" rules="none">
|
146
|
+
<col class="field-name" />
|
147
|
+
<col class="field-body" />
|
148
|
+
<tbody valign="top">
|
149
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
150
|
+
<li><strong>column</strong> -- 対象columnを指定します。</li>
|
151
|
+
</ul>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
</tbody>
|
155
|
+
</table>
|
156
|
+
</dd></dl>
|
157
|
+
|
158
|
+
<dl class="function">
|
159
|
+
<dt id="grn_column_rename">
|
160
|
+
grn_rc <tt class="descname">grn_column_rename</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, const char<em> *name</em>, unsigned int<em> name_size</em><big>)</big><a class="headerlink" href="#grn_column_rename" title="この定義へのパーマリンク">¶</a></dt>
|
161
|
+
<dd><p>ctxが使用するdbにおいてcolumnに対応する名前をnameに更新します。columnは永続オブジェクトでなければいけません。</p>
|
162
|
+
<table class="docutils field-list" frame="void" rules="none">
|
163
|
+
<col class="field-name" />
|
164
|
+
<col class="field-body" />
|
165
|
+
<tbody valign="top">
|
166
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
167
|
+
<li><strong>column</strong> -- 対象columnを指定します。</li>
|
168
|
+
<li><strong>name</strong> -- 新しい名前を指定します。</li>
|
169
|
+
<li><strong>name_size</strong> -- nameパラメータのsize(byte)を指定します。</li>
|
170
|
+
</ul>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
</tbody>
|
174
|
+
</table>
|
175
|
+
</dd></dl>
|
176
|
+
|
177
|
+
<dl class="function">
|
178
|
+
<dt id="grn_column_name">
|
179
|
+
int <tt class="descname">grn_column_name</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, char<em> *namebuf</em>, int<em> buf_size</em><big>)</big><a class="headerlink" href="#grn_column_name" title="この定義へのパーマリンク">¶</a></dt>
|
180
|
+
<dd><p>カラムobjの名前の長さを返します。buf_sizeの長さが名前の長さ以上であった場合は、namebufに該当する名前をコピーします。</p>
|
181
|
+
<table class="docutils field-list" frame="void" rules="none">
|
182
|
+
<col class="field-name" />
|
183
|
+
<col class="field-body" />
|
184
|
+
<tbody valign="top">
|
185
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
186
|
+
<li><strong>obj</strong> -- 対象objectを指定します。</li>
|
187
|
+
<li><strong>namebuf</strong> -- 名前を格納するバッファ(呼出側で準備する)を指定します。</li>
|
188
|
+
<li><strong>buf_size</strong> -- namebufのサイズ(byte長)を指定します。</li>
|
189
|
+
</ul>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
</tbody>
|
193
|
+
</table>
|
194
|
+
</dd></dl>
|
195
|
+
|
196
|
+
<dl class="function">
|
197
|
+
<dt id="grn_column_index">
|
198
|
+
int <tt class="descname">grn_column_index</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, grn_operator<em> op</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> **indexbuf</em>, int<em> buf_size</em>, int<em> *section</em><big>)</big><a class="headerlink" href="#grn_column_index" title="この定義へのパーマリンク">¶</a></dt>
|
199
|
+
<dd><p>columnに張られているindexのうち、opの操作を実行可能なものの数を返します。またそれらのidを、buf_sizeに指定された個数を上限としてindexbufに返します。</p>
|
200
|
+
<table class="docutils field-list" frame="void" rules="none">
|
201
|
+
<col class="field-name" />
|
202
|
+
<col class="field-body" />
|
203
|
+
<tbody valign="top">
|
204
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
205
|
+
<li><strong>column</strong> -- 対象のcolumnを指定します。</li>
|
206
|
+
<li><strong>op</strong> -- indexで実行したい操作を指定します。</li>
|
207
|
+
<li><strong>indexbuf</strong> -- indexを格納するバッファ(呼出側で準備する)を指定します。</li>
|
208
|
+
<li><strong>buf_size</strong> -- indexbufのサイズ(byte長)を指定します。</li>
|
209
|
+
<li><strong>section</strong> -- section番号を格納するint長バッファ(呼出側で準備する)を指定します。</li>
|
210
|
+
</ul>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
</tbody>
|
214
|
+
</table>
|
215
|
+
</dd></dl>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
<div class="sphinxsidebar">
|
225
|
+
<div class="sphinxsidebarwrapper">
|
226
|
+
<h3><a href="../../index.html">目次</a></h3>
|
227
|
+
<ul>
|
228
|
+
<li><a class="reference internal" href="#">8.14.2. <tt class="docutils literal"><span class="pre">grn_column</span></tt></a><ul>
|
229
|
+
<li><a class="reference internal" href="#summary">8.14.2.1. 概要</a></li>
|
230
|
+
<li><a class="reference internal" href="#example">8.14.2.2. 実行例:</a></li>
|
231
|
+
<li><a class="reference internal" href="#reference">8.14.2.3. リファレンス</a></li>
|
232
|
+
</ul>
|
233
|
+
</li>
|
234
|
+
</ul>
|
235
|
+
|
236
|
+
<h4>前のトピックへ</h4>
|
237
|
+
<p class="topless"><a href="grn_cache.html"
|
238
|
+
title="前の章へ">8.14.1. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">grn_cache</span></tt></a></p>
|
239
|
+
<h4>次のトピックへ</h4>
|
240
|
+
<p class="topless"><a href="grn_command_version.html"
|
241
|
+
title="次の章へ">8.14.3. <tt class="docutils literal"><span class="pre">grn_command_version</span></tt></a></p>
|
242
|
+
<h3>このページ</h3>
|
243
|
+
<ul class="this-page-menu">
|
244
|
+
<li><a href="../../_sources/reference/api/grn_column.txt"
|
245
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
246
|
+
</ul>
|
247
|
+
<div id="searchbox" style="display: none">
|
248
|
+
<h3>クイック検索</h3>
|
249
|
+
<form class="search" action="../../search.html" method="get">
|
250
|
+
<input type="text" name="q" />
|
251
|
+
<input type="submit" value="検索" />
|
252
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
253
|
+
<input type="hidden" name="area" value="default" />
|
254
|
+
</form>
|
255
|
+
<p class="searchtip" style="font-size: 90%">
|
256
|
+
モジュール、クラス、または関数名を入力してください
|
257
|
+
</p>
|
258
|
+
</div>
|
259
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
<div class="clearer"></div>
|
263
|
+
</div>
|
264
|
+
<div class="related">
|
265
|
+
<h3>ナビゲーション</h3>
|
266
|
+
<ul>
|
267
|
+
<li class="right" style="margin-right: 10px">
|
268
|
+
<a href="../../genindex.html" title="総合索引"
|
269
|
+
>索引</a></li>
|
270
|
+
<li class="right" >
|
271
|
+
<a href="grn_command_version.html" title="8.14.3. grn_command_version"
|
272
|
+
>次へ</a> |</li>
|
273
|
+
<li class="right" >
|
274
|
+
<a href="grn_cache.html" title="8.14.1. grn_cache"
|
275
|
+
>前へ</a> |</li>
|
276
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
277
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
278
|
+
<li><a href="../api.html" >8.14. API</a> »</li>
|
279
|
+
</ul>
|
280
|
+
</div>
|
281
|
+
<div class="footer">
|
282
|
+
© Copyright 2009-2013, Brazil, Inc.
|
283
|
+
</div>
|
284
|
+
</body>
|
285
|
+
</html>
|