rroonga 4.0.7-x86-mingw32 → 4.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/doc/text/news.textile +17 -1
- data/ext/groonga/extconf.rb +2 -1
- data/ext/groonga/rb-grn-column.c +31 -0
- data/ext/groonga/rb-grn-database.c +33 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/geo-point.rb +2 -1
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +68 -6
- data/test/test-command-select.rb +0 -3
- data/test/test-database.rb +28 -1
- data/test/test-expression-builder.rb +1 -1
- data/test/test-geo-point.rb +15 -0
- data/test/test-variable-size-column.rb +2 -2
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_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/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +4 -1
- data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
- data/vendor/local/include/lz4.h +21 -29
- data/vendor/local/include/lz4frame.h +252 -0
- data/vendor/local/include/lz4hc.h +14 -63
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/command/grndb.rb +169 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/groonga/html/admin/index.html +1 -1
- data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
- data/vendor/local/share/license/mruby/AUTHORS +11 -0
- data/vendor/local/share/license/mruby/README.md +32 -20
- data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
- data/vendor/local/share/man/man1/groonga.1 +930 -239
- metadata +103 -80
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.18.7. grn_db — Groonga v4.0.8 documentation</title>
|
10
|
+
<title>7.18.7. grn_db — Groonga v4.0.8-168-gae696d7 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.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>
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related"
|
51
|
+
<div class="related">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_ctx.html" title="7.18.6. grn_ctx"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="grn-db">
|
75
|
-
<h1>7.18.7. <
|
75
|
+
<h1>7.18.7. <tt class="docutils literal"><span class="pre">grn_db</span></tt><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
|
+
<tt class="descname">grn_db</tt><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
|
+
<tt class="descname">grn_db_create_optarg</tt><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"><tt class="xref c c-func docutils literal"><span class="pre">grn_db_create()</span></tt></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 **<tt class="descname">grn_db_create_optarg.builtin_type_names</tt><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 <tt class="descname">grn_db_create_optarg.n_builtin_type_names</tt><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> *<tt class="descname">grn_db_create</tt><big>(</big><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><big>)</big><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"><tt class="xref c c-type docutils literal"><span class="pre">grn_ctx</span></tt></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 <code class="descname">grn_db_create_optarg.n_builtin_type_names</code><a cl
|
|
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> *<tt class="descname">grn_db_open</tt><big>(</big><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><big>)</big><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 <code class="descname">grn_db_create_optarg.n_builtin_type_names</code><a cl
|
|
150
150
|
|
151
151
|
<dl class="function">
|
152
152
|
<dt id="c.grn_db_touch">
|
153
|
-
void <
|
153
|
+
void <tt class="descname">grn_db_touch</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *db</em><big>)</big><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 <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
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> *<tt class="descname">grn_obj_db</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *obj</em><big>)</big><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" />
|
@@ -183,6 +183,61 @@ void <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
183
183
|
</table>
|
184
184
|
</dd></dl>
|
185
185
|
|
186
|
+
<dl class="function">
|
187
|
+
<dt id="c.grn_db_recover">
|
188
|
+
grn_rc <tt class="descname">grn_db_recover</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *db</em><big>)</big><a class="headerlink" href="#c.grn_db_recover" title="Permalink to this definition">¶</a></dt>
|
189
|
+
<dd><div class="admonition note">
|
190
|
+
<p class="first admonition-title">Note</p>
|
191
|
+
<p class="last">This is an experimental API.</p>
|
192
|
+
</div>
|
193
|
+
<div class="admonition note">
|
194
|
+
<p class="first admonition-title">Note</p>
|
195
|
+
<p class="last">This is a dangerous API. You must not use this API when other
|
196
|
+
thread or process opens the target database. If you use this API
|
197
|
+
against shared database, the database may be broken.</p>
|
198
|
+
</div>
|
199
|
+
<div class="versionadded">
|
200
|
+
<p><span class="versionmodified">New in version 4.0.9.</span></p>
|
201
|
+
</div>
|
202
|
+
<p>Checks the passed database and recovers it if it is broken and it
|
203
|
+
can be recovered.</p>
|
204
|
+
<p>This API uses lock existence for checking whether the database is
|
205
|
+
broken or not.</p>
|
206
|
+
<p>Here are recoverable cases:</p>
|
207
|
+
<blockquote>
|
208
|
+
<div><ul class="simple">
|
209
|
+
<li>Index column is broken. The index column must have source column.</li>
|
210
|
+
</ul>
|
211
|
+
</div></blockquote>
|
212
|
+
<p>Here are unrecoverable cases:</p>
|
213
|
+
<blockquote>
|
214
|
+
<div><ul class="simple">
|
215
|
+
<li>Object name management feature is broken.</li>
|
216
|
+
<li>Table is broken.</li>
|
217
|
+
<li>Data column is broken.</li>
|
218
|
+
</ul>
|
219
|
+
</div></blockquote>
|
220
|
+
<p>Object name management feature is used for managing table name,
|
221
|
+
column name and so on. If the feature is broken, the database can't
|
222
|
+
be recovered. Please re-create the database from backup.</p>
|
223
|
+
<p>Table and data column can be recovered by removing an existence
|
224
|
+
lock and re-add data.</p>
|
225
|
+
<table class="docutils field-list" frame="void" rules="none">
|
226
|
+
<col class="field-name" />
|
227
|
+
<col class="field-body" />
|
228
|
+
<tbody valign="top">
|
229
|
+
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
230
|
+
<li><strong>db</strong> -- The database to be recovered.</li>
|
231
|
+
</ul>
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on error.</p>
|
235
|
+
</td>
|
236
|
+
</tr>
|
237
|
+
</tbody>
|
238
|
+
</table>
|
239
|
+
</dd></dl>
|
240
|
+
|
186
241
|
</div>
|
187
242
|
</div>
|
188
243
|
|
@@ -190,11 +245,11 @@ void <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
190
245
|
</div>
|
191
246
|
</div>
|
192
247
|
</div>
|
193
|
-
<div class="sphinxsidebar"
|
248
|
+
<div class="sphinxsidebar">
|
194
249
|
<div class="sphinxsidebarwrapper">
|
195
250
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
196
251
|
<ul>
|
197
|
-
<li><a class="reference internal" href="#">7.18.7. <
|
252
|
+
<li><a class="reference internal" href="#">7.18.7. <tt class="docutils literal"><span class="pre">grn_db</span></tt></a><ul>
|
198
253
|
<li><a class="reference internal" href="#summary">7.18.7.1. Summary</a></li>
|
199
254
|
<li><a class="reference internal" href="#example">7.18.7.2. Example</a></li>
|
200
255
|
<li><a class="reference internal" href="#reference">7.18.7.3. Reference</a></li>
|
@@ -204,18 +259,16 @@ void <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
204
259
|
|
205
260
|
<h4>Previous topic</h4>
|
206
261
|
<p class="topless"><a href="grn_ctx.html"
|
207
|
-
title="previous chapter">7.18.6. <
|
262
|
+
title="previous chapter">7.18.6. <tt class="docutils literal"><span class="pre">grn_ctx</span></tt></a></p>
|
208
263
|
<h4>Next topic</h4>
|
209
264
|
<p class="topless"><a href="grn_encoding.html"
|
210
|
-
title="next chapter">7.18.8. <
|
211
|
-
<
|
212
|
-
|
213
|
-
<
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
</div>
|
218
|
-
<div id="searchbox" style="display: none" role="search">
|
265
|
+
title="next chapter">7.18.8. <tt class="docutils literal"><span class="pre">grn_encoding</span></tt></a></p>
|
266
|
+
<h3>This Page</h3>
|
267
|
+
<ul class="this-page-menu">
|
268
|
+
<li><a href="../../_sources/reference/api/grn_db.txt"
|
269
|
+
rel="nofollow">Show Source</a></li>
|
270
|
+
</ul>
|
271
|
+
<div id="searchbox" style="display: none">
|
219
272
|
<h3>Quick search</h3>
|
220
273
|
<form class="search" action="../../search.html" method="get">
|
221
274
|
<input type="text" name="q" />
|
@@ -232,7 +285,7 @@ void <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
232
285
|
</div>
|
233
286
|
<div class="clearer"></div>
|
234
287
|
</div>
|
235
|
-
<div class="related"
|
288
|
+
<div class="related">
|
236
289
|
<h3>Navigation</h3>
|
237
290
|
<ul>
|
238
291
|
<li class="right" style="margin-right: 10px">
|
@@ -244,12 +297,12 @@ void <code class="descname">grn_db_touch</code><span class="sig-paren">(</span><
|
|
244
297
|
<li class="right" >
|
245
298
|
<a href="grn_ctx.html" title="7.18.6. grn_ctx"
|
246
299
|
>previous</a> |</li>
|
247
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
300
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
248
301
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
249
302
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
250
303
|
</ul>
|
251
304
|
</div>
|
252
|
-
<div class="footer"
|
305
|
+
<div class="footer">
|
253
306
|
© Copyright 2009-2014, Brazil, Inc.
|
254
307
|
</div>
|
255
308
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.18.8. grn_encoding — Groonga v4.0.8 documentation</title>
|
10
|
+
<title>7.18.8. grn_encoding — Groonga v4.0.8-168-gae696d7 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.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>
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related"
|
51
|
+
<div class="related">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_db.html" title="7.18.7. grn_db"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="grn-encoding">
|
75
|
-
<h1>7.18.8. <
|
75
|
+
<h1>7.18.8. <tt class="docutils literal"><span class="pre">grn_encoding</span></tt><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
|
+
<tt class="descname">grn_encoding</tt><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> <tt class="descname">grn_get_default_encoding</tt><big>(</big>void<big>)</big><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 <tt class="descname">grn_set_default_encoding</tt><big>(</big><a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a><em> encoding</em><big>)</big><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 <code class="descname">grn_set_default_encoding</code><span class="sig-pa
|
|
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 *<tt class="descname">grn_encoding_to_string</tt><big>(</big><a class="reference internal" href="#c.grn_encoding" title="grn_encoding">grn_encoding</a><em> encoding</em><big>)</big><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(<tt class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></tt>)' 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 *<code class="descname">grn_encoding_to_string</code><span class="sig
|
|
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> <tt class="descname">grn_encoding_parse</tt><big>(</big>const char<em> *name</em><big>)</big><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 '<tt class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></tt>'.</p>
|
137
|
+
<p><tt class="docutils literal"><span class="pre">GRN_ENC_UTF8</span></tt> 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 *<code class="descname">grn_encoding_to_string</code><span class="sig
|
|
155
155
|
</div>
|
156
156
|
</div>
|
157
157
|
</div>
|
158
|
-
<div class="sphinxsidebar"
|
158
|
+
<div class="sphinxsidebar">
|
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. <tt class="docutils literal"><span class="pre">grn_encoding</span></tt></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,18 +169,16 @@ const char *<code class="descname">grn_encoding_to_string</code><span class="sig
|
|
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. <tt class="docutils literal"><span class="pre">grn_db</span></tt></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
|
-
|
182
|
-
</div>
|
183
|
-
<div id="searchbox" style="display: none" role="search">
|
176
|
+
<h3>This Page</h3>
|
177
|
+
<ul class="this-page-menu">
|
178
|
+
<li><a href="../../_sources/reference/api/grn_encoding.txt"
|
179
|
+
rel="nofollow">Show Source</a></li>
|
180
|
+
</ul>
|
181
|
+
<div id="searchbox" style="display: none">
|
184
182
|
<h3>Quick search</h3>
|
185
183
|
<form class="search" action="../../search.html" method="get">
|
186
184
|
<input type="text" name="q" />
|
@@ -197,7 +195,7 @@ const char *<code class="descname">grn_encoding_to_string</code><span class="sig
|
|
197
195
|
</div>
|
198
196
|
<div class="clearer"></div>
|
199
197
|
</div>
|
200
|
-
<div class="related"
|
198
|
+
<div class="related">
|
201
199
|
<h3>Navigation</h3>
|
202
200
|
<ul>
|
203
201
|
<li class="right" style="margin-right: 10px">
|
@@ -209,12 +207,12 @@ const char *<code class="descname">grn_encoding_to_string</code><span class="sig
|
|
209
207
|
<li class="right" >
|
210
208
|
<a href="grn_db.html" title="7.18.7. grn_db"
|
211
209
|
>previous</a> |</li>
|
212
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
210
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
213
211
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
214
212
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
215
213
|
</ul>
|
216
214
|
</div>
|
217
|
-
<div class="footer"
|
215
|
+
<div class="footer">
|
218
216
|
© Copyright 2009-2014, Brazil, Inc.
|
219
217
|
</div>
|
220
218
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.18.9. grn_expr — Groonga v4.0.8 documentation</title>
|
10
|
+
<title>7.18.9. grn_expr — Groonga v4.0.8-168-gae696d7 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.18. API" href="../api.html" />
|
30
30
|
<link rel="next" title="7.18.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>
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related"
|
51
|
+
<div class="related">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="grn_encoding.html" title="7.18.8. grn_encoding"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../api.html" accesskey="U">7.18. API</a> »</li>
|
66
66
|
</ul>
|
@@ -69,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">
|
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"><tt class="xref c c-type docutils literal"><span class="pre">grn_obj</span></tt></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"><tt class="xref c c-func docutils literal"><span class="pre">grn_expr_exec()</span></tt></a>.</li>
|
82
|
+
<li>Expression can represents search condition. <tt class="xref c c-func docutils literal"><span class="pre">grn_table_select()</span></tt>
|
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><tt class="xref c c-func docutils literal"><span class="pre">grn_expr_parse()</span></tt> 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> *<tt class="descname">grn_expr_create</tt><big>(</big><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><big>)</big><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 <tt class="descname">grn_expr_close</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em><big>)</big><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> *<tt class="descname">grn_expr_add_var</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, const char<em> *name</em>, unsigned int<em> name_size</em><big>)</big><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> *<tt class="descname">grn_expr_get_var_by_offset</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, unsigned int<em> offset</em><big>)</big><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
|
+
<tt class="descname">GRN_API grn_obj *grn_expr_append_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj, grn_operator op, int nargs);</tt></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> *<tt class="descname">grn_expr_append_const</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *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><big>)</big><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> *<tt class="descname">grn_expr_append_const_str</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, const char<em> *str</em>, unsigned int<em> str_size</em>, grn_operator<em> op</em>, int<em> nargs</em><big>)</big><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> *<tt class="descname">grn_expr_append_const_int</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, int<em> i</em>, grn_operator<em> op</em>, int<em> nargs</em><big>)</big><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 <tt class="descname">grn_expr_append_op</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, grn_operator<em> op</em>, int<em> nargs</em><big>)</big><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 <tt class="descname">grn_expr_get_keywords</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *keywords</em><big>)</big><a class="headerlink" href="#c.grn_expr_get_keywords" title="Permalink to this definition">¶</a></dt>
|
150
|
+
<dd><p>Extracts keywords from <tt class="docutils literal"><span class="pre">expr</span></tt> and stores to
|
151
|
+
<tt class="docutils literal"><span class="pre">keywords</span></tt>. Keywords in <tt class="docutils literal"><span class="pre">keywords</span></tt> are owned by <tt class="docutils literal"><span class="pre">expr</span></tt>. Don't
|
152
|
+
unlink them. Each keyword is <tt class="docutils literal"><span class="pre">GRN_BULK</span></tt> and its domain is
|
153
|
+
<tt class="docutils literal"><span class="pre">GRN_DB_TEXT</span></tt>.</p>
|
154
|
+
<p><tt class="docutils literal"><span class="pre">keywords</span></tt> must be <tt class="docutils literal"><span class="pre">GRN_PVECTOR</span></tt>.</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 <code class="docutils literal"><span class="pre">GR
|
|
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 <tt class="docutils literal"><span class="pre">expr</span></tt>.</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 <tt class="docutils literal"><span class="pre">GRN_PVECTOR</span></tt>.</p>
|
187
|
+
<p>Each extracted keyword is <tt class="docutils literal"><span class="pre">GRN_BULK</span></tt> and its
|
188
|
+
domain is <tt class="docutils literal"><span class="pre">GRN_DB_TEXT</span></tt>.</p>
|
189
|
+
<p>Extracted keywords are owned by <tt class="docutils literal"><span class="pre">expr</span></tt>. 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"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on error.</p>
|
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 <tt class="descname">grn_expr_syntax_escape</tt><big>(</big><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><big>)</big><a class="headerlink" href="#c.grn_expr_syntax_escape" title="Permalink to this definition">¶</a></dt>
|
205
|
+
<dd><p>Escapes <tt class="docutils literal"><span class="pre">target_characters</span></tt> in <tt class="docutils literal"><span class="pre">string</span></tt> by <tt class="docutils literal"><span class="pre">escape_character</span></tt>.</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 <tt class="docutils literal"><span class="pre">string</span></tt>.
|
212
|
+
It is used for allocating buffer for <tt class="docutils literal"><span class="pre">escaped_string</span></tt>.</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 <tt class="docutils literal"><span class="pre">string</span></tt>. <tt class="docutils literal"><span class="pre">-1</span></tt> means <tt class="docutils literal"><span class="pre">string</span></tt>
|
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, <tt class="docutils literal"><span class="pre">"+-><~*()\"\\:"</span></tt> is
|
218
|
+
<tt class="docutils literal"><span class="pre">target_characters</span></tt> 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
|
+
<tt class="docutils literal"><span class="pre">target_characters</span></tt>. For example, <tt class="docutils literal"><span class="pre">\\</span></tt>
|
222
|
+
(backslash) is <tt class="docutils literal"><span class="pre">escaped_character</span></tt> 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 <tt class="docutils literal"><span class="pre">string</span></tt>. 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"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on error.</p>
|
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 <tt class="descname">grn_expr_syntax_escape_query</tt><big>(</big><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><big>)</big><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 <code class="descname">grn_expr_syntax_escape_query</code><span class="si
|
|
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 <tt class="docutils literal"><span class="pre">query</span></tt>.
|
247
|
+
It is used for allocating buffer for <tt class="docutils literal"><span class="pre">escaped_query</span></tt>.</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 <tt class="docutils literal"><span class="pre">query</span></tt>. <tt class="docutils literal"><span class="pre">-1</span></tt> means <tt class="docutils literal"><span class="pre">query</span></tt>
|
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 <tt class="docutils literal"><span class="pre">query</span></tt>. 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"><tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on success, not <tt class="docutils literal"><span class="pre">GRN_SUCCESS</span></tt> on error.</p>
|
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 <tt class="descname">grn_expr_compile</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em><big>)</big><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> *<tt class="descname">grn_expr_exec</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, int<em> nargs</em><big>)</big><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> *<tt class="descname">grn_expr_alloc</tt><big>(</big><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em> *ctx</em>, <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_obj">grn_obj</a><em> *expr</em>, grn_id<em> domain</em>, grn_obj_flags<em> flags</em><big>)</big><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">
|
287
287
|
<div class="sphinxsidebarwrapper">
|
288
288
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
289
289
|
<ul>
|
@@ -296,18 +296,16 @@ 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. <tt class="docutils literal"><span class="pre">grn_encoding</span></tt></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
|
-
|
309
|
-
</div>
|
310
|
-
<div id="searchbox" style="display: none" role="search">
|
302
|
+
title="next chapter">7.18.10. <tt class="docutils literal"><span class="pre">grn_geo</span></tt></a></p>
|
303
|
+
<h3>This Page</h3>
|
304
|
+
<ul class="this-page-menu">
|
305
|
+
<li><a href="../../_sources/reference/api/grn_expr.txt"
|
306
|
+
rel="nofollow">Show Source</a></li>
|
307
|
+
</ul>
|
308
|
+
<div id="searchbox" style="display: none">
|
311
309
|
<h3>Quick search</h3>
|
312
310
|
<form class="search" action="../../search.html" method="get">
|
313
311
|
<input type="text" name="q" />
|
@@ -324,7 +322,7 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
324
322
|
</div>
|
325
323
|
<div class="clearer"></div>
|
326
324
|
</div>
|
327
|
-
<div class="related"
|
325
|
+
<div class="related">
|
328
326
|
<h3>Navigation</h3>
|
329
327
|
<ul>
|
330
328
|
<li class="right" style="margin-right: 10px">
|
@@ -336,12 +334,12 @@ GRN_API <a class="reference internal" href="grn_obj.html#c.grn_obj" title="grn_o
|
|
336
334
|
<li class="right" >
|
337
335
|
<a href="grn_encoding.html" title="7.18.8. grn_encoding"
|
338
336
|
>previous</a> |</li>
|
339
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
337
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
340
338
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
341
339
|
<li><a href="../api.html" >7.18. API</a> »</li>
|
342
340
|
</ul>
|
343
341
|
</div>
|
344
|
-
<div class="footer"
|
342
|
+
<div class="footer">
|
345
343
|
© Copyright 2009-2014, Brazil, Inc.
|
346
344
|
</div>
|
347
345
|
</body>
|