rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-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 +13 -5
- data/README.md +1 -1
- data/doc/text/news.textile +17 -1
- data/ext/groonga/extconf.rb +2 -1
- data/ext/groonga/rb-grn-column.c +31 -0
- data/ext/groonga/rb-grn-database.c +33 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/geo-point.rb +2 -1
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +68 -6
- data/test/test-command-select.rb +0 -3
- data/test/test-database.rb +28 -1
- data/test/test-expression-builder.rb +1 -1
- data/test/test-geo-point.rb +15 -0
- data/test/test-variable-size-column.rb +2 -2
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +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/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +4 -1
- data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
- data/vendor/local/include/lz4.h +21 -29
- data/vendor/local/include/lz4frame.h +252 -0
- data/vendor/local/include/lz4hc.h +14 -63
- 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/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.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/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.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/groonga/scripts/ruby/command/grndb.rb +169 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
- 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/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.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/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/groonga/html/admin/index.html +1 -1
- data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
- data/vendor/local/share/license/mruby/AUTHORS +11 -0
- data/vendor/local/share/license/mruby/README.md +32 -20
- data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
- data/vendor/local/share/man/man1/groonga.1 +930 -239
- metadata +104 -81
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.18.2. grn_cache — Groonga v4.0.8 documentation</title>
|
10
|
+
<title>7.18.2. grn_cache — Groonga v4.0.8-168-gae696d7 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: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
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 v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.3. grn_column" href="grn_column.html" />
|
31
31
|
<link rel="prev" title="7.18.1. Global configurations" href="global_configurations.html" />
|
32
32
|
</head>
|
33
|
-
<body
|
33
|
+
<body>
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related"
|
51
|
+
<div class="related">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="global_configurations.html" title="7.18.1. Global configurations"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,31 +69,31 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="grn-cache">
|
75
|
-
<h1>7.18.2. <
|
75
|
+
<h1>7.18.2. <tt class="docutils literal"><span class="pre">grn_cache</span></tt><a class="headerlink" href="#grn-cache" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.18.2.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<div class="admonition note">
|
79
79
|
<p class="first admonition-title">Note</p>
|
80
80
|
<p class="last">This API is experimental.</p>
|
81
81
|
</div>
|
82
|
-
<p><
|
82
|
+
<p><tt class="docutils literal"><span class="pre">grn_cache</span></tt> is a data store that keeps responses of
|
83
83
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command. It is not general use cache
|
84
84
|
object. It is only for <a class="reference internal" href="../commands/select.html"><em>select</em></a> command.</p>
|
85
85
|
<p>You can just change the current cache object by
|
86
|
-
<a class="reference internal" href="#c.grn_cache_current_set" title="grn_cache_current_set"><
|
86
|
+
<a class="reference internal" href="#c.grn_cache_current_set" title="grn_cache_current_set"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_current_set()</span></tt></a>. <a class="reference internal" href="../commands/select.html"><em>select</em></a>
|
87
87
|
command response cache is done internally.</p>
|
88
88
|
<p><a class="reference internal" href="../commands/select.html"><em>select</em></a> command uses one global cache
|
89
89
|
object. If you open multiple databases, the one cache is shared. It is
|
90
90
|
an important problem.</p>
|
91
91
|
<p>If you open multiple databases and use
|
92
92
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command, you need to use
|
93
|
-
<
|
93
|
+
<tt class="docutils literal"><span class="pre">grn_cache</span></tt> object. It is <a class="reference internal" href="../executables/groonga-httpd.html"><em>groonga-httpd</em></a>
|
94
94
|
case. If you open only one database or don't use
|
95
95
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command, you don't need to use
|
96
|
-
<
|
96
|
+
<tt class="docutils literal"><span class="pre">grn_cache</span></tt> object. It is <a class="reference external" href="http://ranguba.org/#about-rroonga">rroonga</a> case.</p>
|
97
97
|
</div>
|
98
98
|
<div class="section" id="example">
|
99
99
|
<h2>7.18.2.2. Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
@@ -112,18 +112,18 @@ case. If you open only one database or don't use
|
|
112
112
|
<h2>7.18.2.3. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
113
113
|
<dl class="type">
|
114
114
|
<dt id="c.grn_cache">
|
115
|
-
<
|
116
|
-
<dd><p>It is an opaque cache object. You can create a <
|
117
|
-
<a class="reference internal" href="#c.grn_cache_open" title="grn_cache_open"><
|
118
|
-
<a class="reference internal" href="#c.grn_cache_close" title="grn_cache_close"><
|
115
|
+
<tt class="descname">grn_cache</tt><a class="headerlink" href="#c.grn_cache" title="Permalink to this definition">¶</a></dt>
|
116
|
+
<dd><p>It is an opaque cache object. You can create a <tt class="docutils literal"><span class="pre">grn_cache</span></tt> by
|
117
|
+
<a class="reference internal" href="#c.grn_cache_open" title="grn_cache_open"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_open()</span></tt></a> and free the created object by
|
118
|
+
<a class="reference internal" href="#c.grn_cache_close" title="grn_cache_close"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></tt></a>.</p>
|
119
119
|
</dd></dl>
|
120
120
|
|
121
121
|
<dl class="function">
|
122
122
|
<dt id="c.grn_cache_open">
|
123
|
-
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<
|
123
|
+
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<tt class="descname">grn_cache_open</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em><big>)</big><a class="headerlink" href="#c.grn_cache_open" title="Permalink to this definition">¶</a></dt>
|
124
124
|
<dd><p>Creates a new cache object.</p>
|
125
|
-
<p>If memory allocation for the new cache object is failed, <
|
126
|
-
is returned. Error information is stored into the <
|
125
|
+
<p>If memory allocation for the new cache object is failed, <tt class="docutils literal"><span class="pre">NULL</span></tt>
|
126
|
+
is returned. Error information is stored into the <tt class="docutils literal"><span class="pre">ctx</span></tt>.</p>
|
127
127
|
<table class="docutils field-list" frame="void" rules="none">
|
128
128
|
<col class="field-name" />
|
129
129
|
<col class="field-body" />
|
@@ -133,9 +133,9 @@ is returned. Error information is stored into the <code class="docutils literal"
|
|
133
133
|
</ul>
|
134
134
|
</td>
|
135
135
|
</tr>
|
136
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A newly allocated cache object on success, <
|
136
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A newly allocated cache object on success, <tt class="docutils literal"><span class="pre">NULL</span></tt>
|
137
137
|
otherwise. The returned cache object must be freed by
|
138
|
-
<a class="reference internal" href="#c.grn_cache_close" title="grn_cache_close"><
|
138
|
+
<a class="reference internal" href="#c.grn_cache_close" title="grn_cache_close"><tt class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></tt></a>.</p>
|
139
139
|
</td>
|
140
140
|
</tr>
|
141
141
|
</tbody>
|
@@ -144,8 +144,8 @@ otherwise. The returned cache object must be freed by
|
|
144
144
|
|
145
145
|
<dl class="function">
|
146
146
|
<dt id="c.grn_cache_close">
|
147
|
-
grn_rc <
|
148
|
-
<dd><p>Frees resourses of the <
|
147
|
+
grn_rc <tt class="descname">grn_cache_close</tt><big>(</big><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#c.grn_cache_close" title="Permalink to this definition">¶</a></dt>
|
148
|
+
<dd><p>Frees resourses of the <tt class="docutils literal"><span class="pre">cache</span></tt>.</p>
|
149
149
|
<table class="docutils field-list" frame="void" rules="none">
|
150
150
|
<col class="field-name" />
|
151
151
|
<col class="field-body" />
|
@@ -156,7 +156,7 @@ grn_rc <code class="descname">grn_cache_close</code><span class="sig-paren">(</s
|
|
156
156
|
</ul>
|
157
157
|
</td>
|
158
158
|
</tr>
|
159
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
159
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> otherwise.</p>
|
160
160
|
</td>
|
161
161
|
</tr>
|
162
162
|
</tbody>
|
@@ -165,7 +165,7 @@ grn_rc <code class="descname">grn_cache_close</code><span class="sig-paren">(</s
|
|
165
165
|
|
166
166
|
<dl class="function">
|
167
167
|
<dt id="c.grn_cache_current_set">
|
168
|
-
grn_rc <
|
168
|
+
grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#c.grn_cache_current_set" title="Permalink to this definition">¶</a></dt>
|
169
169
|
<dd><p>Sets the cache object that is used in
|
170
170
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command.</p>
|
171
171
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -179,7 +179,7 @@ grn_rc <code class="descname">grn_cache_current_set</code><span class="sig-paren
|
|
179
179
|
</ul>
|
180
180
|
</td>
|
181
181
|
</tr>
|
182
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
182
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> otherwise.</p>
|
183
183
|
</td>
|
184
184
|
</tr>
|
185
185
|
</tbody>
|
@@ -188,7 +188,7 @@ grn_rc <code class="descname">grn_cache_current_set</code><span class="sig-paren
|
|
188
188
|
|
189
189
|
<dl class="function">
|
190
190
|
<dt id="c.grn_cache_current_get">
|
191
|
-
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<
|
191
|
+
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<tt class="descname">grn_cache_current_get</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em><big>)</big><a class="headerlink" href="#c.grn_cache_current_get" title="Permalink to this definition">¶</a></dt>
|
192
192
|
<dd><p>Gets the cache object that is used in
|
193
193
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command.</p>
|
194
194
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -201,7 +201,7 @@ grn_rc <code class="descname">grn_cache_current_set</code><span class="sig-paren
|
|
201
201
|
</td>
|
202
202
|
</tr>
|
203
203
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The cache object that is used in
|
204
|
-
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command. It may be <
|
204
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a> command. It may be <tt class="docutils literal"><span class="pre">NULL</span></tt>.</p>
|
205
205
|
</td>
|
206
206
|
</tr>
|
207
207
|
</tbody>
|
@@ -210,7 +210,7 @@ grn_rc <code class="descname">grn_cache_current_set</code><span class="sig-paren
|
|
210
210
|
|
211
211
|
<dl class="function">
|
212
212
|
<dt id="c.grn_cache_set_max_n_entries">
|
213
|
-
grn_rc <
|
213
|
+
grn_rc <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><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_cache" title="grn_cache">grn_cache</a><em> *cache</em>, unsigned int<em> n</em><big>)</big><a class="headerlink" href="#c.grn_cache_set_max_n_entries" title="Permalink to this definition">¶</a></dt>
|
214
214
|
<dd><p>Sets the max number of entries of the cache object.</p>
|
215
215
|
<table class="docutils field-list" frame="void" rules="none">
|
216
216
|
<col class="field-name" />
|
@@ -223,7 +223,7 @@ grn_rc <code class="descname">grn_cache_set_max_n_entries</code><span class="sig
|
|
223
223
|
</ul>
|
224
224
|
</td>
|
225
225
|
</tr>
|
226
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
226
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> otherwise.</p>
|
227
227
|
</td>
|
228
228
|
</tr>
|
229
229
|
</tbody>
|
@@ -232,7 +232,7 @@ grn_rc <code class="descname">grn_cache_set_max_n_entries</code><span class="sig
|
|
232
232
|
|
233
233
|
<dl class="function">
|
234
234
|
<dt id="c.grn_cache_get_max_n_entries">
|
235
|
-
unsigned int <
|
235
|
+
unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><big>)</big><a class="headerlink" href="#c.grn_cache_get_max_n_entries" title="Permalink to this definition">¶</a></dt>
|
236
236
|
<dd><p>Gets the max number of entries of the cache object.</p>
|
237
237
|
<table class="docutils field-list" frame="void" rules="none">
|
238
238
|
<col class="field-name" />
|
@@ -258,11 +258,11 @@ unsigned int <code class="descname">grn_cache_get_max_n_entries</code><span clas
|
|
258
258
|
</div>
|
259
259
|
</div>
|
260
260
|
</div>
|
261
|
-
<div class="sphinxsidebar"
|
261
|
+
<div class="sphinxsidebar">
|
262
262
|
<div class="sphinxsidebarwrapper">
|
263
263
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
264
264
|
<ul>
|
265
|
-
<li><a class="reference internal" href="#">7.18.2. <
|
265
|
+
<li><a class="reference internal" href="#">7.18.2. <tt class="docutils literal"><span class="pre">grn_cache</span></tt></a><ul>
|
266
266
|
<li><a class="reference internal" href="#summary">7.18.2.1. Summary</a></li>
|
267
267
|
<li><a class="reference internal" href="#example">7.18.2.2. Example</a></li>
|
268
268
|
<li><a class="reference internal" href="#reference">7.18.2.3. Reference</a></li>
|
@@ -275,15 +275,13 @@ unsigned int <code class="descname">grn_cache_get_max_n_entries</code><span clas
|
|
275
275
|
title="previous chapter">7.18.1. Global configurations</a></p>
|
276
276
|
<h4>Next topic</h4>
|
277
277
|
<p class="topless"><a href="grn_column.html"
|
278
|
-
title="next chapter">7.18.3. <
|
279
|
-
<
|
280
|
-
|
281
|
-
<
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
</div>
|
286
|
-
<div id="searchbox" style="display: none" role="search">
|
278
|
+
title="next chapter">7.18.3. <tt class="docutils literal"><span class="pre">grn_column</span></tt></a></p>
|
279
|
+
<h3>This Page</h3>
|
280
|
+
<ul class="this-page-menu">
|
281
|
+
<li><a href="../../_sources/reference/api/grn_cache.txt"
|
282
|
+
rel="nofollow">Show Source</a></li>
|
283
|
+
</ul>
|
284
|
+
<div id="searchbox" style="display: none">
|
287
285
|
<h3>Quick search</h3>
|
288
286
|
<form class="search" action="../../search.html" method="get">
|
289
287
|
<input type="text" name="q" />
|
@@ -300,7 +298,7 @@ unsigned int <code class="descname">grn_cache_get_max_n_entries</code><span clas
|
|
300
298
|
</div>
|
301
299
|
<div class="clearer"></div>
|
302
300
|
</div>
|
303
|
-
<div class="related"
|
301
|
+
<div class="related">
|
304
302
|
<h3>Navigation</h3>
|
305
303
|
<ul>
|
306
304
|
<li class="right" style="margin-right: 10px">
|
@@ -312,12 +310,12 @@ unsigned int <code class="descname">grn_cache_get_max_n_entries</code><span clas
|
|
312
310
|
<li class="right" >
|
313
311
|
<a href="global_configurations.html" title="7.18.1. Global configurations"
|
314
312
|
>previous</a> |</li>
|
315
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
313
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
316
314
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
317
315
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
318
316
|
</ul>
|
319
317
|
</div>
|
320
|
-
<div class="footer"
|
318
|
+
<div class="footer">
|
321
319
|
© Copyright 2009-2014, Brazil, Inc.
|
322
320
|
</div>
|
323
321
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.18.3. grn_column — Groonga v4.0.8 documentation</title>
|
10
|
+
<title>7.18.3. grn_column — Groonga v4.0.8-168-gae696d7 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: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
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 v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.4. grn_command_version" href="grn_command_version.html" />
|
31
31
|
<link rel="prev" title="7.18.2. grn_cache" href="grn_cache.html" />
|
32
32
|
</head>
|
33
|
-
<body
|
33
|
+
<body>
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related"
|
51
|
+
<div class="related">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_cache.html" title="7.18.2. grn_cache"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="grn-column">
|
75
|
-
<h1>7.18.3. <
|
75
|
+
<h1>7.18.3. <tt class="docutils literal"><span class="pre">grn_column</span></tt><a class="headerlink" href="#grn-column" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.18.3.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>TODO...</p>
|
@@ -85,9 +85,9 @@
|
|
85
85
|
<h2>7.18.3.3. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
86
86
|
<dl class="macro">
|
87
87
|
<dt id="c.GRN_COLUMN_NAME_ID">
|
88
|
-
<
|
89
|
-
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <
|
90
|
-
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_ID_LEN" title="GRN_COLUMN_NAME_ID_LEN"><
|
88
|
+
<tt class="descname">GRN_COLUMN_NAME_ID</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_ID" title="Permalink to this definition">¶</a></dt>
|
89
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <tt class="docutils literal"><span class="pre">_id</span></tt>.</p>
|
90
|
+
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_ID_LEN" title="GRN_COLUMN_NAME_ID_LEN"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_ID_LEN</span></tt></a> like
|
91
91
|
the following:</p>
|
92
92
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="o">*</span><span class="n">id_column</span><span class="p">;</span>
|
93
93
|
<span class="n">id_column</span> <span class="o">=</span> <span class="n">grn_ctx_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_ID</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_ID_LEN</span><span class="p">);</span>
|
@@ -98,16 +98,16 @@ the following:</p>
|
|
98
98
|
|
99
99
|
<dl class="macro">
|
100
100
|
<dt id="c.GRN_COLUMN_NAME_ID_LEN">
|
101
|
-
<
|
102
|
-
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_ID" title="GRN_COLUMN_NAME_ID"><
|
101
|
+
<tt class="descname">GRN_COLUMN_NAME_ID_LEN</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_ID_LEN" title="Permalink to this definition">¶</a></dt>
|
102
|
+
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_ID" title="GRN_COLUMN_NAME_ID"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_ID</span></tt></a>.</p>
|
103
103
|
<p>Since 3.1.1.</p>
|
104
104
|
</dd></dl>
|
105
105
|
|
106
106
|
<dl class="macro">
|
107
107
|
<dt id="c.GRN_COLUMN_NAME_KEY">
|
108
|
-
<
|
109
|
-
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <
|
110
|
-
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_KEY_LEN" title="GRN_COLUMN_NAME_KEY_LEN"><
|
108
|
+
<tt class="descname">GRN_COLUMN_NAME_KEY</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_KEY" title="Permalink to this definition">¶</a></dt>
|
109
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
110
|
+
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_KEY_LEN" title="GRN_COLUMN_NAME_KEY_LEN"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_KEY_LEN</span></tt></a> like
|
111
111
|
the following:</p>
|
112
112
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="o">*</span><span class="n">key_column</span><span class="p">;</span>
|
113
113
|
<span class="n">key_column</span> <span class="o">=</span> <span class="n">grn_ctx_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_KEY</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_KEY_LEN</span><span class="p">);</span>
|
@@ -118,16 +118,16 @@ the following:</p>
|
|
118
118
|
|
119
119
|
<dl class="macro">
|
120
120
|
<dt id="c.GRN_COLUMN_NAME_KEY_LEN">
|
121
|
-
<
|
122
|
-
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_KEY" title="GRN_COLUMN_NAME_KEY"><
|
121
|
+
<tt class="descname">GRN_COLUMN_NAME_KEY_LEN</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_KEY_LEN" title="Permalink to this definition">¶</a></dt>
|
122
|
+
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_KEY" title="GRN_COLUMN_NAME_KEY"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_KEY</span></tt></a>.</p>
|
123
123
|
<p>Since 3.1.1.</p>
|
124
124
|
</dd></dl>
|
125
125
|
|
126
126
|
<dl class="macro">
|
127
127
|
<dt id="c.GRN_COLUMN_NAME_VALUE">
|
128
|
-
<
|
129
|
-
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <
|
130
|
-
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_VALUE_LEN" title="GRN_COLUMN_NAME_VALUE_LEN"><
|
128
|
+
<tt class="descname">GRN_COLUMN_NAME_VALUE</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_VALUE" title="Permalink to this definition">¶</a></dt>
|
129
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <tt class="docutils literal"><span class="pre">_value</span></tt>.</p>
|
130
|
+
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_VALUE_LEN" title="GRN_COLUMN_NAME_VALUE_LEN"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_VALUE_LEN</span></tt></a> like
|
131
131
|
the following:</p>
|
132
132
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="o">*</span><span class="n">value_column</span><span class="p">;</span>
|
133
133
|
<span class="n">value_column</span> <span class="o">=</span> <span class="n">grn_ctx_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_VALUE</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_VALUE_LEN</span><span class="p">);</span>
|
@@ -138,16 +138,16 @@ the following:</p>
|
|
138
138
|
|
139
139
|
<dl class="macro">
|
140
140
|
<dt id="c.GRN_COLUMN_NAME_VALUE_LEN">
|
141
|
-
<
|
142
|
-
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_VALUE" title="GRN_COLUMN_NAME_VALUE"><
|
141
|
+
<tt class="descname">GRN_COLUMN_NAME_VALUE_LEN</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_VALUE_LEN" title="Permalink to this definition">¶</a></dt>
|
142
|
+
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_VALUE" title="GRN_COLUMN_NAME_VALUE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_VALUE</span></tt></a>.</p>
|
143
143
|
<p>Since 3.1.1.</p>
|
144
144
|
</dd></dl>
|
145
145
|
|
146
146
|
<dl class="macro">
|
147
147
|
<dt id="c.GRN_COLUMN_NAME_SCORE">
|
148
|
-
<
|
149
|
-
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <
|
150
|
-
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_SCORE_LEN" title="GRN_COLUMN_NAME_SCORE_LEN"><
|
148
|
+
<tt class="descname">GRN_COLUMN_NAME_SCORE</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_SCORE" title="Permalink to this definition">¶</a></dt>
|
149
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <tt class="docutils literal"><span class="pre">_score</span></tt>.</p>
|
150
|
+
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_SCORE_LEN" title="GRN_COLUMN_NAME_SCORE_LEN"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_SCORE_LEN</span></tt></a> like
|
151
151
|
the following:</p>
|
152
152
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="o">*</span><span class="n">score_column</span><span class="p">;</span>
|
153
153
|
<span class="n">score_column</span> <span class="o">=</span> <span class="n">grn_ctx_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_SCORE</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_SCORE_LEN</span><span class="p">);</span>
|
@@ -158,16 +158,16 @@ the following:</p>
|
|
158
158
|
|
159
159
|
<dl class="macro">
|
160
160
|
<dt id="c.GRN_COLUMN_NAME_SCORE_LEN">
|
161
|
-
<
|
162
|
-
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_SCORE" title="GRN_COLUMN_NAME_SCORE"><
|
161
|
+
<tt class="descname">GRN_COLUMN_NAME_SCORE_LEN</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_SCORE_LEN" title="Permalink to this definition">¶</a></dt>
|
162
|
+
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_SCORE" title="GRN_COLUMN_NAME_SCORE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_SCORE</span></tt></a>.</p>
|
163
163
|
<p>Since 3.1.1.</p>
|
164
164
|
</dd></dl>
|
165
165
|
|
166
166
|
<dl class="macro">
|
167
167
|
<dt id="c.GRN_COLUMN_NAME_NSUBRECS">
|
168
|
-
<
|
169
|
-
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <
|
170
|
-
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_NSUBRECS_LEN" title="GRN_COLUMN_NAME_NSUBRECS_LEN"><
|
168
|
+
<tt class="descname">GRN_COLUMN_NAME_NSUBRECS</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_NSUBRECS" title="Permalink to this definition">¶</a></dt>
|
169
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> <tt class="docutils literal"><span class="pre">_nsubrecs</span></tt>.</p>
|
170
|
+
<p>It is useful to use with <a class="reference internal" href="#c.GRN_COLUMN_NAME_NSUBRECS_LEN" title="GRN_COLUMN_NAME_NSUBRECS_LEN"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_NSUBRECS_LEN</span></tt></a> like
|
171
171
|
the following:</p>
|
172
172
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="o">*</span><span class="n">nsubrecs_column</span><span class="p">;</span>
|
173
173
|
<span class="n">nsubrecs_column</span> <span class="o">=</span> <span class="n">grn_ctx_get</span><span class="p">(</span><span class="n">ctx</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_NSUBRECS</span><span class="p">,</span> <span class="n">GRN_COLUMN_NAME_NSUBRECS_LEN</span><span class="p">);</span>
|
@@ -178,14 +178,14 @@ the following:</p>
|
|
178
178
|
|
179
179
|
<dl class="macro">
|
180
180
|
<dt id="c.GRN_COLUMN_NAME_NSUBRECS_LEN">
|
181
|
-
<
|
182
|
-
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_NSUBRECS" title="GRN_COLUMN_NAME_NSUBRECS"><
|
181
|
+
<tt class="descname">GRN_COLUMN_NAME_NSUBRECS_LEN</tt><a class="headerlink" href="#c.GRN_COLUMN_NAME_NSUBRECS_LEN" title="Permalink to this definition">¶</a></dt>
|
182
|
+
<dd><p>It returns the byte size of <a class="reference internal" href="#c.GRN_COLUMN_NAME_NSUBRECS" title="GRN_COLUMN_NAME_NSUBRECS"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_NSUBRECS</span></tt></a>.</p>
|
183
183
|
<p>Since 3.1.1.</p>
|
184
184
|
</dd></dl>
|
185
185
|
|
186
186
|
<dl class="function">
|
187
187
|
<dt id="c.grn_column_create">
|
188
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
188
|
+
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_column_create</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *table</em>, const char<em> *name</em>, unsigned int<em> name_size</em>, const char<em> *path</em>, grn_obj_flags<em> flags</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *type</em><big>)</big><a class="headerlink" href="#c.grn_column_create" title="Permalink to this definition">¶</a></dt>
|
189
189
|
<dd><p>tableに新たなカラムを定義します。nameは省略できません。一つのtableに同一のnameのcolumnを複数定義することはできません。</p>
|
190
190
|
<table class="docutils field-list" frame="void" rules="none">
|
191
191
|
<col class="field-name" />
|
@@ -196,17 +196,17 @@ the following:</p>
|
|
196
196
|
<li><strong>name</strong> -- カラム名を指定します。</li>
|
197
197
|
<li><strong>name_size</strong> -- nameパラメータのsize(byte)を指定します。</li>
|
198
198
|
<li><strong>path</strong> -- カラムを格納するファイルパスを指定します。
|
199
|
-
flagsに <
|
199
|
+
flagsに <tt class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></tt> が指定されている場合のみ有効です。
|
200
200
|
NULLなら自動的にファイルパスが付与されます。</li>
|
201
|
-
<li><strong>flags</strong> -- <p><
|
202
|
-
<p><
|
203
|
-
<p><
|
204
|
-
<p><
|
205
|
-
<p><
|
206
|
-
<p><
|
207
|
-
<p><
|
208
|
-
<p><
|
209
|
-
<p><
|
201
|
+
<li><strong>flags</strong> -- <p><tt class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></tt> を指定すると永続columnとなります。</p>
|
202
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> を指定すると転置インデックスとなります。</p>
|
203
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_SCALAR</span></tt> を指定するとスカラ値(単独の値)を格納します。</p>
|
204
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_VECTOR</span></tt> を指定すると値の配列を格納します。</p>
|
205
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_ZLIB</span></tt> を指定すると値をzlib圧縮して格納します。</p>
|
206
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_LZO</span></tt> を指定すると値をlzo圧縮して格納します。</p>
|
207
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_SECTION</span></tt> を指定すると、転置索引にsection(段落情報)を合わせて格納します。</p>
|
208
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_WEIGHT</span></tt> を指定すると、転置索引にweight情報を合わせて格納します。</p>
|
209
|
+
<p><tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> と共に <tt class="docutils literal"><span class="pre">GRN_OBJ_WITH_POSITION</span></tt> を指定すると、転置索引に出現位置情報を合わせて格納します。</p>
|
210
210
|
</li>
|
211
211
|
<li><strong>type</strong> -- カラム値の型を指定します。定義済みのtypeあるいはtableを指定できます。</li>
|
212
212
|
</ul>
|
@@ -218,8 +218,8 @@ NULLなら自動的にファイルパスが付与されます。</li>
|
|
218
218
|
|
219
219
|
<dl class="function">
|
220
220
|
<dt id="c.grn_column_index_update">
|
221
|
-
grn_rc <
|
222
|
-
<dd><p>oldvalue, newvalueの値から得られるキーに対応するcolumnの値の中の、id, sectionに対応するエントリを更新します。columnは <
|
221
|
+
grn_rc <tt class="descname">grn_column_index_update</tt><big>(</big><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, grn_id<em> id</em>, unsigned int<em> section</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *oldvalue</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *newvalue</em><big>)</big><a class="headerlink" href="#c.grn_column_index_update" title="Permalink to this definition">¶</a></dt>
|
222
|
+
<dd><p>oldvalue, newvalueの値から得られるキーに対応するcolumnの値の中の、id, sectionに対応するエントリを更新します。columnは <tt class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></tt> 型のカラムでなければなりません。</p>
|
223
223
|
<table class="docutils field-list" frame="void" rules="none">
|
224
224
|
<col class="field-name" />
|
225
225
|
<col class="field-body" />
|
@@ -239,7 +239,7 @@ grn_rc <code class="descname">grn_column_index_update</code><span class="sig-par
|
|
239
239
|
|
240
240
|
<dl class="function">
|
241
241
|
<dt id="c.grn_column_table">
|
242
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
242
|
+
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_column_table</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em><big>)</big><a class="headerlink" href="#c.grn_column_table" title="Permalink to this definition">¶</a></dt>
|
243
243
|
<dd><p>columnが属するtableを返します。</p>
|
244
244
|
<table class="docutils field-list" frame="void" rules="none">
|
245
245
|
<col class="field-name" />
|
@@ -256,7 +256,7 @@ grn_rc <code class="descname">grn_column_index_update</code><span class="sig-par
|
|
256
256
|
|
257
257
|
<dl class="function">
|
258
258
|
<dt id="c.grn_column_rename">
|
259
|
-
grn_rc <
|
259
|
+
grn_rc <tt class="descname">grn_column_rename</tt><big>(</big><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, const char<em> *name</em>, unsigned int<em> name_size</em><big>)</big><a class="headerlink" href="#c.grn_column_rename" title="Permalink to this definition">¶</a></dt>
|
260
260
|
<dd><p>ctxが使用するdbにおいてcolumnに対応する名前をnameに更新します。columnは永続オブジェクトでなければいけません。</p>
|
261
261
|
<table class="docutils field-list" frame="void" rules="none">
|
262
262
|
<col class="field-name" />
|
@@ -275,7 +275,7 @@ grn_rc <code class="descname">grn_column_rename</code><span class="sig-paren">(<
|
|
275
275
|
|
276
276
|
<dl class="function">
|
277
277
|
<dt id="c.grn_column_name">
|
278
|
-
int <
|
278
|
+
int <tt class="descname">grn_column_name</tt><big>(</big><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, char<em> *namebuf</em>, int<em> buf_size</em><big>)</big><a class="headerlink" href="#c.grn_column_name" title="Permalink to this definition">¶</a></dt>
|
279
279
|
<dd><p>カラムobjの名前の長さを返します。buf_sizeの長さが名前の長さ以上であった場合は、namebufに該当する名前をコピーします。</p>
|
280
280
|
<table class="docutils field-list" frame="void" rules="none">
|
281
281
|
<col class="field-name" />
|
@@ -294,7 +294,7 @@ int <code class="descname">grn_column_name</code><span class="sig-paren">(</span
|
|
294
294
|
|
295
295
|
<dl class="function">
|
296
296
|
<dt id="c.grn_column_index">
|
297
|
-
int <
|
297
|
+
int <tt class="descname">grn_column_index</tt><big>(</big><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em>, grn_operator<em> op</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> **indexbuf</em>, int<em> buf_size</em>, int<em> *section</em><big>)</big><a class="headerlink" href="#c.grn_column_index" title="Permalink to this definition">¶</a></dt>
|
298
298
|
<dd><p>columnに張られているindexのうち、opの操作を実行可能なものの数を返します。またそれらのidを、buf_sizeに指定された個数を上限としてindexbufに返します。</p>
|
299
299
|
<table class="docutils field-list" frame="void" rules="none">
|
300
300
|
<col class="field-name" />
|
@@ -313,6 +313,36 @@ int <code class="descname">grn_column_index</code><span class="sig-paren">(</spa
|
|
313
313
|
</table>
|
314
314
|
</dd></dl>
|
315
315
|
|
316
|
+
<dl class="function">
|
317
|
+
<dt id="c.grn_column_truncate">
|
318
|
+
grn_rc <tt class="descname">grn_column_truncate</tt><big>(</big><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em><big>)</big><a class="headerlink" href="#c.grn_column_truncate" title="Permalink to this definition">¶</a></dt>
|
319
|
+
<dd><div class="admonition note">
|
320
|
+
<p class="first admonition-title">Note</p>
|
321
|
+
<p class="last">This is a dangerous API. You must not use this API when other
|
322
|
+
thread or process accesses the target column. If you use this
|
323
|
+
API against shared column, the process that accesses the column
|
324
|
+
may be broken and the column may be broken.</p>
|
325
|
+
</div>
|
326
|
+
<div class="versionadded">
|
327
|
+
<p><span class="versionmodified">New in version 4.0.9.</span></p>
|
328
|
+
</div>
|
329
|
+
<p>Clears all values in the column.</p>
|
330
|
+
<table class="docutils field-list" frame="void" rules="none">
|
331
|
+
<col class="field-name" />
|
332
|
+
<col class="field-body" />
|
333
|
+
<tbody valign="top">
|
334
|
+
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
335
|
+
<li><strong>column</strong> -- The column to be truncated.</li>
|
336
|
+
</ul>
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on error.</p>
|
340
|
+
</td>
|
341
|
+
</tr>
|
342
|
+
</tbody>
|
343
|
+
</table>
|
344
|
+
</dd></dl>
|
345
|
+
|
316
346
|
</div>
|
317
347
|
</div>
|
318
348
|
|
@@ -320,11 +350,11 @@ int <code class="descname">grn_column_index</code><span class="sig-paren">(</spa
|
|
320
350
|
</div>
|
321
351
|
</div>
|
322
352
|
</div>
|
323
|
-
<div class="sphinxsidebar"
|
353
|
+
<div class="sphinxsidebar">
|
324
354
|
<div class="sphinxsidebarwrapper">
|
325
355
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
326
356
|
<ul>
|
327
|
-
<li><a class="reference internal" href="#">7.18.3. <
|
357
|
+
<li><a class="reference internal" href="#">7.18.3. <tt class="docutils literal"><span class="pre">grn_column</span></tt></a><ul>
|
328
358
|
<li><a class="reference internal" href="#summary">7.18.3.1. Summary</a></li>
|
329
359
|
<li><a class="reference internal" href="#example">7.18.3.2. Example</a></li>
|
330
360
|
<li><a class="reference internal" href="#reference">7.18.3.3. Reference</a></li>
|
@@ -334,18 +364,16 @@ int <code class="descname">grn_column_index</code><span class="sig-paren">(</spa
|
|
334
364
|
|
335
365
|
<h4>Previous topic</h4>
|
336
366
|
<p class="topless"><a href="grn_cache.html"
|
337
|
-
title="previous chapter">7.18.2. <
|
367
|
+
title="previous chapter">7.18.2. <tt class="docutils literal"><span class="pre">grn_cache</span></tt></a></p>
|
338
368
|
<h4>Next topic</h4>
|
339
369
|
<p class="topless"><a href="grn_command_version.html"
|
340
|
-
title="next chapter">7.18.4. <
|
341
|
-
<
|
342
|
-
|
343
|
-
<
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
</div>
|
348
|
-
<div id="searchbox" style="display: none" role="search">
|
370
|
+
title="next chapter">7.18.4. <tt class="docutils literal"><span class="pre">grn_command_version</span></tt></a></p>
|
371
|
+
<h3>This Page</h3>
|
372
|
+
<ul class="this-page-menu">
|
373
|
+
<li><a href="../../_sources/reference/api/grn_column.txt"
|
374
|
+
rel="nofollow">Show Source</a></li>
|
375
|
+
</ul>
|
376
|
+
<div id="searchbox" style="display: none">
|
349
377
|
<h3>Quick search</h3>
|
350
378
|
<form class="search" action="../../search.html" method="get">
|
351
379
|
<input type="text" name="q" />
|
@@ -362,7 +390,7 @@ int <code class="descname">grn_column_index</code><span class="sig-paren">(</spa
|
|
362
390
|
</div>
|
363
391
|
<div class="clearer"></div>
|
364
392
|
</div>
|
365
|
-
<div class="related"
|
393
|
+
<div class="related">
|
366
394
|
<h3>Navigation</h3>
|
367
395
|
<ul>
|
368
396
|
<li class="right" style="margin-right: 10px">
|
@@ -374,12 +402,12 @@ int <code class="descname">grn_column_index</code><span class="sig-paren">(</spa
|
|
374
402
|
<li class="right" >
|
375
403
|
<a href="grn_cache.html" title="7.18.2. grn_cache"
|
376
404
|
>previous</a> |</li>
|
377
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
405
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
378
406
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
379
407
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
380
408
|
</ul>
|
381
409
|
</div>
|
382
|
-
<div class="footer"
|
410
|
+
<div class="footer">
|
383
411
|
© Copyright 2009-2014, Brazil, Inc.
|
384
412
|
</div>
|
385
413
|
</body>
|