rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/doc/text/news.textile +19 -0
- data/ext/groonga/rb-grn-exception.c +35 -1
- data/ext/groonga/rb-grn-normalizer.c +37 -7
- data/ext/groonga/rb-grn-table.c +106 -35
- data/ext/groonga/rb-grn.h +3 -2
- 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/record.rb +45 -1
- data/rroonga-build.rb +6 -5
- data/test/groonga-test-utils.rb +9 -0
- data/test/test-array.rb +11 -0
- data/test/test-exception.rb +3 -1
- data/test/test-normalizer.rb +28 -0
- data/test/test-record.rb +34 -0
- data/test/test-table-group.rb +366 -0
- data/test/test-table.rb +0 -182
- 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/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 +2 -1
- data/vendor/local/include/groonga/groonga/command.h +79 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -74
- data/vendor/local/include/groonga/groonga/output.h +108 -0
- data/vendor/local/include/groonga/groonga/plugin.h +18 -3
- 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/sharding.rb +3 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -0
- 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.rb +35 -0
- data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
- data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
- data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -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 +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- 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 +5 -5
- 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/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +16 -570
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -1
- 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-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -2
- 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/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -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 +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/client.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 +21 -19
- 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/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/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
- data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
- data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
- 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 +21 -19
- 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 +35 -33
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
- 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 +83 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
- 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 +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
- 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 +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
- 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 +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
- 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 +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
- 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 +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
- 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 +34 -32
- data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/en/html/spec/search.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 +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
- 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 +24 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
- 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 +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- 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 +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +16 -570
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -1
- 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-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -2
- 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/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -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 +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/client.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 +21 -19
- 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/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
- 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 +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
- 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 +23 -21
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
- data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
- 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 +21 -19
- 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 +36 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
- 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 +85 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
- 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 +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
- 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 +50 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
- 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 +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
- 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 +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
- 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 +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- 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 +22 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
- 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 +35 -33
- data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/ja/html/spec/search.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 +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
- 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 +27 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
- data/vendor/local/share/man/man1/groonga.1 +7192 -3297
- metadata +33 -4
@@ -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.1. Global configurations — Groonga
|
10
|
+
<title>7.18.1. Global configurations — Groonga v5.0.0 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: '
|
18
|
+
VERSION: '5.0.0',
|
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
|
28
|
+
<link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.2. grn_cache" href="grn_cache.html" />
|
31
31
|
<link rel="prev" title="7.18. API" href="../api.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../api.html" title="7.18. API"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 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,7 +69,7 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="global-configurations">
|
75
75
|
<h1>7.18.1. Global configurations<a class="headerlink" href="#global-configurations" title="Permalink to this headline">¶</a></h1>
|
@@ -81,16 +81,16 @@
|
|
81
81
|
<h2>7.18.1.2. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<dl class="function">
|
83
83
|
<dt id="c.grn_get_lock_timeout">
|
84
|
-
int <
|
84
|
+
int <code class="descname">grn_get_lock_timeout</code><span class="sig-paren">(</span>void<span class="sig-paren">)</span><a class="headerlink" href="#c.grn_get_lock_timeout" title="Permalink to this definition">¶</a></dt>
|
85
85
|
<dd><p>Returns the lock timeout.</p>
|
86
|
-
<p><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
87
|
-
other <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
88
|
-
<a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
89
|
-
The <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
86
|
+
<p><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a> acquires a lock for updating a shared value. If
|
87
|
+
other <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a> is already updating the same value,
|
88
|
+
<a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a> that try to acquire a lock can't acquires a lock.
|
89
|
+
The <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a> that can't acquires a lock waits 1
|
90
90
|
millisecond and try to acquire a lock again. The try is done
|
91
|
-
<
|
92
|
-
lock until <
|
93
|
-
<p>The default lock timeout is <
|
91
|
+
<code class="docutils literal"><span class="pre">timeout</span></code> times. If the <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><code class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></code></a> that can't acquires a
|
92
|
+
lock until <code class="docutils literal"><span class="pre">timeout</span></code> times, the tries are failed.</p>
|
93
|
+
<p>The default lock timeout is <code class="docutils literal"><span class="pre">10000000</span></code>. It means that Groonga
|
94
94
|
doesn't report a lock failure until about 3 hours. (1 * 10000000
|
95
95
|
[msec] = 10000 [sec] = 166.666... [min] = 2.777... [hour])</p>
|
96
96
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -105,13 +105,13 @@ doesn't report a lock failure until about 3 hours. (1 * 10000000
|
|
105
105
|
|
106
106
|
<dl class="function">
|
107
107
|
<dt id="c.grn_set_lock_timeout">
|
108
|
-
grn_rc <
|
108
|
+
grn_rc <code class="descname">grn_set_lock_timeout</code><span class="sig-paren">(</span>int<em> timeout</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_set_lock_timeout" title="Permalink to this definition">¶</a></dt>
|
109
109
|
<dd><p>Sets the lock timeout.</p>
|
110
|
-
<p>See <a class="reference internal" href="#c.grn_get_lock_timeout" title="grn_get_lock_timeout"><
|
111
|
-
<p>There are some special values for <
|
110
|
+
<p>See <a class="reference internal" href="#c.grn_get_lock_timeout" title="grn_get_lock_timeout"><code class="xref c c-func docutils literal"><span class="pre">grn_get_lock_timeout()</span></code></a> about lock timeout.</p>
|
111
|
+
<p>There are some special values for <code class="docutils literal"><span class="pre">timeout</span></code>.</p>
|
112
112
|
<blockquote>
|
113
113
|
<div><ul class="simple">
|
114
|
-
<li><
|
114
|
+
<li><code class="docutils literal"><span class="pre">0</span></code>: It means that Groonga doesn't retry acquiring a lock.
|
115
115
|
Groonga reports a failure after one lock acquirement failure.</li>
|
116
116
|
<li>negative value: It means that Groonga retries acquiring a lock
|
117
117
|
until Groonga can acquire a lock.</li>
|
@@ -126,7 +126,7 @@ until Groonga can acquire a lock.</li>
|
|
126
126
|
</ul>
|
127
127
|
</td>
|
128
128
|
</tr>
|
129
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
129
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code>. It doesn't fail.</p>
|
130
130
|
</td>
|
131
131
|
</tr>
|
132
132
|
</tbody>
|
@@ -140,7 +140,7 @@ until Groonga can acquire a lock.</li>
|
|
140
140
|
</div>
|
141
141
|
</div>
|
142
142
|
</div>
|
143
|
-
<div class="sphinxsidebar">
|
143
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
144
144
|
<div class="sphinxsidebarwrapper">
|
145
145
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
146
146
|
<ul>
|
@@ -156,13 +156,15 @@ until Groonga can acquire a lock.</li>
|
|
156
156
|
title="previous chapter">7.18. API</a></p>
|
157
157
|
<h4>Next topic</h4>
|
158
158
|
<p class="topless"><a href="grn_cache.html"
|
159
|
-
title="next chapter">7.18.2. <
|
160
|
-
<
|
161
|
-
|
162
|
-
<
|
163
|
-
|
164
|
-
|
165
|
-
|
159
|
+
title="next chapter">7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code></a></p>
|
160
|
+
<div role="note" aria-label="source link">
|
161
|
+
<h3>This Page</h3>
|
162
|
+
<ul class="this-page-menu">
|
163
|
+
<li><a href="../../_sources/reference/api/global_configurations.txt"
|
164
|
+
rel="nofollow">Show Source</a></li>
|
165
|
+
</ul>
|
166
|
+
</div>
|
167
|
+
<div id="searchbox" style="display: none" role="search">
|
166
168
|
<h3>Quick search</h3>
|
167
169
|
<form class="search" action="../../search.html" method="get">
|
168
170
|
<input type="text" name="q" />
|
@@ -179,7 +181,7 @@ until Groonga can acquire a lock.</li>
|
|
179
181
|
</div>
|
180
182
|
<div class="clearer"></div>
|
181
183
|
</div>
|
182
|
-
<div class="related">
|
184
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
183
185
|
<h3>Navigation</h3>
|
184
186
|
<ul>
|
185
187
|
<li class="right" style="margin-right: 10px">
|
@@ -191,13 +193,13 @@ until Groonga can acquire a lock.</li>
|
|
191
193
|
<li class="right" >
|
192
194
|
<a href="../api.html" title="7.18. API"
|
193
195
|
>previous</a> |</li>
|
194
|
-
<li><a href="../../index.html">Groonga
|
196
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
195
197
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
196
198
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
197
199
|
</ul>
|
198
200
|
</div>
|
199
|
-
<div class="footer">
|
200
|
-
© Copyright 2009-
|
201
|
+
<div class="footer" role="contentinfo">
|
202
|
+
© Copyright 2009-2015, Brazil, Inc.
|
201
203
|
</div>
|
202
204
|
</body>
|
203
205
|
</html>
|
@@ -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
|
10
|
+
<title>7.18.2. grn_cache — Groonga v5.0.0 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: '
|
18
|
+
VERSION: '5.0.0',
|
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
|
28
|
+
<link rel="top" title="Groonga v5.0.0 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 role="document">
|
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" role="navigation" aria-label="related navigation">
|
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
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 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" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-cache">
|
75
|
-
<h1>7.18.2. <
|
75
|
+
<h1>7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code><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><code class="docutils literal"><span class="pre">grn_cache</span></code> 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"><code class="xref c c-func docutils literal"><span class="pre">grn_cache_current_set()</span></code></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
|
+
<code class="docutils literal"><span class="pre">grn_cache</span></code> 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
|
+
<code class="docutils literal"><span class="pre">grn_cache</span></code> 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
|
+
<code class="descname">grn_cache</code><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 <code class="docutils literal"><span class="pre">grn_cache</span></code> by
|
117
|
+
<a class="reference internal" href="#c.grn_cache_open" title="grn_cache_open"><code class="xref c c-func docutils literal"><span class="pre">grn_cache_open()</span></code></a> and free the created object by
|
118
|
+
<a class="reference internal" href="#c.grn_cache_close" title="grn_cache_close"><code class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></code></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> *<code class="descname">grn_cache_open</code><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><span class="sig-paren">)</span><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, <code class="docutils literal"><span class="pre">NULL</span></code>
|
126
|
+
is returned. Error information is stored into the <code class="docutils literal"><span class="pre">ctx</span></code>.</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 <tt 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, <code class="docutils literal"><span class="pre">NULL</span></code>
|
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"><code class="xref c c-func docutils literal"><span class="pre">grn_cache_close()</span></code></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 <code class="descname">grn_cache_close</code><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_cache_close" title="Permalink to this definition">¶</a></dt>
|
148
|
+
<dd><p>Frees resourses of the <code class="docutils literal"><span class="pre">cache</span></code>.</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 <tt class="descname">grn_cache_close</tt><big>(</big><a class="reference
|
|
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"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> otherwise.</p>
|
160
160
|
</td>
|
161
161
|
</tr>
|
162
162
|
</tbody>
|
@@ -165,7 +165,7 @@ grn_rc <tt class="descname">grn_cache_close</tt><big>(</big><a class="reference
|
|
165
165
|
|
166
166
|
<dl class="function">
|
167
167
|
<dt id="c.grn_cache_current_set">
|
168
|
-
grn_rc <
|
168
|
+
grn_rc <code class="descname">grn_cache_current_set</code><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><span class="sig-paren">)</span><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 <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
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"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> otherwise.</p>
|
183
183
|
</td>
|
184
184
|
</tr>
|
185
185
|
</tbody>
|
@@ -188,7 +188,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
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> *<code class="descname">grn_cache_current_get</code><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><span class="sig-paren">)</span><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 <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
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 <code class="docutils literal"><span class="pre">NULL</span></code>.</p>
|
205
205
|
</td>
|
206
206
|
</tr>
|
207
207
|
</tbody>
|
@@ -210,7 +210,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
210
210
|
|
211
211
|
<dl class="function">
|
212
212
|
<dt id="c.grn_cache_set_max_n_entries">
|
213
|
-
grn_rc <
|
213
|
+
grn_rc <code class="descname">grn_cache_set_max_n_entries</code><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_cache" title="grn_cache">grn_cache</a><em> *cache</em>, unsigned int<em> n</em><span class="sig-paren">)</span><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 <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><a class
|
|
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"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> otherwise.</p>
|
227
227
|
</td>
|
228
228
|
</tr>
|
229
229
|
</tbody>
|
@@ -232,7 +232,7 @@ grn_rc <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><a class
|
|
232
232
|
|
233
233
|
<dl class="function">
|
234
234
|
<dt id="c.grn_cache_get_max_n_entries">
|
235
|
-
unsigned int <
|
235
|
+
unsigned int <code class="descname">grn_cache_get_max_n_entries</code><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_cache" title="grn_cache">grn_cache</a><em> *cache</em><span class="sig-paren">)</span><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 <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
258
258
|
</div>
|
259
259
|
</div>
|
260
260
|
</div>
|
261
|
-
<div class="sphinxsidebar">
|
261
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
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. <code class="docutils literal"><span class="pre">grn_cache</span></code></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,13 +275,15 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
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
|
-
|
278
|
+
title="next chapter">7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code></a></p>
|
279
|
+
<div role="note" aria-label="source link">
|
280
|
+
<h3>This Page</h3>
|
281
|
+
<ul class="this-page-menu">
|
282
|
+
<li><a href="../../_sources/reference/api/grn_cache.txt"
|
283
|
+
rel="nofollow">Show Source</a></li>
|
284
|
+
</ul>
|
285
|
+
</div>
|
286
|
+
<div id="searchbox" style="display: none" role="search">
|
285
287
|
<h3>Quick search</h3>
|
286
288
|
<form class="search" action="../../search.html" method="get">
|
287
289
|
<input type="text" name="q" />
|
@@ -298,7 +300,7 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
298
300
|
</div>
|
299
301
|
<div class="clearer"></div>
|
300
302
|
</div>
|
301
|
-
<div class="related">
|
303
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
302
304
|
<h3>Navigation</h3>
|
303
305
|
<ul>
|
304
306
|
<li class="right" style="margin-right: 10px">
|
@@ -310,13 +312,13 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
310
312
|
<li class="right" >
|
311
313
|
<a href="global_configurations.html" title="7.18.1. Global configurations"
|
312
314
|
>previous</a> |</li>
|
313
|
-
<li><a href="../../index.html">Groonga
|
315
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
314
316
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
315
317
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
316
318
|
</ul>
|
317
319
|
</div>
|
318
|
-
<div class="footer">
|
319
|
-
© Copyright 2009-
|
320
|
+
<div class="footer" role="contentinfo">
|
321
|
+
© Copyright 2009-2015, Brazil, Inc.
|
320
322
|
</div>
|
321
323
|
</body>
|
322
324
|
</html>
|
@@ -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
|
10
|
+
<title>7.18.3. grn_column — Groonga v5.0.0 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: '
|
18
|
+
VERSION: '5.0.0',
|
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
|
28
|
+
<link rel="top" title="Groonga v5.0.0 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 role="document">
|
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" role="navigation" aria-label="related navigation">
|
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
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 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" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-column">
|
75
|
-
<h1>7.18.3. <
|
75
|
+
<h1>7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code><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
|
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
|
+
<code class="descname">GRN_COLUMN_NAME_ID</code><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> <code class="docutils literal"><span class="pre">_id</span></code>.</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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_ID_LEN</span></code></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
|
+
<code class="descname">GRN_COLUMN_NAME_ID_LEN</code><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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_ID</span></code></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
|
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
|
+
<code class="descname">GRN_COLUMN_NAME_KEY</code><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> <code class="docutils literal"><span class="pre">_key</span></code>.</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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_KEY_LEN</span></code></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
|
+
<code class="descname">GRN_COLUMN_NAME_KEY_LEN</code><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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_KEY</span></code></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
|
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
|
+
<code class="descname">GRN_COLUMN_NAME_VALUE</code><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> <code class="docutils literal"><span class="pre">_value</span></code>.</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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_VALUE_LEN</span></code></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
|
+
<code class="descname">GRN_COLUMN_NAME_VALUE_LEN</code><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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_VALUE</span></code></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
|
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
|
+
<code class="descname">GRN_COLUMN_NAME_SCORE</code><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> <code class="docutils literal"><span class="pre">_score</span></code>.</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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_SCORE_LEN</span></code></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
|
+
<code class="descname">GRN_COLUMN_NAME_SCORE_LEN</code><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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_SCORE</span></code></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
|
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
|
+
<code class="descname">GRN_COLUMN_NAME_NSUBRECS</code><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> <code class="docutils literal"><span class="pre">_nsubrecs</span></code>.</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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_NSUBRECS_LEN</span></code></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
|
+
<code class="descname">GRN_COLUMN_NAME_NSUBRECS_LEN</code><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"><code class="xref c c-macro docutils literal"><span class="pre">GRN_COLUMN_NAME_NSUBRECS</span></code></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> *<code class="descname">grn_column_create</code><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="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><span class="sig-paren">)</span><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に <code class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></code> が指定されている場合のみ有効です。
|
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><code class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></code> を指定すると永続columnとなります。</p>
|
202
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> を指定すると転置インデックスとなります。</p>
|
203
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_SCALAR</span></code> を指定するとスカラ値(単独の値)を格納します。</p>
|
204
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_VECTOR</span></code> を指定すると値の配列を格納します。</p>
|
205
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_ZLIB</span></code> を指定すると値をzlib圧縮して格納します。</p>
|
206
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_LZO</span></code> を指定すると値をlzo圧縮して格納します。</p>
|
207
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> と共に <code class="docutils literal"><span class="pre">GRN_OBJ_WITH_SECTION</span></code> を指定すると、転置索引にsection(段落情報)を合わせて格納します。</p>
|
208
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> と共に <code class="docutils literal"><span class="pre">GRN_OBJ_WITH_WEIGHT</span></code> を指定すると、転置索引にweight情報を合わせて格納します。</p>
|
209
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> と共に <code class="docutils literal"><span class="pre">GRN_OBJ_WITH_POSITION</span></code> を指定すると、転置索引に出現位置情報を合わせて格納します。</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 <code class="descname">grn_column_index_update</code><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="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><span class="sig-paren">)</span><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は <code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> 型のカラムでなければなりません。</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 <tt class="descname">grn_column_index_update</tt><big>(</big><a class="re
|
|
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> *<code class="descname">grn_column_table</code><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em><span class="sig-paren">)</span><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 <tt class="descname">grn_column_index_update</tt><big>(</big><a class="re
|
|
256
256
|
|
257
257
|
<dl class="function">
|
258
258
|
<dt id="c.grn_column_rename">
|
259
|
-
grn_rc <
|
259
|
+
grn_rc <code class="descname">grn_column_rename</code><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="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><span class="sig-paren">)</span><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 <tt class="descname">grn_column_rename</tt><big>(</big><a class="referenc
|
|
275
275
|
|
276
276
|
<dl class="function">
|
277
277
|
<dt id="c.grn_column_name">
|
278
|
-
int <
|
278
|
+
int <code class="descname">grn_column_name</code><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="grn_obj.html#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_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 <tt class="descname">grn_column_name</tt><big>(</big><a class="reference int
|
|
294
294
|
|
295
295
|
<dl class="function">
|
296
296
|
<dt id="c.grn_column_index">
|
297
|
-
int <
|
297
|
+
int <code class="descname">grn_column_index</code><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="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><span class="sig-paren">)</span><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" />
|
@@ -315,7 +315,7 @@ int <tt class="descname">grn_column_index</tt><big>(</big><a class="reference in
|
|
315
315
|
|
316
316
|
<dl class="function">
|
317
317
|
<dt id="c.grn_column_truncate">
|
318
|
-
grn_rc <
|
318
|
+
grn_rc <code class="descname">grn_column_truncate</code><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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *column</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_column_truncate" title="Permalink to this definition">¶</a></dt>
|
319
319
|
<dd><div class="admonition note">
|
320
320
|
<p class="first admonition-title">Note</p>
|
321
321
|
<p class="last">This is a dangerous API. You must not use this API when other
|
@@ -336,7 +336,7 @@ may be broken and the column may be broken.</p>
|
|
336
336
|
</ul>
|
337
337
|
</td>
|
338
338
|
</tr>
|
339
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
339
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on error.</p>
|
340
340
|
</td>
|
341
341
|
</tr>
|
342
342
|
</tbody>
|
@@ -350,11 +350,11 @@ may be broken and the column may be broken.</p>
|
|
350
350
|
</div>
|
351
351
|
</div>
|
352
352
|
</div>
|
353
|
-
<div class="sphinxsidebar">
|
353
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
354
354
|
<div class="sphinxsidebarwrapper">
|
355
355
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
356
356
|
<ul>
|
357
|
-
<li><a class="reference internal" href="#">7.18.3. <
|
357
|
+
<li><a class="reference internal" href="#">7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code></a><ul>
|
358
358
|
<li><a class="reference internal" href="#summary">7.18.3.1. Summary</a></li>
|
359
359
|
<li><a class="reference internal" href="#example">7.18.3.2. Example</a></li>
|
360
360
|
<li><a class="reference internal" href="#reference">7.18.3.3. Reference</a></li>
|
@@ -364,16 +364,18 @@ may be broken and the column may be broken.</p>
|
|
364
364
|
|
365
365
|
<h4>Previous topic</h4>
|
366
366
|
<p class="topless"><a href="grn_cache.html"
|
367
|
-
title="previous chapter">7.18.2. <
|
367
|
+
title="previous chapter">7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code></a></p>
|
368
368
|
<h4>Next topic</h4>
|
369
369
|
<p class="topless"><a href="grn_command_version.html"
|
370
|
-
title="next chapter">7.18.4. <
|
371
|
-
<
|
372
|
-
|
373
|
-
<
|
374
|
-
|
375
|
-
|
376
|
-
|
370
|
+
title="next chapter">7.18.4. <code class="docutils literal"><span class="pre">grn_command_version</span></code></a></p>
|
371
|
+
<div role="note" aria-label="source link">
|
372
|
+
<h3>This Page</h3>
|
373
|
+
<ul class="this-page-menu">
|
374
|
+
<li><a href="../../_sources/reference/api/grn_column.txt"
|
375
|
+
rel="nofollow">Show Source</a></li>
|
376
|
+
</ul>
|
377
|
+
</div>
|
378
|
+
<div id="searchbox" style="display: none" role="search">
|
377
379
|
<h3>Quick search</h3>
|
378
380
|
<form class="search" action="../../search.html" method="get">
|
379
381
|
<input type="text" name="q" />
|
@@ -390,7 +392,7 @@ may be broken and the column may be broken.</p>
|
|
390
392
|
</div>
|
391
393
|
<div class="clearer"></div>
|
392
394
|
</div>
|
393
|
-
<div class="related">
|
395
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
394
396
|
<h3>Navigation</h3>
|
395
397
|
<ul>
|
396
398
|
<li class="right" style="margin-right: 10px">
|
@@ -402,13 +404,13 @@ may be broken and the column may be broken.</p>
|
|
402
404
|
<li class="right" >
|
403
405
|
<a href="grn_cache.html" title="7.18.2. grn_cache"
|
404
406
|
>previous</a> |</li>
|
405
|
-
<li><a href="../../index.html">Groonga
|
407
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
406
408
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
407
409
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
408
410
|
</ul>
|
409
411
|
</div>
|
410
|
-
<div class="footer">
|
411
|
-
© Copyright 2009-
|
412
|
+
<div class="footer" role="contentinfo">
|
413
|
+
© Copyright 2009-2015, Brazil, Inc.
|
412
414
|
</div>
|
413
415
|
</body>
|
414
416
|
</html>
|