rroonga 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -39
- data/bin/grndump +8 -1
- data/doc/text/news.textile +21 -1
- data/ext/groonga/extconf.rb +1 -6
- data/ext/groonga/rb-grn-table.c +20 -0
- data/ext/groonga/rb-grn.h +1 -1
- data/ext/groonga/rb-groonga.c +42 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +7 -3
- data/lib/groonga/record.rb +19 -1
- data/rroonga-build.rb +5 -5
- data/test/test-array.rb +14 -1
- data/test/test-database-dumper.rb +68 -83
- data/test/test-database.rb +1 -1
- data/test/test-double-array-trie.rb +16 -1
- data/test/test-hash.rb +16 -1
- data/test/test-lock-timeout.rb +29 -0
- data/test/test-patricia-trie.rb +16 -1
- data/test/test-record.rb +194 -160
- data/test/test-variable-size-column.rb +1 -1
- 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 +2 -2
- data/vendor/local/include/groonga/groonga.h +15 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- 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 +1 -1
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -6
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +10 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +32 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +5 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/pseudo_column.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +19 -0
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +3 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/genindex.html +269 -183
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/index.html +41 -38
- data/vendor/local/share/doc/groonga/en/html/install.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/install/others.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +239 -201
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +41 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +46 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +205 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +78 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +75 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +117 -115
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +80 -78
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/package.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -6
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +10 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +32 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +5 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/pseudo_column.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +274 -183
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +41 -38
- data/vendor/local/share/doc/groonga/ja/html/install.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news.html +264 -224
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +46 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +206 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +54 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +117 -115
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +80 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +20 -18
- data/vendor/local/share/man/ja/man1/groonga.1 +198 -132
- data/vendor/local/share/man/man1/groonga.1 +619 -554
- metadata +8 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/add.txt +0 -104
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/get.txt +0 -80
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/set.txt +0 -105
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +0 -199
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +0 -180
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +0 -201
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +0 -104
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +0 -80
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +0 -105
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +0 -200
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +0 -181
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +0 -202
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.15.
|
10
|
+
<title>8.15.15. grn_obj — Groonga v3.1.1-89-g7f6fcae documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.1.1',
|
18
|
+
VERSION: '3.1.1-89-g7f6fcae',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v3.1.1 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v3.1.1-89-g7f6fcae documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.15. API" href="../api.html" />
|
30
|
-
<link rel="next" title="8.15.
|
31
|
-
<link rel="prev" title="8.15.
|
30
|
+
<link rel="next" title="8.15.16. grn_proc" href="grn_proc.html" />
|
31
|
+
<link rel="prev" title="8.15.14. grn_match_escalation" href="grn_match_escalation.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,19 +48,19 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="grn_proc.html" title="8.15.
|
58
|
+
<a href="grn_proc.html" title="8.15.16. grn_proc"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="grn_match_escalation.html" title="8.15.
|
61
|
+
<a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v3.1.1 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcae documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">8.15. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,29 +69,29 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-obj">
|
75
|
-
<h1>8.15.
|
75
|
+
<h1>8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt><a class="headerlink" href="#grn-obj" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.15.
|
77
|
+
<h2>8.15.15.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>TODO...</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="example">
|
81
|
-
<h2>8.15.
|
81
|
+
<h2>8.15.15.2. Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p>TODO...</p>
|
83
83
|
</div>
|
84
84
|
<div class="section" id="reference">
|
85
|
-
<h2>8.15.
|
85
|
+
<h2>8.15.15.3. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
86
86
|
<dl class="type">
|
87
|
-
<dt id="grn_obj">
|
88
|
-
<tt class="descname">grn_obj</tt><a class="headerlink" href="#grn_obj" title="Permalink to this definition">¶</a></dt>
|
87
|
+
<dt id="c.grn_obj">
|
88
|
+
<tt class="descname">grn_obj</tt><a class="headerlink" href="#c.grn_obj" title="Permalink to this definition">¶</a></dt>
|
89
89
|
<dd><p>TODO...</p>
|
90
90
|
</dd></dl>
|
91
91
|
|
92
92
|
<dl class="function">
|
93
|
-
<dt id="grn_obj_column">
|
94
|
-
<a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_column</tt><
|
93
|
+
<dt id="c.grn_obj_column">
|
94
|
+
<a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_column</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *table</em>, const char<em> *name</em>, unsigned int<em> name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_column" title="Permalink to this definition">¶</a></dt>
|
95
95
|
<dd><p>nameがカラム名の場合、それに対応するtableのカラムを返します。対応するカラムが存在しなければNULLを返します。</p>
|
96
96
|
<p>nameはアクセサ文字列の場合、それに対応するaccessorを返します。アクセサ文字列とは、カラム名等を'.'で連結した文字列です。'_id', '_key'は特殊なアクセサで、それぞれレコードID/keyを返します。例) 'col1' / 'col2.col3' / 'col2._id'</p>
|
97
97
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -109,8 +109,8 @@
|
|
109
109
|
</dd></dl>
|
110
110
|
|
111
111
|
<dl class="function">
|
112
|
-
<dt id="grn_obj_is_builtin">
|
113
|
-
grn_bool <tt class="descname">grn_obj_is_builtin</tt><
|
112
|
+
<dt id="c.grn_obj_is_builtin">
|
113
|
+
grn_bool <tt class="descname">grn_obj_is_builtin</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_is_builtin" title="Permalink to this definition">¶</a></dt>
|
114
114
|
<dd><p>Check whether Groonga built-in object.</p>
|
115
115
|
<table class="docutils field-list" frame="void" rules="none">
|
116
116
|
<col class="field-name" />
|
@@ -130,8 +130,8 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
|
|
130
130
|
</dd></dl>
|
131
131
|
|
132
132
|
<dl class="function">
|
133
|
-
<dt id="grn_obj_get_value">
|
134
|
-
<a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_get_value</tt><
|
133
|
+
<dt id="c.grn_obj_get_value">
|
134
|
+
<a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_get_value</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> id</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *value</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_value" title="Permalink to this definition">¶</a></dt>
|
135
135
|
<dd><p>objのIDに対応するレコードのvalueを取得します。valueを戻り値として返します。</p>
|
136
136
|
<table class="docutils field-list" frame="void" rules="none">
|
137
137
|
<col class="field-name" />
|
@@ -149,13 +149,13 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
|
|
149
149
|
</dd></dl>
|
150
150
|
|
151
151
|
<dl class="function">
|
152
|
-
<dt id="grn_obj_get_values">
|
153
|
-
int <tt class="descname">grn_obj_get_values</tt><
|
152
|
+
<dt id="c.grn_obj_get_values">
|
153
|
+
int <tt class="descname">grn_obj_get_values</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> offset</em>, void<em> **values</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_values" title="Permalink to this definition">¶</a></dt>
|
154
154
|
<dd><p>objに指定されたカラムについて、offsetに指定されたレコードIDを開始位置として、IDが連続するレコードに対応するカラム値が昇順に格納された配列へのポインタをvaluesにセットします。</p>
|
155
155
|
<p>取得できた件数が戻り値として返されます。エラーが発生した場合は -1 が返されます。</p>
|
156
156
|
<div class="admonition note">
|
157
157
|
<p class="first admonition-title">Note</p>
|
158
|
-
<p class="last">値が固定長であるカラムのみがobjに指定できます。範囲内のIDに対応するレコードが有効であるとは限りません。delete操作を実行したことのあるテーブルに対しては、<a class="reference internal" href="grn_table.html#grn_table_at" title="grn_table_at"><tt class="xref c c-func docutils literal"><span class="pre">grn_table_at()</span></tt></a> などによって各レコードの存否を別途確認しなければなりません。</p>
|
158
|
+
<p class="last">値が固定長であるカラムのみがobjに指定できます。範囲内のIDに対応するレコードが有効であるとは限りません。delete操作を実行したことのあるテーブルに対しては、<a class="reference internal" href="grn_table.html#c.grn_table_at" title="grn_table_at"><tt class="xref c c-func docutils literal"><span class="pre">grn_table_at()</span></tt></a> などによって各レコードの存否を別途確認しなければなりません。</p>
|
159
159
|
</div>
|
160
160
|
<table class="docutils field-list" frame="void" rules="none">
|
161
161
|
<col class="field-name" />
|
@@ -173,8 +173,8 @@ int <tt class="descname">grn_obj_get_values</tt><big>(</big><a class="reference
|
|
173
173
|
</dd></dl>
|
174
174
|
|
175
175
|
<dl class="function">
|
176
|
-
<dt id="grn_obj_set_value">
|
177
|
-
grn_rc <tt class="descname">grn_obj_set_value</tt><
|
176
|
+
<dt id="c.grn_obj_set_value">
|
177
|
+
grn_rc <tt class="descname">grn_obj_set_value</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> id</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *value</em>, int<em> flags</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_set_value" title="Permalink to this definition">¶</a></dt>
|
178
178
|
<dd><p>objのIDに対応するレコードの値を更新します。対応するレコードが存在しない場合は <tt class="docutils literal"><span class="pre">GRN_INVALID_ARGUMENT</span></tt> を返します。</p>
|
179
179
|
<table class="docutils field-list" frame="void" rules="none">
|
180
180
|
<col class="field-name" />
|
@@ -186,19 +186,19 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
|
|
186
186
|
<li><strong>value</strong> -- 格納する値を指定します。</li>
|
187
187
|
<li><strong>flags</strong> -- <p>以下のいずれかの形式が使用できます。</p>
|
188
188
|
<table class="hlist"><tr><td><ul>
|
189
|
-
<li><a class="reference internal" href="#GRN_OBJ_SET" title="GRN_OBJ_SET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_SET</span></tt></a></li>
|
190
|
-
<li><a class="reference internal" href="#GRN_OBJ_INCR" title="GRN_OBJ_INCR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_INCR</span></tt></a></li>
|
191
|
-
<li><a class="reference internal" href="#GRN_OBJ_DECR" title="GRN_OBJ_DECR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_DECR</span></tt></a></li>
|
189
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_SET" title="GRN_OBJ_SET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_SET</span></tt></a></li>
|
190
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_INCR" title="GRN_OBJ_INCR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_INCR</span></tt></a></li>
|
191
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_DECR" title="GRN_OBJ_DECR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_DECR</span></tt></a></li>
|
192
192
|
</ul>
|
193
193
|
</td><td><ul>
|
194
|
-
<li><a class="reference internal" href="#GRN_OBJ_APPEND" title="GRN_OBJ_APPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_APPEND</span></tt></a></li>
|
195
|
-
<li><a class="reference internal" href="#GRN_OBJ_PREPEND" title="GRN_OBJ_PREPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_PREPEND</span></tt></a></li>
|
196
|
-
<li><a class="reference internal" href="#GRN_OBJ_GET" title="GRN_OBJ_GET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_GET</span></tt></a></li>
|
194
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_APPEND" title="GRN_OBJ_APPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_APPEND</span></tt></a></li>
|
195
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_PREPEND" title="GRN_OBJ_PREPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_PREPEND</span></tt></a></li>
|
196
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_GET" title="GRN_OBJ_GET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_GET</span></tt></a></li>
|
197
197
|
</ul>
|
198
198
|
</td><td><ul>
|
199
|
-
<li><a class="reference internal" href="#GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a></li>
|
200
|
-
<li><a class="reference internal" href="#GRN_OBJ_LOCK" title="GRN_OBJ_LOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_LOCK</span></tt></a></li>
|
201
|
-
<li><a class="reference internal" href="#GRN_OBJ_UNLOCK" title="GRN_OBJ_UNLOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_UNLOCK</span></tt></a></li>
|
199
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a></li>
|
200
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_LOCK" title="GRN_OBJ_LOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_LOCK</span></tt></a></li>
|
201
|
+
<li><a class="reference internal" href="#c.GRN_OBJ_UNLOCK" title="GRN_OBJ_UNLOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_UNLOCK</span></tt></a></li>
|
202
202
|
</ul>
|
203
203
|
</td></tr></table>
|
204
204
|
</li>
|
@@ -210,67 +210,67 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
|
|
210
210
|
</dd></dl>
|
211
211
|
|
212
212
|
<dl class="macro">
|
213
|
-
<dt id="GRN_OBJ_SET_MASK">
|
214
|
-
<tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#GRN_OBJ_SET_MASK" title="Permalink to this definition">¶</a></dt>
|
213
|
+
<dt id="c.GRN_OBJ_SET_MASK">
|
214
|
+
<tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#c.GRN_OBJ_SET_MASK" title="Permalink to this definition">¶</a></dt>
|
215
215
|
<dd></dd></dl>
|
216
216
|
|
217
217
|
<dl class="macro">
|
218
|
-
<dt id="GRN_OBJ_SET">
|
219
|
-
<tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#GRN_OBJ_SET" title="Permalink to this definition">¶</a></dt>
|
218
|
+
<dt id="c.GRN_OBJ_SET">
|
219
|
+
<tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#c.GRN_OBJ_SET" title="Permalink to this definition">¶</a></dt>
|
220
220
|
<dd><p>レコードの値をvalueと置き換えます。</p>
|
221
221
|
</dd></dl>
|
222
222
|
|
223
223
|
<dl class="macro">
|
224
|
-
<dt id="GRN_OBJ_INCR">
|
225
|
-
<tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#GRN_OBJ_INCR" title="Permalink to this definition">¶</a></dt>
|
224
|
+
<dt id="c.GRN_OBJ_INCR">
|
225
|
+
<tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#c.GRN_OBJ_INCR" title="Permalink to this definition">¶</a></dt>
|
226
226
|
<dd><p>レコードの値にvalueを加算します。</p>
|
227
227
|
</dd></dl>
|
228
228
|
|
229
229
|
<dl class="macro">
|
230
|
-
<dt id="GRN_OBJ_DECR">
|
231
|
-
<tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#GRN_OBJ_DECR" title="Permalink to this definition">¶</a></dt>
|
230
|
+
<dt id="c.GRN_OBJ_DECR">
|
231
|
+
<tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#c.GRN_OBJ_DECR" title="Permalink to this definition">¶</a></dt>
|
232
232
|
<dd><p>レコードの値にvalueを減算します。</p>
|
233
233
|
</dd></dl>
|
234
234
|
|
235
235
|
<dl class="macro">
|
236
|
-
<dt id="GRN_OBJ_APPEND">
|
237
|
-
<tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#GRN_OBJ_APPEND" title="Permalink to this definition">¶</a></dt>
|
236
|
+
<dt id="c.GRN_OBJ_APPEND">
|
237
|
+
<tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#c.GRN_OBJ_APPEND" title="Permalink to this definition">¶</a></dt>
|
238
238
|
<dd><p>レコードの値の末尾にvalueを追加します。</p>
|
239
239
|
</dd></dl>
|
240
240
|
|
241
241
|
<dl class="macro">
|
242
|
-
<dt id="GRN_OBJ_PREPEND">
|
243
|
-
<tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#GRN_OBJ_PREPEND" title="Permalink to this definition">¶</a></dt>
|
242
|
+
<dt id="c.GRN_OBJ_PREPEND">
|
243
|
+
<tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#c.GRN_OBJ_PREPEND" title="Permalink to this definition">¶</a></dt>
|
244
244
|
<dd><p>レコードの値の先頭にvalueを追加します。</p>
|
245
245
|
</dd></dl>
|
246
246
|
|
247
247
|
<dl class="macro">
|
248
|
-
<dt id="GRN_OBJ_GET">
|
249
|
-
<tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#GRN_OBJ_GET" title="Permalink to this definition">¶</a></dt>
|
248
|
+
<dt id="c.GRN_OBJ_GET">
|
249
|
+
<tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#c.GRN_OBJ_GET" title="Permalink to this definition">¶</a></dt>
|
250
250
|
<dd><p>新しいレコードの値をvalueにセットします。</p>
|
251
251
|
</dd></dl>
|
252
252
|
|
253
253
|
<dl class="macro">
|
254
|
-
<dt id="GRN_OBJ_COMPARE">
|
255
|
-
<tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#GRN_OBJ_COMPARE" title="Permalink to this definition">¶</a></dt>
|
254
|
+
<dt id="c.GRN_OBJ_COMPARE">
|
255
|
+
<tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#c.GRN_OBJ_COMPARE" title="Permalink to this definition">¶</a></dt>
|
256
256
|
<dd><p>レコードの値とvalueが等しいか調べます。</p>
|
257
257
|
</dd></dl>
|
258
258
|
|
259
259
|
<dl class="macro">
|
260
|
-
<dt id="GRN_OBJ_LOCK">
|
261
|
-
<tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#GRN_OBJ_LOCK" title="Permalink to this definition">¶</a></dt>
|
262
|
-
<dd><p>当該レコードをロックします。<a class="reference internal" href="#GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a> と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。</p>
|
260
|
+
<dt id="c.GRN_OBJ_LOCK">
|
261
|
+
<tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#c.GRN_OBJ_LOCK" title="Permalink to this definition">¶</a></dt>
|
262
|
+
<dd><p>当該レコードをロックします。<a class="reference internal" href="#c.GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a> と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。</p>
|
263
263
|
</dd></dl>
|
264
264
|
|
265
265
|
<dl class="macro">
|
266
|
-
<dt id="GRN_OBJ_UNLOCK">
|
267
|
-
<tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#GRN_OBJ_UNLOCK" title="Permalink to this definition">¶</a></dt>
|
266
|
+
<dt id="c.GRN_OBJ_UNLOCK">
|
267
|
+
<tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#c.GRN_OBJ_UNLOCK" title="Permalink to this definition">¶</a></dt>
|
268
268
|
<dd><p>当該レコードのロックを解除します。</p>
|
269
269
|
</dd></dl>
|
270
270
|
|
271
271
|
<dl class="function">
|
272
|
-
<dt id="grn_obj_remove">
|
273
|
-
grn_rc <tt class="descname">grn_obj_remove</tt><
|
272
|
+
<dt id="c.grn_obj_remove">
|
273
|
+
grn_rc <tt class="descname">grn_obj_remove</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_remove" title="Permalink to this definition">¶</a></dt>
|
274
274
|
<dd><p>objをメモリから解放し、それが永続オブジェクトであった場合は、該当するファイル一式を削除します。</p>
|
275
275
|
<table class="docutils field-list" frame="void" rules="none">
|
276
276
|
<col class="field-name" />
|
@@ -286,8 +286,8 @@ grn_rc <tt class="descname">grn_obj_remove</tt><big>(</big><a class="reference i
|
|
286
286
|
</dd></dl>
|
287
287
|
|
288
288
|
<dl class="function">
|
289
|
-
<dt id="grn_obj_rename">
|
290
|
-
grn_rc <tt class="descname">grn_obj_rename</tt><
|
289
|
+
<dt id="c.grn_obj_rename">
|
290
|
+
grn_rc <tt class="descname">grn_obj_rename</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, const char<em> *name</em>, unsigned int<em> name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_rename" title="Permalink to this definition">¶</a></dt>
|
291
291
|
<dd><p>ctxが使用するdbにおいてobjに対応する名前をnameに更新します。objは永続オブジェクトでなければいけません。</p>
|
292
292
|
<table class="docutils field-list" frame="void" rules="none">
|
293
293
|
<col class="field-name" />
|
@@ -305,10 +305,10 @@ grn_rc <tt class="descname">grn_obj_rename</tt><big>(</big><a class="reference i
|
|
305
305
|
</dd></dl>
|
306
306
|
|
307
307
|
<dl class="function">
|
308
|
-
<dt id="grn_obj_close">
|
309
|
-
grn_rc <tt class="descname">grn_obj_close</tt><
|
308
|
+
<dt id="c.grn_obj_close">
|
309
|
+
grn_rc <tt class="descname">grn_obj_close</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_close" title="Permalink to this definition">¶</a></dt>
|
310
310
|
<dd><p>一時的なobjectであるobjをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
|
311
|
-
<p>永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい <a class="reference internal" href="#grn_obj_unlink" title="grn_obj_unlink"><tt class="xref c c-func docutils literal"><span class="pre">grn_obj_unlink()</span></tt></a> を用いるべきです。</p>
|
311
|
+
<p>永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい <a class="reference internal" href="#c.grn_obj_unlink" title="grn_obj_unlink"><tt class="xref c c-func docutils literal"><span class="pre">grn_obj_unlink()</span></tt></a> を用いるべきです。</p>
|
312
312
|
<table class="docutils field-list" frame="void" rules="none">
|
313
313
|
<col class="field-name" />
|
314
314
|
<col class="field-body" />
|
@@ -323,8 +323,8 @@ grn_rc <tt class="descname">grn_obj_close</tt><big>(</big><a class="reference in
|
|
323
323
|
</dd></dl>
|
324
324
|
|
325
325
|
<dl class="function">
|
326
|
-
<dt id="grn_obj_reinit">
|
327
|
-
grn_rc <tt class="descname">grn_obj_reinit</tt><
|
326
|
+
<dt id="c.grn_obj_reinit">
|
327
|
+
grn_rc <tt class="descname">grn_obj_reinit</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> domain</em>, unsigned char<em> flags</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_reinit" title="Permalink to this definition">¶</a></dt>
|
328
328
|
<dd><p>objの型を変更します。</p>
|
329
329
|
<p>objは <tt class="xref c c-func docutils literal"><span class="pre">GRN_OBJ_INIT()</span></tt> マクロなどで初期化済みでなければいけません。</p>
|
330
330
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -343,14 +343,14 @@ grn_rc <tt class="descname">grn_obj_reinit</tt><big>(</big><a class="reference i
|
|
343
343
|
</dd></dl>
|
344
344
|
|
345
345
|
<dl class="function">
|
346
|
-
<dt id="grn_obj_unlink">
|
347
|
-
void <tt class="descname">grn_obj_unlink</tt><
|
346
|
+
<dt id="c.grn_obj_unlink">
|
347
|
+
void <tt class="descname">grn_obj_unlink</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_unlink" title="Permalink to this definition">¶</a></dt>
|
348
348
|
<dd><p>objをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
|
349
349
|
</dd></dl>
|
350
350
|
|
351
351
|
<dl class="function">
|
352
|
-
<dt id="grn_obj_path">
|
353
|
-
const char *<tt class="descname">grn_obj_path</tt><
|
352
|
+
<dt id="c.grn_obj_path">
|
353
|
+
const char *<tt class="descname">grn_obj_path</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_path" title="Permalink to this definition">¶</a></dt>
|
354
354
|
<dd><p>objに対応するファイルパスを返します。一時objectならNULLを返します。</p>
|
355
355
|
<table class="docutils field-list" frame="void" rules="none">
|
356
356
|
<col class="field-name" />
|
@@ -366,8 +366,8 @@ const char *<tt class="descname">grn_obj_path</tt><big>(</big><a class="referenc
|
|
366
366
|
</dd></dl>
|
367
367
|
|
368
368
|
<dl class="function">
|
369
|
-
<dt id="grn_obj_name">
|
370
|
-
int <tt class="descname">grn_obj_name</tt><
|
369
|
+
<dt id="c.grn_obj_name">
|
370
|
+
int <tt class="descname">grn_obj_name</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, char<em> *namebuf</em>, int<em> buf_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_name" title="Permalink to this definition">¶</a></dt>
|
371
371
|
<dd><p>objの名前の長さを返します。無名objectなら0を返します。</p>
|
372
372
|
<p>名前付きのobjectであり、buf_sizeの長さが名前の長以上であった場合は、namebufに該当する名前をコピーします。</p>
|
373
373
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -386,9 +386,9 @@ int <tt class="descname">grn_obj_name</tt><big>(</big><a class="reference intern
|
|
386
386
|
</dd></dl>
|
387
387
|
|
388
388
|
<dl class="function">
|
389
|
-
<dt id="grn_obj_get_range">
|
390
|
-
grn_id <tt class="descname">grn_obj_get_range</tt><
|
391
|
-
<dd><p>objパラメータのとる値の範囲を表わしているオブジェクトのIDを返します。例えば、<a class="reference internal" href="grn_type.html#grn_builtin_type" title="grn_builtin_type"><tt class="xref c c-type docutils literal"><span class="pre">grn_builtin_type</span></tt></a> にある <tt class="docutils literal"><span class="pre">GRN_DB_INT</span></tt> などを返します。</p>
|
389
|
+
<dt id="c.grn_obj_get_range">
|
390
|
+
grn_id <tt class="descname">grn_obj_get_range</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_range" title="Permalink to this definition">¶</a></dt>
|
391
|
+
<dd><p>objパラメータのとる値の範囲を表わしているオブジェクトのIDを返します。例えば、<a class="reference internal" href="grn_type.html#c.grn_builtin_type" title="grn_builtin_type"><tt class="xref c c-type docutils literal"><span class="pre">grn_builtin_type</span></tt></a> にある <tt class="docutils literal"><span class="pre">GRN_DB_INT</span></tt> などを返します。</p>
|
392
392
|
<table class="docutils field-list" frame="void" rules="none">
|
393
393
|
<col class="field-name" />
|
394
394
|
<col class="field-body" />
|
@@ -403,8 +403,8 @@ grn_id <tt class="descname">grn_obj_get_range</tt><big>(</big><a class="referenc
|
|
403
403
|
</dd></dl>
|
404
404
|
|
405
405
|
<dl class="function">
|
406
|
-
<dt id="grn_obj_expire">
|
407
|
-
int <tt class="descname">grn_obj_expire</tt><
|
406
|
+
<dt id="c.grn_obj_expire">
|
407
|
+
int <tt class="descname">grn_obj_expire</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, int<em> threshold</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_expire" title="Permalink to this definition">¶</a></dt>
|
408
408
|
<dd><p>objの占有するメモリのうち、可能な領域をthresholdを指標として解放します。</p>
|
409
409
|
<table class="docutils field-list" frame="void" rules="none">
|
410
410
|
<col class="field-name" />
|
@@ -420,8 +420,8 @@ int <tt class="descname">grn_obj_expire</tt><big>(</big><a class="reference inte
|
|
420
420
|
</dd></dl>
|
421
421
|
|
422
422
|
<dl class="function">
|
423
|
-
<dt id="grn_obj_check">
|
424
|
-
int <tt class="descname">grn_obj_check</tt><
|
423
|
+
<dt id="c.grn_obj_check">
|
424
|
+
int <tt class="descname">grn_obj_check</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_check" title="Permalink to this definition">¶</a></dt>
|
425
425
|
<dd><p>objに対応するファイルの整合性を検査します。</p>
|
426
426
|
<table class="docutils field-list" frame="void" rules="none">
|
427
427
|
<col class="field-name" />
|
@@ -437,8 +437,8 @@ int <tt class="descname">grn_obj_check</tt><big>(</big><a class="reference inter
|
|
437
437
|
</dd></dl>
|
438
438
|
|
439
439
|
<dl class="function">
|
440
|
-
<dt id="grn_obj_lock">
|
441
|
-
grn_rc <tt class="descname">grn_obj_lock</tt><
|
440
|
+
<dt id="c.grn_obj_lock">
|
441
|
+
grn_rc <tt class="descname">grn_obj_lock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> id</em>, int<em> timeout</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_lock" title="Permalink to this definition">¶</a></dt>
|
442
442
|
<dd><p>objをlockします。timeout(秒)経過してもlockを取得できない場合は <tt class="docutils literal"><span class="pre">GRN_RESOURCE_DEADLOCK_AVOIDED</span></tt> を返します。</p>
|
443
443
|
<table class="docutils field-list" frame="void" rules="none">
|
444
444
|
<col class="field-name" />
|
@@ -454,8 +454,8 @@ grn_rc <tt class="descname">grn_obj_lock</tt><big>(</big><a class="reference int
|
|
454
454
|
</dd></dl>
|
455
455
|
|
456
456
|
<dl class="function">
|
457
|
-
<dt id="grn_obj_unlock">
|
458
|
-
grn_rc <tt class="descname">grn_obj_unlock</tt><
|
457
|
+
<dt id="c.grn_obj_unlock">
|
458
|
+
grn_rc <tt class="descname">grn_obj_unlock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_id<em> id</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_unlock" title="Permalink to this definition">¶</a></dt>
|
459
459
|
<dd><p>objをunlockします。</p>
|
460
460
|
<table class="docutils field-list" frame="void" rules="none">
|
461
461
|
<col class="field-name" />
|
@@ -471,8 +471,8 @@ grn_rc <tt class="descname">grn_obj_unlock</tt><big>(</big><a class="reference i
|
|
471
471
|
</dd></dl>
|
472
472
|
|
473
473
|
<dl class="function">
|
474
|
-
<dt id="grn_obj_clear_lock">
|
475
|
-
grn_rc <tt class="descname">grn_obj_clear_lock</tt><
|
474
|
+
<dt id="c.grn_obj_clear_lock">
|
475
|
+
grn_rc <tt class="descname">grn_obj_clear_lock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_clear_lock" title="Permalink to this definition">¶</a></dt>
|
476
476
|
<dd><p>強制的にロックをクリアします。</p>
|
477
477
|
<table class="docutils field-list" frame="void" rules="none">
|
478
478
|
<col class="field-name" />
|
@@ -488,8 +488,8 @@ grn_rc <tt class="descname">grn_obj_clear_lock</tt><big>(</big><a class="referen
|
|
488
488
|
</dd></dl>
|
489
489
|
|
490
490
|
<dl class="function">
|
491
|
-
<dt id="grn_obj_is_locked">
|
492
|
-
unsigned int <tt class="descname">grn_obj_is_locked</tt><
|
491
|
+
<dt id="c.grn_obj_is_locked">
|
492
|
+
unsigned int <tt class="descname">grn_obj_is_locked</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_is_locked" title="Permalink to this definition">¶</a></dt>
|
493
493
|
<dd><p>objが現在lockされていれば0以外の値を返します。</p>
|
494
494
|
<table class="docutils field-list" frame="void" rules="none">
|
495
495
|
<col class="field-name" />
|
@@ -505,8 +505,8 @@ unsigned int <tt class="descname">grn_obj_is_locked</tt><big>(</big><a class="re
|
|
505
505
|
</dd></dl>
|
506
506
|
|
507
507
|
<dl class="function">
|
508
|
-
<dt id="grn_obj_defrag">
|
509
|
-
int <tt class="descname">grn_obj_defrag</tt><
|
508
|
+
<dt id="c.grn_obj_defrag">
|
509
|
+
int <tt class="descname">grn_obj_defrag</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, int<em> threshold</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_defrag" title="Permalink to this definition">¶</a></dt>
|
510
510
|
<dd><p>objの占有するDBファイル領域のうち、可能な領域をthresholdを指標としてフラグメントの解消を行います。</p>
|
511
511
|
<p>フラグメント解消が実行されたセグメントの数を返します。</p>
|
512
512
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -523,8 +523,8 @@ int <tt class="descname">grn_obj_defrag</tt><big>(</big><a class="reference inte
|
|
523
523
|
</dd></dl>
|
524
524
|
|
525
525
|
<dl class="function">
|
526
|
-
<dt id="grn_obj_id">
|
527
|
-
grn_id <tt class="descname">grn_obj_id</tt><
|
526
|
+
<dt id="c.grn_obj_id">
|
527
|
+
grn_id <tt class="descname">grn_obj_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_id" title="Permalink to this definition">¶</a></dt>
|
528
528
|
<dd><p>objのidを返します。</p>
|
529
529
|
<table class="docutils field-list" frame="void" rules="none">
|
530
530
|
<col class="field-name" />
|
@@ -540,8 +540,8 @@ grn_id <tt class="descname">grn_obj_id</tt><big>(</big><a class="reference inter
|
|
540
540
|
</dd></dl>
|
541
541
|
|
542
542
|
<dl class="function">
|
543
|
-
<dt id="grn_obj_delete_by_id">
|
544
|
-
grn_rc <tt class="descname">grn_obj_delete_by_id</tt><
|
543
|
+
<dt id="c.grn_obj_delete_by_id">
|
544
|
+
grn_rc <tt class="descname">grn_obj_delete_by_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *db</em>, grn_id<em> id</em>, grn_bool<em> removep</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_delete_by_id" title="Permalink to this definition">¶</a></dt>
|
545
545
|
<dd><p>dbからidに対応するテーブルやカラムなどを削除します。mroonga向けに用意した内部APIです。</p>
|
546
546
|
<table class="docutils field-list" frame="void" rules="none">
|
547
547
|
<col class="field-name" />
|
@@ -559,8 +559,8 @@ grn_rc <tt class="descname">grn_obj_delete_by_id</tt><big>(</big><a class="refer
|
|
559
559
|
</dd></dl>
|
560
560
|
|
561
561
|
<dl class="function">
|
562
|
-
<dt id="grn_obj_path_by_id">
|
563
|
-
grn_rc <tt class="descname">grn_obj_path_by_id</tt><
|
562
|
+
<dt id="c.grn_obj_path_by_id">
|
563
|
+
grn_rc <tt class="descname">grn_obj_path_by_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em> *db</em>, grn_id<em> id</em>, char<em> *buffer</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_path_by_id" title="Permalink to this definition">¶</a></dt>
|
564
564
|
<dd><p>dbのidに対応するpathを返します。mroonga向けに用意した内部APIです。</p>
|
565
565
|
<table class="docutils field-list" frame="void" rules="none">
|
566
566
|
<col class="field-name" />
|
@@ -584,30 +584,32 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
|
|
584
584
|
</div>
|
585
585
|
</div>
|
586
586
|
</div>
|
587
|
-
<div class="sphinxsidebar">
|
587
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
588
588
|
<div class="sphinxsidebarwrapper">
|
589
589
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
590
590
|
<ul>
|
591
|
-
<li><a class="reference internal" href="#">8.15.
|
592
|
-
<li><a class="reference internal" href="#summary">8.15.
|
593
|
-
<li><a class="reference internal" href="#example">8.15.
|
594
|
-
<li><a class="reference internal" href="#reference">8.15.
|
591
|
+
<li><a class="reference internal" href="#">8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt></a><ul>
|
592
|
+
<li><a class="reference internal" href="#summary">8.15.15.1. Summary</a></li>
|
593
|
+
<li><a class="reference internal" href="#example">8.15.15.2. Example</a></li>
|
594
|
+
<li><a class="reference internal" href="#reference">8.15.15.3. Reference</a></li>
|
595
595
|
</ul>
|
596
596
|
</li>
|
597
597
|
</ul>
|
598
598
|
|
599
599
|
<h4>Previous topic</h4>
|
600
600
|
<p class="topless"><a href="grn_match_escalation.html"
|
601
|
-
title="previous chapter">8.15.
|
601
|
+
title="previous chapter">8.15.14. <tt class="docutils literal"><span class="pre">grn_match_escalation</span></tt></a></p>
|
602
602
|
<h4>Next topic</h4>
|
603
603
|
<p class="topless"><a href="grn_proc.html"
|
604
|
-
title="next chapter">8.15.
|
605
|
-
<
|
606
|
-
|
607
|
-
<
|
608
|
-
|
609
|
-
|
610
|
-
|
604
|
+
title="next chapter">8.15.16. <tt class="docutils literal"><span class="pre">grn_proc</span></tt></a></p>
|
605
|
+
<div role="note" aria-label="source link">
|
606
|
+
<h3>This Page</h3>
|
607
|
+
<ul class="this-page-menu">
|
608
|
+
<li><a href="../../_sources/reference/api/grn_obj.txt"
|
609
|
+
rel="nofollow">Show Source</a></li>
|
610
|
+
</ul>
|
611
|
+
</div>
|
612
|
+
<div id="searchbox" style="display: none" role="search">
|
611
613
|
<h3>Quick search</h3>
|
612
614
|
<form class="search" action="../../search.html" method="get">
|
613
615
|
<input type="text" name="q" />
|
@@ -624,25 +626,25 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
|
|
624
626
|
</div>
|
625
627
|
<div class="clearer"></div>
|
626
628
|
</div>
|
627
|
-
<div class="related">
|
629
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
628
630
|
<h3>Navigation</h3>
|
629
631
|
<ul>
|
630
632
|
<li class="right" style="margin-right: 10px">
|
631
633
|
<a href="../../genindex.html" title="General Index"
|
632
634
|
>index</a></li>
|
633
635
|
<li class="right" >
|
634
|
-
<a href="grn_proc.html" title="8.15.
|
636
|
+
<a href="grn_proc.html" title="8.15.16. grn_proc"
|
635
637
|
>next</a> |</li>
|
636
638
|
<li class="right" >
|
637
|
-
<a href="grn_match_escalation.html" title="8.15.
|
639
|
+
<a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
|
638
640
|
>previous</a> |</li>
|
639
|
-
<li><a href="../../index.html">Groonga v3.1.1 documentation</a> »</li>
|
641
|
+
<li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcae documentation</a> »</li>
|
640
642
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
641
643
|
<li><a href="../api.html" >8.15. API</a> »</li>
|
642
644
|
</ul>
|
643
645
|
</div>
|
644
|
-
<div class="footer">
|
645
|
-
© Copyright 2009-
|
646
|
+
<div class="footer" role="contentinfo">
|
647
|
+
© Copyright 2009-2014, Brazil, Inc.
|
646
648
|
</div>
|
647
649
|
</body>
|
648
650
|
</html>
|