rroonga 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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ドキュメント</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
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v3.1.1ドキュメント" href="../../index.html" />
|
29
|
+
<link rel="top" title="Groonga v3.1.1-89-g7f6fcaeドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.15. API" href="../api.html" />
|
31
|
-
<link rel="next" title="8.15.
|
32
|
-
<link rel="prev" title="8.15.
|
31
|
+
<link rel="next" title="8.15.16. grn_proc" href="grn_proc.html" />
|
32
|
+
<link rel="prev" title="8.15.14. grn_match_escalation" href="grn_match_escalation.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,19 +49,19 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="grn_proc.html" title="8.15.
|
59
|
+
<a href="grn_proc.html" title="8.15.16. grn_proc"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="grn_match_escalation.html" title="8.15.
|
62
|
+
<a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v3.1.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcaeドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../api.html" accesskey="U">8.15. API</a> »</li>
|
67
67
|
</ul>
|
@@ -70,29 +70,29 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="grn-obj">
|
76
|
-
<h1>8.15.
|
76
|
+
<h1>8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt><a class="headerlink" href="#grn-obj" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>8.15.
|
78
|
+
<h2>8.15.15.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>TODO...</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="example">
|
82
|
-
<h2>8.15.
|
82
|
+
<h2>8.15.15.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<p>TODO...</p>
|
84
84
|
</div>
|
85
85
|
<div class="section" id="reference">
|
86
|
-
<h2>8.15.
|
86
|
+
<h2>8.15.15.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
87
|
<dl class="type">
|
88
|
-
<dt id="grn_obj">
|
89
|
-
<tt class="descname">grn_obj</tt><a class="headerlink" href="#grn_obj" title="この定義へのパーマリンク">¶</a></dt>
|
88
|
+
<dt id="c.grn_obj">
|
89
|
+
<tt class="descname">grn_obj</tt><a class="headerlink" href="#c.grn_obj" title="この定義へのパーマリンク">¶</a></dt>
|
90
90
|
<dd><p>TODO...</p>
|
91
91
|
</dd></dl>
|
92
92
|
|
93
93
|
<dl class="function">
|
94
|
-
<dt id="grn_obj_column">
|
95
|
-
<a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_column</tt><
|
94
|
+
<dt id="c.grn_obj_column">
|
95
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
96
96
|
<dd><p>nameがカラム名の場合、それに対応するtableのカラムを返します。対応するカラムが存在しなければNULLを返します。</p>
|
97
97
|
<p>nameはアクセサ文字列の場合、それに対応するaccessorを返します。アクセサ文字列とは、カラム名等を'.'で連結した文字列です。'_id', '_key'は特殊なアクセサで、それぞれレコードID/keyを返します。例) 'col1' / 'col2.col3' / 'col2._id'</p>
|
98
98
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -110,8 +110,8 @@
|
|
110
110
|
</dd></dl>
|
111
111
|
|
112
112
|
<dl class="function">
|
113
|
-
<dt id="grn_obj_is_builtin">
|
114
|
-
grn_bool <tt class="descname">grn_obj_is_builtin</tt><
|
113
|
+
<dt id="c.grn_obj_is_builtin">
|
114
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
115
115
|
<dd><p>Check whether Groonga built-in object.</p>
|
116
116
|
<table class="docutils field-list" frame="void" rules="none">
|
117
117
|
<col class="field-name" />
|
@@ -131,8 +131,8 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
|
|
131
131
|
</dd></dl>
|
132
132
|
|
133
133
|
<dl class="function">
|
134
|
-
<dt id="grn_obj_get_value">
|
135
|
-
<a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_get_value</tt><
|
134
|
+
<dt id="c.grn_obj_get_value">
|
135
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
136
136
|
<dd><p>objのIDに対応するレコードのvalueを取得します。valueを戻り値として返します。</p>
|
137
137
|
<table class="docutils field-list" frame="void" rules="none">
|
138
138
|
<col class="field-name" />
|
@@ -150,13 +150,13 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
|
|
150
150
|
</dd></dl>
|
151
151
|
|
152
152
|
<dl class="function">
|
153
|
-
<dt id="grn_obj_get_values">
|
154
|
-
int <tt class="descname">grn_obj_get_values</tt><
|
153
|
+
<dt id="c.grn_obj_get_values">
|
154
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
155
155
|
<dd><p>objに指定されたカラムについて、offsetに指定されたレコードIDを開始位置として、IDが連続するレコードに対応するカラム値が昇順に格納された配列へのポインタをvaluesにセットします。</p>
|
156
156
|
<p>取得できた件数が戻り値として返されます。エラーが発生した場合は -1 が返されます。</p>
|
157
157
|
<div class="admonition note">
|
158
158
|
<p class="first admonition-title">ノート</p>
|
159
|
-
<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>
|
159
|
+
<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>
|
160
160
|
</div>
|
161
161
|
<table class="docutils field-list" frame="void" rules="none">
|
162
162
|
<col class="field-name" />
|
@@ -174,8 +174,8 @@ int <tt class="descname">grn_obj_get_values</tt><big>(</big><a class="reference
|
|
174
174
|
</dd></dl>
|
175
175
|
|
176
176
|
<dl class="function">
|
177
|
-
<dt id="grn_obj_set_value">
|
178
|
-
grn_rc <tt class="descname">grn_obj_set_value</tt><
|
177
|
+
<dt id="c.grn_obj_set_value">
|
178
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
179
179
|
<dd><p>objのIDに対応するレコードの値を更新します。対応するレコードが存在しない場合は <tt class="docutils literal"><span class="pre">GRN_INVALID_ARGUMENT</span></tt> を返します。</p>
|
180
180
|
<table class="docutils field-list" frame="void" rules="none">
|
181
181
|
<col class="field-name" />
|
@@ -187,19 +187,19 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
|
|
187
187
|
<li><strong>value</strong> -- 格納する値を指定します。</li>
|
188
188
|
<li><strong>flags</strong> -- <p>以下の値を指定できます。</p>
|
189
189
|
<table class="hlist"><tr><td><ul>
|
190
|
-
<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>
|
191
|
-
<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>
|
192
|
-
<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>
|
190
|
+
<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>
|
191
|
+
<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>
|
192
|
+
<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>
|
193
193
|
</ul>
|
194
194
|
</td><td><ul>
|
195
|
-
<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>
|
196
|
-
<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>
|
197
|
-
<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>
|
195
|
+
<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>
|
196
|
+
<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>
|
197
|
+
<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>
|
198
198
|
</ul>
|
199
199
|
</td><td><ul>
|
200
|
-
<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>
|
201
|
-
<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>
|
202
|
-
<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>
|
200
|
+
<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>
|
201
|
+
<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>
|
202
|
+
<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>
|
203
203
|
</ul>
|
204
204
|
</td></tr></table>
|
205
205
|
</li>
|
@@ -211,67 +211,67 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
|
|
211
211
|
</dd></dl>
|
212
212
|
|
213
213
|
<dl class="macro">
|
214
|
-
<dt id="GRN_OBJ_SET_MASK">
|
215
|
-
<tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#GRN_OBJ_SET_MASK" title="この定義へのパーマリンク">¶</a></dt>
|
214
|
+
<dt id="c.GRN_OBJ_SET_MASK">
|
215
|
+
<tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#c.GRN_OBJ_SET_MASK" title="この定義へのパーマリンク">¶</a></dt>
|
216
216
|
<dd></dd></dl>
|
217
217
|
|
218
218
|
<dl class="macro">
|
219
|
-
<dt id="GRN_OBJ_SET">
|
220
|
-
<tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#GRN_OBJ_SET" title="この定義へのパーマリンク">¶</a></dt>
|
219
|
+
<dt id="c.GRN_OBJ_SET">
|
220
|
+
<tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#c.GRN_OBJ_SET" title="この定義へのパーマリンク">¶</a></dt>
|
221
221
|
<dd><p>レコードの値をvalueと置き換えます。</p>
|
222
222
|
</dd></dl>
|
223
223
|
|
224
224
|
<dl class="macro">
|
225
|
-
<dt id="GRN_OBJ_INCR">
|
226
|
-
<tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#GRN_OBJ_INCR" title="この定義へのパーマリンク">¶</a></dt>
|
225
|
+
<dt id="c.GRN_OBJ_INCR">
|
226
|
+
<tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#c.GRN_OBJ_INCR" title="この定義へのパーマリンク">¶</a></dt>
|
227
227
|
<dd><p>レコードの値にvalueを加算します。</p>
|
228
228
|
</dd></dl>
|
229
229
|
|
230
230
|
<dl class="macro">
|
231
|
-
<dt id="GRN_OBJ_DECR">
|
232
|
-
<tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#GRN_OBJ_DECR" title="この定義へのパーマリンク">¶</a></dt>
|
231
|
+
<dt id="c.GRN_OBJ_DECR">
|
232
|
+
<tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#c.GRN_OBJ_DECR" title="この定義へのパーマリンク">¶</a></dt>
|
233
233
|
<dd><p>レコードの値にvalueを減算します。</p>
|
234
234
|
</dd></dl>
|
235
235
|
|
236
236
|
<dl class="macro">
|
237
|
-
<dt id="GRN_OBJ_APPEND">
|
238
|
-
<tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#GRN_OBJ_APPEND" title="この定義へのパーマリンク">¶</a></dt>
|
237
|
+
<dt id="c.GRN_OBJ_APPEND">
|
238
|
+
<tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#c.GRN_OBJ_APPEND" title="この定義へのパーマリンク">¶</a></dt>
|
239
239
|
<dd><p>レコードの値の末尾にvalueを追加します。</p>
|
240
240
|
</dd></dl>
|
241
241
|
|
242
242
|
<dl class="macro">
|
243
|
-
<dt id="GRN_OBJ_PREPEND">
|
244
|
-
<tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#GRN_OBJ_PREPEND" title="この定義へのパーマリンク">¶</a></dt>
|
243
|
+
<dt id="c.GRN_OBJ_PREPEND">
|
244
|
+
<tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#c.GRN_OBJ_PREPEND" title="この定義へのパーマリンク">¶</a></dt>
|
245
245
|
<dd><p>レコードの値の先頭にvalueを追加します。</p>
|
246
246
|
</dd></dl>
|
247
247
|
|
248
248
|
<dl class="macro">
|
249
|
-
<dt id="GRN_OBJ_GET">
|
250
|
-
<tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#GRN_OBJ_GET" title="この定義へのパーマリンク">¶</a></dt>
|
249
|
+
<dt id="c.GRN_OBJ_GET">
|
250
|
+
<tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#c.GRN_OBJ_GET" title="この定義へのパーマリンク">¶</a></dt>
|
251
251
|
<dd><p>新しいレコードの値をvalueにセットします。</p>
|
252
252
|
</dd></dl>
|
253
253
|
|
254
254
|
<dl class="macro">
|
255
|
-
<dt id="GRN_OBJ_COMPARE">
|
256
|
-
<tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#GRN_OBJ_COMPARE" title="この定義へのパーマリンク">¶</a></dt>
|
255
|
+
<dt id="c.GRN_OBJ_COMPARE">
|
256
|
+
<tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#c.GRN_OBJ_COMPARE" title="この定義へのパーマリンク">¶</a></dt>
|
257
257
|
<dd><p>レコードの値とvalueが等しいか調べます。</p>
|
258
258
|
</dd></dl>
|
259
259
|
|
260
260
|
<dl class="macro">
|
261
|
-
<dt id="GRN_OBJ_LOCK">
|
262
|
-
<tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#GRN_OBJ_LOCK" title="この定義へのパーマリンク">¶</a></dt>
|
263
|
-
<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>
|
261
|
+
<dt id="c.GRN_OBJ_LOCK">
|
262
|
+
<tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#c.GRN_OBJ_LOCK" title="この定義へのパーマリンク">¶</a></dt>
|
263
|
+
<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>
|
264
264
|
</dd></dl>
|
265
265
|
|
266
266
|
<dl class="macro">
|
267
|
-
<dt id="GRN_OBJ_UNLOCK">
|
268
|
-
<tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#GRN_OBJ_UNLOCK" title="この定義へのパーマリンク">¶</a></dt>
|
267
|
+
<dt id="c.GRN_OBJ_UNLOCK">
|
268
|
+
<tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#c.GRN_OBJ_UNLOCK" title="この定義へのパーマリンク">¶</a></dt>
|
269
269
|
<dd><p>当該レコードのロックを解除します。</p>
|
270
270
|
</dd></dl>
|
271
271
|
|
272
272
|
<dl class="function">
|
273
|
-
<dt id="grn_obj_remove">
|
274
|
-
grn_rc <tt class="descname">grn_obj_remove</tt><
|
273
|
+
<dt id="c.grn_obj_remove">
|
274
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
275
275
|
<dd><p>objをメモリから解放し、それが永続オブジェクトであった場合は、該当するファイル一式を削除します。</p>
|
276
276
|
<table class="docutils field-list" frame="void" rules="none">
|
277
277
|
<col class="field-name" />
|
@@ -287,8 +287,8 @@ grn_rc <tt class="descname">grn_obj_remove</tt><big>(</big><a class="reference i
|
|
287
287
|
</dd></dl>
|
288
288
|
|
289
289
|
<dl class="function">
|
290
|
-
<dt id="grn_obj_rename">
|
291
|
-
grn_rc <tt class="descname">grn_obj_rename</tt><
|
290
|
+
<dt id="c.grn_obj_rename">
|
291
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
292
292
|
<dd><p>ctxが使用するdbにおいてobjに対応する名前をnameに更新します。objは永続オブジェクトでなければいけません。</p>
|
293
293
|
<table class="docutils field-list" frame="void" rules="none">
|
294
294
|
<col class="field-name" />
|
@@ -306,10 +306,10 @@ grn_rc <tt class="descname">grn_obj_rename</tt><big>(</big><a class="reference i
|
|
306
306
|
</dd></dl>
|
307
307
|
|
308
308
|
<dl class="function">
|
309
|
-
<dt id="grn_obj_close">
|
310
|
-
grn_rc <tt class="descname">grn_obj_close</tt><
|
309
|
+
<dt id="c.grn_obj_close">
|
310
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
311
311
|
<dd><p>一時的なobjectであるobjをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
|
312
|
-
<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>
|
312
|
+
<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>
|
313
313
|
<table class="docutils field-list" frame="void" rules="none">
|
314
314
|
<col class="field-name" />
|
315
315
|
<col class="field-body" />
|
@@ -324,8 +324,8 @@ grn_rc <tt class="descname">grn_obj_close</tt><big>(</big><a class="reference in
|
|
324
324
|
</dd></dl>
|
325
325
|
|
326
326
|
<dl class="function">
|
327
|
-
<dt id="grn_obj_reinit">
|
328
|
-
grn_rc <tt class="descname">grn_obj_reinit</tt><
|
327
|
+
<dt id="c.grn_obj_reinit">
|
328
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
329
329
|
<dd><p>objの型を変更します。</p>
|
330
330
|
<p>objは <tt class="xref c c-func docutils literal"><span class="pre">GRN_OBJ_INIT()</span></tt> マクロなどで初期化済みでなければいけません。</p>
|
331
331
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -344,14 +344,14 @@ grn_rc <tt class="descname">grn_obj_reinit</tt><big>(</big><a class="reference i
|
|
344
344
|
</dd></dl>
|
345
345
|
|
346
346
|
<dl class="function">
|
347
|
-
<dt id="grn_obj_unlink">
|
348
|
-
void <tt class="descname">grn_obj_unlink</tt><
|
347
|
+
<dt id="c.grn_obj_unlink">
|
348
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
349
349
|
<dd><p>objをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
|
350
350
|
</dd></dl>
|
351
351
|
|
352
352
|
<dl class="function">
|
353
|
-
<dt id="grn_obj_path">
|
354
|
-
const char *<tt class="descname">grn_obj_path</tt><
|
353
|
+
<dt id="c.grn_obj_path">
|
354
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
355
355
|
<dd><p>objに対応するファイルパスを返します。一時objectならNULLを返します。</p>
|
356
356
|
<table class="docutils field-list" frame="void" rules="none">
|
357
357
|
<col class="field-name" />
|
@@ -367,8 +367,8 @@ const char *<tt class="descname">grn_obj_path</tt><big>(</big><a class="referenc
|
|
367
367
|
</dd></dl>
|
368
368
|
|
369
369
|
<dl class="function">
|
370
|
-
<dt id="grn_obj_name">
|
371
|
-
int <tt class="descname">grn_obj_name</tt><
|
370
|
+
<dt id="c.grn_obj_name">
|
371
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
372
372
|
<dd><p>objの名前の長さを返します。無名objectなら0を返します。</p>
|
373
373
|
<p>名前付きのobjectであり、buf_sizeの長さが名前の長以上であった場合は、namebufに該当する名前をコピーします。</p>
|
374
374
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -387,9 +387,9 @@ int <tt class="descname">grn_obj_name</tt><big>(</big><a class="reference intern
|
|
387
387
|
</dd></dl>
|
388
388
|
|
389
389
|
<dl class="function">
|
390
|
-
<dt id="grn_obj_get_range">
|
391
|
-
grn_id <tt class="descname">grn_obj_get_range</tt><
|
392
|
-
<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>
|
390
|
+
<dt id="c.grn_obj_get_range">
|
391
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
392
|
+
<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>
|
393
393
|
<table class="docutils field-list" frame="void" rules="none">
|
394
394
|
<col class="field-name" />
|
395
395
|
<col class="field-body" />
|
@@ -404,8 +404,8 @@ grn_id <tt class="descname">grn_obj_get_range</tt><big>(</big><a class="referenc
|
|
404
404
|
</dd></dl>
|
405
405
|
|
406
406
|
<dl class="function">
|
407
|
-
<dt id="grn_obj_expire">
|
408
|
-
int <tt class="descname">grn_obj_expire</tt><
|
407
|
+
<dt id="c.grn_obj_expire">
|
408
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
409
409
|
<dd><p>objの占有するメモリのうち、可能な領域をthresholdを指標として解放します。</p>
|
410
410
|
<table class="docutils field-list" frame="void" rules="none">
|
411
411
|
<col class="field-name" />
|
@@ -421,8 +421,8 @@ int <tt class="descname">grn_obj_expire</tt><big>(</big><a class="reference inte
|
|
421
421
|
</dd></dl>
|
422
422
|
|
423
423
|
<dl class="function">
|
424
|
-
<dt id="grn_obj_check">
|
425
|
-
int <tt class="descname">grn_obj_check</tt><
|
424
|
+
<dt id="c.grn_obj_check">
|
425
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
426
426
|
<dd><p>objに対応するファイルの整合性を検査します。</p>
|
427
427
|
<table class="docutils field-list" frame="void" rules="none">
|
428
428
|
<col class="field-name" />
|
@@ -438,8 +438,8 @@ int <tt class="descname">grn_obj_check</tt><big>(</big><a class="reference inter
|
|
438
438
|
</dd></dl>
|
439
439
|
|
440
440
|
<dl class="function">
|
441
|
-
<dt id="grn_obj_lock">
|
442
|
-
grn_rc <tt class="descname">grn_obj_lock</tt><
|
441
|
+
<dt id="c.grn_obj_lock">
|
442
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
443
443
|
<dd><p>objをlockします。timeout(秒)経過してもlockを取得できない場合は <tt class="docutils literal"><span class="pre">GRN_RESOURCE_DEADLOCK_AVOIDED</span></tt> を返します。</p>
|
444
444
|
<table class="docutils field-list" frame="void" rules="none">
|
445
445
|
<col class="field-name" />
|
@@ -455,8 +455,8 @@ grn_rc <tt class="descname">grn_obj_lock</tt><big>(</big><a class="reference int
|
|
455
455
|
</dd></dl>
|
456
456
|
|
457
457
|
<dl class="function">
|
458
|
-
<dt id="grn_obj_unlock">
|
459
|
-
grn_rc <tt class="descname">grn_obj_unlock</tt><
|
458
|
+
<dt id="c.grn_obj_unlock">
|
459
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
460
460
|
<dd><p>objをunlockします。</p>
|
461
461
|
<table class="docutils field-list" frame="void" rules="none">
|
462
462
|
<col class="field-name" />
|
@@ -472,8 +472,8 @@ grn_rc <tt class="descname">grn_obj_unlock</tt><big>(</big><a class="reference i
|
|
472
472
|
</dd></dl>
|
473
473
|
|
474
474
|
<dl class="function">
|
475
|
-
<dt id="grn_obj_clear_lock">
|
476
|
-
grn_rc <tt class="descname">grn_obj_clear_lock</tt><
|
475
|
+
<dt id="c.grn_obj_clear_lock">
|
476
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
477
477
|
<dd><p>強制的にロックをクリアします。</p>
|
478
478
|
<table class="docutils field-list" frame="void" rules="none">
|
479
479
|
<col class="field-name" />
|
@@ -489,8 +489,8 @@ grn_rc <tt class="descname">grn_obj_clear_lock</tt><big>(</big><a class="referen
|
|
489
489
|
</dd></dl>
|
490
490
|
|
491
491
|
<dl class="function">
|
492
|
-
<dt id="grn_obj_is_locked">
|
493
|
-
unsigned int <tt class="descname">grn_obj_is_locked</tt><
|
492
|
+
<dt id="c.grn_obj_is_locked">
|
493
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
494
494
|
<dd><p>objが現在lockされていれば0以外の値を返します。</p>
|
495
495
|
<table class="docutils field-list" frame="void" rules="none">
|
496
496
|
<col class="field-name" />
|
@@ -506,8 +506,8 @@ unsigned int <tt class="descname">grn_obj_is_locked</tt><big>(</big><a class="re
|
|
506
506
|
</dd></dl>
|
507
507
|
|
508
508
|
<dl class="function">
|
509
|
-
<dt id="grn_obj_defrag">
|
510
|
-
int <tt class="descname">grn_obj_defrag</tt><
|
509
|
+
<dt id="c.grn_obj_defrag">
|
510
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
511
511
|
<dd><p>objの占有するDBファイル領域のうち、可能な領域をthresholdを指標としてフラグメントの解消を行います。</p>
|
512
512
|
<p>フラグメント解消が実行されたセグメントの数を返します。</p>
|
513
513
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -524,8 +524,8 @@ int <tt class="descname">grn_obj_defrag</tt><big>(</big><a class="reference inte
|
|
524
524
|
</dd></dl>
|
525
525
|
|
526
526
|
<dl class="function">
|
527
|
-
<dt id="grn_obj_id">
|
528
|
-
grn_id <tt class="descname">grn_obj_id</tt><
|
527
|
+
<dt id="c.grn_obj_id">
|
528
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
529
529
|
<dd><p>objのidを返します。</p>
|
530
530
|
<table class="docutils field-list" frame="void" rules="none">
|
531
531
|
<col class="field-name" />
|
@@ -541,8 +541,8 @@ grn_id <tt class="descname">grn_obj_id</tt><big>(</big><a class="reference inter
|
|
541
541
|
</dd></dl>
|
542
542
|
|
543
543
|
<dl class="function">
|
544
|
-
<dt id="grn_obj_delete_by_id">
|
545
|
-
grn_rc <tt class="descname">grn_obj_delete_by_id</tt><
|
544
|
+
<dt id="c.grn_obj_delete_by_id">
|
545
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
546
546
|
<dd><p>dbからidに対応するテーブルやカラムなどを削除します。mroonga向けに用意した内部APIです。</p>
|
547
547
|
<table class="docutils field-list" frame="void" rules="none">
|
548
548
|
<col class="field-name" />
|
@@ -560,8 +560,8 @@ grn_rc <tt class="descname">grn_obj_delete_by_id</tt><big>(</big><a class="refer
|
|
560
560
|
</dd></dl>
|
561
561
|
|
562
562
|
<dl class="function">
|
563
|
-
<dt id="grn_obj_path_by_id">
|
564
|
-
grn_rc <tt class="descname">grn_obj_path_by_id</tt><
|
563
|
+
<dt id="c.grn_obj_path_by_id">
|
564
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
565
565
|
<dd><p>dbのidに対応するpathを返します。mroonga向けに用意した内部APIです。</p>
|
566
566
|
<table class="docutils field-list" frame="void" rules="none">
|
567
567
|
<col class="field-name" />
|
@@ -585,30 +585,32 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
|
|
585
585
|
</div>
|
586
586
|
</div>
|
587
587
|
</div>
|
588
|
-
<div class="sphinxsidebar">
|
588
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
589
589
|
<div class="sphinxsidebarwrapper">
|
590
590
|
<h3><a href="../../index.html">目次</a></h3>
|
591
591
|
<ul>
|
592
|
-
<li><a class="reference internal" href="#">8.15.
|
593
|
-
<li><a class="reference internal" href="#summary">8.15.
|
594
|
-
<li><a class="reference internal" href="#example">8.15.
|
595
|
-
<li><a class="reference internal" href="#reference">8.15.
|
592
|
+
<li><a class="reference internal" href="#">8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt></a><ul>
|
593
|
+
<li><a class="reference internal" href="#summary">8.15.15.1. 概要</a></li>
|
594
|
+
<li><a class="reference internal" href="#example">8.15.15.2. 実行例:</a></li>
|
595
|
+
<li><a class="reference internal" href="#reference">8.15.15.3. リファレンス</a></li>
|
596
596
|
</ul>
|
597
597
|
</li>
|
598
598
|
</ul>
|
599
599
|
|
600
600
|
<h4>前のトピックへ</h4>
|
601
601
|
<p class="topless"><a href="grn_match_escalation.html"
|
602
|
-
title="前の章へ">8.15.
|
602
|
+
title="前の章へ">8.15.14. <tt class="docutils literal"><span class="pre">grn_match_escalation</span></tt></a></p>
|
603
603
|
<h4>次のトピックへ</h4>
|
604
604
|
<p class="topless"><a href="grn_proc.html"
|
605
|
-
title="次の章へ">8.15.
|
606
|
-
<
|
607
|
-
|
608
|
-
<
|
609
|
-
|
610
|
-
|
611
|
-
|
605
|
+
title="次の章へ">8.15.16. <tt class="docutils literal"><span class="pre">grn_proc</span></tt></a></p>
|
606
|
+
<div role="note" aria-label="source link">
|
607
|
+
<h3>このページ</h3>
|
608
|
+
<ul class="this-page-menu">
|
609
|
+
<li><a href="../../_sources/reference/api/grn_obj.txt"
|
610
|
+
rel="nofollow">ソースコードを表示</a></li>
|
611
|
+
</ul>
|
612
|
+
</div>
|
613
|
+
<div id="searchbox" style="display: none" role="search">
|
612
614
|
<h3>クイック検索</h3>
|
613
615
|
<form class="search" action="../../search.html" method="get">
|
614
616
|
<input type="text" name="q" />
|
@@ -625,25 +627,25 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
|
|
625
627
|
</div>
|
626
628
|
<div class="clearer"></div>
|
627
629
|
</div>
|
628
|
-
<div class="related">
|
630
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
629
631
|
<h3>ナビゲーション</h3>
|
630
632
|
<ul>
|
631
633
|
<li class="right" style="margin-right: 10px">
|
632
634
|
<a href="../../genindex.html" title="総合索引"
|
633
635
|
>索引</a></li>
|
634
636
|
<li class="right" >
|
635
|
-
<a href="grn_proc.html" title="8.15.
|
637
|
+
<a href="grn_proc.html" title="8.15.16. grn_proc"
|
636
638
|
>次へ</a> |</li>
|
637
639
|
<li class="right" >
|
638
|
-
<a href="grn_match_escalation.html" title="8.15.
|
640
|
+
<a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
|
639
641
|
>前へ</a> |</li>
|
640
|
-
<li><a href="../../index.html">Groonga v3.1.1ドキュメント</a> »</li>
|
642
|
+
<li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcaeドキュメント</a> »</li>
|
641
643
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
642
644
|
<li><a href="../api.html" >8.15. API</a> »</li>
|
643
645
|
</ul>
|
644
646
|
</div>
|
645
|
-
<div class="footer">
|
646
|
-
© Copyright 2009-
|
647
|
+
<div class="footer" role="contentinfo">
|
648
|
+
© Copyright 2009-2014, Brazil, Inc.
|
647
649
|
</div>
|
648
650
|
</body>
|
649
651
|
</html>
|