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,228 @@
|
|
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.15. grn_proc — 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.16. grn_search" href="grn_search.html" />
|
32
|
+
<link rel="prev" title="8.14.14. grn_obj" href="grn_obj.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_proc.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_search.html" title="8.14.16. grn_search"
|
60
|
+
accesskey="N">次へ</a> |</li>
|
61
|
+
<li class="right" >
|
62
|
+
<a href="grn_obj.html" title="8.14.14. grn_obj"
|
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-proc">
|
76
|
+
<h1>8.14.15. <tt class="docutils literal"><span class="pre">grn_proc</span></tt><a class="headerlink" href="#grn-proc" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
|
+
<div class="section" id="summary">
|
78
|
+
<h2>8.14.15.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.15.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.15.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
|
+
<dl class="type">
|
88
|
+
<dt id="grn_proc_type">
|
89
|
+
<tt class="descname">grn_proc_type</tt><a class="headerlink" href="#grn_proc_type" title="この定義へのパーマリンク">¶</a></dt>
|
90
|
+
<dd><p>TODO...</p>
|
91
|
+
</dd></dl>
|
92
|
+
|
93
|
+
<dl class="type">
|
94
|
+
<dt id="grn_proc_func">
|
95
|
+
<tt class="descname">grn_proc_func</tt><a class="headerlink" href="#grn_proc_func" title="この定義へのパーマリンク">¶</a></dt>
|
96
|
+
<dd><p>TODO...</p>
|
97
|
+
</dd></dl>
|
98
|
+
|
99
|
+
<dl class="function">
|
100
|
+
<dt id="grn_proc_create">
|
101
|
+
<a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_proc_create</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, const char<em> *name</em>, int<em> name_size</em>, <a class="reference internal" href="#grn_proc_type" title="grn_proc_type">grn_proc_type</a><em> type</em>, <a class="reference internal" href="#grn_proc_func" title="grn_proc_func">grn_proc_func</a><em> *init</em>, <a class="reference internal" href="#grn_proc_func" title="grn_proc_func">grn_proc_func</a><em> *next</em>, <a class="reference internal" href="#grn_proc_func" title="grn_proc_func">grn_proc_func</a><em> *fin</em>, unsigned int<em> nvars</em>, grn_expr_var<em> *vars</em><big>)</big><a class="headerlink" href="#grn_proc_create" title="この定義へのパーマリンク">¶</a></dt>
|
102
|
+
<dd><p>nameに対応する新たなproc(手続き)をctxが使用するdbに定義します。</p>
|
103
|
+
<table class="docutils field-list" frame="void" rules="none">
|
104
|
+
<col class="field-name" />
|
105
|
+
<col class="field-body" />
|
106
|
+
<tbody valign="top">
|
107
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
108
|
+
<li><strong>name</strong> -- 作成するprocの名前を指定します。</li>
|
109
|
+
<li><strong>name_size</strong> -- The number of bytes of name parameter. If negative value is specified, name parameter is assumed that NULL-terminated string.</li>
|
110
|
+
<li><strong>type</strong> -- procの種類を指定します。</li>
|
111
|
+
<li><strong>init</strong> -- 初期化関数のポインタを指定します。</li>
|
112
|
+
<li><strong>next</strong> -- 実処理関数のポインタを指定します。</li>
|
113
|
+
<li><strong>fin</strong> -- 終了関数のポインタを指定します。</li>
|
114
|
+
<li><strong>nvars</strong> -- procで使用する変数の数を指定します。</li>
|
115
|
+
<li><strong>vars</strong> -- procで使用する変数の定義を指定します。( <tt class="xref c c-type docutils literal"><span class="pre">grn_expr_var</span></tt> 構造体の配列)</li>
|
116
|
+
</ul>
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
</tbody>
|
120
|
+
</table>
|
121
|
+
</dd></dl>
|
122
|
+
|
123
|
+
<dl class="function">
|
124
|
+
<dt id="grn_proc_get_info">
|
125
|
+
<a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_proc_get_info</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_user_data.html#grn_user_data" title="grn_user_data">grn_user_data</a><em> *user_data</em>, grn_expr_var<em> **vars</em>, unsigned int<em> *nvars</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> **caller</em><big>)</big><a class="headerlink" href="#grn_proc_get_info" title="この定義へのパーマリンク">¶</a></dt>
|
126
|
+
<dd><p>user_dataをキーとして、現在実行中の <a class="reference internal" href="#grn_proc_func" title="grn_proc_func"><tt class="xref c c-type docutils literal"><span class="pre">grn_proc_func</span></tt></a> 関数および定義されている変数( <tt class="xref c c-type docutils literal"><span class="pre">grn_expr_var</span></tt> )の配列とその数を取得します。</p>
|
127
|
+
<table class="docutils field-list" frame="void" rules="none">
|
128
|
+
<col class="field-name" />
|
129
|
+
<col class="field-body" />
|
130
|
+
<tbody valign="top">
|
131
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
132
|
+
<li><strong>user_data</strong> -- <a class="reference internal" href="#grn_proc_func" title="grn_proc_func"><tt class="xref c c-type docutils literal"><span class="pre">grn_proc_func</span></tt></a> に渡されたuser_dataを指定します。</li>
|
133
|
+
<li><strong>nvars</strong> -- 変数の数を取得します。</li>
|
134
|
+
</ul>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
</tbody>
|
138
|
+
</table>
|
139
|
+
</dd></dl>
|
140
|
+
|
141
|
+
<dl class="function">
|
142
|
+
<dt id="grn_obj_set_finalizer">
|
143
|
+
grn_rc <tt class="descname">grn_obj_set_finalizer</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>, <a class="reference internal" href="#grn_proc_func" title="grn_proc_func">grn_proc_func</a><em> *func</em><big>)</big><a class="headerlink" href="#grn_obj_set_finalizer" title="この定義へのパーマリンク">¶</a></dt>
|
144
|
+
<dd><p>objectを破棄するときに呼ばれる関数を設定します。</p>
|
145
|
+
<p>table, column, proc, exprのみ設定可能です。</p>
|
146
|
+
<table class="docutils field-list" frame="void" rules="none">
|
147
|
+
<col class="field-name" />
|
148
|
+
<col class="field-body" />
|
149
|
+
<tbody valign="top">
|
150
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
151
|
+
<li><strong>obj</strong> -- 対象objectを指定します。</li>
|
152
|
+
<li><strong>func</strong> -- objectを破棄するときに呼ばれる関数を指定します。</li>
|
153
|
+
</ul>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
</tbody>
|
157
|
+
</table>
|
158
|
+
</dd></dl>
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
<div class="sphinxsidebar">
|
168
|
+
<div class="sphinxsidebarwrapper">
|
169
|
+
<h3><a href="../../index.html">目次</a></h3>
|
170
|
+
<ul>
|
171
|
+
<li><a class="reference internal" href="#">8.14.15. <tt class="docutils literal"><span class="pre">grn_proc</span></tt></a><ul>
|
172
|
+
<li><a class="reference internal" href="#summary">8.14.15.1. 概要</a></li>
|
173
|
+
<li><a class="reference internal" href="#example">8.14.15.2. 実行例:</a></li>
|
174
|
+
<li><a class="reference internal" href="#reference">8.14.15.3. リファレンス</a></li>
|
175
|
+
</ul>
|
176
|
+
</li>
|
177
|
+
</ul>
|
178
|
+
|
179
|
+
<h4>前のトピックへ</h4>
|
180
|
+
<p class="topless"><a href="grn_obj.html"
|
181
|
+
title="前の章へ">8.14.14. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">grn_obj</span></tt></a></p>
|
182
|
+
<h4>次のトピックへ</h4>
|
183
|
+
<p class="topless"><a href="grn_search.html"
|
184
|
+
title="次の章へ">8.14.16. <tt class="docutils literal"><span class="pre">grn_search</span></tt></a></p>
|
185
|
+
<h3>このページ</h3>
|
186
|
+
<ul class="this-page-menu">
|
187
|
+
<li><a href="../../_sources/reference/api/grn_proc.txt"
|
188
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
189
|
+
</ul>
|
190
|
+
<div id="searchbox" style="display: none">
|
191
|
+
<h3>クイック検索</h3>
|
192
|
+
<form class="search" action="../../search.html" method="get">
|
193
|
+
<input type="text" name="q" />
|
194
|
+
<input type="submit" value="検索" />
|
195
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
196
|
+
<input type="hidden" name="area" value="default" />
|
197
|
+
</form>
|
198
|
+
<p class="searchtip" style="font-size: 90%">
|
199
|
+
モジュール、クラス、または関数名を入力してください
|
200
|
+
</p>
|
201
|
+
</div>
|
202
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
<div class="clearer"></div>
|
206
|
+
</div>
|
207
|
+
<div class="related">
|
208
|
+
<h3>ナビゲーション</h3>
|
209
|
+
<ul>
|
210
|
+
<li class="right" style="margin-right: 10px">
|
211
|
+
<a href="../../genindex.html" title="総合索引"
|
212
|
+
>索引</a></li>
|
213
|
+
<li class="right" >
|
214
|
+
<a href="grn_search.html" title="8.14.16. grn_search"
|
215
|
+
>次へ</a> |</li>
|
216
|
+
<li class="right" >
|
217
|
+
<a href="grn_obj.html" title="8.14.14. grn_obj"
|
218
|
+
>前へ</a> |</li>
|
219
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
220
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
221
|
+
<li><a href="../api.html" >8.14. API</a> »</li>
|
222
|
+
</ul>
|
223
|
+
</div>
|
224
|
+
<div class="footer">
|
225
|
+
© Copyright 2009-2013, Brazil, Inc.
|
226
|
+
</div>
|
227
|
+
</body>
|
228
|
+
</html>
|
@@ -0,0 +1,181 @@
|
|
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.16. grn_search — 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.17. grn_table" href="grn_table.html" />
|
32
|
+
<link rel="prev" title="8.14.15. grn_proc" href="grn_proc.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_search.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_table.html" title="8.14.17. grn_table"
|
60
|
+
accesskey="N">次へ</a> |</li>
|
61
|
+
<li class="right" >
|
62
|
+
<a href="grn_proc.html" title="8.14.15. grn_proc"
|
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-search">
|
76
|
+
<h1>8.14.16. <tt class="docutils literal"><span class="pre">grn_search</span></tt><a class="headerlink" href="#grn-search" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
|
+
<div class="section" id="summary">
|
78
|
+
<h2>8.14.16.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.16.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.16.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
|
+
<dl class="type">
|
88
|
+
<dt id="grn_search_optarg">
|
89
|
+
<tt class="descname">grn_search_optarg</tt><a class="headerlink" href="#grn_search_optarg" title="この定義へのパーマリンク">¶</a></dt>
|
90
|
+
<dd></dd></dl>
|
91
|
+
|
92
|
+
<dl class="function">
|
93
|
+
<dt id="grn_obj_search">
|
94
|
+
grn_rc <tt class="descname">grn_obj_search</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>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *query</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *res</em>, grn_operator<em> op</em>, <a class="reference internal" href="#grn_search_optarg" title="grn_search_optarg">grn_search_optarg</a><em> *optarg</em><big>)</big><a class="headerlink" href="#grn_obj_search" title="この定義へのパーマリンク">¶</a></dt>
|
95
|
+
<dd><p>objを対象としてqueryにマッチするレコードを検索し、opの指定に従ってresにレコードを追加あるいは削除します。</p>
|
96
|
+
<table class="docutils field-list" frame="void" rules="none">
|
97
|
+
<col class="field-name" />
|
98
|
+
<col class="field-body" />
|
99
|
+
<tbody valign="top">
|
100
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
101
|
+
<li><strong>obj</strong> -- 検索対象のobjectを指定します。</li>
|
102
|
+
<li><strong>query</strong> -- 検索クエリを指定します。</li>
|
103
|
+
<li><strong>res</strong> -- 検索結果を格納するテーブルを指定します。</li>
|
104
|
+
<li><strong>op</strong> -- <tt class="docutils literal"><span class="pre">GRN_OP_OR</span></tt>, <tt class="docutils literal"><span class="pre">GRN_OP_AND</span></tt>, <tt class="docutils literal"><span class="pre">GRN_OP_AND_NOT</span></tt>, <tt class="docutils literal"><span class="pre">GRN_OP_ADJUST</span></tt> のいずれかを指定します。</li>
|
105
|
+
<li><strong>optarg</strong> -- 詳細検索条件を指定します。</li>
|
106
|
+
</ul>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
</tbody>
|
110
|
+
</table>
|
111
|
+
</dd></dl>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div class="sphinxsidebar">
|
121
|
+
<div class="sphinxsidebarwrapper">
|
122
|
+
<h3><a href="../../index.html">目次</a></h3>
|
123
|
+
<ul>
|
124
|
+
<li><a class="reference internal" href="#">8.14.16. <tt class="docutils literal"><span class="pre">grn_search</span></tt></a><ul>
|
125
|
+
<li><a class="reference internal" href="#summary">8.14.16.1. 概要</a></li>
|
126
|
+
<li><a class="reference internal" href="#example">8.14.16.2. 実行例:</a></li>
|
127
|
+
<li><a class="reference internal" href="#reference">8.14.16.3. リファレンス</a></li>
|
128
|
+
</ul>
|
129
|
+
</li>
|
130
|
+
</ul>
|
131
|
+
|
132
|
+
<h4>前のトピックへ</h4>
|
133
|
+
<p class="topless"><a href="grn_proc.html"
|
134
|
+
title="前の章へ">8.14.15. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">grn_proc</span></tt></a></p>
|
135
|
+
<h4>次のトピックへ</h4>
|
136
|
+
<p class="topless"><a href="grn_table.html"
|
137
|
+
title="次の章へ">8.14.17. <tt class="docutils literal"><span class="pre">grn_table</span></tt></a></p>
|
138
|
+
<h3>このページ</h3>
|
139
|
+
<ul class="this-page-menu">
|
140
|
+
<li><a href="../../_sources/reference/api/grn_search.txt"
|
141
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
142
|
+
</ul>
|
143
|
+
<div id="searchbox" style="display: none">
|
144
|
+
<h3>クイック検索</h3>
|
145
|
+
<form class="search" action="../../search.html" method="get">
|
146
|
+
<input type="text" name="q" />
|
147
|
+
<input type="submit" value="検索" />
|
148
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
149
|
+
<input type="hidden" name="area" value="default" />
|
150
|
+
</form>
|
151
|
+
<p class="searchtip" style="font-size: 90%">
|
152
|
+
モジュール、クラス、または関数名を入力してください
|
153
|
+
</p>
|
154
|
+
</div>
|
155
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
<div class="clearer"></div>
|
159
|
+
</div>
|
160
|
+
<div class="related">
|
161
|
+
<h3>ナビゲーション</h3>
|
162
|
+
<ul>
|
163
|
+
<li class="right" style="margin-right: 10px">
|
164
|
+
<a href="../../genindex.html" title="総合索引"
|
165
|
+
>索引</a></li>
|
166
|
+
<li class="right" >
|
167
|
+
<a href="grn_table.html" title="8.14.17. grn_table"
|
168
|
+
>次へ</a> |</li>
|
169
|
+
<li class="right" >
|
170
|
+
<a href="grn_proc.html" title="8.14.15. grn_proc"
|
171
|
+
>前へ</a> |</li>
|
172
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
173
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
174
|
+
<li><a href="../api.html" >8.14. API</a> »</li>
|
175
|
+
</ul>
|
176
|
+
</div>
|
177
|
+
<div class="footer">
|
178
|
+
© Copyright 2009-2013, Brazil, Inc.
|
179
|
+
</div>
|
180
|
+
</body>
|
181
|
+
</html>
|
@@ -0,0 +1,547 @@
|
|
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.17. grn_table — 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.18. grn_table_cursor" href="grn_table_cursor.html" />
|
32
|
+
<link rel="prev" title="8.14.16. grn_search" href="grn_search.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_table.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_table_cursor.html" title="8.14.18. grn_table_cursor"
|
60
|
+
accesskey="N">次へ</a> |</li>
|
61
|
+
<li class="right" >
|
62
|
+
<a href="grn_search.html" title="8.14.16. grn_search"
|
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-table">
|
76
|
+
<h1>8.14.17. <tt class="docutils literal"><span class="pre">grn_table</span></tt><a class="headerlink" href="#grn-table" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
|
+
<div class="section" id="summary">
|
78
|
+
<h2>8.14.17.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.17.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.17.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
|
+
<dl class="function">
|
88
|
+
<dt id="grn_table_create">
|
89
|
+
<a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_table_create</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</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> *key_type</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *value_type</em><big>)</big><a class="headerlink" href="#grn_table_create" title="この定義へのパーマリンク">¶</a></dt>
|
90
|
+
<dd><p>nameパラメータに対応する新たなtableをctxが使用するdbに定義します。</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>name</strong> -- <p>作成するtableの名前を指定します。NULLなら無名tableとなります。</p>
|
97
|
+
<p>persistent dbに対して名前をありのtableを作成するときには、flagsに <tt class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></tt> が指定されていなけれなりません。</p>
|
98
|
+
</li>
|
99
|
+
<li><strong>path</strong> -- 作成するtableのファイルパスを指定します。
|
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> を指定すると永続tableとなります。</p>
|
103
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_TABLE_PAT_KEY</span></tt>, <tt class="docutils literal"><span class="pre">GRN_OBJ_TABLE_HASH_KEY</span></tt>, <tt class="docutils literal"><span class="pre">GRN_OBJ_TABLE_NO_KEY</span></tt> のいずれかを指定します。</p>
|
104
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_KEY_NORMALIZE</span></tt> を指定すると正規化された文字列がkeyとなります。</p>
|
105
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_KEY_WITH_SIS</span></tt> を指定するとkey文字列の全suffixが自動的に登録されます。</p>
|
106
|
+
</li>
|
107
|
+
<li><strong>key_type</strong> -- <p>keyの型を指定します。<tt class="docutils literal"><span class="pre">GRN_OBJ_TABLE_NO_KEY</span></tt> が指定された場合は無効です。
|
108
|
+
既存のtypeあるいはtableを指定できます。</p>
|
109
|
+
<p>key_typeにtable Aを指定してtable Bを作成した場合、Bは必ずAのサブセットとなります。</p>
|
110
|
+
</li>
|
111
|
+
<li><strong>value_type</strong> -- keyに対応する値を格納する領域の型を指定します。
|
112
|
+
tableはcolumnとは別に、keyに対応する値を格納する領域を一つだけ持つことができます。</li>
|
113
|
+
</ul>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
</tbody>
|
117
|
+
</table>
|
118
|
+
</dd></dl>
|
119
|
+
|
120
|
+
<dl class="function">
|
121
|
+
<dt id="grn_table_add">
|
122
|
+
grn_id <tt class="descname">grn_table_add</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 void<em> *key</em>, unsigned int<em> key_size</em>, int<em> *added</em><big>)</big><a class="headerlink" href="#grn_table_add" title="この定義へのパーマリンク">¶</a></dt>
|
123
|
+
<dd><p>keyに対応する新しいrecordをtableに追加し、そのIDを返します。keyに対応するrecordがすでにtableに存在するならば、そのrecordのIDを返します。</p>
|
124
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_TABLE_NO_KEY</span></tt> が指定されたtableでは、key, key_size は無視されます。</p>
|
125
|
+
<table class="docutils field-list" frame="void" rules="none">
|
126
|
+
<col class="field-name" />
|
127
|
+
<col class="field-body" />
|
128
|
+
<tbody valign="top">
|
129
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
130
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
131
|
+
<li><strong>key</strong> -- 検索keyを指定します。</li>
|
132
|
+
<li><strong>added</strong> -- NULL以外の値が指定された場合、新たにrecordが追加された時には1が、既存recordだった時には0がセットされます。</li>
|
133
|
+
</ul>
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
</tbody>
|
137
|
+
</table>
|
138
|
+
</dd></dl>
|
139
|
+
|
140
|
+
<dl class="function">
|
141
|
+
<dt id="grn_table_get">
|
142
|
+
grn_id <tt class="descname">grn_table_get</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 void<em> *key</em>, unsigned int<em> key_size</em><big>)</big><a class="headerlink" href="#grn_table_get" title="この定義へのパーマリンク">¶</a></dt>
|
143
|
+
<dd><p>It finds a record that has key parameter and returns ID of the found record. If table parameter is a database, it finds an object (table, column and so on) that has key parameter and returns ID of the found object.</p>
|
144
|
+
<table class="docutils field-list" frame="void" rules="none">
|
145
|
+
<col class="field-name" />
|
146
|
+
<col class="field-body" />
|
147
|
+
<tbody valign="top">
|
148
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
149
|
+
<li><strong>table</strong> -- The table or database.</li>
|
150
|
+
<li><strong>key</strong> -- The record or object key to be found.</li>
|
151
|
+
</ul>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
</tbody>
|
155
|
+
</table>
|
156
|
+
</dd></dl>
|
157
|
+
|
158
|
+
<dl class="function">
|
159
|
+
<dt id="grn_table_at">
|
160
|
+
grn_id <tt class="descname">grn_table_at</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>, grn_id<em> id</em><big>)</big><a class="headerlink" href="#grn_table_at" title="この定義へのパーマリンク">¶</a></dt>
|
161
|
+
<dd><p>tableにidに対応するrecordが存在するか確認し、存在すれば指定されたIDを、存在しなければ <tt class="docutils literal"><span class="pre">GRN_ID_NIL</span></tt> を返します。</p>
|
162
|
+
<p>注意: 実行には相応のコストがかかるのであまり頻繁に呼ばないようにして下さい。</p>
|
163
|
+
<table class="docutils field-list" frame="void" rules="none">
|
164
|
+
<col class="field-name" />
|
165
|
+
<col class="field-body" />
|
166
|
+
<tbody valign="top">
|
167
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
168
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
169
|
+
<li><strong>id</strong> -- 検索idを指定します。</li>
|
170
|
+
</ul>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
</tbody>
|
174
|
+
</table>
|
175
|
+
</dd></dl>
|
176
|
+
|
177
|
+
<dl class="function">
|
178
|
+
<dt id="grn_table_lcp_search">
|
179
|
+
grn_id <tt class="descname">grn_table_lcp_search</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 void<em> *key</em>, unsigned int<em> key_size</em><big>)</big><a class="headerlink" href="#grn_table_lcp_search" title="この定義へのパーマリンク">¶</a></dt>
|
180
|
+
<dd><p>tableが <tt class="docutils literal"><span class="pre">GRN_TABLE_PAT_KEY</span></tt> もしくは <tt class="docutils literal"><span class="pre">GRN_TABLE_DAT_KEY</span></tt> を指定して作ったtableなら、longest common prefix searchを行い、対応するIDを返します。</p>
|
181
|
+
<p>tableが <tt class="docutils literal"><span class="pre">GRN_TABLE_HASH_KEY</span></tt> を指定して作ったtableなら、完全に一致するキーを検索し、対応するIDを返します。</p>
|
182
|
+
<table class="docutils field-list" frame="void" rules="none">
|
183
|
+
<col class="field-name" />
|
184
|
+
<col class="field-body" />
|
185
|
+
<tbody valign="top">
|
186
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
187
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
188
|
+
<li><strong>key</strong> -- 検索keyを指定します。</li>
|
189
|
+
</ul>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
</tbody>
|
193
|
+
</table>
|
194
|
+
</dd></dl>
|
195
|
+
|
196
|
+
<dl class="function">
|
197
|
+
<dt id="grn_table_get_key">
|
198
|
+
int <tt class="descname">grn_table_get_key</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>, grn_id<em> id</em>, void<em> *keybuf</em>, int<em> buf_size</em><big>)</big><a class="headerlink" href="#grn_table_get_key" title="この定義へのパーマリンク">¶</a></dt>
|
199
|
+
<dd><p>tableのIDに対応するレコードのkeyを取得します。</p>
|
200
|
+
<p>対応するレコードが存在する場合はkey長を返します。見つからない場合は0を返します。対応するキーの検索に成功し、またbuf_sizeの長さがkey長以上であった場合は、keybufに該当するkeyをコピーします。</p>
|
201
|
+
<table class="docutils field-list" frame="void" rules="none">
|
202
|
+
<col class="field-name" />
|
203
|
+
<col class="field-body" />
|
204
|
+
<tbody valign="top">
|
205
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
206
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
207
|
+
<li><strong>id</strong> -- 対象レコードのIDを指定します。</li>
|
208
|
+
<li><strong>keybuf</strong> -- keyを格納するバッファ(呼出側で準備する)を指定します。</li>
|
209
|
+
<li><strong>buf_size</strong> -- keybufのサイズ(byte長)を指定します。</li>
|
210
|
+
</ul>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
</tbody>
|
214
|
+
</table>
|
215
|
+
</dd></dl>
|
216
|
+
|
217
|
+
<dl class="function">
|
218
|
+
<dt id="grn_table_delete">
|
219
|
+
grn_rc <tt class="descname">grn_table_delete</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 void<em> *key</em>, unsigned int<em> key_size</em><big>)</big><a class="headerlink" href="#grn_table_delete" title="この定義へのパーマリンク">¶</a></dt>
|
220
|
+
<dd><p>tableのkeyに対応するレコードを削除します。対応するレコードが存在しない場合は <tt class="docutils literal"><span class="pre">GRN_INVALID_ARGUMENT</span></tt> を返します。</p>
|
221
|
+
<table class="docutils field-list" frame="void" rules="none">
|
222
|
+
<col class="field-name" />
|
223
|
+
<col class="field-body" />
|
224
|
+
<tbody valign="top">
|
225
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
226
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
227
|
+
<li><strong>key</strong> -- 検索keyを指定します。</li>
|
228
|
+
<li><strong>key_size</strong> -- 検索keyのサイズを指定します。</li>
|
229
|
+
</ul>
|
230
|
+
</td>
|
231
|
+
</tr>
|
232
|
+
</tbody>
|
233
|
+
</table>
|
234
|
+
</dd></dl>
|
235
|
+
|
236
|
+
<dl class="function">
|
237
|
+
<dt id="grn_table_delete_by_id">
|
238
|
+
grn_rc <tt class="descname">grn_table_delete_by_id</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>, grn_id<em> id</em><big>)</big><a class="headerlink" href="#grn_table_delete_by_id" title="この定義へのパーマリンク">¶</a></dt>
|
239
|
+
<dd><p>tableのidに対応するレコードを削除します。対応するレコードが存在しない場合は <tt class="docutils literal"><span class="pre">GRN_INVALID_ARGUMENT</span></tt> を返します。</p>
|
240
|
+
<table class="docutils field-list" frame="void" rules="none">
|
241
|
+
<col class="field-name" />
|
242
|
+
<col class="field-body" />
|
243
|
+
<tbody valign="top">
|
244
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
245
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
246
|
+
<li><strong>id</strong> -- レコードIDを指定します。</li>
|
247
|
+
</ul>
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
</tbody>
|
251
|
+
</table>
|
252
|
+
</dd></dl>
|
253
|
+
|
254
|
+
<dl class="function">
|
255
|
+
<dt id="grn_table_update_by_id">
|
256
|
+
grn_rc <tt class="descname">grn_table_update_by_id</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>, grn_id<em> id</em>, const void<em> *dest_key</em>, unsigned int<em> dest_key_size</em><big>)</big><a class="headerlink" href="#grn_table_update_by_id" title="この定義へのパーマリンク">¶</a></dt>
|
257
|
+
<dd><p>tableのidに対応するレコードのkeyを変更します。新しいkeyとそのbyte長をdest_keyとdest_key_sizeに指定します。</p>
|
258
|
+
<p>この操作は、<tt class="docutils literal"><span class="pre">GRN_TABLE_DAT_KEY</span></tt> 型のテーブルのみ使用できます。</p>
|
259
|
+
<table class="docutils field-list" frame="void" rules="none">
|
260
|
+
<col class="field-name" />
|
261
|
+
<col class="field-body" />
|
262
|
+
<tbody valign="top">
|
263
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
264
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
265
|
+
<li><strong>id</strong> -- レコードIDを指定します。</li>
|
266
|
+
</ul>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
</tbody>
|
270
|
+
</table>
|
271
|
+
</dd></dl>
|
272
|
+
|
273
|
+
<dl class="function">
|
274
|
+
<dt id="grn_table_update">
|
275
|
+
grn_rc <tt class="descname">grn_table_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> *table</em>, const void<em> *src_key</em>, unsigned int<em> src_key_size</em>, const void<em> *dest_key</em>, unsigned int<em> dest_key_size</em><big>)</big><a class="headerlink" href="#grn_table_update" title="この定義へのパーマリンク">¶</a></dt>
|
276
|
+
<dd><p>tableのsrc_keyに対応するレコードのkeyを変更します。新しいkeyとそのbyte長をdest_keyとdest_key_sizeに指定します。</p>
|
277
|
+
<p>この操作は、<tt class="docutils literal"><span class="pre">GRN_TABLE_DAT_KEY</span></tt> 型のテーブルのみ使用できます。</p>
|
278
|
+
<table class="docutils field-list" frame="void" rules="none">
|
279
|
+
<col class="field-name" />
|
280
|
+
<col class="field-body" />
|
281
|
+
<tbody valign="top">
|
282
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
283
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
284
|
+
<li><strong>src_key</strong> -- 対象レコードのkeyを指定します。</li>
|
285
|
+
<li><strong>src_key_size</strong> -- 対象レコードのkeyの長さ(byte)を指定します。</li>
|
286
|
+
<li><strong>dest_key</strong> -- 変更後のkeyを指定します。</li>
|
287
|
+
<li><strong>dest_key_size</strong> -- 変更後のkeyの長さ(byte)を指定します。</li>
|
288
|
+
</ul>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
</tbody>
|
292
|
+
</table>
|
293
|
+
</dd></dl>
|
294
|
+
|
295
|
+
<dl class="function">
|
296
|
+
<dt id="grn_table_truncate">
|
297
|
+
grn_rc <tt class="descname">grn_table_truncate</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><big>)</big><a class="headerlink" href="#grn_table_truncate" title="この定義へのパーマリンク">¶</a></dt>
|
298
|
+
<dd><p>tableの全レコードを一括して削除します。</p>
|
299
|
+
<p>注意: multithread環境では他のthreadのアクセスによって、存在しないアドレスへアクセスし、SIGSEGVが発生する可能性があります。</p>
|
300
|
+
<table class="docutils field-list" frame="void" rules="none">
|
301
|
+
<col class="field-name" />
|
302
|
+
<col class="field-body" />
|
303
|
+
<tbody valign="top">
|
304
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
305
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
306
|
+
</ul>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
</tbody>
|
310
|
+
</table>
|
311
|
+
</dd></dl>
|
312
|
+
|
313
|
+
<dl class="type">
|
314
|
+
<dt id="grn_table_sort_key">
|
315
|
+
<tt class="descname">grn_table_sort_key</tt><a class="headerlink" href="#grn_table_sort_key" title="この定義へのパーマリンク">¶</a></dt>
|
316
|
+
<dd><p>TODO...</p>
|
317
|
+
</dd></dl>
|
318
|
+
|
319
|
+
<dl class="type">
|
320
|
+
<dt id="grn_table_sort_flags">
|
321
|
+
<tt class="descname">grn_table_sort_flags</tt><a class="headerlink" href="#grn_table_sort_flags" title="この定義へのパーマリンク">¶</a></dt>
|
322
|
+
<dd><p>TODO...</p>
|
323
|
+
</dd></dl>
|
324
|
+
|
325
|
+
<dl class="function">
|
326
|
+
<dt id="grn_table_sort">
|
327
|
+
int <tt class="descname">grn_table_sort</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>, int<em> offset</em>, int<em> limit</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *result</em>, <a class="reference internal" href="#grn_table_sort_key" title="grn_table_sort_key">grn_table_sort_key</a><em> *keys</em>, int<em> n_keys</em><big>)</big><a class="headerlink" href="#grn_table_sort" title="この定義へのパーマリンク">¶</a></dt>
|
328
|
+
<dd><p>table内のレコードをソートし、上位limit個の要素をresultに格納します。</p>
|
329
|
+
<p>keys.keyには、tableのcolumn,accessor,procのいずれかが指定できます。keys.flagsには、<tt class="docutils literal"><span class="pre">GRN_TABLE_SORT_ASC</span></tt> / <tt class="docutils literal"><span class="pre">GRN_TABLE_SORT_DESC</span></tt> のいずれかを指定できます。<tt class="docutils literal"><span class="pre">GRN_TABLE_SORT_ASC</span></tt> では昇順、<tt class="docutils literal"><span class="pre">GRN_TABLE_SORT_DESC</span></tt> では降順でソートされます。keys.offsetは、内部利用のためのメンバです。</p>
|
330
|
+
<table class="docutils field-list" frame="void" rules="none">
|
331
|
+
<col class="field-name" />
|
332
|
+
<col class="field-body" />
|
333
|
+
<tbody valign="top">
|
334
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
335
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
336
|
+
<li><strong>offset</strong> -- sortされたレコードのうち、(0ベースで)offset番目から順にresにレコードを格納します。</li>
|
337
|
+
<li><strong>limit</strong> -- resに格納するレコードの上限を指定します。</li>
|
338
|
+
<li><strong>result</strong> -- 結果を格納するtableを指定します。</li>
|
339
|
+
<li><strong>keys</strong> -- ソートキー配列へのポインタを指定します。</li>
|
340
|
+
<li><strong>n_keys</strong> -- ソートキー配列のサイズを指定します。</li>
|
341
|
+
</ul>
|
342
|
+
</td>
|
343
|
+
</tr>
|
344
|
+
</tbody>
|
345
|
+
</table>
|
346
|
+
</dd></dl>
|
347
|
+
|
348
|
+
<dl class="type">
|
349
|
+
<dt id="grn_table_group_result">
|
350
|
+
<tt class="descname">grn_table_group_result</tt><a class="headerlink" href="#grn_table_group_result" title="この定義へのパーマリンク">¶</a></dt>
|
351
|
+
<dd><p>TODO...</p>
|
352
|
+
</dd></dl>
|
353
|
+
|
354
|
+
<dl class="type">
|
355
|
+
<dt id="grn_table_group_flags">
|
356
|
+
<tt class="descname">grn_table_group_flags</tt><a class="headerlink" href="#grn_table_group_flags" title="この定義へのパーマリンク">¶</a></dt>
|
357
|
+
<dd><p>TODO...</p>
|
358
|
+
</dd></dl>
|
359
|
+
|
360
|
+
<dl class="function">
|
361
|
+
<dt id="grn_table_group">
|
362
|
+
grn_rc <tt class="descname">grn_table_group</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>, <a class="reference internal" href="#grn_table_sort_key" title="grn_table_sort_key">grn_table_sort_key</a><em> *keys</em>, int<em> n_keys</em>, <a class="reference internal" href="#grn_table_group_result" title="grn_table_group_result">grn_table_group_result</a><em> *results</em>, int<em> n_results</em><big>)</big><a class="headerlink" href="#grn_table_group" title="この定義へのパーマリンク">¶</a></dt>
|
363
|
+
<dd><p>tableのレコードを特定の条件でグループ化します。</p>
|
364
|
+
<table class="docutils field-list" frame="void" rules="none">
|
365
|
+
<col class="field-name" />
|
366
|
+
<col class="field-body" />
|
367
|
+
<tbody valign="top">
|
368
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
369
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
370
|
+
<li><strong>keys</strong> -- group化キー構造体の配列へのポインタを指定します。</li>
|
371
|
+
<li><strong>n_keys</strong> -- group化キー構造体の配列のサイズを指定します。</li>
|
372
|
+
<li><strong>results</strong> -- group化の結果を格納する構造体の配列へのポインタを指定します。</li>
|
373
|
+
<li><strong>n_results</strong> -- group化の結果を格納する構造体の配列のサイズを指定します。</li>
|
374
|
+
</ul>
|
375
|
+
</td>
|
376
|
+
</tr>
|
377
|
+
</tbody>
|
378
|
+
</table>
|
379
|
+
</dd></dl>
|
380
|
+
|
381
|
+
<dl class="function">
|
382
|
+
<dt id="grn_table_setoperation">
|
383
|
+
grn_rc <tt class="descname">grn_table_setoperation</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> *table1</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *table2</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *res</em>, grn_operator<em> op</em><big>)</big><a class="headerlink" href="#grn_table_setoperation" title="この定義へのパーマリンク">¶</a></dt>
|
384
|
+
<dd><p>table1とtable2をopの指定に従って集合演算した結果をresに格納します。</p>
|
385
|
+
<p>resにtable1あるいはtable2そのものを指定した場合を除けば、table1, table2は破壊されません。</p>
|
386
|
+
<table class="docutils field-list" frame="void" rules="none">
|
387
|
+
<col class="field-name" />
|
388
|
+
<col class="field-body" />
|
389
|
+
<tbody valign="top">
|
390
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
391
|
+
<li><strong>table1</strong> -- 対象table1を指定します。</li>
|
392
|
+
<li><strong>table2</strong> -- 対象table2を指定します。</li>
|
393
|
+
<li><strong>res</strong> -- 結果を格納するtableを指定します。</li>
|
394
|
+
<li><strong>op</strong> -- 実行する演算の種類を指定します。</li>
|
395
|
+
</ul>
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
</tbody>
|
399
|
+
</table>
|
400
|
+
</dd></dl>
|
401
|
+
|
402
|
+
<dl class="function">
|
403
|
+
<dt id="grn_table_difference">
|
404
|
+
grn_rc <tt class="descname">grn_table_difference</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> *table1</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *table2</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *res1</em>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *res2</em><big>)</big><a class="headerlink" href="#grn_table_difference" title="この定義へのパーマリンク">¶</a></dt>
|
405
|
+
<dd><p>table1とtable2から重複するレコードを取り除いた結果をそれぞれres1, res2に格納します。</p>
|
406
|
+
<table class="docutils field-list" frame="void" rules="none">
|
407
|
+
<col class="field-name" />
|
408
|
+
<col class="field-body" />
|
409
|
+
<tbody valign="top">
|
410
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
411
|
+
<li><strong>table1</strong> -- 対象table1を指定します。</li>
|
412
|
+
<li><strong>table2</strong> -- 対象table2を指定します。</li>
|
413
|
+
<li><strong>res1</strong> -- 結果を格納するtableを指定します。</li>
|
414
|
+
<li><strong>res2</strong> -- 結果を格納するtableを指定します。</li>
|
415
|
+
</ul>
|
416
|
+
</td>
|
417
|
+
</tr>
|
418
|
+
</tbody>
|
419
|
+
</table>
|
420
|
+
</dd></dl>
|
421
|
+
|
422
|
+
<dl class="function">
|
423
|
+
<dt id="grn_table_columns">
|
424
|
+
int <tt class="descname">grn_table_columns</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>, <a class="reference internal" href="grn_obj.html#grn_obj" title="grn_obj">grn_obj</a><em> *res</em><big>)</big><a class="headerlink" href="#grn_table_columns" title="この定義へのパーマリンク">¶</a></dt>
|
425
|
+
<dd><p>nameパラメータから始まるtableのカラムIDをresパラメータに格納します。name_sizeパラメータが0の場合はすべてのカラムIDを格納します。</p>
|
426
|
+
<table class="docutils field-list" frame="void" rules="none">
|
427
|
+
<col class="field-name" />
|
428
|
+
<col class="field-body" />
|
429
|
+
<tbody valign="top">
|
430
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
431
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
432
|
+
<li><strong>name</strong> -- 取得したいカラム名のprefixを指定します。</li>
|
433
|
+
<li><strong>name_size</strong> -- nameパラメータの長さを指定します。</li>
|
434
|
+
<li><strong>res</strong> -- 結果を格納する <tt class="docutils literal"><span class="pre">GRN_TABLE_HASH_KEY</span></tt> のtableを指定します。</li>
|
435
|
+
</ul>
|
436
|
+
</td>
|
437
|
+
</tr>
|
438
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">格納したカラムIDの数を返します。</p>
|
439
|
+
</td>
|
440
|
+
</tr>
|
441
|
+
</tbody>
|
442
|
+
</table>
|
443
|
+
</dd></dl>
|
444
|
+
|
445
|
+
<dl class="function">
|
446
|
+
<dt id="grn_table_size">
|
447
|
+
unsigned int <tt class="descname">grn_table_size</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><big>)</big><a class="headerlink" href="#grn_table_size" title="この定義へのパーマリンク">¶</a></dt>
|
448
|
+
<dd><p>tableに登録されているレコードの件数を返します。</p>
|
449
|
+
<table class="docutils field-list" frame="void" rules="none">
|
450
|
+
<col class="field-name" />
|
451
|
+
<col class="field-body" />
|
452
|
+
<tbody valign="top">
|
453
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
454
|
+
<li><strong>table</strong> -- 対象tableを指定します。</li>
|
455
|
+
</ul>
|
456
|
+
</td>
|
457
|
+
</tr>
|
458
|
+
</tbody>
|
459
|
+
</table>
|
460
|
+
</dd></dl>
|
461
|
+
|
462
|
+
<dl class="function">
|
463
|
+
<dt id="grn_table_rename">
|
464
|
+
grn_rc <tt class="descname">grn_table_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> *table</em>, const char<em> *name</em>, unsigned int<em> name_size</em><big>)</big><a class="headerlink" href="#grn_table_rename" title="この定義へのパーマリンク">¶</a></dt>
|
465
|
+
<dd><p>ctxが使用するdbにおいてtableに対応する名前をnameに更新します。tableの全てのcolumnも同時に名前が変更されます。tableは永続オブジェクトでなければいけません。</p>
|
466
|
+
<table class="docutils field-list" frame="void" rules="none">
|
467
|
+
<col class="field-name" />
|
468
|
+
<col class="field-body" />
|
469
|
+
<tbody valign="top">
|
470
|
+
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first last simple">
|
471
|
+
<li><strong>name_size</strong> -- nameパラメータのsize(byte)を指定します。</li>
|
472
|
+
</ul>
|
473
|
+
</td>
|
474
|
+
</tr>
|
475
|
+
</tbody>
|
476
|
+
</table>
|
477
|
+
</dd></dl>
|
478
|
+
|
479
|
+
</div>
|
480
|
+
</div>
|
481
|
+
|
482
|
+
|
483
|
+
</div>
|
484
|
+
</div>
|
485
|
+
</div>
|
486
|
+
<div class="sphinxsidebar">
|
487
|
+
<div class="sphinxsidebarwrapper">
|
488
|
+
<h3><a href="../../index.html">目次</a></h3>
|
489
|
+
<ul>
|
490
|
+
<li><a class="reference internal" href="#">8.14.17. <tt class="docutils literal"><span class="pre">grn_table</span></tt></a><ul>
|
491
|
+
<li><a class="reference internal" href="#summary">8.14.17.1. 概要</a></li>
|
492
|
+
<li><a class="reference internal" href="#example">8.14.17.2. 実行例:</a></li>
|
493
|
+
<li><a class="reference internal" href="#reference">8.14.17.3. リファレンス</a></li>
|
494
|
+
</ul>
|
495
|
+
</li>
|
496
|
+
</ul>
|
497
|
+
|
498
|
+
<h4>前のトピックへ</h4>
|
499
|
+
<p class="topless"><a href="grn_search.html"
|
500
|
+
title="前の章へ">8.14.16. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">grn_search</span></tt></a></p>
|
501
|
+
<h4>次のトピックへ</h4>
|
502
|
+
<p class="topless"><a href="grn_table_cursor.html"
|
503
|
+
title="次の章へ">8.14.18. <tt class="docutils literal"><span class="pre">grn_table_cursor</span></tt></a></p>
|
504
|
+
<h3>このページ</h3>
|
505
|
+
<ul class="this-page-menu">
|
506
|
+
<li><a href="../../_sources/reference/api/grn_table.txt"
|
507
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
508
|
+
</ul>
|
509
|
+
<div id="searchbox" style="display: none">
|
510
|
+
<h3>クイック検索</h3>
|
511
|
+
<form class="search" action="../../search.html" method="get">
|
512
|
+
<input type="text" name="q" />
|
513
|
+
<input type="submit" value="検索" />
|
514
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
515
|
+
<input type="hidden" name="area" value="default" />
|
516
|
+
</form>
|
517
|
+
<p class="searchtip" style="font-size: 90%">
|
518
|
+
モジュール、クラス、または関数名を入力してください
|
519
|
+
</p>
|
520
|
+
</div>
|
521
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
522
|
+
</div>
|
523
|
+
</div>
|
524
|
+
<div class="clearer"></div>
|
525
|
+
</div>
|
526
|
+
<div class="related">
|
527
|
+
<h3>ナビゲーション</h3>
|
528
|
+
<ul>
|
529
|
+
<li class="right" style="margin-right: 10px">
|
530
|
+
<a href="../../genindex.html" title="総合索引"
|
531
|
+
>索引</a></li>
|
532
|
+
<li class="right" >
|
533
|
+
<a href="grn_table_cursor.html" title="8.14.18. grn_table_cursor"
|
534
|
+
>次へ</a> |</li>
|
535
|
+
<li class="right" >
|
536
|
+
<a href="grn_search.html" title="8.14.16. grn_search"
|
537
|
+
>前へ</a> |</li>
|
538
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
539
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
540
|
+
<li><a href="../api.html" >8.14. API</a> »</li>
|
541
|
+
</ul>
|
542
|
+
</div>
|
543
|
+
<div class="footer">
|
544
|
+
© Copyright 2009-2013, Brazil, Inc.
|
545
|
+
</div>
|
546
|
+
</body>
|
547
|
+
</html>
|