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.7. grn_db — Groonga
|
10
|
+
<title>7.18.7. grn_db — Groonga v5.0.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '5.0.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
28
|
+
<link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.8. grn_encoding" href="grn_encoding.html" />
|
31
31
|
<link rel="prev" title="7.18.6. grn_ctx" href="grn_ctx.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_ctx.html" title="7.18.6. grn_ctx"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-db">
|
75
|
-
<h1>7.18.7. <
|
75
|
+
<h1>7.18.7. <code class="docutils literal"><span class="pre">grn_db</span></code><a class="headerlink" href="#grn-db" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.18.7.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>TODO...</p>
|
@@ -86,39 +86,39 @@
|
|
86
86
|
<p>TODO...</p>
|
87
87
|
<dl class="type">
|
88
88
|
<dt id="c.grn_db">
|
89
|
-
<
|
89
|
+
<code class="descname">grn_db</code><a class="headerlink" href="#c.grn_db" title="Permalink to this definition">¶</a></dt>
|
90
90
|
<dd><p>TODO...</p>
|
91
91
|
</dd></dl>
|
92
92
|
|
93
93
|
<dl class="type">
|
94
94
|
<dt id="c.grn_db_create_optarg">
|
95
|
-
<
|
96
|
-
<dd><p>It is used for specifying options for <a class="reference internal" href="#c.grn_db_create" title="grn_db_create"><
|
95
|
+
<code class="descname">grn_db_create_optarg</code><a class="headerlink" href="#c.grn_db_create_optarg" title="Permalink to this definition">¶</a></dt>
|
96
|
+
<dd><p>It is used for specifying options for <a class="reference internal" href="#c.grn_db_create" title="grn_db_create"><code class="xref c c-func docutils literal"><span class="pre">grn_db_create()</span></code></a>.</p>
|
97
97
|
</dd></dl>
|
98
98
|
|
99
99
|
<dl class="member">
|
100
100
|
<dt id="c.grn_db_create_optarg.builtin_type_names">
|
101
|
-
char **<
|
101
|
+
char **<code class="descname">grn_db_create_optarg.builtin_type_names</code><a class="headerlink" href="#c.grn_db_create_optarg.builtin_type_names" title="Permalink to this definition">¶</a></dt>
|
102
102
|
<dd><p>組み込み型の名前となるnul終端文字列の配列を指定する。</p>
|
103
103
|
</dd></dl>
|
104
104
|
|
105
105
|
<dl class="member">
|
106
106
|
<dt id="c.grn_db_create_optarg.n_builtin_type_names">
|
107
|
-
int <
|
107
|
+
int <code class="descname">grn_db_create_optarg.n_builtin_type_names</code><a class="headerlink" href="#c.grn_db_create_optarg.n_builtin_type_names" title="Permalink to this definition">¶</a></dt>
|
108
108
|
<dd><p>n_builtin_type_namesには、optarg.builtin_type_namesで指定する文字列の数を
|
109
109
|
指定する。配列のoffsetはenum型grn_builtin_typeの値に対応する。</p>
|
110
110
|
</dd></dl>
|
111
111
|
|
112
112
|
<dl class="function">
|
113
113
|
<dt id="c.grn_db_create">
|
114
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
114
|
+
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_db_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>, const char<em> *path</em>, <a class="reference internal" href="#c.grn_db_create_optarg" title="grn_db_create_optarg">grn_db_create_optarg</a><em> *optarg</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_db_create" title="Permalink to this definition">¶</a></dt>
|
115
115
|
<dd><p>新たなdbを作成します。</p>
|
116
116
|
<table class="docutils field-list" frame="void" rules="none">
|
117
117
|
<col class="field-name" />
|
118
118
|
<col class="field-body" />
|
119
119
|
<tbody valign="top">
|
120
120
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
121
|
-
<li><strong>ctx</strong> -- 初期化済みの <a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx"><
|
121
|
+
<li><strong>ctx</strong> -- 初期化済みの <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> を指定します。</li>
|
122
122
|
<li><strong>path</strong> -- 作成するdbを格納するファイルパスを指定します。NULLならtemporary dbとなります。NULL以外のパスを指定した場合はpersistent dbとなります。</li>
|
123
123
|
<li><strong>optarg</strong> -- <p>Currently, it is not used. It is just ignored.</p>
|
124
124
|
<p>作成するdbの組み込み型の名前を変更する時に指定します。</p>
|
@@ -133,7 +133,7 @@ int <tt class="descname">grn_db_create_optarg.n_builtin_type_names</tt><a class=
|
|
133
133
|
|
134
134
|
<dl class="function">
|
135
135
|
<dt id="c.grn_db_open">
|
136
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
136
|
+
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_db_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>, const char<em> *path</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_db_open" title="Permalink to this definition">¶</a></dt>
|
137
137
|
<dd><p>既存のdbを開きます。</p>
|
138
138
|
<table class="docutils field-list" frame="void" rules="none">
|
139
139
|
<col class="field-name" />
|
@@ -150,7 +150,7 @@ int <tt class="descname">grn_db_create_optarg.n_builtin_type_names</tt><a class=
|
|
150
150
|
|
151
151
|
<dl class="function">
|
152
152
|
<dt id="c.grn_db_touch">
|
153
|
-
void <
|
153
|
+
void <code class="descname">grn_db_touch</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> *db</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_db_touch" title="Permalink to this definition">¶</a></dt>
|
154
154
|
<dd><p>dbの内容の最終更新時刻を現在時刻にします。</p>
|
155
155
|
<p>最終更新時刻はキャッシュが有効かどうかの判断などに利用されます。</p>
|
156
156
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -168,7 +168,7 @@ void <tt class="descname">grn_db_touch</tt><big>(</big><a class="reference inter
|
|
168
168
|
|
169
169
|
<dl class="function">
|
170
170
|
<dt id="c.grn_obj_db">
|
171
|
-
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
171
|
+
<a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_obj_db</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><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_db" title="Permalink to this definition">¶</a></dt>
|
172
172
|
<dd><p>objの属するdbを返します。</p>
|
173
173
|
<table class="docutils field-list" frame="void" rules="none">
|
174
174
|
<col class="field-name" />
|
@@ -185,7 +185,7 @@ void <tt class="descname">grn_db_touch</tt><big>(</big><a class="reference inter
|
|
185
185
|
|
186
186
|
<dl class="function">
|
187
187
|
<dt id="c.grn_db_recover">
|
188
|
-
grn_rc <
|
188
|
+
grn_rc <code class="descname">grn_db_recover</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> *db</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_db_recover" title="Permalink to this definition">¶</a></dt>
|
189
189
|
<dd><div class="admonition note">
|
190
190
|
<p class="first admonition-title">Note</p>
|
191
191
|
<p class="last">This is an experimental API.</p>
|
@@ -231,7 +231,7 @@ lock and re-add data.</p>
|
|
231
231
|
</ul>
|
232
232
|
</td>
|
233
233
|
</tr>
|
234
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
234
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on error.</p>
|
235
235
|
</td>
|
236
236
|
</tr>
|
237
237
|
</tbody>
|
@@ -245,11 +245,11 @@ lock and re-add data.</p>
|
|
245
245
|
</div>
|
246
246
|
</div>
|
247
247
|
</div>
|
248
|
-
<div class="sphinxsidebar">
|
248
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
249
249
|
<div class="sphinxsidebarwrapper">
|
250
250
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
251
251
|
<ul>
|
252
|
-
<li><a class="reference internal" href="#">7.18.7. <
|
252
|
+
<li><a class="reference internal" href="#">7.18.7. <code class="docutils literal"><span class="pre">grn_db</span></code></a><ul>
|
253
253
|
<li><a class="reference internal" href="#summary">7.18.7.1. Summary</a></li>
|
254
254
|
<li><a class="reference internal" href="#example">7.18.7.2. Example</a></li>
|
255
255
|
<li><a class="reference internal" href="#reference">7.18.7.3. Reference</a></li>
|
@@ -259,16 +259,18 @@ lock and re-add data.</p>
|
|
259
259
|
|
260
260
|
<h4>Previous topic</h4>
|
261
261
|
<p class="topless"><a href="grn_ctx.html"
|
262
|
-
title="previous chapter">7.18.6. <
|
262
|
+
title="previous chapter">7.18.6. <code class="docutils literal"><span class="pre">grn_ctx</span></code></a></p>
|
263
263
|
<h4>Next topic</h4>
|
264
264
|
<p class="topless"><a href="grn_encoding.html"
|
265
|
-
title="next chapter">7.18.8. <
|
266
|
-
<
|
267
|
-
|
268
|
-
<
|
269
|
-
|
270
|
-
|
271
|
-
|
265
|
+
title="next chapter">7.18.8. <code class="docutils literal"><span class="pre">grn_encoding</span></code></a></p>
|
266
|
+
<div role="note" aria-label="source link">
|
267
|
+
<h3>This Page</h3>
|
268
|
+
<ul class="this-page-menu">
|
269
|
+
<li><a href="../../_sources/reference/api/grn_db.txt"
|
270
|
+
rel="nofollow">Show Source</a></li>
|
271
|
+
</ul>
|
272
|
+
</div>
|
273
|
+
<div id="searchbox" style="display: none" role="search">
|
272
274
|
<h3>Quick search</h3>
|
273
275
|
<form class="search" action="../../search.html" method="get">
|
274
276
|
<input type="text" name="q" />
|
@@ -285,7 +287,7 @@ lock and re-add data.</p>
|
|
285
287
|
</div>
|
286
288
|
<div class="clearer"></div>
|
287
289
|
</div>
|
288
|
-
<div class="related">
|
290
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
289
291
|
<h3>Navigation</h3>
|
290
292
|
<ul>
|
291
293
|
<li class="right" style="margin-right: 10px">
|
@@ -297,13 +299,13 @@ lock and re-add data.</p>
|
|
297
299
|
<li class="right" >
|
298
300
|
<a href="grn_ctx.html" title="7.18.6. grn_ctx"
|
299
301
|
>previous</a> |</li>
|
300
|
-
<li><a href="../../index.html">Groonga
|
302
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
301
303
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
302
304
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
303
305
|
</ul>
|
304
306
|
</div>
|
305
|
-
<div class="footer">
|
306
|
-
© Copyright 2009-
|
307
|
+
<div class="footer" role="contentinfo">
|
308
|
+
© Copyright 2009-2015, Brazil, Inc.
|
307
309
|
</div>
|
308
310
|
</body>
|
309
311
|
</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.8. grn_encoding — Groonga
|
10
|
+
<title>7.18.8. grn_encoding — Groonga v5.0.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '5.0.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
28
|
+
<link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.9. grn_expr" href="grn_expr.html" />
|
31
31
|
<link rel="prev" title="7.18.7. grn_db" href="grn_db.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_db.html" title="7.18.7. grn_db"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-encoding">
|
75
|
-
<h1>7.18.8. <
|
75
|
+
<h1>7.18.8. <code class="docutils literal"><span class="pre">grn_encoding</span></code><a class="headerlink" href="#grn-encoding" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>7.18.8.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>TODO...</p>
|
@@ -85,19 +85,19 @@
|
|
85
85
|
<h2>7.18.8.3. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
86
86
|
<dl class="type">
|
87
87
|
<dt id="c.grn_encoding">
|
88
|
-
<
|
88
|
+
<code class="descname">grn_encoding</code><a class="headerlink" href="#c.grn_encoding" title="Permalink to this definition">¶</a></dt>
|
89
89
|
<dd><p>TODO...</p>
|
90
90
|
</dd></dl>
|
91
91
|
|
92
92
|
<dl class="function">
|
93
93
|
<dt id="c.grn_get_default_encoding">
|
94
|
-
<a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a> <
|
94
|
+
<a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a> <code class="descname">grn_get_default_encoding</code><span class="sig-paren">(</span>void<span class="sig-paren">)</span><a class="headerlink" href="#c.grn_get_default_encoding" title="Permalink to this definition">¶</a></dt>
|
95
95
|
<dd><p>デフォルトのencodingを返します。</p>
|
96
96
|
</dd></dl>
|
97
97
|
|
98
98
|
<dl class="function">
|
99
99
|
<dt id="c.grn_set_default_encoding">
|
100
|
-
grn_rc <
|
100
|
+
grn_rc <code class="descname">grn_set_default_encoding</code><span class="sig-paren">(</span><a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a><em> encoding</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_set_default_encoding" title="Permalink to this definition">¶</a></dt>
|
101
101
|
<dd><p>デフォルトのencodingを変更します。</p>
|
102
102
|
<table class="docutils field-list" frame="void" rules="none">
|
103
103
|
<col class="field-name" />
|
@@ -114,8 +114,8 @@ grn_rc <tt class="descname">grn_set_default_encoding</tt><big>(</big><a class="r
|
|
114
114
|
|
115
115
|
<dl class="function">
|
116
116
|
<dt id="c.grn_encoding_to_string">
|
117
|
-
const char *<
|
118
|
-
<dd><p>Returns string representation for the encoding. For example, 'grn_encoding_to_string(<
|
117
|
+
const char *<code class="descname">grn_encoding_to_string</code><span class="sig-paren">(</span><a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a><em> encoding</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_encoding_to_string" title="Permalink to this definition">¶</a></dt>
|
118
|
+
<dd><p>Returns string representation for the encoding. For example, 'grn_encoding_to_string(<code class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></code>)' returns '"utf8"'.</p>
|
119
119
|
<p>"unknown" is returned for invalid encoding.</p>
|
120
120
|
<table class="docutils field-list" frame="void" rules="none">
|
121
121
|
<col class="field-name" />
|
@@ -132,9 +132,9 @@ const char *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class
|
|
132
132
|
|
133
133
|
<dl class="function">
|
134
134
|
<dt id="c.grn_encoding_parse">
|
135
|
-
<a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a> <
|
136
|
-
<dd><p>Parses encoding name and returns grn_encoding. For example, 'grn_encoding_parse("UTF8")' returns '<
|
137
|
-
<p><
|
135
|
+
<a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a> <code class="descname">grn_encoding_parse</code><span class="sig-paren">(</span>const char<em> *name</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_encoding_parse" title="Permalink to this definition">¶</a></dt>
|
136
|
+
<dd><p>Parses encoding name and returns grn_encoding. For example, 'grn_encoding_parse("UTF8")' returns '<code class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></code>'.</p>
|
137
|
+
<p><code class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></code> is returned for invalid encoding name.</p>
|
138
138
|
<table class="docutils field-list" frame="void" rules="none">
|
139
139
|
<col class="field-name" />
|
140
140
|
<col class="field-body" />
|
@@ -155,11 +155,11 @@ const char *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class
|
|
155
155
|
</div>
|
156
156
|
</div>
|
157
157
|
</div>
|
158
|
-
<div class="sphinxsidebar">
|
158
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
159
159
|
<div class="sphinxsidebarwrapper">
|
160
160
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
161
161
|
<ul>
|
162
|
-
<li><a class="reference internal" href="#">7.18.8. <
|
162
|
+
<li><a class="reference internal" href="#">7.18.8. <code class="docutils literal"><span class="pre">grn_encoding</span></code></a><ul>
|
163
163
|
<li><a class="reference internal" href="#summary">7.18.8.1. Summary</a></li>
|
164
164
|
<li><a class="reference internal" href="#example">7.18.8.2. Example</a></li>
|
165
165
|
<li><a class="reference internal" href="#reference">7.18.8.3. Reference</a></li>
|
@@ -169,16 +169,18 @@ const char *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class
|
|
169
169
|
|
170
170
|
<h4>Previous topic</h4>
|
171
171
|
<p class="topless"><a href="grn_db.html"
|
172
|
-
title="previous chapter">7.18.7. <
|
172
|
+
title="previous chapter">7.18.7. <code class="docutils literal"><span class="pre">grn_db</span></code></a></p>
|
173
173
|
<h4>Next topic</h4>
|
174
174
|
<p class="topless"><a href="grn_expr.html"
|
175
175
|
title="next chapter">7.18.9. grn_expr</a></p>
|
176
|
-
<
|
177
|
-
|
178
|
-
<
|
179
|
-
|
180
|
-
|
181
|
-
|
176
|
+
<div role="note" aria-label="source link">
|
177
|
+
<h3>This Page</h3>
|
178
|
+
<ul class="this-page-menu">
|
179
|
+
<li><a href="../../_sources/reference/api/grn_encoding.txt"
|
180
|
+
rel="nofollow">Show Source</a></li>
|
181
|
+
</ul>
|
182
|
+
</div>
|
183
|
+
<div id="searchbox" style="display: none" role="search">
|
182
184
|
<h3>Quick search</h3>
|
183
185
|
<form class="search" action="../../search.html" method="get">
|
184
186
|
<input type="text" name="q" />
|
@@ -195,7 +197,7 @@ const char *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class
|
|
195
197
|
</div>
|
196
198
|
<div class="clearer"></div>
|
197
199
|
</div>
|
198
|
-
<div class="related">
|
200
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
199
201
|
<h3>Navigation</h3>
|
200
202
|
<ul>
|
201
203
|
<li class="right" style="margin-right: 10px">
|
@@ -207,13 +209,13 @@ const char *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class
|
|
207
209
|
<li class="right" >
|
208
210
|
<a href="grn_db.html" title="7.18.7. grn_db"
|
209
211
|
>previous</a> |</li>
|
210
|
-
<li><a href="../../index.html">Groonga
|
212
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
211
213
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
212
214
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
213
215
|
</ul>
|
214
216
|
</div>
|
215
|
-
<div class="footer">
|
216
|
-
© Copyright 2009-
|
217
|
+
<div class="footer" role="contentinfo">
|
218
|
+
© Copyright 2009-2015, Brazil, Inc.
|
217
219
|
</div>
|
218
220
|
</body>
|
219
221
|
</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.9. grn_expr — Groonga
|
10
|
+
<title>7.18.9. grn_expr — Groonga v5.0.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '5.0.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
28
|
+
<link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.10. grn_geo" href="grn_geo.html" />
|
31
31
|
<link rel="prev" title="7.18.8. grn_encoding" href="grn_encoding.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_encoding.html" title="7.18.8. grn_encoding"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,17 +69,17 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-expr">
|
75
75
|
<h1>7.18.9. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
|
76
|
-
<p><cite>grn_expr</cite> is an <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj"><
|
76
|
+
<p><cite>grn_expr</cite> is an <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj"><code class="xref c c-type docutils literal"><span class="pre">grn_obj</span></code></a> that represents an expression. Here
|
77
77
|
is a list of what expression can do:</p>
|
78
78
|
<blockquote>
|
79
79
|
<div><ul class="simple">
|
80
80
|
<li>Expression can apply some operations to a record by
|
81
|
-
<a class="reference internal" href="#c.grn_expr_exec" title="grn_expr_exec"><
|
82
|
-
<li>Expression can represents search condition. <
|
81
|
+
<a class="reference internal" href="#c.grn_expr_exec" title="grn_expr_exec"><code class="xref c c-func docutils literal"><span class="pre">grn_expr_exec()</span></code></a>.</li>
|
82
|
+
<li>Expression can represents search condition. <code class="xref c c-func docutils literal"><span class="pre">grn_table_select()</span></code>
|
83
83
|
can select records that match against the search condition represented
|
84
84
|
by expression.</li>
|
85
85
|
</ul>
|
@@ -91,7 +91,7 @@ by expression.</li>
|
|
91
91
|
<li><a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a></li>
|
92
92
|
</ul>
|
93
93
|
</div></blockquote>
|
94
|
-
<p><
|
94
|
+
<p><code class="xref c c-func docutils literal"><span class="pre">grn_expr_parse()</span></code> parses string represented expression and
|
95
95
|
appends the parsed expression to another expression.</p>
|
96
96
|
<div class="section" id="example">
|
97
97
|
<h2>7.18.9.1. Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
@@ -101,57 +101,57 @@ appends the parsed expression to another expression.</p>
|
|
101
101
|
<h2>7.18.9.2. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
102
102
|
<dl class="function">
|
103
103
|
<dt id="c.grn_expr_create">
|
104
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
104
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_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>, const char<em> *name</em>, unsigned int<em> name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_create" title="Permalink to this definition">¶</a></dt>
|
105
105
|
<dd></dd></dl>
|
106
106
|
|
107
107
|
<dl class="function">
|
108
108
|
<dt id="c.grn_expr_close">
|
109
|
-
GRN_API grn_rc <
|
109
|
+
GRN_API grn_rc <code class="descname">grn_expr_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="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_close" title="Permalink to this definition">¶</a></dt>
|
110
110
|
<dd></dd></dl>
|
111
111
|
|
112
112
|
<dl class="function">
|
113
113
|
<dt id="c.grn_expr_add_var">
|
114
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
114
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_add_var</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> *expr</em>, const char<em> *name</em>, unsigned int<em> name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_add_var" title="Permalink to this definition">¶</a></dt>
|
115
115
|
<dd></dd></dl>
|
116
116
|
|
117
117
|
<dl class="function">
|
118
118
|
<dt id="c.grn_expr_get_var_by_offset">
|
119
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
119
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_get_var_by_offset</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> *expr</em>, unsigned int<em> offset</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_get_var_by_offset" title="Permalink to this definition">¶</a></dt>
|
120
120
|
<dd></dd></dl>
|
121
121
|
|
122
122
|
<dl class="function">
|
123
123
|
<dt>
|
124
|
-
<
|
124
|
+
<code class="descname">GRN_API grn_obj *grn_expr_append_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj, grn_operator op, int nargs);</code></dt>
|
125
125
|
<dd></dd></dl>
|
126
126
|
|
127
127
|
<dl class="function">
|
128
128
|
<dt id="c.grn_expr_append_const">
|
129
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
129
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_append_const</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> *expr</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em>, grn_operator<em> op</em>, int<em> nargs</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_append_const" title="Permalink to this definition">¶</a></dt>
|
130
130
|
<dd></dd></dl>
|
131
131
|
|
132
132
|
<dl class="function">
|
133
133
|
<dt id="c.grn_expr_append_const_str">
|
134
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
134
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_append_const_str</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> *expr</em>, const char<em> *str</em>, unsigned int<em> str_size</em>, grn_operator<em> op</em>, int<em> nargs</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_append_const_str" title="Permalink to this definition">¶</a></dt>
|
135
135
|
<dd></dd></dl>
|
136
136
|
|
137
137
|
<dl class="function">
|
138
138
|
<dt id="c.grn_expr_append_const_int">
|
139
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
139
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_append_const_int</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> *expr</em>, int<em> i</em>, grn_operator<em> op</em>, int<em> nargs</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_append_const_int" title="Permalink to this definition">¶</a></dt>
|
140
140
|
<dd></dd></dl>
|
141
141
|
|
142
142
|
<dl class="function">
|
143
143
|
<dt id="c.grn_expr_append_op">
|
144
|
-
GRN_API grn_rc <
|
144
|
+
GRN_API grn_rc <code class="descname">grn_expr_append_op</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> *expr</em>, grn_operator<em> op</em>, int<em> nargs</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_append_op" title="Permalink to this definition">¶</a></dt>
|
145
145
|
<dd></dd></dl>
|
146
146
|
|
147
147
|
<dl class="function">
|
148
148
|
<dt id="c.grn_expr_get_keywords">
|
149
|
-
grn_rc <
|
150
|
-
<dd><p>Extracts keywords from <
|
151
|
-
<
|
152
|
-
unlink them. Each keyword is <
|
153
|
-
<
|
154
|
-
<p><
|
149
|
+
grn_rc <code class="descname">grn_expr_get_keywords</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> *expr</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *keywords</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_get_keywords" title="Permalink to this definition">¶</a></dt>
|
150
|
+
<dd><p>Extracts keywords from <code class="docutils literal"><span class="pre">expr</span></code> and stores to
|
151
|
+
<code class="docutils literal"><span class="pre">keywords</span></code>. Keywords in <code class="docutils literal"><span class="pre">keywords</span></code> are owned by <code class="docutils literal"><span class="pre">expr</span></code>. Don't
|
152
|
+
unlink them. Each keyword is <code class="docutils literal"><span class="pre">GRN_BULK</span></code> and its domain is
|
153
|
+
<code class="docutils literal"><span class="pre">GRN_DB_TEXT</span></code>.</p>
|
154
|
+
<p><code class="docutils literal"><span class="pre">keywords</span></code> must be <code class="docutils literal"><span class="pre">GRN_PVECTOR</span></code>.</p>
|
155
155
|
<p>Here is an example code:</p>
|
156
156
|
<div class="highlight-c"><div class="highlight"><pre><span class="n">grn_obj</span> <span class="n">keywords</span><span class="p">;</span>
|
157
157
|
<span class="n">GRN_PTR_INIT</span><span class="p">(</span><span class="o">&</span><span class="n">keywords</span><span class="p">,</span> <span class="n">GRN_OBJ_VECTOR</span><span class="p">,</span> <span class="n">GRN_ID_NIL</span><span class="p">);</span>
|
@@ -180,19 +180,19 @@ unlink them. Each keyword is <tt class="docutils literal"><span class="pre">GRN_
|
|
180
180
|
<col class="field-body" />
|
181
181
|
<tbody valign="top">
|
182
182
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
183
|
-
<li><strong>ctx</strong> -- The context that creates the <
|
183
|
+
<li><strong>ctx</strong> -- The context that creates the <code class="docutils literal"><span class="pre">expr</span></code>.</li>
|
184
184
|
<li><strong>expr</strong> -- The expression to be extracted.</li>
|
185
185
|
<li><strong>keywords</strong> -- <p>The container to store extracted keywords.
|
186
|
-
It must be <
|
187
|
-
<p>Each extracted keyword is <
|
188
|
-
domain is <
|
189
|
-
<p>Extracted keywords are owned by <
|
186
|
+
It must be <code class="docutils literal"><span class="pre">GRN_PVECTOR</span></code>.</p>
|
187
|
+
<p>Each extracted keyword is <code class="docutils literal"><span class="pre">GRN_BULK</span></code> and its
|
188
|
+
domain is <code class="docutils literal"><span class="pre">GRN_DB_TEXT</span></code>.</p>
|
189
|
+
<p>Extracted keywords are owned by <code class="docutils literal"><span class="pre">expr</span></code>. Don't
|
190
190
|
unlink them.</p>
|
191
191
|
</li>
|
192
192
|
</ul>
|
193
193
|
</td>
|
194
194
|
</tr>
|
195
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
195
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on error.</p>
|
196
196
|
</td>
|
197
197
|
</tr>
|
198
198
|
</tbody>
|
@@ -201,32 +201,32 @@ unlink them.</p>
|
|
201
201
|
|
202
202
|
<dl class="function">
|
203
203
|
<dt id="c.grn_expr_syntax_escape">
|
204
|
-
grn_rc <
|
205
|
-
<dd><p>Escapes <
|
204
|
+
grn_rc <code class="descname">grn_expr_syntax_escape</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>, const char<em> *string</em>, int<em> string_size</em>, const char<em> *target_characters</em>, char<em> escape_character</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *escaped_string</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_syntax_escape" title="Permalink to this definition">¶</a></dt>
|
205
|
+
<dd><p>Escapes <code class="docutils literal"><span class="pre">target_characters</span></code> in <code class="docutils literal"><span class="pre">string</span></code> by <code class="docutils literal"><span class="pre">escape_character</span></code>.</p>
|
206
206
|
<table class="docutils field-list" frame="void" rules="none">
|
207
207
|
<col class="field-name" />
|
208
208
|
<col class="field-body" />
|
209
209
|
<tbody valign="top">
|
210
210
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
211
|
-
<li><strong>ctx</strong> -- Its encoding must be the same encoding of <
|
212
|
-
It is used for allocating buffer for <
|
211
|
+
<li><strong>ctx</strong> -- Its encoding must be the same encoding of <code class="docutils literal"><span class="pre">string</span></code>.
|
212
|
+
It is used for allocating buffer for <code class="docutils literal"><span class="pre">escaped_string</span></code>.</li>
|
213
213
|
<li><strong>string</strong> -- String expression representation.</li>
|
214
|
-
<li><strong>string_size</strong> -- The byte size of <
|
214
|
+
<li><strong>string_size</strong> -- The byte size of <code class="docutils literal"><span class="pre">string</span></code>. <code class="docutils literal"><span class="pre">-1</span></code> means <code class="docutils literal"><span class="pre">string</span></code>
|
215
215
|
is NULL terminated string.</li>
|
216
216
|
<li><strong>target_characters</strong> -- NULL terminated escape target characters.
|
217
|
-
For example, <
|
218
|
-
<
|
217
|
+
For example, <code class="docutils literal"><span class="pre">"+-><~*()\"\\:"</span></code> is
|
218
|
+
<code class="docutils literal"><span class="pre">target_characters</span></code> for
|
219
219
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</li>
|
220
220
|
<li><strong>escape_character</strong> -- The character to use escape a character in
|
221
|
-
<
|
222
|
-
(backslash) is <
|
221
|
+
<code class="docutils literal"><span class="pre">target_characters</span></code>. For example, <code class="docutils literal"><span class="pre">\\</span></code>
|
222
|
+
(backslash) is <code class="docutils literal"><span class="pre">escaped_character</span></code> for
|
223
223
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</li>
|
224
|
-
<li><strong>escaped_string</strong> -- The output of escaped <
|
224
|
+
<li><strong>escaped_string</strong> -- The output of escaped <code class="docutils literal"><span class="pre">string</span></code>. It should be
|
225
225
|
text typed bulk.</li>
|
226
226
|
</ul>
|
227
227
|
</td>
|
228
228
|
</tr>
|
229
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
229
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on error.</p>
|
230
230
|
</td>
|
231
231
|
</tr>
|
232
232
|
</tbody>
|
@@ -235,7 +235,7 @@ text typed bulk.</li>
|
|
235
235
|
|
236
236
|
<dl class="function">
|
237
237
|
<dt id="c.grn_expr_syntax_escape_query">
|
238
|
-
grn_rc <
|
238
|
+
grn_rc <code class="descname">grn_expr_syntax_escape_query</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>, const char<em> *query</em>, int<em> query_size</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *escaped_query</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_syntax_escape_query" title="Permalink to this definition">¶</a></dt>
|
239
239
|
<dd><p>Escapes special characters in
|
240
240
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</p>
|
241
241
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -243,18 +243,18 @@ grn_rc <tt class="descname">grn_expr_syntax_escape_query</tt><big>(</big><a clas
|
|
243
243
|
<col class="field-body" />
|
244
244
|
<tbody valign="top">
|
245
245
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
246
|
-
<li><strong>ctx</strong> -- Its encoding must be the same encoding of <
|
247
|
-
It is used for allocating buffer for <
|
246
|
+
<li><strong>ctx</strong> -- Its encoding must be the same encoding of <code class="docutils literal"><span class="pre">query</span></code>.
|
247
|
+
It is used for allocating buffer for <code class="docutils literal"><span class="pre">escaped_query</span></code>.</li>
|
248
248
|
<li><strong>query</strong> -- String expression representation in
|
249
249
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</li>
|
250
|
-
<li><strong>query_size</strong> -- The byte size of <
|
250
|
+
<li><strong>query_size</strong> -- The byte size of <code class="docutils literal"><span class="pre">query</span></code>. <code class="docutils literal"><span class="pre">-1</span></code> means <code class="docutils literal"><span class="pre">query</span></code>
|
251
251
|
is NULL terminated string.</li>
|
252
|
-
<li><strong>escaped_query</strong> -- The output of escaped <
|
252
|
+
<li><strong>escaped_query</strong> -- The output of escaped <code class="docutils literal"><span class="pre">query</span></code>. It should be
|
253
253
|
text typed bulk.</li>
|
254
254
|
</ul>
|
255
255
|
</td>
|
256
256
|
</tr>
|
257
|
-
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><
|
257
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on success, not <code class="docutils literal"><span class="pre">GRN_SUCCESS</span></code> on error.</p>
|
258
258
|
</td>
|
259
259
|
</tr>
|
260
260
|
</tbody>
|
@@ -263,17 +263,17 @@ text typed bulk.</li>
|
|
263
263
|
|
264
264
|
<dl class="function">
|
265
265
|
<dt id="c.grn_expr_compile">
|
266
|
-
GRN_API grn_rc <
|
266
|
+
GRN_API grn_rc <code class="descname">grn_expr_compile</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> *expr</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_compile" title="Permalink to this definition">¶</a></dt>
|
267
267
|
<dd></dd></dl>
|
268
268
|
|
269
269
|
<dl class="function">
|
270
270
|
<dt id="c.grn_expr_exec">
|
271
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
271
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_exec</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> *expr</em>, int<em> nargs</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_exec" title="Permalink to this definition">¶</a></dt>
|
272
272
|
<dd></dd></dl>
|
273
273
|
|
274
274
|
<dl class="function">
|
275
275
|
<dt id="c.grn_expr_alloc">
|
276
|
-
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<
|
276
|
+
GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a> *<code class="descname">grn_expr_alloc</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> *expr</em>, grn_id<em> domain</em>, grn_obj_flags<em> flags</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_expr_alloc" title="Permalink to this definition">¶</a></dt>
|
277
277
|
<dd></dd></dl>
|
278
278
|
|
279
279
|
</div>
|
@@ -283,7 +283,7 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
283
283
|
</div>
|
284
284
|
</div>
|
285
285
|
</div>
|
286
|
-
<div class="sphinxsidebar">
|
286
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
287
287
|
<div class="sphinxsidebarwrapper">
|
288
288
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
289
289
|
<ul>
|
@@ -296,16 +296,18 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
296
296
|
|
297
297
|
<h4>Previous topic</h4>
|
298
298
|
<p class="topless"><a href="grn_encoding.html"
|
299
|
-
title="previous chapter">7.18.8. <
|
299
|
+
title="previous chapter">7.18.8. <code class="docutils literal"><span class="pre">grn_encoding</span></code></a></p>
|
300
300
|
<h4>Next topic</h4>
|
301
301
|
<p class="topless"><a href="grn_geo.html"
|
302
|
-
title="next chapter">7.18.10. <
|
303
|
-
<
|
304
|
-
|
305
|
-
<
|
306
|
-
|
307
|
-
|
308
|
-
|
302
|
+
title="next chapter">7.18.10. <code class="docutils literal"><span class="pre">grn_geo</span></code></a></p>
|
303
|
+
<div role="note" aria-label="source link">
|
304
|
+
<h3>This Page</h3>
|
305
|
+
<ul class="this-page-menu">
|
306
|
+
<li><a href="../../_sources/reference/api/grn_expr.txt"
|
307
|
+
rel="nofollow">Show Source</a></li>
|
308
|
+
</ul>
|
309
|
+
</div>
|
310
|
+
<div id="searchbox" style="display: none" role="search">
|
309
311
|
<h3>Quick search</h3>
|
310
312
|
<form class="search" action="../../search.html" method="get">
|
311
313
|
<input type="text" name="q" />
|
@@ -322,7 +324,7 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
322
324
|
</div>
|
323
325
|
<div class="clearer"></div>
|
324
326
|
</div>
|
325
|
-
<div class="related">
|
327
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
326
328
|
<h3>Navigation</h3>
|
327
329
|
<ul>
|
328
330
|
<li class="right" style="margin-right: 10px">
|
@@ -334,13 +336,13 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
334
336
|
<li class="right" >
|
335
337
|
<a href="grn_encoding.html" title="7.18.8. grn_encoding"
|
336
338
|
>previous</a> |</li>
|
337
|
-
<li><a href="../../index.html">Groonga
|
339
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
338
340
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
339
341
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
340
342
|
</ul>
|
341
343
|
</div>
|
342
|
-
<div class="footer">
|
343
|
-
© Copyright 2009-
|
344
|
+
<div class="footer" role="contentinfo">
|
345
|
+
© Copyright 2009-2015, Brazil, Inc.
|
344
346
|
</div>
|
345
347
|
</body>
|
346
348
|
</html>
|