rroonga 4.0.8-x86-mingw32 → 5.0.0-x86-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_sjlj-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. 全体設定 — Groonga
|
10
|
+
<title>7.18.1. 全体設定 — Groonga v5.0.0ドキュメント</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
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga
|
29
|
+
<link rel="top" title="Groonga v5.0.0ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.18. API" href="../api.html" />
|
31
31
|
<link rel="next" title="7.18.2. grn_cache" href="grn_cache.html" />
|
32
32
|
<link rel="prev" title="7.18. API" href="../api.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="../api.html" title="7.18. API"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
67
67
|
</ul>
|
@@ -70,7 +70,7 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="global-configurations">
|
76
76
|
<h1>7.18.1. 全体設定<a class="headerlink" href="#global-configurations" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
@@ -82,16 +82,16 @@
|
|
82
82
|
<h2>7.18.1.2. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<dl class="function">
|
84
84
|
<dt id="c.grn_get_lock_timeout">
|
85
|
-
int <
|
85
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
86
86
|
<dd><p>ロックタイムアウトを返します。</p>
|
87
|
-
<p><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
88
|
-
other <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
89
|
-
<a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
90
|
-
The <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
87
|
+
<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
|
88
|
+
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,
|
89
|
+
<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.
|
90
|
+
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
|
91
91
|
millisecond and try to acquire a lock again. The try is done
|
92
|
-
<
|
93
|
-
lock until <
|
94
|
-
<p>デフォルトのロックタイムアウトは <
|
92
|
+
<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
|
93
|
+
lock until <code class="docutils literal"><span class="pre">timeout</span></code> times, the tries are failed.</p>
|
94
|
+
<p>デフォルトのロックタイムアウトは <code class="docutils literal"><span class="pre">10000000</span></code> です。つまりGroongaはロックの失敗をおよそ3時間経過するまで報告しません。(1 * 10000000 [msec] = 10000 [sec] = 166.666... [min] = 2.777... [hour])</p>
|
95
95
|
<table class="docutils field-list" frame="void" rules="none">
|
96
96
|
<col class="field-name" />
|
97
97
|
<col class="field-body" />
|
@@ -104,13 +104,13 @@ lock until <tt class="docutils literal"><span class="pre">timeout</span></tt> ti
|
|
104
104
|
|
105
105
|
<dl class="function">
|
106
106
|
<dt id="c.grn_set_lock_timeout">
|
107
|
-
grn_rc <
|
107
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
108
108
|
<dd><p>ロックタイムアウトを設定します。</p>
|
109
|
-
<p>ロックタイムアウトについては、 <a class="reference internal" href="#c.grn_get_lock_timeout" title="grn_get_lock_timeout"><
|
110
|
-
<p><
|
109
|
+
<p>ロックタイムアウトについては、 <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> を参照してください。</p>
|
110
|
+
<p><code class="docutils literal"><span class="pre">timeout</span></code> にはいくつか特別な値があります。</p>
|
111
111
|
<blockquote>
|
112
112
|
<div><ul class="simple">
|
113
|
-
<li><p class="first"><
|
113
|
+
<li><p class="first"><code class="docutils literal"><span class="pre">0</span></code>: Groongaがロックを再度取得しようとしません。一度ロックの取得に失敗した時点でGroongaはその失敗を報告します。</p>
|
114
114
|
</li>
|
115
115
|
<li><p class="first">負数: Groongaはロックを取得できるまでリトライします。</p>
|
116
116
|
</li>
|
@@ -125,7 +125,7 @@ grn_rc <tt class="descname">grn_set_lock_timeout</tt><big>(</big>int<em> ti
|
|
125
125
|
</ul>
|
126
126
|
</td>
|
127
127
|
</tr>
|
128
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last"><
|
128
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 。この関数は失敗しません。</p>
|
129
129
|
</td>
|
130
130
|
</tr>
|
131
131
|
</tbody>
|
@@ -139,7 +139,7 @@ grn_rc <tt class="descname">grn_set_lock_timeout</tt><big>(</big>int<em> ti
|
|
139
139
|
</div>
|
140
140
|
</div>
|
141
141
|
</div>
|
142
|
-
<div class="sphinxsidebar">
|
142
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
143
143
|
<div class="sphinxsidebarwrapper">
|
144
144
|
<h3><a href="../../index.html">目次</a></h3>
|
145
145
|
<ul>
|
@@ -155,13 +155,15 @@ grn_rc <tt class="descname">grn_set_lock_timeout</tt><big>(</big>int<em> ti
|
|
155
155
|
title="前の章へ">7.18. API</a></p>
|
156
156
|
<h4>次のトピックへ</h4>
|
157
157
|
<p class="topless"><a href="grn_cache.html"
|
158
|
-
title="次の章へ">7.18.2. <
|
159
|
-
<
|
160
|
-
|
161
|
-
<
|
162
|
-
|
163
|
-
|
164
|
-
|
158
|
+
title="次の章へ">7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code></a></p>
|
159
|
+
<div role="note" aria-label="source link">
|
160
|
+
<h3>このページ</h3>
|
161
|
+
<ul class="this-page-menu">
|
162
|
+
<li><a href="../../_sources/reference/api/global_configurations.txt"
|
163
|
+
rel="nofollow">ソースコードを表示</a></li>
|
164
|
+
</ul>
|
165
|
+
</div>
|
166
|
+
<div id="searchbox" style="display: none" role="search">
|
165
167
|
<h3>クイック検索</h3>
|
166
168
|
<form class="search" action="../../search.html" method="get">
|
167
169
|
<input type="text" name="q" />
|
@@ -178,7 +180,7 @@ grn_rc <tt class="descname">grn_set_lock_timeout</tt><big>(</big>int<em> ti
|
|
178
180
|
</div>
|
179
181
|
<div class="clearer"></div>
|
180
182
|
</div>
|
181
|
-
<div class="related">
|
183
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
182
184
|
<h3>ナビゲーション</h3>
|
183
185
|
<ul>
|
184
186
|
<li class="right" style="margin-right: 10px">
|
@@ -190,13 +192,13 @@ grn_rc <tt class="descname">grn_set_lock_timeout</tt><big>(</big>int<em> ti
|
|
190
192
|
<li class="right" >
|
191
193
|
<a href="../api.html" title="7.18. API"
|
192
194
|
>前へ</a> |</li>
|
193
|
-
<li><a href="../../index.html">Groonga
|
195
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
194
196
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
195
197
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
196
198
|
</ul>
|
197
199
|
</div>
|
198
|
-
<div class="footer">
|
199
|
-
© Copyright 2009-
|
200
|
+
<div class="footer" role="contentinfo">
|
201
|
+
© Copyright 2009-2015, Brazil, Inc.
|
200
202
|
</div>
|
201
203
|
</body>
|
202
204
|
</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ドキュメント</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
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga
|
29
|
+
<link rel="top" title="Groonga v5.0.0ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.18. API" href="../api.html" />
|
31
31
|
<link rel="next" title="7.18.3. grn_column" href="grn_column.html" />
|
32
32
|
<link rel="prev" title="7.18.1. 全体設定" href="global_configurations.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="global_configurations.html" title="7.18.1. 全体設定"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
67
67
|
</ul>
|
@@ -70,20 +70,20 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="grn-cache">
|
76
|
-
<h1>7.18.2. <
|
76
|
+
<h1>7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code><a class="headerlink" href="#grn-cache" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
78
|
<h2>7.18.2.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<div class="admonition note">
|
80
|
-
<p class="first admonition-title"
|
80
|
+
<p class="first admonition-title">注釈</p>
|
81
81
|
<p class="last">このAPIは実験的です。</p>
|
82
82
|
</div>
|
83
|
-
<p><
|
84
|
-
<p><a class="reference internal" href="#c.grn_cache_current_set" title="grn_cache_current_set"><
|
83
|
+
<p><code class="docutils literal"><span class="pre">grn_cache</span></code> は <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドのレスポンスを保持するためのデータストアです。一般的なオブジェクトのキャッシュとして使うものではありません。あくまで <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドのためのものです。</p>
|
84
|
+
<p><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> コマンドのレスポンスが内部的に用いられます。</p>
|
85
85
|
<p><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドは、一つのグローバルキャッシュオブジェクトを利用します。もし複数のデータベースをオープンしていた場合、そのキャッシュオブジェクトは共有されます。これは重要な問題です。</p>
|
86
|
-
<p>もし複数のデータベースを開き、 <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドを使用するのであれば、 <
|
86
|
+
<p>もし複数のデータベースを開き、 <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドを使用するのであれば、 <code class="docutils literal"><span class="pre">grn_cache</span></code> オブジェクトを使う必要があります。 <a class="reference internal" href="../executables/groonga-httpd.html"><em>groonga-httpd</em></a> のようなケースが該当します。もし一つのデータベースのみを開く場合や、 <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドを使わない場合は、 <code class="docutils literal"><span class="pre">grn_cache</span></code> オブジェクトを使う必要はありません。 <cite>Rroonga <http://ranguba.org/ja/#about-rroonga></cite> のようなケースです。</p>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="example">
|
89
89
|
<h2>7.18.2.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
@@ -102,15 +102,15 @@
|
|
102
102
|
<h2>7.18.2.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
103
103
|
<dl class="type">
|
104
104
|
<dt id="c.grn_cache">
|
105
|
-
<
|
106
|
-
<dd><p
|
105
|
+
<code class="descname">grn_cache</code><a class="headerlink" href="#c.grn_cache" title="この定義へのパーマリンク">¶</a></dt>
|
106
|
+
<dd><p><code class="docutils literal"><span class="pre">grn_cache</span></code> は詳細を公開していないオブジェクトです。 <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> で作成し、 <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>
|
107
107
|
</dd></dl>
|
108
108
|
|
109
109
|
<dl class="function">
|
110
110
|
<dt id="c.grn_cache_open">
|
111
|
-
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<
|
111
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
112
112
|
<dd><p>新規にキャッシュオブジェクトを作成します。</p>
|
113
|
-
<p>新しいキャッシュオブジェクト作成のためのメモリ割り当てに失敗した場合、 <
|
113
|
+
<p>新しいキャッシュオブジェクト作成のためのメモリ割り当てに失敗した場合、 <code class="docutils literal"><span class="pre">NULL</span></code> を返します。エラー情報は <code class="docutils literal"><span class="pre">ctx</span></code> に格納されます。</p>
|
114
114
|
<table class="docutils field-list" frame="void" rules="none">
|
115
115
|
<col class="field-name" />
|
116
116
|
<col class="field-body" />
|
@@ -120,7 +120,7 @@
|
|
120
120
|
</ul>
|
121
121
|
</td>
|
122
122
|
</tr>
|
123
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">新しいキャッシュオブジェクトの作成に成功した場合は <
|
123
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">新しいキャッシュオブジェクトの作成に成功した場合は <code class="docutils literal"><span class="pre">NULL</span></code> 以外の値を返します。このキャッシュオブジェクトは <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>
|
124
124
|
</td>
|
125
125
|
</tr>
|
126
126
|
</tbody>
|
@@ -129,8 +129,8 @@
|
|
129
129
|
|
130
130
|
<dl class="function">
|
131
131
|
<dt id="c.grn_cache_close">
|
132
|
-
grn_rc <
|
133
|
-
<dd><p><
|
132
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
133
|
+
<dd><p><code class="docutils literal"><span class="pre">cache</span></code> のリソースを解放。</p>
|
134
134
|
<table class="docutils field-list" frame="void" rules="none">
|
135
135
|
<col class="field-name" />
|
136
136
|
<col class="field-body" />
|
@@ -141,7 +141,7 @@ grn_rc <tt class="descname">grn_cache_close</tt><big>(</big><a class="reference
|
|
141
141
|
</ul>
|
142
142
|
</td>
|
143
143
|
</tr>
|
144
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <
|
144
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 、エラー時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 以外。</p>
|
145
145
|
</td>
|
146
146
|
</tr>
|
147
147
|
</tbody>
|
@@ -150,7 +150,7 @@ grn_rc <tt class="descname">grn_cache_close</tt><big>(</big><a class="reference
|
|
150
150
|
|
151
151
|
<dl class="function">
|
152
152
|
<dt id="c.grn_cache_current_set">
|
153
|
-
grn_rc <
|
153
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
154
154
|
<dd><p><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクトを設定します。</p>
|
155
155
|
<table class="docutils field-list" frame="void" rules="none">
|
156
156
|
<col class="field-name" />
|
@@ -162,7 +162,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
162
162
|
</ul>
|
163
163
|
</td>
|
164
164
|
</tr>
|
165
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <
|
165
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 、エラー時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 以外。</p>
|
166
166
|
</td>
|
167
167
|
</tr>
|
168
168
|
</tbody>
|
@@ -171,7 +171,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
171
171
|
|
172
172
|
<dl class="function">
|
173
173
|
<dt id="c.grn_cache_current_get">
|
174
|
-
<a class="reference internal" href="#c.grn_cache" title="grn_cache">grn_cache</a> *<
|
174
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
175
175
|
<dd><p><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクトを取得します。</p>
|
176
176
|
<table class="docutils field-list" frame="void" rules="none">
|
177
177
|
<col class="field-name" />
|
@@ -182,7 +182,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
182
182
|
</ul>
|
183
183
|
</td>
|
184
184
|
</tr>
|
185
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last"><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクト。 <
|
185
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last"><a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドで使われるキャッシュオブジェクト。 <code class="docutils literal"><span class="pre">NULL</span></code> のこともあります。</p>
|
186
186
|
</td>
|
187
187
|
</tr>
|
188
188
|
</tbody>
|
@@ -191,7 +191,7 @@ grn_rc <tt class="descname">grn_cache_current_set</tt><big>(</big><a class="refe
|
|
191
191
|
|
192
192
|
<dl class="function">
|
193
193
|
<dt id="c.grn_cache_set_max_n_entries">
|
194
|
-
grn_rc <
|
194
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
195
195
|
<dd><p>キャッシュオブジェクトのエントリの最大数を設定します。</p>
|
196
196
|
<table class="docutils field-list" frame="void" rules="none">
|
197
197
|
<col class="field-name" />
|
@@ -204,7 +204,7 @@ grn_rc <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><a class
|
|
204
204
|
</ul>
|
205
205
|
</td>
|
206
206
|
</tr>
|
207
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <
|
207
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 、エラー時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 以外。</p>
|
208
208
|
</td>
|
209
209
|
</tr>
|
210
210
|
</tbody>
|
@@ -213,7 +213,7 @@ grn_rc <tt class="descname">grn_cache_set_max_n_entries</tt><big>(</big><a class
|
|
213
213
|
|
214
214
|
<dl class="function">
|
215
215
|
<dt id="c.grn_cache_get_max_n_entries">
|
216
|
-
unsigned int <
|
216
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
217
217
|
<dd><p>キャッシュオブジェクトのエントリの最大数を取得します。</p>
|
218
218
|
<table class="docutils field-list" frame="void" rules="none">
|
219
219
|
<col class="field-name" />
|
@@ -239,11 +239,11 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
239
239
|
</div>
|
240
240
|
</div>
|
241
241
|
</div>
|
242
|
-
<div class="sphinxsidebar">
|
242
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
243
243
|
<div class="sphinxsidebarwrapper">
|
244
244
|
<h3><a href="../../index.html">目次</a></h3>
|
245
245
|
<ul>
|
246
|
-
<li><a class="reference internal" href="#">7.18.2. <
|
246
|
+
<li><a class="reference internal" href="#">7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code></a><ul>
|
247
247
|
<li><a class="reference internal" href="#summary">7.18.2.1. 概要</a></li>
|
248
248
|
<li><a class="reference internal" href="#example">7.18.2.2. 実行例:</a></li>
|
249
249
|
<li><a class="reference internal" href="#reference">7.18.2.3. リファレンス</a></li>
|
@@ -256,13 +256,15 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
256
256
|
title="前の章へ">7.18.1. 全体設定</a></p>
|
257
257
|
<h4>次のトピックへ</h4>
|
258
258
|
<p class="topless"><a href="grn_column.html"
|
259
|
-
title="次の章へ">7.18.3. <
|
260
|
-
<
|
261
|
-
|
262
|
-
<
|
263
|
-
|
264
|
-
|
265
|
-
|
259
|
+
title="次の章へ">7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code></a></p>
|
260
|
+
<div role="note" aria-label="source link">
|
261
|
+
<h3>このページ</h3>
|
262
|
+
<ul class="this-page-menu">
|
263
|
+
<li><a href="../../_sources/reference/api/grn_cache.txt"
|
264
|
+
rel="nofollow">ソースコードを表示</a></li>
|
265
|
+
</ul>
|
266
|
+
</div>
|
267
|
+
<div id="searchbox" style="display: none" role="search">
|
266
268
|
<h3>クイック検索</h3>
|
267
269
|
<form class="search" action="../../search.html" method="get">
|
268
270
|
<input type="text" name="q" />
|
@@ -279,7 +281,7 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
279
281
|
</div>
|
280
282
|
<div class="clearer"></div>
|
281
283
|
</div>
|
282
|
-
<div class="related">
|
284
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
283
285
|
<h3>ナビゲーション</h3>
|
284
286
|
<ul>
|
285
287
|
<li class="right" style="margin-right: 10px">
|
@@ -291,13 +293,13 @@ unsigned int <tt class="descname">grn_cache_get_max_n_entries</tt><big>(</big><a
|
|
291
293
|
<li class="right" >
|
292
294
|
<a href="global_configurations.html" title="7.18.1. 全体設定"
|
293
295
|
>前へ</a> |</li>
|
294
|
-
<li><a href="../../index.html">Groonga
|
296
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
295
297
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
296
298
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
297
299
|
</ul>
|
298
300
|
</div>
|
299
|
-
<div class="footer">
|
300
|
-
© Copyright 2009-
|
301
|
+
<div class="footer" role="contentinfo">
|
302
|
+
© Copyright 2009-2015, Brazil, Inc.
|
301
303
|
</div>
|
302
304
|
</body>
|
303
305
|
</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ドキュメント</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
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga
|
29
|
+
<link rel="top" title="Groonga v5.0.0ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.18. API" href="../api.html" />
|
31
31
|
<link rel="next" title="7.18.4. grn_command_version" href="grn_command_version.html" />
|
32
32
|
<link rel="prev" title="7.18.2. grn_cache" href="grn_cache.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="grn_cache.html" title="7.18.2. grn_cache"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
67
67
|
</ul>
|
@@ -70,10 +70,10 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="grn-column">
|
76
|
-
<h1>7.18.3. <
|
76
|
+
<h1>7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code><a class="headerlink" href="#grn-column" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
78
|
<h2>7.18.3.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>TODO...</p>
|
@@ -86,9 +86,9 @@
|
|
86
86
|
<h2>7.18.3.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
87
|
<dl class="macro">
|
88
88
|
<dt id="c.GRN_COLUMN_NAME_ID">
|
89
|
-
<
|
90
|
-
<dd><p><a class="reference internal" href="../columns/pseudo.html"><em
|
91
|
-
<p
|
89
|
+
<code class="descname">GRN_COLUMN_NAME_ID</code><a class="headerlink" href="#c.GRN_COLUMN_NAME_ID" title="この定義へのパーマリンク">¶</a></dt>
|
90
|
+
<dd><p><a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> <code class="docutils literal"><span class="pre">_id</span></code> の名前を返します。</p>
|
91
|
+
<p>以下のように <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> と一緒に使うと便利です:</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>
|
94
94
|
</pre></div>
|
@@ -98,16 +98,16 @@
|
|
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="この定義へのパーマリンク">¶</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>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="この定義へのパーマリンク">¶</a></dt>
|
109
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</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="この定義へのパーマリンク">¶</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>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="この定義へのパーマリンク">¶</a></dt>
|
129
|
+
<dd><p>It returns the name of <a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</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="この定義へのパーマリンク">¶</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>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><a class="reference internal" href="../columns/pseudo.html"><em
|
150
|
-
<p
|
148
|
+
<code class="descname">GRN_COLUMN_NAME_SCORE</code><a class="headerlink" href="#c.GRN_COLUMN_NAME_SCORE" title="この定義へのパーマリンク">¶</a></dt>
|
149
|
+
<dd><p><a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> <code class="docutils literal"><span class="pre">_score</span></code> の名前を返します。</p>
|
150
|
+
<p>以下のように <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> と一緒に使うと便利です:</p>
|
151
151
|
<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>
|
152
152
|
<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>
|
153
153
|
</pre></div>
|
@@ -157,16 +157,16 @@ the following:</p>
|
|
157
157
|
|
158
158
|
<dl class="macro">
|
159
159
|
<dt id="c.GRN_COLUMN_NAME_SCORE_LEN">
|
160
|
-
<
|
161
|
-
<dd><p
|
160
|
+
<code class="descname">GRN_COLUMN_NAME_SCORE_LEN</code><a class="headerlink" href="#c.GRN_COLUMN_NAME_SCORE_LEN" title="この定義へのパーマリンク">¶</a></dt>
|
161
|
+
<dd><p><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>
|
162
162
|
<p>3.1.1から。</p>
|
163
163
|
</dd></dl>
|
164
164
|
|
165
165
|
<dl class="macro">
|
166
166
|
<dt id="c.GRN_COLUMN_NAME_NSUBRECS">
|
167
|
-
<
|
168
|
-
<dd><p><a class="reference internal" href="../columns/pseudo.html"><em
|
169
|
-
<p
|
167
|
+
<code class="descname">GRN_COLUMN_NAME_NSUBRECS</code><a class="headerlink" href="#c.GRN_COLUMN_NAME_NSUBRECS" title="この定義へのパーマリンク">¶</a></dt>
|
168
|
+
<dd><p><a class="reference internal" href="../columns/pseudo.html"><em>擬似カラム</em></a> <code class="docutils literal"><span class="pre">_nsubrecs</span></code> の名前を返します</p>
|
169
|
+
<p>以下のように <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> と一緒に使うと便利です:</p>
|
170
170
|
<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>
|
171
171
|
<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>
|
172
172
|
</pre></div>
|
@@ -176,14 +176,14 @@ the following:</p>
|
|
176
176
|
|
177
177
|
<dl class="macro">
|
178
178
|
<dt id="c.GRN_COLUMN_NAME_NSUBRECS_LEN">
|
179
|
-
<
|
180
|
-
<dd><p><a class="reference internal" href="#c.GRN_COLUMN_NAME_NSUBRECS" title="GRN_COLUMN_NAME_NSUBRECS"><
|
179
|
+
<code class="descname">GRN_COLUMN_NAME_NSUBRECS_LEN</code><a class="headerlink" href="#c.GRN_COLUMN_NAME_NSUBRECS_LEN" title="この定義へのパーマリンク">¶</a></dt>
|
180
|
+
<dd><p><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>
|
181
181
|
<p>3.1.1から。</p>
|
182
182
|
</dd></dl>
|
183
183
|
|
184
184
|
<dl class="function">
|
185
185
|
<dt id="c.grn_column_create">
|
186
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
186
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
187
187
|
<dd><p>tableに新たなカラムを定義します。nameは省略できません。一つのtableに同一のnameのcolumnを複数定義することはできません。</p>
|
188
188
|
<table class="docutils field-list" frame="void" rules="none">
|
189
189
|
<col class="field-name" />
|
@@ -194,17 +194,17 @@ the following:</p>
|
|
194
194
|
<li><strong>name</strong> -- カラム名を指定します。</li>
|
195
195
|
<li><strong>name_size</strong> -- nameパラメータのsize(byte)を指定します。</li>
|
196
196
|
<li><strong>path</strong> -- カラムを格納するファイルパスを指定します。
|
197
|
-
flagsに <
|
197
|
+
flagsに <code class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></code> が指定されている場合のみ有効です。
|
198
198
|
NULLなら自動的にファイルパスが付与されます。</li>
|
199
|
-
<li><strong>flags</strong> -- <p><
|
200
|
-
<p><
|
201
|
-
<p><
|
202
|
-
<p><
|
203
|
-
<p><
|
204
|
-
<p><
|
205
|
-
<p><
|
206
|
-
<p><
|
207
|
-
<p><
|
199
|
+
<li><strong>flags</strong> -- <p><code class="docutils literal"><span class="pre">GRN_OBJ_PERSISTENT</span></code> を指定すると永続columnとなります。</p>
|
200
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> を指定すると転置インデックスとなります。</p>
|
201
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_SCALAR</span></code> を指定するとスカラ値(単独の値)を格納します。</p>
|
202
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_VECTOR</span></code> を指定すると値の配列を格納します。</p>
|
203
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_ZLIB</span></code> を指定すると値をzlib圧縮して格納します。</p>
|
204
|
+
<p><code class="docutils literal"><span class="pre">GRN_OBJ_COMPRESS_LZO</span></code> を指定すると値をlzo圧縮して格納します。</p>
|
205
|
+
<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>
|
206
|
+
<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>
|
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_POSITION</span></code> を指定すると、転置索引に出現位置情報を合わせて格納します。</p>
|
208
208
|
</li>
|
209
209
|
<li><strong>type</strong> -- カラム値の型を指定します。定義済みのtypeあるいはtableを指定できます。</li>
|
210
210
|
</ul>
|
@@ -216,8 +216,8 @@ NULLなら自動的にファイルパスが付与されます。</li>
|
|
216
216
|
|
217
217
|
<dl class="function">
|
218
218
|
<dt id="c.grn_column_index_update">
|
219
|
-
grn_rc <
|
220
|
-
<dd><p>oldvalue, newvalueの値から得られるキーに対応するcolumnの値の中の、id, sectionに対応するエントリを更新します。columnは <
|
219
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
220
|
+
<dd><p>oldvalue, newvalueの値から得られるキーに対応するcolumnの値の中の、id, sectionに対応するエントリを更新します。columnは <code class="docutils literal"><span class="pre">GRN_OBJ_COLUMN_INDEX</span></code> 型のカラムでなければなりません。</p>
|
221
221
|
<table class="docutils field-list" frame="void" rules="none">
|
222
222
|
<col class="field-name" />
|
223
223
|
<col class="field-body" />
|
@@ -237,7 +237,7 @@ grn_rc <tt class="descname">grn_column_index_update</tt><big>(</big><a class="re
|
|
237
237
|
|
238
238
|
<dl class="function">
|
239
239
|
<dt id="c.grn_column_table">
|
240
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
240
|
+
<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="この定義へのパーマリンク">¶</a></dt>
|
241
241
|
<dd><p>columnが属するtableを返します。</p>
|
242
242
|
<table class="docutils field-list" frame="void" rules="none">
|
243
243
|
<col class="field-name" />
|
@@ -254,7 +254,7 @@ grn_rc <tt class="descname">grn_column_index_update</tt><big>(</big><a class="re
|
|
254
254
|
|
255
255
|
<dl class="function">
|
256
256
|
<dt id="c.grn_column_rename">
|
257
|
-
grn_rc <
|
257
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
258
258
|
<dd><p>ctxが使用するdbにおいてcolumnに対応する名前をnameに更新します。columnは永続オブジェクトでなければいけません。</p>
|
259
259
|
<table class="docutils field-list" frame="void" rules="none">
|
260
260
|
<col class="field-name" />
|
@@ -273,7 +273,7 @@ grn_rc <tt class="descname">grn_column_rename</tt><big>(</big><a class="referenc
|
|
273
273
|
|
274
274
|
<dl class="function">
|
275
275
|
<dt id="c.grn_column_name">
|
276
|
-
int <
|
276
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
277
277
|
<dd><p>カラムobjの名前の長さを返します。buf_sizeの長さが名前の長さ以上であった場合は、namebufに該当する名前をコピーします。</p>
|
278
278
|
<table class="docutils field-list" frame="void" rules="none">
|
279
279
|
<col class="field-name" />
|
@@ -292,7 +292,7 @@ int <tt class="descname">grn_column_name</tt><big>(</big><a class="reference int
|
|
292
292
|
|
293
293
|
<dl class="function">
|
294
294
|
<dt id="c.grn_column_index">
|
295
|
-
int <
|
295
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
296
296
|
<dd><p>columnに張られているindexのうち、opの操作を実行可能なものの数を返します。またそれらのidを、buf_sizeに指定された個数を上限としてindexbufに返します。</p>
|
297
297
|
<table class="docutils field-list" frame="void" rules="none">
|
298
298
|
<col class="field-name" />
|
@@ -313,9 +313,9 @@ int <tt class="descname">grn_column_index</tt><big>(</big><a class="reference in
|
|
313
313
|
|
314
314
|
<dl class="function">
|
315
315
|
<dt id="c.grn_column_truncate">
|
316
|
-
grn_rc <
|
316
|
+
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="この定義へのパーマリンク">¶</a></dt>
|
317
317
|
<dd><div class="admonition note">
|
318
|
-
<p class="first admonition-title"
|
318
|
+
<p class="first admonition-title">注釈</p>
|
319
319
|
<p class="last">This is a dangerous API. You must not use this API when other
|
320
320
|
thread or process accesses the target column. If you use this
|
321
321
|
API against shared column, the process that accesses the column
|
@@ -330,11 +330,11 @@ may be broken and the column may be broken.</p>
|
|
330
330
|
<col class="field-body" />
|
331
331
|
<tbody valign="top">
|
332
332
|
<tr class="field-odd field"><th class="field-name">パラメタ:</th><td class="field-body"><ul class="first simple">
|
333
|
-
<li><strong>column</strong> --
|
333
|
+
<li><strong>column</strong> -- truncate対象のカラム。</li>
|
334
334
|
</ul>
|
335
335
|
</td>
|
336
336
|
</tr>
|
337
|
-
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <
|
337
|
+
<tr class="field-even field"><th class="field-name">戻り値:</th><td class="field-body"><p class="first last">成功時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 、エラー時は <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> 以外。</p>
|
338
338
|
</td>
|
339
339
|
</tr>
|
340
340
|
</tbody>
|
@@ -348,11 +348,11 @@ may be broken and the column may be broken.</p>
|
|
348
348
|
</div>
|
349
349
|
</div>
|
350
350
|
</div>
|
351
|
-
<div class="sphinxsidebar">
|
351
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
352
352
|
<div class="sphinxsidebarwrapper">
|
353
353
|
<h3><a href="../../index.html">目次</a></h3>
|
354
354
|
<ul>
|
355
|
-
<li><a class="reference internal" href="#">7.18.3. <
|
355
|
+
<li><a class="reference internal" href="#">7.18.3. <code class="docutils literal"><span class="pre">grn_column</span></code></a><ul>
|
356
356
|
<li><a class="reference internal" href="#summary">7.18.3.1. 概要</a></li>
|
357
357
|
<li><a class="reference internal" href="#example">7.18.3.2. 実行例:</a></li>
|
358
358
|
<li><a class="reference internal" href="#reference">7.18.3.3. リファレンス</a></li>
|
@@ -362,16 +362,18 @@ may be broken and the column may be broken.</p>
|
|
362
362
|
|
363
363
|
<h4>前のトピックへ</h4>
|
364
364
|
<p class="topless"><a href="grn_cache.html"
|
365
|
-
title="前の章へ">7.18.2. <
|
365
|
+
title="前の章へ">7.18.2. <code class="docutils literal"><span class="pre">grn_cache</span></code></a></p>
|
366
366
|
<h4>次のトピックへ</h4>
|
367
367
|
<p class="topless"><a href="grn_command_version.html"
|
368
|
-
title="次の章へ">7.18.4. <
|
369
|
-
<
|
370
|
-
|
371
|
-
<
|
372
|
-
|
373
|
-
|
374
|
-
|
368
|
+
title="次の章へ">7.18.4. <code class="docutils literal"><span class="pre">grn_command_version</span></code></a></p>
|
369
|
+
<div role="note" aria-label="source link">
|
370
|
+
<h3>このページ</h3>
|
371
|
+
<ul class="this-page-menu">
|
372
|
+
<li><a href="../../_sources/reference/api/grn_column.txt"
|
373
|
+
rel="nofollow">ソースコードを表示</a></li>
|
374
|
+
</ul>
|
375
|
+
</div>
|
376
|
+
<div id="searchbox" style="display: none" role="search">
|
375
377
|
<h3>クイック検索</h3>
|
376
378
|
<form class="search" action="../../search.html" method="get">
|
377
379
|
<input type="text" name="q" />
|
@@ -388,7 +390,7 @@ may be broken and the column may be broken.</p>
|
|
388
390
|
</div>
|
389
391
|
<div class="clearer"></div>
|
390
392
|
</div>
|
391
|
-
<div class="related">
|
393
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
392
394
|
<h3>ナビゲーション</h3>
|
393
395
|
<ul>
|
394
396
|
<li class="right" style="margin-right: 10px">
|
@@ -400,13 +402,13 @@ may be broken and the column may be broken.</p>
|
|
400
402
|
<li class="right" >
|
401
403
|
<a href="grn_cache.html" title="7.18.2. grn_cache"
|
402
404
|
>前へ</a> |</li>
|
403
|
-
<li><a href="../../index.html">Groonga
|
405
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
404
406
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
405
407
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
406
408
|
</ul>
|
407
409
|
</div>
|
408
|
-
<div class="footer">
|
409
|
-
© Copyright 2009-
|
410
|
+
<div class="footer" role="contentinfo">
|
411
|
+
© Copyright 2009-2015, Brazil, Inc.
|
410
412
|
</div>
|
411
413
|
</body>
|
412
414
|
</html>
|