rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/doc/text/news.textile +17 -1
- data/ext/groonga/extconf.rb +2 -1
- data/ext/groonga/rb-grn-column.c +31 -0
- data/ext/groonga/rb-grn-database.c +33 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/geo-point.rb +2 -1
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +68 -6
- data/test/test-command-select.rb +0 -3
- data/test/test-database.rb +28 -1
- data/test/test-expression-builder.rb +1 -1
- data/test/test-geo-point.rb +15 -0
- data/test/test-variable-size-column.rb +2 -2
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +4 -1
- data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
- data/vendor/local/include/lz4.h +21 -29
- data/vendor/local/include/lz4frame.h +252 -0
- data/vendor/local/include/lz4hc.h +14 -63
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/command/grndb.rb +169 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/groonga/html/admin/index.html +1 -1
- data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
- data/vendor/local/share/license/mruby/AUTHORS +11 -0
- data/vendor/local/share/license/mruby/README.md +32 -20
- data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
- data/vendor/local/share/man/man1/groonga.1 +930 -239
- metadata +104 -81
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "December 29, 2014" "4.0.9" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -110,7 +110,7 @@ packages.groonga.org:
|
|
110
110
|
.INDENT 3.5
|
111
111
|
.INDENT 0.0
|
112
112
|
.IP \(bu 2
|
113
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
113
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x86.exe\fP
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
116
116
|
.UNINDENT
|
@@ -123,7 +123,7 @@ packages.goronga.org:
|
|
123
123
|
.INDENT 3.5
|
124
124
|
.INDENT 0.0
|
125
125
|
.IP \(bu 2
|
126
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
126
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x64.exe\fP
|
127
127
|
.UNINDENT
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
@@ -140,7 +140,7 @@ packages.groonga.org:
|
|
140
140
|
.INDENT 3.5
|
141
141
|
.INDENT 0.0
|
142
142
|
.IP \(bu 2
|
143
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
143
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x86.zip\fP
|
144
144
|
.UNINDENT
|
145
145
|
.UNINDENT
|
146
146
|
.UNINDENT
|
@@ -153,7 +153,7 @@ packages.groonga.org:
|
|
153
153
|
.INDENT 3.5
|
154
154
|
.INDENT 0.0
|
155
155
|
.IP \(bu 2
|
156
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
156
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x64.zip\fP
|
157
157
|
.UNINDENT
|
158
158
|
.UNINDENT
|
159
159
|
.UNINDENT
|
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
|
|
181
181
|
.INDENT 3.5
|
182
182
|
.INDENT 0.0
|
183
183
|
.IP \(bu 2
|
184
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
184
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.9.zip\fP
|
185
185
|
.UNINDENT
|
186
186
|
.UNINDENT
|
187
187
|
.UNINDENT
|
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
|
|
194
194
|
.sp
|
195
195
|
.nf
|
196
196
|
.ft C
|
197
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
197
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.9
|
198
198
|
.ft P
|
199
199
|
.fi
|
200
200
|
.UNINDENT
|
@@ -208,7 +208,7 @@ parameter instead:
|
|
208
208
|
.sp
|
209
209
|
.nf
|
210
210
|
.ft C
|
211
|
-
groonga\-4.0.
|
211
|
+
groonga\-4.0.9> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
212
212
|
.ft P
|
213
213
|
.fi
|
214
214
|
.UNINDENT
|
@@ -220,7 +220,7 @@ Build:
|
|
220
220
|
.sp
|
221
221
|
.nf
|
222
222
|
.ft C
|
223
|
-
groonga\-4.0.
|
223
|
+
groonga\-4.0.9> cmake \-\-build . \-\-config Release
|
224
224
|
.ft P
|
225
225
|
.fi
|
226
226
|
.UNINDENT
|
@@ -232,7 +232,7 @@ Install:
|
|
232
232
|
.sp
|
233
233
|
.nf
|
234
234
|
.ft C
|
235
|
-
groonga\-4.0.
|
235
|
+
groonga\-4.0.9> cmake \-\-build . \-\-config Release \-\-target Install
|
236
236
|
.ft P
|
237
237
|
.fi
|
238
238
|
.UNINDENT
|
@@ -293,9 +293,9 @@ Download source:
|
|
293
293
|
.sp
|
294
294
|
.nf
|
295
295
|
.ft C
|
296
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
297
|
-
% tar xvzf groonga\-4.0.
|
298
|
-
% cd groonga\-4.0.
|
296
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
297
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
298
|
+
% cd groonga\-4.0.9
|
299
299
|
.ft P
|
300
300
|
.fi
|
301
301
|
.UNINDENT
|
@@ -412,6 +412,21 @@ Install groonga\-tokenizer\-mecab package:
|
|
412
412
|
.UNINDENT
|
413
413
|
.UNINDENT
|
414
414
|
.sp
|
415
|
+
If you want to use TokenFilterStem as a token filter, install
|
416
|
+
groonga\-token\-filter\-stem package.
|
417
|
+
.sp
|
418
|
+
Install groonga\-token\-filter\-stem package:
|
419
|
+
.INDENT 0.0
|
420
|
+
.INDENT 3.5
|
421
|
+
.sp
|
422
|
+
.nf
|
423
|
+
.ft C
|
424
|
+
% sudo apt\-get install \-y \-V groonga\-token\-filter\-stem
|
425
|
+
.ft P
|
426
|
+
.fi
|
427
|
+
.UNINDENT
|
428
|
+
.UNINDENT
|
429
|
+
.sp
|
415
430
|
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
416
431
|
groonga status by Munin, install groonga\-munin\-plugins package.
|
417
432
|
.sp
|
@@ -462,9 +477,9 @@ Download source:
|
|
462
477
|
.sp
|
463
478
|
.nf
|
464
479
|
.ft C
|
465
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
466
|
-
% tar xvzf groonga\-4.0.
|
467
|
-
% cd groonga\-4.0.
|
480
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
481
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
482
|
+
% cd groonga\-4.0.9
|
468
483
|
.ft P
|
469
484
|
.fi
|
470
485
|
.UNINDENT
|
@@ -606,6 +621,21 @@ Install groonga\-tokenizer\-mecab package:
|
|
606
621
|
.UNINDENT
|
607
622
|
.UNINDENT
|
608
623
|
.sp
|
624
|
+
If you want to use TokenFilterStem as a token filter, install
|
625
|
+
groonga\-token\-filter\-stem package.
|
626
|
+
.sp
|
627
|
+
Install groonga\-token\-filter\-stem package:
|
628
|
+
.INDENT 0.0
|
629
|
+
.INDENT 3.5
|
630
|
+
.sp
|
631
|
+
.nf
|
632
|
+
.ft C
|
633
|
+
% sudo apt\-get \-y install groonga\-token\-filter\-stem
|
634
|
+
.ft P
|
635
|
+
.fi
|
636
|
+
.UNINDENT
|
637
|
+
.UNINDENT
|
638
|
+
.sp
|
609
639
|
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
610
640
|
groonga status by Munin, install groonga\-munin\-plugins package.
|
611
641
|
.sp
|
@@ -656,9 +686,9 @@ Download source:
|
|
656
686
|
.sp
|
657
687
|
.nf
|
658
688
|
.ft C
|
659
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
660
|
-
% tar xvzf groonga\-4.0.
|
661
|
-
% cd groonga\-4.0.
|
689
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
690
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
691
|
+
% cd groonga\-4.0.9
|
662
692
|
.ft P
|
663
693
|
.fi
|
664
694
|
.UNINDENT
|
@@ -1063,9 +1093,9 @@ Download source:
|
|
1063
1093
|
.sp
|
1064
1094
|
.nf
|
1065
1095
|
.ft C
|
1066
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1067
|
-
% tar xvzf groonga\-4.0.
|
1068
|
-
% cd groonga\-4.0.
|
1096
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1097
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1098
|
+
% cd groonga\-4.0.9
|
1069
1099
|
.ft P
|
1070
1100
|
.fi
|
1071
1101
|
.UNINDENT
|
@@ -1266,9 +1296,9 @@ Download source:
|
|
1266
1296
|
.sp
|
1267
1297
|
.nf
|
1268
1298
|
.ft C
|
1269
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1270
|
-
% tar xvzf groonga\-4.0.
|
1271
|
-
% cd groonga\-4.0.
|
1299
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1300
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1301
|
+
% cd groonga\-4.0.9
|
1272
1302
|
.ft P
|
1273
1303
|
.fi
|
1274
1304
|
.UNINDENT
|
@@ -1333,9 +1363,9 @@ Download source:
|
|
1333
1363
|
.sp
|
1334
1364
|
.nf
|
1335
1365
|
.ft C
|
1336
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1337
|
-
% gtar xvzf groonga\-4.0.
|
1338
|
-
% cd groonga\-4.0.
|
1366
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1367
|
+
% gtar xvzf groonga\-4.0.9.tar.gz
|
1368
|
+
% cd groonga\-4.0.9
|
1339
1369
|
.ft P
|
1340
1370
|
.fi
|
1341
1371
|
.UNINDENT
|
@@ -1458,7 +1488,7 @@ editing in \fB/reference/executables/groonga\fP
|
|
1458
1488
|
.IP \(bu 2
|
1459
1489
|
\fI\%zlib\fP for compressing column value
|
1460
1490
|
.IP \(bu 2
|
1461
|
-
\fI\%
|
1491
|
+
\fI\%LZ4\fP for compressing
|
1462
1492
|
column value
|
1463
1493
|
.UNINDENT
|
1464
1494
|
.UNINDENT
|
@@ -1475,9 +1505,9 @@ steps:
|
|
1475
1505
|
.sp
|
1476
1506
|
.nf
|
1477
1507
|
.ft C
|
1478
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1479
|
-
% tar xvzf groonga\-4.0.
|
1480
|
-
% cd groonga\-4.0.
|
1508
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1509
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1510
|
+
% cd groonga\-4.0.9
|
1481
1511
|
% ./configure
|
1482
1512
|
% make
|
1483
1513
|
% sudo make install
|
@@ -8158,7 +8188,7 @@ Custom command version
|
|
8158
8188
|
T} T{
|
8159
8189
|
o
|
8160
8190
|
T} T{
|
8161
|
-
|
8191
|
+
o
|
8162
8192
|
T}
|
8163
8193
|
_
|
8164
8194
|
T{
|
@@ -8558,6 +8588,121 @@ to Groonga server in some program languages. See \fI\%Client libraries\fP for de
|
|
8558
8588
|
.SS Executables
|
8559
8589
|
.sp
|
8560
8590
|
This section describes executable files provided by groonga package.
|
8591
|
+
.SS \fBgrndb\fP
|
8592
|
+
.SS Summary
|
8593
|
+
.sp
|
8594
|
+
\fBNOTE:\fP
|
8595
|
+
.INDENT 0.0
|
8596
|
+
.INDENT 3.5
|
8597
|
+
This executable command is an experimental feature.
|
8598
|
+
.UNINDENT
|
8599
|
+
.UNINDENT
|
8600
|
+
.sp
|
8601
|
+
New in version 4.0.9.
|
8602
|
+
|
8603
|
+
.sp
|
8604
|
+
\fBgrndb\fP manages a Groonga database.
|
8605
|
+
.sp
|
8606
|
+
Here are features:
|
8607
|
+
.INDENT 0.0
|
8608
|
+
.INDENT 3.5
|
8609
|
+
.INDENT 0.0
|
8610
|
+
.IP \(bu 2
|
8611
|
+
Checks whether database is broken or not.
|
8612
|
+
.IP \(bu 2
|
8613
|
+
Recovers broken database automatically if the database is
|
8614
|
+
recoverable.
|
8615
|
+
.UNINDENT
|
8616
|
+
.UNINDENT
|
8617
|
+
.UNINDENT
|
8618
|
+
.SS Syntax
|
8619
|
+
.sp
|
8620
|
+
\fBgrndb\fP requires command and database path:
|
8621
|
+
.INDENT 0.0
|
8622
|
+
.INDENT 3.5
|
8623
|
+
.sp
|
8624
|
+
.nf
|
8625
|
+
.ft C
|
8626
|
+
grndb COMMAND [OPTIONS] DATABASE_PATH
|
8627
|
+
.ft P
|
8628
|
+
.fi
|
8629
|
+
.UNINDENT
|
8630
|
+
.UNINDENT
|
8631
|
+
.sp
|
8632
|
+
Here are available commands:
|
8633
|
+
.INDENT 0.0
|
8634
|
+
.INDENT 3.5
|
8635
|
+
.INDENT 0.0
|
8636
|
+
.IP \(bu 2
|
8637
|
+
\fBcheck\fP \- Checks whether database is broken or not.
|
8638
|
+
.IP \(bu 2
|
8639
|
+
\fBrecover\fP \- Recovers database.
|
8640
|
+
.UNINDENT
|
8641
|
+
.UNINDENT
|
8642
|
+
.UNINDENT
|
8643
|
+
.SS Usage
|
8644
|
+
.sp
|
8645
|
+
Here is an example to check the database at \fB/var/lib/groonga/db/db\fP:
|
8646
|
+
.INDENT 0.0
|
8647
|
+
.INDENT 3.5
|
8648
|
+
.sp
|
8649
|
+
.nf
|
8650
|
+
.ft C
|
8651
|
+
$ grndb check /var/lib/groonga/db/db
|
8652
|
+
.ft P
|
8653
|
+
.fi
|
8654
|
+
.UNINDENT
|
8655
|
+
.UNINDENT
|
8656
|
+
.sp
|
8657
|
+
Here is an example to recover the database at \fB/var/lib/groonga/db/db\fP:
|
8658
|
+
.INDENT 0.0
|
8659
|
+
.INDENT 3.5
|
8660
|
+
.sp
|
8661
|
+
.nf
|
8662
|
+
.ft C
|
8663
|
+
$ grndb recover /var/lib/groonga/db/db
|
8664
|
+
.ft P
|
8665
|
+
.fi
|
8666
|
+
.UNINDENT
|
8667
|
+
.UNINDENT
|
8668
|
+
.SS Commands
|
8669
|
+
.sp
|
8670
|
+
This section describes available commands.
|
8671
|
+
.SS \fBcheck\fP
|
8672
|
+
.sp
|
8673
|
+
It checks an existing Groonga database. If the database is broken,
|
8674
|
+
\fBgrndb\fP reports reasons and exits with non\-\fB0\fP exit status.
|
8675
|
+
.sp
|
8676
|
+
\fBNOTE:\fP
|
8677
|
+
.INDENT 0.0
|
8678
|
+
.INDENT 3.5
|
8679
|
+
You must not use this command for opened database. If the database
|
8680
|
+
is opened, this command may report wrong result.
|
8681
|
+
.UNINDENT
|
8682
|
+
.UNINDENT
|
8683
|
+
.SS \fBrecover\fP
|
8684
|
+
.sp
|
8685
|
+
It recovers an existing broken Groonga database.
|
8686
|
+
.sp
|
8687
|
+
If the database is not broken, \fBgrndb\fP does nothing and exits with
|
8688
|
+
\fB0\fP exit status.
|
8689
|
+
.sp
|
8690
|
+
If the database is broken and one or more index columns are only
|
8691
|
+
broken, \fBgrndb\fP recovers these index columns and exists with \fB0\fP
|
8692
|
+
exit status. It may take a long time for large indexed data.
|
8693
|
+
.sp
|
8694
|
+
If the database is broken and tables or data columns are broken,
|
8695
|
+
\fBgrndb\fP reports broken reasons and exits with non\-\fB0\fP exit
|
8696
|
+
status. You can know whether the database is recoverable or not by
|
8697
|
+
\fBcheck\fP command.
|
8698
|
+
.sp
|
8699
|
+
\fBNOTE:\fP
|
8700
|
+
.INDENT 0.0
|
8701
|
+
.INDENT 3.5
|
8702
|
+
You must not use this command for opened database. If the database
|
8703
|
+
is opened, this command may break the database.
|
8704
|
+
.UNINDENT
|
8705
|
+
.UNINDENT
|
8561
8706
|
.SS grnslap
|
8562
8707
|
.SS 名前
|
8563
8708
|
.sp
|
@@ -8681,7 +8826,7 @@ Groongaのデータベースは、groongaコマンドかCライブラリイン
|
|
8681
8826
|
.INDENT 0.0
|
8682
8827
|
.TP
|
8683
8828
|
.B \-a, \-\-address <ip/hostname>
|
8684
|
-
Deprecated since version 1.2.2: Use \fI
|
8829
|
+
Deprecated since version 1.2.2: Use \fI\-\-bind\-address\fP instead.
|
8685
8830
|
|
8686
8831
|
.UNINDENT
|
8687
8832
|
.INDENT 0.0
|
@@ -9565,7 +9710,7 @@ groonga_database_auto_create on | off;
|
|
9565
9710
|
.sp
|
9566
9711
|
Specifies whether Groonga database is created automatically or not. If
|
9567
9712
|
the value is \fBon\fP and the Groonga database specified by
|
9568
|
-
\
|
9713
|
+
\fIgroonga\-database\fP doesn\(aqt exist, the Groonga database is created
|
9569
9714
|
automatically. If the Groonga database exists, groonga\-httpd does
|
9570
9715
|
nothing.
|
9571
9716
|
.sp
|
@@ -11135,6 +11280,46 @@ TODO
|
|
11135
11280
|
.IP \(bu 2
|
11136
11281
|
\fBreturn_code\fP describes about return code.
|
11137
11282
|
.UNINDENT
|
11283
|
+
.SS Request ID
|
11284
|
+
.SS Summary
|
11285
|
+
.sp
|
11286
|
+
New in version 4.0.9.
|
11287
|
+
|
11288
|
+
.sp
|
11289
|
+
You can assign ID to each request.
|
11290
|
+
.sp
|
11291
|
+
The ID can be used by canceling the request. See also
|
11292
|
+
\fB/reference/commands/request_cancel\fP for details about canceling
|
11293
|
+
a request.
|
11294
|
+
.sp
|
11295
|
+
Request ID should be managed by user. If you assign the same ID for
|
11296
|
+
some running requests, you can\(aqt cancel the request.
|
11297
|
+
.sp
|
11298
|
+
The simplest ID sequence is incremented numbers such as \fB1\fP,
|
11299
|
+
\fB2\fP , \fB\&...\fP\&.
|
11300
|
+
.sp
|
11301
|
+
A request ID is a string. The maximum request ID size is 4096 byte.
|
11302
|
+
.SS How to assign ID to request
|
11303
|
+
.sp
|
11304
|
+
All commands accept \fBrequest_id\fP parameter. You can assign ID to
|
11305
|
+
request by adding \fBrequest_id\fP parameter.
|
11306
|
+
.sp
|
11307
|
+
Here is an example to assign \fBid\-1\fP ID to a request:
|
11308
|
+
.INDENT 0.0
|
11309
|
+
.INDENT 3.5
|
11310
|
+
.sp
|
11311
|
+
.nf
|
11312
|
+
.ft C
|
11313
|
+
select Users \-\-request_id id\-1
|
11314
|
+
.ft P
|
11315
|
+
.fi
|
11316
|
+
.UNINDENT
|
11317
|
+
.UNINDENT
|
11318
|
+
.SS See also
|
11319
|
+
.INDENT 0.0
|
11320
|
+
.IP \(bu 2
|
11321
|
+
\fB/reference/commands/request_cancel\fP
|
11322
|
+
.UNINDENT
|
11138
11323
|
.SS Return code
|
11139
11324
|
.SS Summary
|
11140
11325
|
.sp
|
@@ -11656,6 +11841,9 @@ check Terms.name
|
|
11656
11841
|
.UNINDENT
|
11657
11842
|
.SS \fBclearlock\fP
|
11658
11843
|
.SS Summary
|
11844
|
+
.sp
|
11845
|
+
Deprecated since version 4.0.9: Use \fBlock_clear\fP instead.
|
11846
|
+
|
11659
11847
|
.sp
|
11660
11848
|
clearlock \- オブジェクトにセットされたロックを解除する
|
11661
11849
|
.sp
|
@@ -13279,94 +13467,140 @@ load \-\-table Entry \-\-input_type json
|
|
13279
13467
|
.SS See also
|
13280
13468
|
.sp
|
13281
13469
|
\fB/reference/grn_expr\fP
|
13282
|
-
.SS \
|
13470
|
+
.SS \fBlock_clear\fP
|
13283
13471
|
.SS Summary
|
13284
13472
|
.sp
|
13285
|
-
|
13473
|
+
New in version 4.0.9.
|
13474
|
+
|
13286
13475
|
.sp
|
13287
|
-
|
13476
|
+
\fBlock_clear\fP command clear the lock of the target object
|
13477
|
+
recursively. The target object is one of database, table and column.
|
13288
13478
|
.sp
|
13289
|
-
|
13479
|
+
\fBNOTE:\fP
|
13480
|
+
.INDENT 0.0
|
13481
|
+
.INDENT 3.5
|
13482
|
+
This is a dangerous command. You must not use this command while
|
13483
|
+
other process or thread is doing a write operation to the target
|
13484
|
+
object. If you do it, your database may be broken and/or your
|
13485
|
+
process may be crashed.
|
13486
|
+
.UNINDENT
|
13487
|
+
.UNINDENT
|
13290
13488
|
.SS Syntax
|
13489
|
+
.sp
|
13490
|
+
\fBtruncate\fP command takes only one parameter.
|
13491
|
+
.sp
|
13492
|
+
There is no required parameter:
|
13291
13493
|
.INDENT 0.0
|
13292
13494
|
.INDENT 3.5
|
13293
13495
|
.sp
|
13294
13496
|
.nf
|
13295
13497
|
.ft C
|
13296
|
-
|
13498
|
+
lock_clear [target_name=null]
|
13297
13499
|
.ft P
|
13298
13500
|
.fi
|
13299
13501
|
.UNINDENT
|
13300
13502
|
.UNINDENT
|
13503
|
+
.sp
|
13504
|
+
If \fBtarget_name\fP parameters is omitted, database is used for the
|
13505
|
+
target object. It means that all locks in the database are cleared.
|
13301
13506
|
.SS Usage
|
13507
|
+
.sp
|
13508
|
+
Here is an example to clear all locks in the database:
|
13302
13509
|
.INDENT 0.0
|
13303
13510
|
.INDENT 3.5
|
13304
13511
|
.sp
|
13305
13512
|
.nf
|
13306
13513
|
.ft C
|
13307
|
-
|
13308
|
-
|
13514
|
+
\&.. groonga\-command
|
13515
|
+
\&.. include:: ../../example/reference/commands/lock_clear/database.log
|
13516
|
+
\&.. lock_clear
|
13309
13517
|
.ft P
|
13310
13518
|
.fi
|
13311
13519
|
.UNINDENT
|
13312
13520
|
.UNINDENT
|
13313
|
-
.SS Parameters
|
13314
13521
|
.sp
|
13315
|
-
\
|
13522
|
+
Here is an example to clear locks of \fBEntry\fP table and \fBEntry\fP
|
13523
|
+
table columns:
|
13316
13524
|
.INDENT 0.0
|
13317
13525
|
.INDENT 3.5
|
13318
|
-
|
13319
|
-
.
|
13320
|
-
.
|
13321
|
-
|
13322
|
-
|
13323
|
-
|
13324
|
-
|
13325
|
-
|
13326
|
-
|
13327
|
-
|
13328
|
-
debug
|
13526
|
+
.sp
|
13527
|
+
.nf
|
13528
|
+
.ft C
|
13529
|
+
\&.. groonga\-command
|
13530
|
+
\&.. include:: ../../example/reference/commands/lock_clear/table.log
|
13531
|
+
\&.. table_create Entry TABLE_NO_KEY
|
13532
|
+
\&.. column_create Entry body COLUMN_SCALAR Text
|
13533
|
+
\&.. lock_clear Entry
|
13534
|
+
.ft P
|
13535
|
+
.fi
|
13329
13536
|
.UNINDENT
|
13330
13537
|
.UNINDENT
|
13538
|
+
.sp
|
13539
|
+
Here is an example to clear the lock of \fBSite.title\fP column:
|
13540
|
+
.INDENT 0.0
|
13541
|
+
.INDENT 3.5
|
13542
|
+
.sp
|
13543
|
+
.nf
|
13544
|
+
.ft C
|
13545
|
+
\&.. groonga\-command
|
13546
|
+
\&.. include:: ../../example/reference/commands/lock_clear/column.log
|
13547
|
+
\&.. table_create Site TABLE_HASH_KEY ShortText
|
13548
|
+
\&.. column_create Site title COLUMN_SCALAR ShortText
|
13549
|
+
\&.. lock_clear Site.title
|
13550
|
+
.ft P
|
13551
|
+
.fi
|
13331
13552
|
.UNINDENT
|
13332
13553
|
.UNINDENT
|
13554
|
+
.SS Parameters
|
13555
|
+
.sp
|
13556
|
+
This section describes all parameters.
|
13557
|
+
.SS \fBtarget_name\fP
|
13558
|
+
.sp
|
13559
|
+
It specifies the name of table or column.
|
13560
|
+
.sp
|
13561
|
+
If you don\(aqt specify it, database is used for the target object.
|
13562
|
+
.sp
|
13563
|
+
The default is none. It means that the target object is database.
|
13333
13564
|
.SS Return value
|
13334
13565
|
.INDENT 0.0
|
13335
13566
|
.INDENT 3.5
|
13336
13567
|
.sp
|
13337
13568
|
.nf
|
13338
13569
|
.ft C
|
13339
|
-
[
|
13570
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
13340
13571
|
.ft P
|
13341
13572
|
.fi
|
13342
13573
|
.UNINDENT
|
13343
13574
|
.UNINDENT
|
13344
13575
|
.sp
|
13345
|
-
\
|
13576
|
+
\fBHEADER\fP
|
13346
13577
|
.INDENT 0.0
|
13347
13578
|
.INDENT 3.5
|
13348
|
-
|
13579
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
13349
13580
|
.UNINDENT
|
13350
13581
|
.UNINDENT
|
13351
|
-
.SS See also
|
13352
13582
|
.sp
|
13353
|
-
\
|
13354
|
-
|
13355
|
-
.
|
13583
|
+
\fBSUCCEEDED_OR_NOT\fP
|
13584
|
+
.INDENT 0.0
|
13585
|
+
.INDENT 3.5
|
13586
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
13587
|
+
.UNINDENT
|
13588
|
+
.UNINDENT
|
13589
|
+
.SS \fBlog_level\fP
|
13356
13590
|
.SS Summary
|
13357
13591
|
.sp
|
13358
|
-
|
13592
|
+
log_level \- ログ出力レベルの設定
|
13359
13593
|
.sp
|
13360
|
-
|
13594
|
+
Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準>入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13361
13595
|
.sp
|
13362
|
-
|
13596
|
+
log_levelは、ログ出力レベルを設定します。
|
13363
13597
|
.SS Syntax
|
13364
13598
|
.INDENT 0.0
|
13365
13599
|
.INDENT 3.5
|
13366
13600
|
.sp
|
13367
13601
|
.nf
|
13368
13602
|
.ft C
|
13369
|
-
|
13603
|
+
log_level level
|
13370
13604
|
.ft P
|
13371
13605
|
.fi
|
13372
13606
|
.UNINDENT
|
@@ -13377,7 +13611,7 @@ log_put level message
|
|
13377
13611
|
.sp
|
13378
13612
|
.nf
|
13379
13613
|
.ft C
|
13380
|
-
|
13614
|
+
log_level warning
|
13381
13615
|
[true]
|
13382
13616
|
.ft P
|
13383
13617
|
.fi
|
@@ -13403,13 +13637,6 @@ debug
|
|
13403
13637
|
.UNINDENT
|
13404
13638
|
.UNINDENT
|
13405
13639
|
.UNINDENT
|
13406
|
-
.sp
|
13407
|
-
\fBmessage\fP
|
13408
|
-
.INDENT 0.0
|
13409
|
-
.INDENT 3.5
|
13410
|
-
出力する文字列を指定します。
|
13411
|
-
.UNINDENT
|
13412
|
-
.UNINDENT
|
13413
13640
|
.SS Return value
|
13414
13641
|
.INDENT 0.0
|
13415
13642
|
.INDENT 3.5
|
@@ -13430,26 +13657,23 @@ debug
|
|
13430
13657
|
.UNINDENT
|
13431
13658
|
.SS See also
|
13432
13659
|
.sp
|
13433
|
-
\
|
13660
|
+
\fBlog_put\fP
|
13434
13661
|
\fBlog_reopen\fP
|
13435
|
-
.SS \
|
13662
|
+
.SS \fBlog_put\fP
|
13436
13663
|
.SS Summary
|
13437
13664
|
.sp
|
13438
|
-
|
13439
|
-
.sp
|
13440
|
-
Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
|
13441
|
-
入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13665
|
+
log_put \- ログ出力
|
13442
13666
|
.sp
|
13443
|
-
|
13667
|
+
groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入>力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13444
13668
|
.sp
|
13445
|
-
|
13669
|
+
log_putは、ログにmessageを出力します。
|
13446
13670
|
.SS Syntax
|
13447
13671
|
.INDENT 0.0
|
13448
13672
|
.INDENT 3.5
|
13449
13673
|
.sp
|
13450
13674
|
.nf
|
13451
13675
|
.ft C
|
13452
|
-
|
13676
|
+
log_put level message
|
13453
13677
|
.ft P
|
13454
13678
|
.fi
|
13455
13679
|
.UNINDENT
|
@@ -13460,27 +13684,110 @@ log_reopen
|
|
13460
13684
|
.sp
|
13461
13685
|
.nf
|
13462
13686
|
.ft C
|
13463
|
-
|
13464
|
-
|
13687
|
+
log_put ERROR ****MESSAGE****
|
13465
13688
|
[true]
|
13466
13689
|
.ft P
|
13467
13690
|
.fi
|
13468
13691
|
.UNINDENT
|
13469
13692
|
.UNINDENT
|
13470
|
-
.SS
|
13693
|
+
.SS Parameters
|
13694
|
+
.sp
|
13695
|
+
\fBlevel\fP
|
13471
13696
|
.INDENT 0.0
|
13472
|
-
.
|
13473
|
-
|
13474
|
-
|
13475
|
-
.
|
13476
|
-
|
13477
|
-
|
13478
|
-
|
13479
|
-
|
13697
|
+
.INDENT 3.5
|
13698
|
+
設定するログ出力レベルの値を以下のいずれかで指定します。
|
13699
|
+
.INDENT 0.0
|
13700
|
+
.INDENT 3.5
|
13701
|
+
EMERG
|
13702
|
+
ALERT
|
13703
|
+
CRIT
|
13704
|
+
error
|
13705
|
+
warning
|
13706
|
+
notice
|
13707
|
+
info
|
13708
|
+
debug
|
13709
|
+
.UNINDENT
|
13710
|
+
.UNINDENT
|
13711
|
+
.UNINDENT
|
13480
13712
|
.UNINDENT
|
13481
|
-
.SS Parameters
|
13482
13713
|
.sp
|
13483
|
-
|
13714
|
+
\fBmessage\fP
|
13715
|
+
.INDENT 0.0
|
13716
|
+
.INDENT 3.5
|
13717
|
+
出力する文字列を指定します。
|
13718
|
+
.UNINDENT
|
13719
|
+
.UNINDENT
|
13720
|
+
.SS Return value
|
13721
|
+
.INDENT 0.0
|
13722
|
+
.INDENT 3.5
|
13723
|
+
.sp
|
13724
|
+
.nf
|
13725
|
+
.ft C
|
13726
|
+
[成功かどうかのフラグ]
|
13727
|
+
.ft P
|
13728
|
+
.fi
|
13729
|
+
.UNINDENT
|
13730
|
+
.UNINDENT
|
13731
|
+
.sp
|
13732
|
+
\fB成功かどうかのフラグ\fP
|
13733
|
+
.INDENT 0.0
|
13734
|
+
.INDENT 3.5
|
13735
|
+
エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
|
13736
|
+
.UNINDENT
|
13737
|
+
.UNINDENT
|
13738
|
+
.SS See also
|
13739
|
+
.sp
|
13740
|
+
\fBlog_level\fP
|
13741
|
+
\fBlog_reopen\fP
|
13742
|
+
.SS \fBlog_reopen\fP
|
13743
|
+
.SS Summary
|
13744
|
+
.sp
|
13745
|
+
log_reopen \- ログファイルの再読み込み
|
13746
|
+
.sp
|
13747
|
+
Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
|
13748
|
+
入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13749
|
+
.sp
|
13750
|
+
log_reopenは、ログファイルを再読み込みします。
|
13751
|
+
.sp
|
13752
|
+
現在、デフォルトのログ関数を用いている場合のみに対応しています。
|
13753
|
+
.SS Syntax
|
13754
|
+
.INDENT 0.0
|
13755
|
+
.INDENT 3.5
|
13756
|
+
.sp
|
13757
|
+
.nf
|
13758
|
+
.ft C
|
13759
|
+
log_reopen
|
13760
|
+
.ft P
|
13761
|
+
.fi
|
13762
|
+
.UNINDENT
|
13763
|
+
.UNINDENT
|
13764
|
+
.SS Usage
|
13765
|
+
.INDENT 0.0
|
13766
|
+
.INDENT 3.5
|
13767
|
+
.sp
|
13768
|
+
.nf
|
13769
|
+
.ft C
|
13770
|
+
log_reopen
|
13771
|
+
|
13772
|
+
[true]
|
13773
|
+
.ft P
|
13774
|
+
.fi
|
13775
|
+
.UNINDENT
|
13776
|
+
.UNINDENT
|
13777
|
+
.SS log_reopenを用いたログのローテーション
|
13778
|
+
.INDENT 0.0
|
13779
|
+
.IP 1. 3
|
13780
|
+
ログファイルをmvなどで移動する。
|
13781
|
+
ログはmvで移動された先のファイルに書き込まれる。
|
13782
|
+
.IP 2. 3
|
13783
|
+
log_reopenコマンドを実行する。
|
13784
|
+
.IP 3. 3
|
13785
|
+
既存のログファイル名と同じファイル名で、新たなログファイルが作成される。
|
13786
|
+
今後のログは新たなログファイルに書き込まれる。
|
13787
|
+
.UNINDENT
|
13788
|
+
.SS Parameters
|
13789
|
+
.sp
|
13790
|
+
ありません。
|
13484
13791
|
.SS Return value
|
13485
13792
|
.INDENT 0.0
|
13486
13793
|
.INDENT 3.5
|
@@ -13735,12 +14042,12 @@ Execution example:
|
|
13735
14042
|
.sp
|
13736
14043
|
.nf
|
13737
14044
|
.ft C
|
13738
|
-
|
14045
|
+
normalizer_list
|
13739
14046
|
# [
|
13740
14047
|
# [
|
13741
14048
|
# 0,
|
13742
|
-
#
|
13743
|
-
# 0.
|
14049
|
+
# 1337566253.89858,
|
14050
|
+
# 0.000355720520019531
|
13744
14051
|
# ],
|
13745
14052
|
# [
|
13746
14053
|
# {
|
@@ -13931,6 +14238,188 @@ You can specify absolute path such as \fBregister
|
|
13931
14238
|
If \fBregister\fP fails, error details are in \fBHEADER\fP\&.
|
13932
14239
|
.sp
|
13933
14240
|
See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
|
14241
|
+
.SS \fBrequest_cancel\fP
|
14242
|
+
.SS Summary
|
14243
|
+
.sp
|
14244
|
+
\fBNOTE:\fP
|
14245
|
+
.INDENT 0.0
|
14246
|
+
.INDENT 3.5
|
14247
|
+
\fBrequest_cancel\fP command is an experimental feature.
|
14248
|
+
.UNINDENT
|
14249
|
+
.UNINDENT
|
14250
|
+
.sp
|
14251
|
+
New in version 4.0.9.
|
14252
|
+
|
14253
|
+
.sp
|
14254
|
+
\fBrequest_cancel\fP command cancels a running request.
|
14255
|
+
.sp
|
14256
|
+
There are some limitations:
|
14257
|
+
.INDENT 0.0
|
14258
|
+
.INDENT 3.5
|
14259
|
+
.INDENT 0.0
|
14260
|
+
.IP \(bu 2
|
14261
|
+
Request ID must be managed by user. (You need to assign unique key
|
14262
|
+
for each request.)
|
14263
|
+
.IP \(bu 2
|
14264
|
+
Cancel request may be ignored. (You can send \fBrequest_cancel\fP
|
14265
|
+
command multiple times for the same request ID.)
|
14266
|
+
.IP \(bu 2
|
14267
|
+
Only multithreading type Groonga server is supported. (You can use
|
14268
|
+
with \fB/reference/executables/groonga\fP based server but can\(aqt
|
14269
|
+
use with \fB/reference/executables/groonga\-httpd\fP\&.)
|
14270
|
+
.UNINDENT
|
14271
|
+
.UNINDENT
|
14272
|
+
.UNINDENT
|
14273
|
+
.sp
|
14274
|
+
See \fB/reference/command/request_id\fP about request ID.
|
14275
|
+
.sp
|
14276
|
+
If request is canceled, the canceled request has \fB\-5\fP
|
14277
|
+
(\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
14278
|
+
\fB/reference/command/return_code\fP\&.
|
14279
|
+
.SS Syntax
|
14280
|
+
.sp
|
14281
|
+
\fBrequest_cancel\fP command takes only one parameter.
|
14282
|
+
.sp
|
14283
|
+
The required parameter is only \fBid\fP:
|
14284
|
+
.INDENT 0.0
|
14285
|
+
.INDENT 3.5
|
14286
|
+
.sp
|
14287
|
+
.nf
|
14288
|
+
.ft C
|
14289
|
+
request_cancel id
|
14290
|
+
.ft P
|
14291
|
+
.fi
|
14292
|
+
.UNINDENT
|
14293
|
+
.UNINDENT
|
14294
|
+
.SS Usage
|
14295
|
+
.sp
|
14296
|
+
Here is an example of \fBrequest_cancel\fP command:
|
14297
|
+
.INDENT 0.0
|
14298
|
+
.INDENT 3.5
|
14299
|
+
.sp
|
14300
|
+
.nf
|
14301
|
+
.ft C
|
14302
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
14303
|
+
# The above "select" takes a long time...
|
14304
|
+
# Point: "request_id=unique\-id\-1"
|
14305
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
14306
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
14307
|
+
# Point: "id=unique\-id\-1"
|
14308
|
+
.ft P
|
14309
|
+
.fi
|
14310
|
+
.UNINDENT
|
14311
|
+
.UNINDENT
|
14312
|
+
.sp
|
14313
|
+
Assume that the first \fBselect\fP command takes a long
|
14314
|
+
time. \fBunique\-id\-1\fP request ID is assigned to the \fBselect\fP command
|
14315
|
+
by \fBrequest_id=unique\-id\-1\fP parameter.
|
14316
|
+
.sp
|
14317
|
+
The second \fBrequest_cancel\fP command passes \fBid=unique\-id\-1\fP
|
14318
|
+
parameter. \fBunique\-id\-1\fP is the same request ID passed in \fBselect\fP
|
14319
|
+
command.
|
14320
|
+
.sp
|
14321
|
+
The \fBselect\fP command may not be canceled immediately. And the cancel
|
14322
|
+
request may be ignored.
|
14323
|
+
.sp
|
14324
|
+
You can send cancel request for the same request ID multiple times. If
|
14325
|
+
the target request is canceled or finished, \fB"canceled"\fP value is
|
14326
|
+
changed to \fBfalse\fP from \fBtrue\fP:
|
14327
|
+
.INDENT 0.0
|
14328
|
+
.INDENT 3.5
|
14329
|
+
.sp
|
14330
|
+
.nf
|
14331
|
+
.ft C
|
14332
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
14333
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
14334
|
+
# "select" is still running... ("canceled" is "true")
|
14335
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
14336
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
14337
|
+
# "select" is still running... ("canceled" is "true")
|
14338
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
14339
|
+
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
14340
|
+
# "select" is canceled or finished. ("canceled" is "false")
|
14341
|
+
.ft P
|
14342
|
+
.fi
|
14343
|
+
.UNINDENT
|
14344
|
+
.UNINDENT
|
14345
|
+
.sp
|
14346
|
+
If the \fBselect\fP command is canceled, response of the \fBselect\fP
|
14347
|
+
command has \fB\-5\fP (\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
14348
|
+
\fB/reference/command/return_code\fP:
|
14349
|
+
.INDENT 0.0
|
14350
|
+
.INDENT 3.5
|
14351
|
+
.sp
|
14352
|
+
.nf
|
14353
|
+
.ft C
|
14354
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
14355
|
+
[[\-5, ...], ...]
|
14356
|
+
.ft P
|
14357
|
+
.fi
|
14358
|
+
.UNINDENT
|
14359
|
+
.UNINDENT
|
14360
|
+
.SS Parameters
|
14361
|
+
.sp
|
14362
|
+
This section describes parameters of \fBrequest_cancel\fP\&.
|
14363
|
+
.SS Required parameter
|
14364
|
+
.sp
|
14365
|
+
There is required parameter, \fBid\fP\&.
|
14366
|
+
.SS \fBid\fP
|
14367
|
+
.sp
|
14368
|
+
It specifies the ID for the target request.
|
14369
|
+
.SS Return value
|
14370
|
+
.sp
|
14371
|
+
\fBrequest_cancel\fP command returns the result of the cancel request:
|
14372
|
+
.INDENT 0.0
|
14373
|
+
.INDENT 3.5
|
14374
|
+
.sp
|
14375
|
+
.nf
|
14376
|
+
.ft C
|
14377
|
+
[
|
14378
|
+
HEADER,
|
14379
|
+
{
|
14380
|
+
"id": ID,
|
14381
|
+
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
14382
|
+
}
|
14383
|
+
]
|
14384
|
+
.ft P
|
14385
|
+
.fi
|
14386
|
+
.UNINDENT
|
14387
|
+
.UNINDENT
|
14388
|
+
.sp
|
14389
|
+
\fBHEADER\fP
|
14390
|
+
.INDENT 0.0
|
14391
|
+
.INDENT 3.5
|
14392
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
14393
|
+
.UNINDENT
|
14394
|
+
.UNINDENT
|
14395
|
+
.sp
|
14396
|
+
\fBID\fP
|
14397
|
+
.INDENT 0.0
|
14398
|
+
.INDENT 3.5
|
14399
|
+
The ID of the target request.
|
14400
|
+
.UNINDENT
|
14401
|
+
.UNINDENT
|
14402
|
+
.sp
|
14403
|
+
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
14404
|
+
.INDENT 0.0
|
14405
|
+
.INDENT 3.5
|
14406
|
+
If the cancel request is accepted, this is \fBtrue\fP, otherwise this
|
14407
|
+
is \fBfalse\fP\&.
|
14408
|
+
.sp
|
14409
|
+
Note that "cancel request is accepted" doesn\(aqt means that "the
|
14410
|
+
target request is canceled". It just means "cancel request is
|
14411
|
+
notified to the target request but the cancel request may be ignored
|
14412
|
+
by the target request".
|
14413
|
+
.sp
|
14414
|
+
If request assigned with the request ID doesn\(aqt exist, this is
|
14415
|
+
\fBfalse\fP\&.
|
14416
|
+
.UNINDENT
|
14417
|
+
.UNINDENT
|
14418
|
+
.SS See also
|
14419
|
+
.INDENT 0.0
|
14420
|
+
.IP \(bu 2
|
14421
|
+
\fB/reference/command/request_id\fP
|
14422
|
+
.UNINDENT
|
13934
14423
|
.SS \fBruby_eval\fP
|
13935
14424
|
.SS Summary
|
13936
14425
|
.sp
|
@@ -14569,7 +15058,7 @@ select Nonexistent
|
|
14569
15058
|
# [
|
14570
15059
|
# "grn_select",
|
14571
15060
|
# "proc.c",
|
14572
|
-
#
|
15061
|
+
# 1108
|
14573
15062
|
# ]
|
14574
15063
|
# ]
|
14575
15064
|
# ]
|
@@ -15313,7 +15802,7 @@ records (0) is larger than \fBmatch_escalation_threshold\fP (\-1). So no
|
|
15313
15802
|
more searches aren\(aqt executed. And no records are matched.
|
15314
15803
|
.SS \fBquery_expansion\fP
|
15315
15804
|
.sp
|
15316
|
-
Deprecated. Use \
|
15805
|
+
Deprecated. Use \fIquery\-expander\fP instead.
|
15317
15806
|
.SS \fBquery_flags\fP
|
15318
15807
|
.sp
|
15319
15808
|
It customs \fBquery\fP parameter syntax. You cannot update column value
|
@@ -17045,14 +17534,14 @@ status
|
|
17045
17534
|
# 0.000355720520019531
|
17046
17535
|
# ],
|
17047
17536
|
# {
|
17048
|
-
# "uptime":
|
17537
|
+
# "uptime": 0,
|
17049
17538
|
# "max_command_version": 2,
|
17050
|
-
# "n_queries":
|
17539
|
+
# "n_queries": 0,
|
17051
17540
|
# "cache_hit_rate": 0.0,
|
17052
|
-
# "version": "4.0.
|
17053
|
-
# "alloc_count":
|
17541
|
+
# "version": "4.0.8\-82\-g721d5c7",
|
17542
|
+
# "alloc_count": 181,
|
17054
17543
|
# "command_version": 1,
|
17055
|
-
# "starttime":
|
17544
|
+
# "starttime": 1419775504,
|
17056
17545
|
# "default_command_version": 1
|
17057
17546
|
# }
|
17058
17547
|
# ]
|
@@ -19475,25 +19964,33 @@ _
|
|
19475
19964
|
.SS \fBtruncate\fP
|
19476
19965
|
.SS Summary
|
19477
19966
|
.sp
|
19478
|
-
\fBtruncate\fP command deletes all records from specified table
|
19967
|
+
\fBtruncate\fP command deletes all records from specified table or all
|
19968
|
+
values from specified column.
|
19479
19969
|
.SS Syntax
|
19480
19970
|
.sp
|
19481
19971
|
\fBtruncate\fP command takes only one parameter.
|
19482
19972
|
.sp
|
19483
|
-
The required parameter is only \
|
19973
|
+
The required parameter is only \fBtarget_name\fP:
|
19484
19974
|
.INDENT 0.0
|
19485
19975
|
.INDENT 3.5
|
19486
19976
|
.sp
|
19487
19977
|
.nf
|
19488
19978
|
.ft C
|
19489
|
-
truncate
|
19979
|
+
truncate target_name
|
19490
19980
|
.ft P
|
19491
19981
|
.fi
|
19492
19982
|
.UNINDENT
|
19493
19983
|
.UNINDENT
|
19984
|
+
.sp
|
19985
|
+
New in version 4.0.9: \fBtarget_name\fP parameter can be used since 4.0.9. You need to use
|
19986
|
+
\fBtable\fP parameter for 4.0.8 or earlier.
|
19987
|
+
.sp
|
19988
|
+
For backward compatibility, \fBtruncate\fP command accepts \fBtable\fP
|
19989
|
+
parameter. But it should not be used for newly written code.
|
19990
|
+
|
19494
19991
|
.SS Usage
|
19495
19992
|
.sp
|
19496
|
-
Here is a simple example of \fBtruncate\fP command.
|
19993
|
+
Here is a simple example of \fBtruncate\fP command against a table.
|
19497
19994
|
.sp
|
19498
19995
|
Execution example:
|
19499
19996
|
.INDENT 0.0
|
@@ -19503,6 +20000,8 @@ Execution example:
|
|
19503
20000
|
.ft C
|
19504
20001
|
table_create Users TABLE_PAT_KEY ShortText
|
19505
20002
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20003
|
+
column_create Users score COLUMN_SCALAR Int32
|
20004
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19506
20005
|
load \-\-table Users
|
19507
20006
|
[
|
19508
20007
|
{"_key": "Alice", "score": 2},
|
@@ -19530,19 +20029,26 @@ select Users
|
|
19530
20029
|
# [
|
19531
20030
|
# "_key",
|
19532
20031
|
# "ShortText"
|
20032
|
+
# ],
|
20033
|
+
# [
|
20034
|
+
# "score",
|
20035
|
+
# "Int32"
|
19533
20036
|
# ]
|
19534
20037
|
# ],
|
19535
20038
|
# [
|
19536
20039
|
# 1,
|
19537
|
-
# "Alice"
|
20040
|
+
# "Alice",
|
20041
|
+
# 2
|
19538
20042
|
# ],
|
19539
20043
|
# [
|
19540
20044
|
# 2,
|
19541
|
-
# "Bob"
|
20045
|
+
# "Bob",
|
20046
|
+
# 0
|
19542
20047
|
# ],
|
19543
20048
|
# [
|
19544
20049
|
# 3,
|
19545
|
-
# "Carlos"
|
20050
|
+
# "Carlos",
|
20051
|
+
# \-1
|
19546
20052
|
# ]
|
19547
20053
|
# ]
|
19548
20054
|
# ]
|
@@ -19569,7 +20075,125 @@ select Users
|
|
19569
20075
|
# [
|
19570
20076
|
# "_key",
|
19571
20077
|
# "ShortText"
|
20078
|
+
# ],
|
20079
|
+
# [
|
20080
|
+
# "score",
|
20081
|
+
# "Int32"
|
20082
|
+
# ]
|
20083
|
+
# ]
|
20084
|
+
# ]
|
20085
|
+
# ]
|
20086
|
+
# ]
|
20087
|
+
.ft P
|
20088
|
+
.fi
|
20089
|
+
.UNINDENT
|
20090
|
+
.UNINDENT
|
20091
|
+
.sp
|
20092
|
+
Here is a simple example of \fBtruncate\fP command against a column.
|
20093
|
+
.sp
|
20094
|
+
Execution example:
|
20095
|
+
.INDENT 0.0
|
20096
|
+
.INDENT 3.5
|
20097
|
+
.sp
|
20098
|
+
.nf
|
20099
|
+
.ft C
|
20100
|
+
table_create Users TABLE_PAT_KEY ShortText
|
20101
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20102
|
+
column_create Users score COLUMN_SCALAR Int32
|
20103
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20104
|
+
load \-\-table Users
|
20105
|
+
[
|
20106
|
+
{"_key": "Alice", "score": 2},
|
20107
|
+
{"_key": "Bob", "score": 0},
|
20108
|
+
{"_key": "Carlos", "score": \-1}
|
20109
|
+
]
|
20110
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
20111
|
+
select Users
|
20112
|
+
# [
|
20113
|
+
# [
|
20114
|
+
# 0,
|
20115
|
+
# 1337566253.89858,
|
20116
|
+
# 0.000355720520019531
|
20117
|
+
# ],
|
20118
|
+
# [
|
20119
|
+
# [
|
20120
|
+
# [
|
20121
|
+
# 3
|
20122
|
+
# ],
|
20123
|
+
# [
|
20124
|
+
# [
|
20125
|
+
# "_id",
|
20126
|
+
# "UInt32"
|
20127
|
+
# ],
|
20128
|
+
# [
|
20129
|
+
# "_key",
|
20130
|
+
# "ShortText"
|
20131
|
+
# ],
|
20132
|
+
# [
|
20133
|
+
# "score",
|
20134
|
+
# "Int32"
|
20135
|
+
# ]
|
20136
|
+
# ],
|
20137
|
+
# [
|
20138
|
+
# 1,
|
20139
|
+
# "Alice",
|
20140
|
+
# 2
|
20141
|
+
# ],
|
20142
|
+
# [
|
20143
|
+
# 2,
|
20144
|
+
# "Bob",
|
20145
|
+
# 0
|
20146
|
+
# ],
|
20147
|
+
# [
|
20148
|
+
# 3,
|
20149
|
+
# "Carlos",
|
20150
|
+
# \-1
|
20151
|
+
# ]
|
20152
|
+
# ]
|
20153
|
+
# ]
|
20154
|
+
# ]
|
20155
|
+
truncate Users.score
|
20156
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20157
|
+
select Users
|
20158
|
+
# [
|
20159
|
+
# [
|
20160
|
+
# 0,
|
20161
|
+
# 1337566253.89858,
|
20162
|
+
# 0.000355720520019531
|
20163
|
+
# ],
|
20164
|
+
# [
|
20165
|
+
# [
|
20166
|
+
# [
|
20167
|
+
# 3
|
20168
|
+
# ],
|
20169
|
+
# [
|
20170
|
+
# [
|
20171
|
+
# "_id",
|
20172
|
+
# "UInt32"
|
20173
|
+
# ],
|
20174
|
+
# [
|
20175
|
+
# "_key",
|
20176
|
+
# "ShortText"
|
20177
|
+
# ],
|
20178
|
+
# [
|
20179
|
+
# "score",
|
20180
|
+
# "Int32"
|
19572
20181
|
# ]
|
20182
|
+
# ],
|
20183
|
+
# [
|
20184
|
+
# 1,
|
20185
|
+
# "Alice",
|
20186
|
+
# 0
|
20187
|
+
# ],
|
20188
|
+
# [
|
20189
|
+
# 2,
|
20190
|
+
# "Bob",
|
20191
|
+
# 0
|
20192
|
+
# ],
|
20193
|
+
# [
|
20194
|
+
# 3,
|
20195
|
+
# "Carlos",
|
20196
|
+
# 0
|
19573
20197
|
# ]
|
19574
20198
|
# ]
|
19575
20199
|
# ]
|
@@ -19583,11 +20207,13 @@ select Users
|
|
19583
20207
|
This section describes parameters of \fBtruncate\fP\&.
|
19584
20208
|
.SS Required parameter
|
19585
20209
|
.sp
|
19586
|
-
There is required parameter, \
|
19587
|
-
.SS \
|
20210
|
+
There is required parameter, \fBtarget_name\fP\&.
|
20211
|
+
.SS \fBtarget_name\fP
|
19588
20212
|
.sp
|
19589
|
-
It specifies the name of table.
|
20213
|
+
It specifies the name of table or column.
|
19590
20214
|
.SS Return value
|
20215
|
+
.sp
|
20216
|
+
\fBtruncate\fP command returns whether truncation is succeeded or not:
|
19591
20217
|
.INDENT 0.0
|
19592
20218
|
.INDENT 3.5
|
19593
20219
|
.sp
|
@@ -20265,53 +20891,15 @@ table_create NFKC51Lexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerNFK
|
|
20265
20891
|
.UNINDENT
|
20266
20892
|
.SS Additional normalizers
|
20267
20893
|
.sp
|
20268
|
-
|
20894
|
+
There are additional normalizers:
|
20269
20895
|
.INDENT 0.0
|
20270
20896
|
.INDENT 3.5
|
20271
20897
|
.INDENT 0.0
|
20272
20898
|
.IP \(bu 2
|
20273
|
-
\
|
20274
|
-
.IP \(bu 2
|
20275
|
-
\fBNormalizerMySQLUnicodeCI\fP
|
20276
|
-
.IP \(bu 2
|
20277
|
-
\fBNormalizerMySQLUnicodeCIExceptKanaCIKanaWithVoicedSoundMark\fP
|
20899
|
+
\fIgroonga\-normalizer\-mysql <https://github.com/groonga/groonga\-normalizer\-mysql>_\fP
|
20278
20900
|
.UNINDENT
|
20279
20901
|
.UNINDENT
|
20280
20902
|
.UNINDENT
|
20281
|
-
.sp
|
20282
|
-
\fBgroonga\-normalizer\-mysql\fP is a Groonga plugin.
|
20283
|
-
It provides MySQL compatible normalizers to Groonga.
|
20284
|
-
\fBNormalizerMySQLGeneralCI\fP corresponds to \fButf8mb4_general_ci\fP\&.
|
20285
|
-
.sp
|
20286
|
-
You need to register \fBnormalizers/mysql\fP plugin in advance.
|
20287
|
-
.sp
|
20288
|
-
Execution example:
|
20289
|
-
.INDENT 0.0
|
20290
|
-
.INDENT 3.5
|
20291
|
-
.sp
|
20292
|
-
.nf
|
20293
|
-
.ft C
|
20294
|
-
register normalizers/mysql
|
20295
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20296
|
-
.ft P
|
20297
|
-
.fi
|
20298
|
-
.UNINDENT
|
20299
|
-
.UNINDENT
|
20300
|
-
.sp
|
20301
|
-
Here is an example that uses \fBNormalizerMySQLGeneralCI\fP normalizer:
|
20302
|
-
.sp
|
20303
|
-
Execution example:
|
20304
|
-
.INDENT 0.0
|
20305
|
-
.INDENT 3.5
|
20306
|
-
.sp
|
20307
|
-
.nf
|
20308
|
-
.ft C
|
20309
|
-
table_create MySQLGeneralLexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerMySQLGeneralCI
|
20310
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20311
|
-
.ft P
|
20312
|
-
.fi
|
20313
|
-
.UNINDENT
|
20314
|
-
.UNINDENT
|
20315
20903
|
.SS See also
|
20316
20904
|
.INDENT 0.0
|
20317
20905
|
.IP \(bu 2
|
@@ -20370,11 +20958,13 @@ Execution example:
|
|
20370
20958
|
.sp
|
20371
20959
|
.nf
|
20372
20960
|
.ft C
|
20961
|
+
register token_filters/stop_word
|
20962
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20373
20963
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
20374
20964
|
\-\-default_tokenizer TokenBigram \e
|
20375
20965
|
\-\-normalizer NormalizerAuto \e
|
20376
20966
|
\-\-token_filters TokenFilterStopWord
|
20377
|
-
# [[0,
|
20967
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20378
20968
|
.ft P
|
20379
20969
|
.fi
|
20380
20970
|
.UNINDENT
|
@@ -20407,38 +20997,38 @@ Execution example:
|
|
20407
20997
|
.nf
|
20408
20998
|
.ft C
|
20409
20999
|
register token_filters/stop_word
|
20410
|
-
# [[0,
|
21000
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20411
21001
|
table_create Memos TABLE_NO_KEY
|
20412
|
-
# [[0,
|
21002
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20413
21003
|
column_create Memos content COLUMN_SCALAR ShortText
|
20414
|
-
# [[0,
|
21004
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20415
21005
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
20416
21006
|
\-\-default_tokenizer TokenBigram \e
|
20417
21007
|
\-\-normalizer NormalizerAuto \e
|
20418
21008
|
\-\-token_filters TokenFilterStopWord
|
20419
|
-
# [[0,
|
21009
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20420
21010
|
column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
|
20421
|
-
# [[0,
|
21011
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20422
21012
|
column_create Terms is_stop_word COLUMN_SCALAR Bool
|
20423
|
-
# [[0,
|
21013
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20424
21014
|
load \-\-table Terms
|
20425
21015
|
[
|
20426
21016
|
{"_key": "and", "is_stop_word": true}
|
20427
21017
|
]
|
20428
|
-
# [[0,
|
21018
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
20429
21019
|
load \-\-table Memos
|
20430
21020
|
[
|
20431
21021
|
{"content": "Hello"},
|
20432
21022
|
{"content": "Hello and Good\-bye"},
|
20433
21023
|
{"content": "Good\-bye"}
|
20434
21024
|
]
|
20435
|
-
# [[0,
|
21025
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
20436
21026
|
select Memos \-\-match_columns content \-\-query "Hello and"
|
20437
21027
|
# [
|
20438
21028
|
# [
|
20439
21029
|
# 0,
|
20440
|
-
#
|
20441
|
-
# 0.
|
21030
|
+
# 1337566253.89858,
|
21031
|
+
# 0.000355720520019531
|
20442
21032
|
# ],
|
20443
21033
|
# [
|
20444
21034
|
# [
|
@@ -20488,31 +21078,31 @@ Execution example:
|
|
20488
21078
|
.nf
|
20489
21079
|
.ft C
|
20490
21080
|
register token_filters/stem
|
20491
|
-
# [[0,
|
21081
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20492
21082
|
table_create Memos TABLE_NO_KEY
|
20493
|
-
# [[0,
|
21083
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20494
21084
|
column_create Memos content COLUMN_SCALAR ShortText
|
20495
|
-
# [[0,
|
21085
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20496
21086
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
20497
21087
|
\-\-default_tokenizer TokenBigram \e
|
20498
21088
|
\-\-normalizer NormalizerAuto \e
|
20499
21089
|
\-\-token_filters TokenFilterStem
|
20500
|
-
# [[0,
|
21090
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20501
21091
|
column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
|
20502
|
-
# [[0,
|
21092
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20503
21093
|
load \-\-table Memos
|
20504
21094
|
[
|
20505
21095
|
{"content": "I develop Groonga"},
|
20506
21096
|
{"content": "I\(aqm developing Groonga"},
|
20507
21097
|
{"content": "I developed Groonga"}
|
20508
21098
|
]
|
20509
|
-
# [[0,
|
21099
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
20510
21100
|
select Memos \-\-match_columns content \-\-query "develops"
|
20511
21101
|
# [
|
20512
21102
|
# [
|
20513
21103
|
# 0,
|
20514
|
-
#
|
20515
|
-
# 0.
|
21104
|
+
# 1337566253.89858,
|
21105
|
+
# 0.000355720520019531
|
20516
21106
|
# ],
|
20517
21107
|
# [
|
20518
21108
|
# [
|
@@ -28893,10 +29483,10 @@ works. Query log is just for query processing.
|
|
28893
29483
|
.SS Process log
|
28894
29484
|
.sp
|
28895
29485
|
Process log is enabled by default. Log path can be
|
28896
|
-
customized by \
|
29486
|
+
customized by \fI\-\-log\-path\fP option. Each log has its
|
28897
29487
|
log level. If a log is smaller than groonga process\(aq log
|
28898
29488
|
level, it\(aqs not logged. Log level can be customized by
|
28899
|
-
\
|
29489
|
+
\fI\-l\fP or \fBcommands/log_level\fP\&.
|
28900
29490
|
.SS Format
|
28901
29491
|
.sp
|
28902
29492
|
Process log uses the following format:
|
@@ -29036,7 +29626,7 @@ Example:
|
|
29036
29626
|
.SS Query log
|
29037
29627
|
.sp
|
29038
29628
|
Query log is disabled by default. It can be enabled by
|
29039
|
-
\
|
29629
|
+
\fI\-\-query\-log\-path\fP option.
|
29040
29630
|
.SS Format
|
29041
29631
|
.sp
|
29042
29632
|
Query log uses the following formats:
|
@@ -29318,7 +29908,7 @@ You must have memory and swap that is larger than database.
|
|
29318
29908
|
This section describes how to configure parameters on Linux.
|
29319
29909
|
.SS nofile
|
29320
29910
|
.sp
|
29321
|
-
You can relax the \
|
29911
|
+
You can relax the \fItuning\-max\-n\-open\-files\fP parameter by creating
|
29322
29912
|
a configuration file \fB/etc/security/limits.d/groonga.conf\fP that has
|
29323
29913
|
the following content:
|
29324
29914
|
.INDENT 0.0
|
@@ -29352,7 +29942,7 @@ The configuration is applied after your groonga service is restarted
|
|
29352
29942
|
or re\-login as your groonga user.
|
29353
29943
|
.SS vm.overcommit_memory
|
29354
29944
|
.sp
|
29355
|
-
This is \
|
29945
|
+
This is \fItuning\-memory\-usage\fP related parameter. You can handle a
|
29356
29946
|
database that is larger than your memory and swap by setting
|
29357
29947
|
\fBvm.overcommit_memory\fP kernel parameter to 1. 1 means that Groonga
|
29358
29948
|
can always map database files onto memory. It is no problem until
|
@@ -29389,7 +29979,7 @@ following command:
|
|
29389
29979
|
.UNINDENT
|
29390
29980
|
.SS vm.max_map_count
|
29391
29981
|
.sp
|
29392
|
-
This is \
|
29982
|
+
This is \fItuning\-memory\-usage\fP related parameter. You can handle a
|
29393
29983
|
16GiB or more larger size database by increasing \fBvm.max_map_count\fP
|
29394
29984
|
kernel parameter. The parameter limits the max number of memory maps.
|
29395
29985
|
.sp
|
@@ -29481,7 +30071,7 @@ The lock timeout.
|
|
29481
30071
|
.B grn_rc grn_set_lock_timeout(int\fI\ timeout\fP)
|
29482
30072
|
Sets the lock timeout.
|
29483
30073
|
.sp
|
29484
|
-
See \
|
30074
|
+
See \fBgrn_get_lock_timeout()\fP about lock timeout.
|
29485
30075
|
.sp
|
29486
30076
|
There are some special values for \fBtimeout\fP\&.
|
29487
30077
|
.INDENT 7.0
|
@@ -29523,7 +30113,7 @@ This API is experimental.
|
|
29523
30113
|
object. It is only for \fB/reference/commands/select\fP command.
|
29524
30114
|
.sp
|
29525
30115
|
You can just change the current cache object by
|
29526
|
-
\
|
30116
|
+
\fBgrn_cache_current_set()\fP\&. \fB/reference/commands/select\fP
|
29527
30117
|
command response cache is done internally.
|
29528
30118
|
.sp
|
29529
30119
|
\fB/reference/commands/select\fP command uses one global cache
|
@@ -29560,8 +30150,8 @@ grn_cache_current_set(ctx, cache_previous);
|
|
29560
30150
|
.TP
|
29561
30151
|
.B grn_cache
|
29562
30152
|
It is an opaque cache object. You can create a \fBgrn_cache\fP by
|
29563
|
-
\
|
29564
|
-
\
|
30153
|
+
\fBgrn_cache_open()\fP and free the created object by
|
30154
|
+
\fBgrn_cache_close()\fP\&.
|
29565
30155
|
.UNINDENT
|
29566
30156
|
.INDENT 0.0
|
29567
30157
|
.TP
|
@@ -29581,7 +30171,7 @@ is returned. Error information is stored into the \fBctx\fP\&.
|
|
29581
30171
|
.B Returns
|
29582
30172
|
A newly allocated cache object on success, \fBNULL\fP
|
29583
30173
|
otherwise. The returned cache object must be freed by
|
29584
|
-
\
|
30174
|
+
\fBgrn_cache_close()\fP\&.
|
29585
30175
|
.UNINDENT
|
29586
30176
|
.UNINDENT
|
29587
30177
|
.INDENT 0.0
|
@@ -29691,7 +30281,7 @@ TODO...
|
|
29691
30281
|
.B GRN_COLUMN_NAME_ID
|
29692
30282
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_id\fP\&.
|
29693
30283
|
.sp
|
29694
|
-
It is useful to use with \
|
30284
|
+
It is useful to use with \fBGRN_COLUMN_NAME_ID_LEN\fP like
|
29695
30285
|
the following:
|
29696
30286
|
.INDENT 7.0
|
29697
30287
|
.INDENT 3.5
|
@@ -29710,7 +30300,7 @@ Since 3.1.1.
|
|
29710
30300
|
.INDENT 0.0
|
29711
30301
|
.TP
|
29712
30302
|
.B GRN_COLUMN_NAME_ID_LEN
|
29713
|
-
It returns the byte size of \
|
30303
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_ID\fP\&.
|
29714
30304
|
.sp
|
29715
30305
|
Since 3.1.1.
|
29716
30306
|
.UNINDENT
|
@@ -29719,7 +30309,7 @@ Since 3.1.1.
|
|
29719
30309
|
.B GRN_COLUMN_NAME_KEY
|
29720
30310
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_key\fP\&.
|
29721
30311
|
.sp
|
29722
|
-
It is useful to use with \
|
30312
|
+
It is useful to use with \fBGRN_COLUMN_NAME_KEY_LEN\fP like
|
29723
30313
|
the following:
|
29724
30314
|
.INDENT 7.0
|
29725
30315
|
.INDENT 3.5
|
@@ -29738,7 +30328,7 @@ Since 3.1.1.
|
|
29738
30328
|
.INDENT 0.0
|
29739
30329
|
.TP
|
29740
30330
|
.B GRN_COLUMN_NAME_KEY_LEN
|
29741
|
-
It returns the byte size of \
|
30331
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_KEY\fP\&.
|
29742
30332
|
.sp
|
29743
30333
|
Since 3.1.1.
|
29744
30334
|
.UNINDENT
|
@@ -29747,7 +30337,7 @@ Since 3.1.1.
|
|
29747
30337
|
.B GRN_COLUMN_NAME_VALUE
|
29748
30338
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_value\fP\&.
|
29749
30339
|
.sp
|
29750
|
-
It is useful to use with \
|
30340
|
+
It is useful to use with \fBGRN_COLUMN_NAME_VALUE_LEN\fP like
|
29751
30341
|
the following:
|
29752
30342
|
.INDENT 7.0
|
29753
30343
|
.INDENT 3.5
|
@@ -29766,7 +30356,7 @@ Since 3.1.1.
|
|
29766
30356
|
.INDENT 0.0
|
29767
30357
|
.TP
|
29768
30358
|
.B GRN_COLUMN_NAME_VALUE_LEN
|
29769
|
-
It returns the byte size of \
|
30359
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_VALUE\fP\&.
|
29770
30360
|
.sp
|
29771
30361
|
Since 3.1.1.
|
29772
30362
|
.UNINDENT
|
@@ -29775,7 +30365,7 @@ Since 3.1.1.
|
|
29775
30365
|
.B GRN_COLUMN_NAME_SCORE
|
29776
30366
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_score\fP\&.
|
29777
30367
|
.sp
|
29778
|
-
It is useful to use with \
|
30368
|
+
It is useful to use with \fBGRN_COLUMN_NAME_SCORE_LEN\fP like
|
29779
30369
|
the following:
|
29780
30370
|
.INDENT 7.0
|
29781
30371
|
.INDENT 3.5
|
@@ -29794,7 +30384,7 @@ Since 3.1.1.
|
|
29794
30384
|
.INDENT 0.0
|
29795
30385
|
.TP
|
29796
30386
|
.B GRN_COLUMN_NAME_SCORE_LEN
|
29797
|
-
It returns the byte size of \
|
30387
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_SCORE\fP\&.
|
29798
30388
|
.sp
|
29799
30389
|
Since 3.1.1.
|
29800
30390
|
.UNINDENT
|
@@ -29803,7 +30393,7 @@ Since 3.1.1.
|
|
29803
30393
|
.B GRN_COLUMN_NAME_NSUBRECS
|
29804
30394
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_nsubrecs\fP\&.
|
29805
30395
|
.sp
|
29806
|
-
It is useful to use with \
|
30396
|
+
It is useful to use with \fBGRN_COLUMN_NAME_NSUBRECS_LEN\fP like
|
29807
30397
|
the following:
|
29808
30398
|
.INDENT 7.0
|
29809
30399
|
.INDENT 3.5
|
@@ -29822,7 +30412,7 @@ Since 3.1.1.
|
|
29822
30412
|
.INDENT 0.0
|
29823
30413
|
.TP
|
29824
30414
|
.B GRN_COLUMN_NAME_NSUBRECS_LEN
|
29825
|
-
It returns the byte size of \
|
30415
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_NSUBRECS\fP\&.
|
29826
30416
|
.sp
|
29827
30417
|
Since 3.1.1.
|
29828
30418
|
.UNINDENT
|
@@ -29959,6 +30549,36 @@ columnに張られているindexのうち、opの操作を実行可能なもの
|
|
29959
30549
|
.UNINDENT
|
29960
30550
|
.UNINDENT
|
29961
30551
|
.UNINDENT
|
30552
|
+
.INDENT 0.0
|
30553
|
+
.TP
|
30554
|
+
.B grn_rc grn_column_truncate(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *column\fP)
|
30555
|
+
.sp
|
30556
|
+
\fBNOTE:\fP
|
30557
|
+
.INDENT 7.0
|
30558
|
+
.INDENT 3.5
|
30559
|
+
This is a dangerous API. You must not use this API when other
|
30560
|
+
thread or process accesses the target column. If you use this
|
30561
|
+
API against shared column, the process that accesses the column
|
30562
|
+
may be broken and the column may be broken.
|
30563
|
+
.UNINDENT
|
30564
|
+
.UNINDENT
|
30565
|
+
.sp
|
30566
|
+
New in version 4.0.9.
|
30567
|
+
|
30568
|
+
.sp
|
30569
|
+
Clears all values in the column.
|
30570
|
+
.INDENT 7.0
|
30571
|
+
.TP
|
30572
|
+
.B Parameters
|
30573
|
+
.INDENT 7.0
|
30574
|
+
.IP \(bu 2
|
30575
|
+
\fBcolumn\fP \-\- The column to be truncated.
|
30576
|
+
.UNINDENT
|
30577
|
+
.TP
|
30578
|
+
.B Returns
|
30579
|
+
\fBGRN_SUCCESS\fP on success, not \fBGRN_SUCCESS\fP on error.
|
30580
|
+
.UNINDENT
|
30581
|
+
.UNINDENT
|
29962
30582
|
.SS \fBgrn_command_version\fP
|
29963
30583
|
.SS Summary
|
29964
30584
|
.sp
|
@@ -30004,7 +30624,7 @@ TODO...
|
|
30004
30624
|
.SS \fBgrn_content_type\fP
|
30005
30625
|
.SS Summary
|
30006
30626
|
.sp
|
30007
|
-
\
|
30627
|
+
\fBgrn_content_type\fP shows input type and output
|
30008
30628
|
type. Currently, it is used only for output type.
|
30009
30629
|
.sp
|
30010
30630
|
Normally, you don\(aqt need to use this type. It is used internally in
|
@@ -30037,7 +30657,7 @@ Groonga. If you don\(aqt have MessagePack library, you can\(aqt use this type.
|
|
30037
30657
|
.SS \fBgrn_ctx\fP
|
30038
30658
|
.SS Summary
|
30039
30659
|
.sp
|
30040
|
-
\
|
30660
|
+
\fBgrn_ctx\fP is the most important object. \fBgrn_ctx\fP
|
30041
30661
|
keeps the current infomation such as:
|
30042
30662
|
.INDENT 0.0
|
30043
30663
|
.IP \(bu 2
|
@@ -30050,7 +30670,7 @@ The default thresholds. (e.g. \fImatch\-escalation\-threshold\fP)
|
|
30050
30670
|
The default command version. (See \fB/reference/command/command_version\fP)
|
30051
30671
|
.UNINDENT
|
30052
30672
|
.sp
|
30053
|
-
\
|
30673
|
+
\fBgrn_ctx\fP provides platform features such as:
|
30054
30674
|
.INDENT 0.0
|
30055
30675
|
.IP \(bu 2
|
30056
30676
|
Memory management.
|
@@ -30058,11 +30678,11 @@ Memory management.
|
|
30058
30678
|
Logging.
|
30059
30679
|
.UNINDENT
|
30060
30680
|
.sp
|
30061
|
-
Most APIs receive \
|
30681
|
+
Most APIs receive \fBgrn_ctx\fP as the first argument.
|
30062
30682
|
.sp
|
30063
|
-
You can\(aqt use the same \
|
30064
|
-
need to create a \
|
30065
|
-
more \
|
30683
|
+
You can\(aqt use the same \fBgrn_ctx\fP from two or more threads. You
|
30684
|
+
need to create a \fBgrn_ctx\fP for a thread. You can use two or
|
30685
|
+
more \fBgrn_ctx\fP in a thread but it is not needed for usual
|
30066
30686
|
use\-case.
|
30067
30687
|
.SS Example
|
30068
30688
|
.sp
|
@@ -30096,7 +30716,7 @@ ctxを初期化します。
|
|
30096
30716
|
.B grn_rc grn_ctx_fin(grn_ctx\fI\ *ctx\fP)
|
30097
30717
|
ctxの管理するメモリを解放し、使用を終了します。
|
30098
30718
|
.sp
|
30099
|
-
If \fBctx\fP is initialized by \
|
30719
|
+
If \fBctx\fP is initialized by \fBgrn_ctx_open()\fP not \fBgrn_ctx_init()\fP\&. You need also to call \fBgrn_ctx_close()\fP\&.
|
30100
30720
|
.INDENT 7.0
|
30101
30721
|
.TP
|
30102
30722
|
.B Parameters
|
@@ -30112,11 +30732,11 @@ If \fBctx\fP is initialized by \fI\%grn_ctx_open()\fP not \fI\%grn_ctx_init()\fP
|
|
30112
30732
|
.INDENT 0.0
|
30113
30733
|
.TP
|
30114
30734
|
.B grn_ctx *grn_ctx_open(int\fI\ flags\fP)
|
30115
|
-
初期化された \
|
30735
|
+
初期化された \fBgrn_ctx\fP オブジェクトを返します。
|
30116
30736
|
.sp
|
30117
|
-
\
|
30118
|
-
どちらで初期化された \
|
30119
|
-
\
|
30737
|
+
\fBgrn_ctx_init()\fP で初期化された \fBgrn_ctx\fP オブジェクトは構造体の実体をAPIの呼び元で確保するのに対して、 \fBgrn_ctx_open()\fP ではGroongaライブラリの内部で、実体を確保します。
|
30738
|
+
どちらで初期化された \fBgrn_ctx\fP も、 \fBgrn_ctx_fin()\fP で解放できます。
|
30739
|
+
\fBgrn_ctx_open()\fP で確保した \fBgrn_ctx\fP 構造体に関しては、\fBgrn_ctx_fin()\fP で解放した後に、その \fBgrn_ctx\fP で作成した \fBgrn_obj\fP を \fBgrn_obj_close()\fP によって解放しても問題ありません。
|
30120
30740
|
.INDENT 7.0
|
30121
30741
|
.TP
|
30122
30742
|
.B Parameters
|
@@ -30126,19 +30746,19 @@ If \fBctx\fP is initialized by \fI\%grn_ctx_open()\fP not \fI\%grn_ctx_init()\fP
|
|
30126
30746
|
.UNINDENT
|
30127
30747
|
.TP
|
30128
30748
|
.B Returns
|
30129
|
-
初期化された \
|
30749
|
+
初期化された \fBgrn_ctx\fP オブジェクトを返します。
|
30130
30750
|
.UNINDENT
|
30131
30751
|
.UNINDENT
|
30132
30752
|
.INDENT 0.0
|
30133
30753
|
.TP
|
30134
30754
|
.B grn_rc grn_ctx_close(grn_ctx\fI\ *ctx\fP)
|
30135
|
-
It calls \
|
30755
|
+
It calls \fBgrn_ctx_fin()\fP and frees allocated memory for \fBctx\fP by \fBgrn_ctx_open()\fP\&.
|
30136
30756
|
.INDENT 7.0
|
30137
30757
|
.TP
|
30138
30758
|
.B Parameters
|
30139
30759
|
.INDENT 7.0
|
30140
30760
|
.IP \(bu 2
|
30141
|
-
\fBctx\fP \-\- no longer needed \
|
30761
|
+
\fBctx\fP \-\- no longer needed \fBgrn_ctx\fP\&.
|
30142
30762
|
.UNINDENT
|
30143
30763
|
.TP
|
30144
30764
|
.B Returns
|
@@ -30186,7 +30806,7 @@ command_versionを変更します。
|
|
30186
30806
|
.B grn_rc grn_ctx_use(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *db\fP)
|
30187
30807
|
ctxが操作対象とするdbを指定します。NULLを指定した場合は、dbを操作しない状態(init直後の状態)になります。
|
30188
30808
|
.sp
|
30189
|
-
Don\(aqt use it with \
|
30809
|
+
Don\(aqt use it with \fBgrn_ctx\fP that has \fBGRN_CTX_PER_DB\fP flag.
|
30190
30810
|
.INDENT 7.0
|
30191
30811
|
.TP
|
30192
30812
|
.B Parameters
|
@@ -30289,7 +30909,7 @@ TODO...
|
|
30289
30909
|
.INDENT 0.0
|
30290
30910
|
.TP
|
30291
30911
|
.B grn_db_create_optarg
|
30292
|
-
It is used for specifying options for \
|
30912
|
+
It is used for specifying options for \fBgrn_db_create()\fP\&.
|
30293
30913
|
.UNINDENT
|
30294
30914
|
.INDENT 0.0
|
30295
30915
|
.TP
|
@@ -30367,6 +30987,77 @@ objの属するdbを返します。
|
|
30367
30987
|
.UNINDENT
|
30368
30988
|
.UNINDENT
|
30369
30989
|
.UNINDENT
|
30990
|
+
.INDENT 0.0
|
30991
|
+
.TP
|
30992
|
+
.B grn_rc grn_db_recover(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *db\fP)
|
30993
|
+
.sp
|
30994
|
+
\fBNOTE:\fP
|
30995
|
+
.INDENT 7.0
|
30996
|
+
.INDENT 3.5
|
30997
|
+
This is an experimental API.
|
30998
|
+
.UNINDENT
|
30999
|
+
.UNINDENT
|
31000
|
+
.sp
|
31001
|
+
\fBNOTE:\fP
|
31002
|
+
.INDENT 7.0
|
31003
|
+
.INDENT 3.5
|
31004
|
+
This is a dangerous API. You must not use this API when other
|
31005
|
+
thread or process opens the target database. If you use this API
|
31006
|
+
against shared database, the database may be broken.
|
31007
|
+
.UNINDENT
|
31008
|
+
.UNINDENT
|
31009
|
+
.sp
|
31010
|
+
New in version 4.0.9.
|
31011
|
+
|
31012
|
+
.sp
|
31013
|
+
Checks the passed database and recovers it if it is broken and it
|
31014
|
+
can be recovered.
|
31015
|
+
.sp
|
31016
|
+
This API uses lock existence for checking whether the database is
|
31017
|
+
broken or not.
|
31018
|
+
.sp
|
31019
|
+
Here are recoverable cases:
|
31020
|
+
.INDENT 7.0
|
31021
|
+
.INDENT 3.5
|
31022
|
+
.INDENT 0.0
|
31023
|
+
.IP \(bu 2
|
31024
|
+
Index column is broken. The index column must have source column.
|
31025
|
+
.UNINDENT
|
31026
|
+
.UNINDENT
|
31027
|
+
.UNINDENT
|
31028
|
+
.sp
|
31029
|
+
Here are unrecoverable cases:
|
31030
|
+
.INDENT 7.0
|
31031
|
+
.INDENT 3.5
|
31032
|
+
.INDENT 0.0
|
31033
|
+
.IP \(bu 2
|
31034
|
+
Object name management feature is broken.
|
31035
|
+
.IP \(bu 2
|
31036
|
+
Table is broken.
|
31037
|
+
.IP \(bu 2
|
31038
|
+
Data column is broken.
|
31039
|
+
.UNINDENT
|
31040
|
+
.UNINDENT
|
31041
|
+
.UNINDENT
|
31042
|
+
.sp
|
31043
|
+
Object name management feature is used for managing table name,
|
31044
|
+
column name and so on. If the feature is broken, the database can\(aqt
|
31045
|
+
be recovered. Please re\-create the database from backup.
|
31046
|
+
.sp
|
31047
|
+
Table and data column can be recovered by removing an existence
|
31048
|
+
lock and re\-add data.
|
31049
|
+
.INDENT 7.0
|
31050
|
+
.TP
|
31051
|
+
.B Parameters
|
31052
|
+
.INDENT 7.0
|
31053
|
+
.IP \(bu 2
|
31054
|
+
\fBdb\fP \-\- The database to be recovered.
|
31055
|
+
.UNINDENT
|
31056
|
+
.TP
|
31057
|
+
.B Returns
|
31058
|
+
\fBGRN_SUCCESS\fP on success, not \fBGRN_SUCCESS\fP on error.
|
31059
|
+
.UNINDENT
|
31060
|
+
.UNINDENT
|
30370
31061
|
.SS \fBgrn_encoding\fP
|
30371
31062
|
.SS Summary
|
30372
31063
|
.sp
|
@@ -30437,7 +31128,7 @@ is a list of what expression can do:
|
|
30437
31128
|
.INDENT 0.0
|
30438
31129
|
.IP \(bu 2
|
30439
31130
|
Expression can apply some operations to a record by
|
30440
|
-
\
|
31131
|
+
\fBgrn_expr_exec()\fP\&.
|
30441
31132
|
.IP \(bu 2
|
30442
31133
|
Expression can represents search condition. \fBgrn_table_select()\fP
|
30443
31134
|
can select records that match against the search condition represented
|
@@ -31148,27 +31839,27 @@ objのIDに対応するレコードの値を更新します。対応するレコ
|
|
31148
31839
|
.INDENT 2.0
|
31149
31840
|
.INDENT 2.0
|
31150
31841
|
.IP \(bu 2
|
31151
|
-
\
|
31842
|
+
\fBGRN_OBJ_SET\fP
|
31152
31843
|
.IP \(bu 2
|
31153
|
-
\
|
31844
|
+
\fBGRN_OBJ_INCR\fP
|
31154
31845
|
.IP \(bu 2
|
31155
|
-
\
|
31846
|
+
\fBGRN_OBJ_DECR\fP
|
31156
31847
|
.UNINDENT
|
31157
31848
|
.INDENT 2.0
|
31158
31849
|
.IP \(bu 2
|
31159
|
-
\
|
31850
|
+
\fBGRN_OBJ_APPEND\fP
|
31160
31851
|
.IP \(bu 2
|
31161
|
-
\
|
31852
|
+
\fBGRN_OBJ_PREPEND\fP
|
31162
31853
|
.IP \(bu 2
|
31163
|
-
\
|
31854
|
+
\fBGRN_OBJ_GET\fP
|
31164
31855
|
.UNINDENT
|
31165
31856
|
.INDENT 2.0
|
31166
31857
|
.IP \(bu 2
|
31167
|
-
\
|
31858
|
+
\fBGRN_OBJ_COMPARE\fP
|
31168
31859
|
.IP \(bu 2
|
31169
|
-
\
|
31860
|
+
\fBGRN_OBJ_LOCK\fP
|
31170
31861
|
.IP \(bu 2
|
31171
|
-
\
|
31862
|
+
\fBGRN_OBJ_UNLOCK\fP
|
31172
31863
|
.UNINDENT
|
31173
31864
|
.UNINDENT
|
31174
31865
|
|
@@ -31217,7 +31908,7 @@ objのIDに対応するレコードの値を更新します。対応するレコ
|
|
31217
31908
|
.INDENT 0.0
|
31218
31909
|
.TP
|
31219
31910
|
.B GRN_OBJ_LOCK
|
31220
|
-
当該レコードをロックします。\
|
31911
|
+
当該レコードをロックします。\fBGRN_OBJ_COMPARE\fP と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。
|
31221
31912
|
.UNINDENT
|
31222
31913
|
.INDENT 0.0
|
31223
31914
|
.TP
|
@@ -31259,7 +31950,7 @@ ctxが使用するdbにおいてobjに対応する名前をnameに更新しま
|
|
31259
31950
|
.B grn_rc grn_obj_close(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *obj\fP)
|
31260
31951
|
一時的なobjectであるobjをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。
|
31261
31952
|
.sp
|
31262
|
-
永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい \
|
31953
|
+
永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい \fBgrn_obj_unlink()\fP を用いるべきです。
|
31263
31954
|
.INDENT 7.0
|
31264
31955
|
.TP
|
31265
31956
|
.B Parameters
|
@@ -31526,13 +32217,13 @@ nameに対応する新たなproc(手続き)をctxが使用するdbに定義し
|
|
31526
32217
|
.INDENT 0.0
|
31527
32218
|
.TP
|
31528
32219
|
.B grn_obj *grn_proc_get_info(grn_ctx\fI\ *ctx\fP, grn_user_data\fI\ *user_data\fP, grn_expr_var\fI\ **vars\fP, unsigned int\fI\ *nvars\fP, grn_obj\fI\ **caller\fP)
|
31529
|
-
user_dataをキーとして、現在実行中の \
|
32220
|
+
user_dataをキーとして、現在実行中の \fBgrn_proc_func\fP 関数および定義されている変数( \fBgrn_expr_var\fP )の配列とその数を取得します。
|
31530
32221
|
.INDENT 7.0
|
31531
32222
|
.TP
|
31532
32223
|
.B Parameters
|
31533
32224
|
.INDENT 7.0
|
31534
32225
|
.IP \(bu 2
|
31535
|
-
\fBuser_data\fP \-\- \
|
32226
|
+
\fBuser_data\fP \-\- \fBgrn_proc_func\fP に渡されたuser_dataを指定します。
|
31536
32227
|
.IP \(bu 2
|
31537
32228
|
\fBnvars\fP \-\- 変数の数を取得します。
|
31538
32229
|
.UNINDENT
|
@@ -32044,7 +32735,7 @@ maxとmax_sizeが指定され、かつ、テーブルのkeyが固定長型の場
|
|
32044
32735
|
.INDENT 0.0
|
32045
32736
|
.TP
|
32046
32737
|
.B grn_rc grn_table_cursor_close(grn_ctx\fI\ *ctx\fP, grn_table_cursor\fI\ *tc\fP)
|
32047
|
-
\
|
32738
|
+
\fBgrn_table_cursor_open()\fP で生成したcursorを解放します。
|
32048
32739
|
.INDENT 7.0
|
32049
32740
|
.TP
|
32050
32741
|
.B Parameters
|
@@ -32960,6 +33651,8 @@ A table has the following limitations.
|
|
32960
33651
|
The maximum one key size: 4096Bytes
|
32961
33652
|
.IP \(bu 2
|
32962
33653
|
The maximum total size of keys: 4GBytes
|
33654
|
+
.IP \(bu 2
|
33655
|
+
The maximum number of records: 268,435,455 (more than 268 million)
|
32963
33656
|
.UNINDENT
|
32964
33657
|
.sp
|
32965
33658
|
Keep in mind that these limitations may vary depending on conditions.
|
@@ -32968,8 +33661,6 @@ Keep in mind that these limitations may vary depending on conditions.
|
|
32968
33661
|
A full\-text index has the following limitations.
|
32969
33662
|
.INDENT 0.0
|
32970
33663
|
.IP \(bu 2
|
32971
|
-
The maximum number of records: 268,435,455 (more than 268 million)
|
32972
|
-
.IP \(bu 2
|
32973
33664
|
The maximum number of distinct terms: 268,435,455 (more than 268 million)
|
32974
33665
|
.IP \(bu 2
|
32975
33666
|
The maximum index size: 256GBytes
|
@@ -33386,11 +34077,9 @@ This documentation describes about how to write, generate and manage
|
|
33386
34077
|
Groonga documentation.
|
33387
34078
|
.SS Install depended software
|
33388
34079
|
.sp
|
33389
|
-
Groonga uses \fI\%Sphinx\fP as documentation tool.
|
33390
|
-
Sphinx. So Groonga clones the latest Sphinx from Sphinx repository
|
33391
|
-
automatically. You need only \fI\%Mercurial\fP, \fI\%Docutils\fP and \fI\%Jinja\fP\&.
|
34080
|
+
Groonga uses \fI\%Sphinx\fP as documentation tool.
|
33392
34081
|
.sp
|
33393
|
-
Here are command lines to install
|
34082
|
+
Here are command lines to install Sphinx.
|
33394
34083
|
.sp
|
33395
34084
|
Debian GNU/Linux, Ubuntu:
|
33396
34085
|
.INDENT 0.0
|
@@ -33398,7 +34087,7 @@ Debian GNU/Linux, Ubuntu:
|
|
33398
34087
|
.sp
|
33399
34088
|
.nf
|
33400
34089
|
.ft C
|
33401
|
-
% sudo apt\-get install \-V \-y
|
34090
|
+
% sudo apt\-get install \-V \-y python\-sphinx
|
33402
34091
|
.ft P
|
33403
34092
|
.fi
|
33404
34093
|
.UNINDENT
|
@@ -33410,7 +34099,8 @@ CentOS, Fedora:
|
|
33410
34099
|
.sp
|
33411
34100
|
.nf
|
33412
34101
|
.ft C
|
33413
|
-
% sudo yum install \-y
|
34102
|
+
% sudo yum install \-y python\-pip
|
34103
|
+
% sudo pip install sphinx
|
33414
34104
|
.ft P
|
33415
34105
|
.fi
|
33416
34106
|
.UNINDENT
|
@@ -33422,9 +34112,10 @@ OS X:
|
|
33422
34112
|
.sp
|
33423
34113
|
.nf
|
33424
34114
|
.ft C
|
33425
|
-
% brew install
|
33426
|
-
%
|
33427
|
-
%
|
34115
|
+
% brew install python
|
34116
|
+
% brew install gettext
|
34117
|
+
% export PATH=\(gabrew \-\-prefix gettext\(ga/bin:$PATH
|
34118
|
+
% pip install sphinx
|
33428
34119
|
.ft P
|
33429
34120
|
.fi
|
33430
34121
|
.UNINDENT
|