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
@@ -12,7 +12,7 @@
|
|
12
12
|
<link rel="stylesheet" type="text/css" href="css/groonga-admin.css">
|
13
13
|
<link rel="stylesheet" type="text/css" href="css/redmond/jquery-ui-1.8.18.custom.css">
|
14
14
|
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
|
15
|
-
<script type="text/javascript" src="js/jquery-ui-1.8.18.custom.
|
15
|
+
<script type="text/javascript" src="js/jquery-ui-1.8.18.custom.js"></script>
|
16
16
|
<script type="text/javascript" src="js/jquery.flot-0.7.js"></script>
|
17
17
|
<script type="text/javascript" src="js/groonga-admin.js"></script>
|
18
18
|
</head>
|
@@ -20,3 +20,14 @@ Original Authors "mruby developers" are:
|
|
20
20
|
Tatsuhiko Kubo
|
21
21
|
Takeshi Watanabe
|
22
22
|
Yuki Kurihara
|
23
|
+
specified non-profit corporation mruby Forum
|
24
|
+
Kazuaki Tanaka
|
25
|
+
Hiromasa Ishii
|
26
|
+
Hiroshi Mimaki
|
27
|
+
Satoshi Odawara
|
28
|
+
Mitsubishi Electric Micro-Computer Application Software Co.,Ltd.
|
29
|
+
Hiroyuki Matsuzaki
|
30
|
+
Yuhei Okazaki
|
31
|
+
Manycolors, Inc.
|
32
|
+
Shota Nakano
|
33
|
+
Yuichi Osawa
|
@@ -1,19 +1,19 @@
|
|
1
|
-
[![Build Status]
|
1
|
+
[![Build Status][build-status-img]][travis-ci]
|
2
2
|
|
3
3
|
## What's mruby
|
4
4
|
|
5
|
-
mruby is the lightweight implementation of the Ruby language complying to (part
|
6
|
-
the [ISO standard]
|
7
|
-
Its syntax is Ruby 1.9 compatible.
|
5
|
+
mruby is the lightweight implementation of the Ruby language complying to (part
|
6
|
+
of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9 compatible.
|
8
7
|
|
9
|
-
mruby can be linked and embedded within your application. We provide the
|
10
|
-
the interactive mruby shell "mirb" as examples.
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
mruby can be linked and embedded within your application. We provide the
|
9
|
+
interpreter program "mruby" and the interactive mruby shell "mirb" as examples.
|
10
|
+
You can also compile Ruby programs into compiled byte code using the mruby
|
11
|
+
compiler "mrbc". All those tools reside in the "bin" directory. "mrbc" is
|
12
|
+
also able to generate compiled byte code in a C source file, see the "mrbtest"
|
13
|
+
program under the "test" directory for an example.
|
14
14
|
|
15
|
-
This achievement was sponsored by the Regional Innovation Creation R&D Programs
|
16
|
-
the Ministry of Economy, Trade and Industry of Japan.
|
15
|
+
This achievement was sponsored by the Regional Innovation Creation R&D Programs
|
16
|
+
of the Ministry of Economy, Trade and Industry of Japan.
|
17
17
|
|
18
18
|
|
19
19
|
## How to get mruby
|
@@ -41,13 +41,14 @@ The URL of the mruby home-page is:
|
|
41
41
|
|
42
42
|
## Mailing list
|
43
43
|
|
44
|
-
|
44
|
+
We don't have mailing list, use GitHub forum <http://github.com/mruby/mruby>.
|
45
45
|
|
46
46
|
|
47
47
|
## How to compile and install (mruby and gems)
|
48
48
|
|
49
49
|
See the INSTALL file.
|
50
50
|
|
51
|
+
|
51
52
|
## Running Tests
|
52
53
|
|
53
54
|
To run the tests, execute the following from the project's root directory.
|
@@ -58,12 +59,14 @@ Or
|
|
58
59
|
|
59
60
|
$ ruby ./minirake test
|
60
61
|
|
62
|
+
|
61
63
|
## Customization
|
62
64
|
|
63
65
|
mruby contains a package manager called *mrbgems*. To create extensions
|
64
66
|
in C and/or Ruby you should create a *GEM*. You will find a complete
|
65
67
|
documentation with examples under *examples/mrbgems*.
|
66
68
|
|
69
|
+
|
67
70
|
## License
|
68
71
|
|
69
72
|
Copyright (c) 2014 mruby developers
|
@@ -86,26 +89,35 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
86
89
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
87
90
|
DEALINGS IN THE SOFTWARE.
|
88
91
|
|
92
|
+
|
89
93
|
## Note for License
|
90
94
|
|
91
95
|
mruby has chosen a MIT License due to its permissive license allowing
|
92
96
|
developers to target various environments such as embedded systems.
|
93
97
|
However, the license requires the display of the copyright notice and license
|
94
98
|
information in manuals for instance. Doing so for big projects can be
|
95
|
-
complicated or troublesome.
|
96
|
-
|
97
|
-
to make it simple conventionally.
|
99
|
+
complicated or troublesome. This is why mruby has decided to display "mruby
|
100
|
+
developers" as the copyright name to make it simple conventionally.
|
98
101
|
In the future, mruby might ask you to distribute your new code
|
99
102
|
(that you will commit,) under the MIT License as a member of
|
100
103
|
"mruby developers" but contributors will keep their copyright.
|
101
104
|
(We did not intend for contributors to transfer or waive their copyrights,
|
102
|
-
|
105
|
+
Actual copyright holder name (contributors) will be listed in the AUTHORS
|
106
|
+
file.)
|
103
107
|
|
104
108
|
Please ask us if you want to distribute your code under another license.
|
105
109
|
|
110
|
+
|
106
111
|
## How to Contribute
|
107
112
|
|
108
|
-
See the [contribution guidelines]
|
109
|
-
|
110
|
-
non-exclusive right to your contributed code under MIT license. If you want to
|
111
|
-
as one of mruby developers, please include an update to the AUTHORS
|
113
|
+
See the [contribution guidelines][contribution-guidelines] then send a pull
|
114
|
+
request to <http://github.com/mruby/mruby>. We consider you have granted
|
115
|
+
non-exclusive right to your contributed code under MIT license. If you want to
|
116
|
+
be named as one of mruby developers, please include an update to the AUTHORS
|
117
|
+
file in your pull request.
|
118
|
+
|
119
|
+
[ISO-standard]: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579
|
120
|
+
[build-status-img]: https://travis-ci.org/mruby/mruby.png?branch=master
|
121
|
+
[contribution-guidelines]: https://github.com/mruby/mruby/blob/master/CONTRIBUTING.md
|
122
|
+
[travis-ci]: https://travis-ci.org/mruby/mruby
|
123
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "2014 年
|
3
|
+
.TH "GROONGA" "1" "2014 年 12 月 29 日" "4.0.9" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
97
97
|
.INDENT 3.5
|
98
98
|
.INDENT 0.0
|
99
99
|
.IP \(bu 2
|
100
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
100
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x86.exe\fP
|
101
101
|
.UNINDENT
|
102
102
|
.UNINDENT
|
103
103
|
.UNINDENT
|
@@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
109
109
|
.INDENT 3.5
|
110
110
|
.INDENT 0.0
|
111
111
|
.IP \(bu 2
|
112
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
112
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x64.exe\fP
|
113
113
|
.UNINDENT
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
@@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
124
124
|
.INDENT 3.5
|
125
125
|
.INDENT 0.0
|
126
126
|
.IP \(bu 2
|
127
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
127
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x86.zip\fP
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
130
130
|
.UNINDENT
|
@@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
136
136
|
.INDENT 3.5
|
137
137
|
.INDENT 0.0
|
138
138
|
.IP \(bu 2
|
139
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
139
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.9\-x64.zip\fP
|
140
140
|
.UNINDENT
|
141
141
|
.UNINDENT
|
142
142
|
.UNINDENT
|
@@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ
|
|
163
163
|
.INDENT 3.5
|
164
164
|
.INDENT 0.0
|
165
165
|
.IP \(bu 2
|
166
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
166
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.9.zip\fP
|
167
167
|
.UNINDENT
|
168
168
|
.UNINDENT
|
169
169
|
.UNINDENT
|
@@ -176,7 +176,7 @@ Groongaのソースフォルダへと移動します:
|
|
176
176
|
.sp
|
177
177
|
.nf
|
178
178
|
.ft C
|
179
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
179
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.9
|
180
180
|
.ft P
|
181
181
|
.fi
|
182
182
|
.UNINDENT
|
@@ -188,7 +188,7 @@ Groongaのソースフォルダへと移動します:
|
|
188
188
|
.sp
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
|
-
groonga\-4.0.
|
191
|
+
groonga\-4.0.9> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
192
192
|
.ft P
|
193
193
|
.fi
|
194
194
|
.UNINDENT
|
@@ -200,7 +200,7 @@ groonga\-4.0.8> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\
|
|
200
200
|
.sp
|
201
201
|
.nf
|
202
202
|
.ft C
|
203
|
-
groonga\-4.0.
|
203
|
+
groonga\-4.0.9> cmake \-\-build . \-\-config Release
|
204
204
|
.ft P
|
205
205
|
.fi
|
206
206
|
.UNINDENT
|
@@ -212,7 +212,7 @@ groonga\-4.0.8> cmake \-\-build . \-\-config Release
|
|
212
212
|
.sp
|
213
213
|
.nf
|
214
214
|
.ft C
|
215
|
-
groonga\-4.0.
|
215
|
+
groonga\-4.0.9> cmake \-\-build . \-\-config Release \-\-target Install
|
216
216
|
.ft P
|
217
217
|
.fi
|
218
218
|
.UNINDENT
|
@@ -270,9 +270,9 @@ groonga\-4.0.8> cmake \-\-build . \-\-config Release \-\-target Install
|
|
270
270
|
.sp
|
271
271
|
.nf
|
272
272
|
.ft C
|
273
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
274
|
-
% tar xvzf groonga\-4.0.
|
275
|
-
% cd groonga\-4.0.
|
273
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
274
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
275
|
+
% cd groonga\-4.0.9
|
276
276
|
.ft P
|
277
277
|
.fi
|
278
278
|
.UNINDENT
|
@@ -350,7 +350,7 @@ deb\-src http://packages.groonga.org/debian/ wheezy main
|
|
350
350
|
.UNINDENT
|
351
351
|
.UNINDENT
|
352
352
|
.sp
|
353
|
-
\fB
|
353
|
+
\fBノート:\fP
|
354
354
|
.INDENT 0.0
|
355
355
|
.INDENT 3.5
|
356
356
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -381,6 +381,21 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
381
381
|
.UNINDENT
|
382
382
|
.UNINDENT
|
383
383
|
.sp
|
384
|
+
If you want to use TokenFilterStem as a token filter, install
|
385
|
+
groonga\-token\-filter\-stem package.
|
386
|
+
.sp
|
387
|
+
Install groonga\-token\-filter\-stem package:
|
388
|
+
.INDENT 0.0
|
389
|
+
.INDENT 3.5
|
390
|
+
.sp
|
391
|
+
.nf
|
392
|
+
.ft C
|
393
|
+
% sudo apt\-get install \-y \-V groonga\-token\-filter\-stem
|
394
|
+
.ft P
|
395
|
+
.fi
|
396
|
+
.UNINDENT
|
397
|
+
.UNINDENT
|
398
|
+
.sp
|
384
399
|
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
385
400
|
.sp
|
386
401
|
groonga\-munin\-pluginsパッケージのインストール:
|
@@ -428,9 +443,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
428
443
|
.sp
|
429
444
|
.nf
|
430
445
|
.ft C
|
431
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
432
|
-
% tar xvzf groonga\-4.0.
|
433
|
-
% cd groonga\-4.0.
|
446
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
447
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
448
|
+
% cd groonga\-4.0.9
|
434
449
|
.ft P
|
435
450
|
.fi
|
436
451
|
.UNINDENT
|
@@ -532,7 +547,7 @@ Groongaをインストールするためにuniverseリポジトリを有効に
|
|
532
547
|
.UNINDENT
|
533
548
|
.UNINDENT
|
534
549
|
.sp
|
535
|
-
\fB
|
550
|
+
\fBノート:\fP
|
536
551
|
.INDENT 0.0
|
537
552
|
.INDENT 3.5
|
538
553
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -563,6 +578,21 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
563
578
|
.UNINDENT
|
564
579
|
.UNINDENT
|
565
580
|
.sp
|
581
|
+
If you want to use TokenFilterStem as a token filter, install
|
582
|
+
groonga\-token\-filter\-stem package.
|
583
|
+
.sp
|
584
|
+
Install groonga\-token\-filter\-stem package:
|
585
|
+
.INDENT 0.0
|
586
|
+
.INDENT 3.5
|
587
|
+
.sp
|
588
|
+
.nf
|
589
|
+
.ft C
|
590
|
+
% sudo apt\-get \-y install groonga\-token\-filter\-stem
|
591
|
+
.ft P
|
592
|
+
.fi
|
593
|
+
.UNINDENT
|
594
|
+
.UNINDENT
|
595
|
+
.sp
|
566
596
|
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
567
597
|
.sp
|
568
598
|
groonga\-munin\-pluginsパッケージのインストール:
|
@@ -610,9 +640,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
610
640
|
.sp
|
611
641
|
.nf
|
612
642
|
.ft C
|
613
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
614
|
-
% tar xvzf groonga\-4.0.
|
615
|
-
% cd groonga\-4.0.
|
643
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
644
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
645
|
+
% cd groonga\-4.0.9
|
616
646
|
.ft P
|
617
647
|
.fi
|
618
648
|
.UNINDENT
|
@@ -674,7 +704,7 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
674
704
|
.UNINDENT
|
675
705
|
.UNINDENT
|
676
706
|
.sp
|
677
|
-
\fB
|
707
|
+
\fBノート:\fP
|
678
708
|
.INDENT 0.0
|
679
709
|
.INDENT 3.5
|
680
710
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -707,7 +737,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
707
737
|
.sp
|
708
738
|
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
709
739
|
.sp
|
710
|
-
\fB
|
740
|
+
\fBノート:\fP
|
711
741
|
.INDENT 0.0
|
712
742
|
.INDENT 3.5
|
713
743
|
groonga\-munin\-pluginsパッケージはmunin\-nodeパッケージを必要としますが、munin\-nodeパッケージはCentOSの公式リポジトリには含まれていません。munin\-nodeパッケージを \fByum\fP でインストールするために \fI\%Repoforge (RPMforge)\fP リポジトリか \fI\%EPEL\fP リポジトリを有効にする必要があります。
|
@@ -794,7 +824,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
794
824
|
.UNINDENT
|
795
825
|
.UNINDENT
|
796
826
|
.sp
|
797
|
-
\fB
|
827
|
+
\fBノート:\fP
|
798
828
|
.INDENT 0.0
|
799
829
|
.INDENT 3.5
|
800
830
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -827,7 +857,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
827
857
|
.sp
|
828
858
|
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
829
859
|
.sp
|
830
|
-
\fB
|
860
|
+
\fBノート:\fP
|
831
861
|
.INDENT 0.0
|
832
862
|
.INDENT 3.5
|
833
863
|
groonga\-munin\-pluginsパッケージはmunin\-nodeパッケージを必要としますが、munin\-nodeパッケージはCentOSの公式リポジトリには含まれていません。munin\-nodeパッケージを \fByum\fP でインストールするために \fI\%EPEL\fP リポジトリを有効にする必要があります。
|
@@ -887,7 +917,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
887
917
|
.UNINDENT
|
888
918
|
.UNINDENT
|
889
919
|
.sp
|
890
|
-
\fB
|
920
|
+
\fBノート:\fP
|
891
921
|
.INDENT 0.0
|
892
922
|
.INDENT 3.5
|
893
923
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -920,7 +950,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
920
950
|
.sp
|
921
951
|
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
922
952
|
.sp
|
923
|
-
\fB
|
953
|
+
\fBノート:\fP
|
924
954
|
.INDENT 0.0
|
925
955
|
.INDENT 3.5
|
926
956
|
groonga\-munin\-pluginsパッケージはmunin\-nodeパッケージを必要としますが、munin\-nodeパッケージはCentOSの公式リポジトリには含まれていません。munin\-nodeパッケージを \fByum\fP でインストールするために \fI\%EPEL\fP リポジトリを有効にする必要があります。
|
@@ -984,9 +1014,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
984
1014
|
.sp
|
985
1015
|
.nf
|
986
1016
|
.ft C
|
987
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
988
|
-
% tar xvzf groonga\-4.0.
|
989
|
-
% cd groonga\-4.0.
|
1017
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1018
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1019
|
+
% cd groonga\-4.0.9
|
990
1020
|
.ft P
|
991
1021
|
.fi
|
992
1022
|
.UNINDENT
|
@@ -1031,7 +1061,7 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
1031
1061
|
.sp
|
1032
1062
|
このセクションではFedora上でGroonga関連のRPMパッケージをインストールする方法を説明します。これらのパッケージは \fByum\fP でインストールできます。
|
1033
1063
|
.sp
|
1034
|
-
\fB
|
1064
|
+
\fBノート:\fP
|
1035
1065
|
.INDENT 0.0
|
1036
1066
|
.INDENT 3.5
|
1037
1067
|
3.0.2のリリースから、Groonga関連のRPMパッケージはFedoraの公式yumリポジトリでリリースしています。GroongaのyumリポジトリのかわりにFedoraの公式リポジトリを使います。ただ、いくつか例外があって、MeCabの辞書( \fBmecab\-ipadic\fP や \fBmecab\-jumandic\fP )パッケージを使うにはGroongaのyumリポジトリを使います。
|
@@ -1066,7 +1096,7 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
1066
1096
|
.UNINDENT
|
1067
1097
|
.UNINDENT
|
1068
1098
|
.sp
|
1069
|
-
\fB
|
1099
|
+
\fBノート:\fP
|
1070
1100
|
.INDENT 0.0
|
1071
1101
|
.INDENT 3.5
|
1072
1102
|
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
@@ -1170,9 +1200,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1170
1200
|
.sp
|
1171
1201
|
.nf
|
1172
1202
|
.ft C
|
1173
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1174
|
-
% tar xvzf groonga\-4.0.
|
1175
|
-
% cd groonga\-4.0.
|
1203
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1204
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1205
|
+
% cd groonga\-4.0.9
|
1176
1206
|
.ft P
|
1177
1207
|
.fi
|
1178
1208
|
.UNINDENT
|
@@ -1236,9 +1266,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1236
1266
|
.sp
|
1237
1267
|
.nf
|
1238
1268
|
.ft C
|
1239
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1240
|
-
% gtar xvzf groonga\-4.0.
|
1241
|
-
% cd groonga\-4.0.
|
1269
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1270
|
+
% gtar xvzf groonga\-4.0.9.tar.gz
|
1271
|
+
% cd groonga\-4.0.9
|
1242
1272
|
.ft P
|
1243
1273
|
.fi
|
1244
1274
|
.UNINDENT
|
@@ -1345,7 +1375,7 @@ CコンパイラーとC++コンパイラー ( \fBgcc\fP と \fBg++\fP がサ
|
|
1345
1375
|
.IP \(bu 2
|
1346
1376
|
\fI\%zlib\fP (カラム値の圧縮用)
|
1347
1377
|
.IP \(bu 2
|
1348
|
-
\fI\%
|
1378
|
+
\fI\%LZ4\fP (カラム値の圧縮用)
|
1349
1379
|
.UNINDENT
|
1350
1380
|
.UNINDENT
|
1351
1381
|
.UNINDENT
|
@@ -1359,9 +1389,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1359
1389
|
.sp
|
1360
1390
|
.nf
|
1361
1391
|
.ft C
|
1362
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1363
|
-
% tar xvzf groonga\-4.0.
|
1364
|
-
% cd groonga\-4.0.
|
1392
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.9.tar.gz
|
1393
|
+
% tar xvzf groonga\-4.0.9.tar.gz
|
1394
|
+
% cd groonga\-4.0.9
|
1365
1395
|
% ./configure
|
1366
1396
|
% make
|
1367
1397
|
% sudo make install
|
@@ -2147,7 +2177,7 @@ column_create \-\-table Terms \-\-name blog_title \-\-flags COLUMN_INDEX|WITH_PO
|
|
2147
2177
|
.sp
|
2148
2178
|
\fItable\fP 引数は語彙表を指定し、 \fIname\fP 引数はインデックスカラムを指定します。また、 \fItype\fP 引数はインデックスの対象となるテーブルを指定し、 \fIsource\fP 引数はインデックスの対象となるカラムを指定します。COLUMN_INDEXフラグはインデックスカラムの作成を指示し、WITH_POSITIONフラグは各索引語の位置情報をインデックスに含めることを指示します。一般的な全文検索インデックスを作成したいときは、COLUMN_INDEX|WITH_POSITIONを指定してください。索引語の位置情報については、本チュートリアルでは触れません。
|
2149
2179
|
.sp
|
2150
|
-
\fB
|
2180
|
+
\fBノート:\fP
|
2151
2181
|
.INDENT 0.0
|
2152
2182
|
.INDENT 3.5
|
2153
2183
|
語彙表とインデックスカラムを作成するタイミングは、データをロードする前後のどちらでも問題ありません。データをロードした後でインデックスを作成し、さらに新しいデータをロードすることもできます。インデックスの作成を指示したタイミングでレコードが既に存在するときは、静的にインデックスを作成します。一方、インデックスを作成した後で追加されたレコードについては、動的にインデックスを更新します。
|
@@ -2944,7 +2974,7 @@ groonga [\-p PORT_NUMBER] \-d \-\-protocol http DB_PATH
|
|
2944
2974
|
.UNINDENT
|
2945
2975
|
.UNINDENT
|
2946
2976
|
.sp
|
2947
|
-
\fB
|
2977
|
+
\fBノート:\fP
|
2948
2978
|
.INDENT 0.0
|
2949
2979
|
.INDENT 3.5
|
2950
2980
|
80番ポートで待ち受けるにはroot権限が必須です。1024番以降のポート番号にはそのような制限はありません。
|
@@ -3279,7 +3309,7 @@ select \-\-table ToyBox \-\-output_columns _key,name
|
|
3279
3309
|
.sp
|
3280
3310
|
日時を表現するための型はTimeです。内部では1970年1月1日0時0分0秒を基準とする経過時間をマイクロ秒単位で表現します。符号付きの整数を用いるため、1970年以前の日時も表現することができます。内部表現はマイクロ秒単位の整数ですが、 \fB/reference/commands/load\fP コマンドおよび \fB/reference/commands/select\fP コマンドでは、経過秒数による指定・表示となります。デフォルト値は1970年1月1日0時0分0秒のことを表す0.0です。
|
3281
3311
|
.sp
|
3282
|
-
\fB
|
3312
|
+
\fBノート:\fP
|
3283
3313
|
.INDENT 0.0
|
3284
3314
|
.INDENT 3.5
|
3285
3315
|
Groonga内部では経過秒数を整数のペアで保持しています。最初の整数で秒を表現し、もう一方でマイクロ秒を表現します。それゆえGroongaでは小数で経過秒数を表示します。整数部が秒数で、小数部はマイクロ秒の値です。
|
@@ -5698,7 +5728,7 @@ select \-\-table Blog2 \-\-match_columns title \-\-query message
|
|
5698
5728
|
.UNINDENT
|
5699
5729
|
.UNINDENT
|
5700
5730
|
.sp
|
5701
|
-
\fB
|
5731
|
+
\fBノート:\fP
|
5702
5732
|
.INDENT 0.0
|
5703
5733
|
.INDENT 3.5
|
5704
5734
|
"インデックスはどちらがよい方法なのか"と疑問に思うかも知れません。それは場合によります。
|
@@ -7458,7 +7488,7 @@ groongaがGQTPだけでなく、2つのHTTPサーバーパッケージをサポ
|
|
7458
7488
|
.INDENT 0.0
|
7459
7489
|
.INDENT 3.5
|
7460
7490
|
.sp
|
7461
|
-
\fB
|
7491
|
+
\fBノート:\fP
|
7462
7492
|
.INDENT 0.0
|
7463
7493
|
.INDENT 3.5
|
7464
7494
|
In the previous versions, there is a \fBgroonga\-server\-http\fP package (simple HTTP protocol
|
@@ -7732,7 +7762,7 @@ groonga HTTPサーバーを再起動(Fedora):
|
|
7732
7762
|
.INDENT 0.0
|
7733
7763
|
.INDENT 3.5
|
7734
7764
|
.sp
|
7735
|
-
\fB
|
7765
|
+
\fBノート:\fP
|
7736
7766
|
.INDENT 0.0
|
7737
7767
|
.INDENT 3.5
|
7738
7768
|
\fBgroonga\-server\-http\fP package is the transitional package since Groonga 4.0.8.
|
@@ -7946,7 +7976,7 @@ T{
|
|
7946
7976
|
T} T{
|
7947
7977
|
○
|
7948
7978
|
T} T{
|
7949
|
-
|
7979
|
+
○
|
7950
7980
|
T}
|
7951
7981
|
_
|
7952
7982
|
T{
|
@@ -8295,6 +8325,121 @@ HTTPとmemcachedバイナリプロトコルは、枯れたプロトコルなの
|
|
8295
8325
|
.SS 実行ファイル
|
8296
8326
|
.sp
|
8297
8327
|
groongaパッケージが提供する実行ファイルについて説明します。
|
8328
|
+
.SS \fBgrndb\fP
|
8329
|
+
.SS 概要
|
8330
|
+
.sp
|
8331
|
+
\fBノート:\fP
|
8332
|
+
.INDENT 0.0
|
8333
|
+
.INDENT 3.5
|
8334
|
+
This executable command is an experimental feature.
|
8335
|
+
.UNINDENT
|
8336
|
+
.UNINDENT
|
8337
|
+
.sp
|
8338
|
+
バージョン 4.0.9 で追加.
|
8339
|
+
|
8340
|
+
.sp
|
8341
|
+
\fBgrndb\fP manages a Groonga database.
|
8342
|
+
.sp
|
8343
|
+
Here are features:
|
8344
|
+
.INDENT 0.0
|
8345
|
+
.INDENT 3.5
|
8346
|
+
.INDENT 0.0
|
8347
|
+
.IP \(bu 2
|
8348
|
+
Checks whether database is broken or not.
|
8349
|
+
.IP \(bu 2
|
8350
|
+
Recovers broken database automatically if the database is
|
8351
|
+
recoverable.
|
8352
|
+
.UNINDENT
|
8353
|
+
.UNINDENT
|
8354
|
+
.UNINDENT
|
8355
|
+
.SS 構文
|
8356
|
+
.sp
|
8357
|
+
\fBgrndb\fP requires command and database path:
|
8358
|
+
.INDENT 0.0
|
8359
|
+
.INDENT 3.5
|
8360
|
+
.sp
|
8361
|
+
.nf
|
8362
|
+
.ft C
|
8363
|
+
grndb COMMAND [OPTIONS] DATABASE_PATH
|
8364
|
+
.ft P
|
8365
|
+
.fi
|
8366
|
+
.UNINDENT
|
8367
|
+
.UNINDENT
|
8368
|
+
.sp
|
8369
|
+
Here are available commands:
|
8370
|
+
.INDENT 0.0
|
8371
|
+
.INDENT 3.5
|
8372
|
+
.INDENT 0.0
|
8373
|
+
.IP \(bu 2
|
8374
|
+
\fBcheck\fP \- Checks whether database is broken or not.
|
8375
|
+
.IP \(bu 2
|
8376
|
+
\fBrecover\fP \- Recovers database.
|
8377
|
+
.UNINDENT
|
8378
|
+
.UNINDENT
|
8379
|
+
.UNINDENT
|
8380
|
+
.SS 使い方
|
8381
|
+
.sp
|
8382
|
+
Here is an example to check the database at \fB/var/lib/groonga/db/db\fP:
|
8383
|
+
.INDENT 0.0
|
8384
|
+
.INDENT 3.5
|
8385
|
+
.sp
|
8386
|
+
.nf
|
8387
|
+
.ft C
|
8388
|
+
$ grndb check /var/lib/groonga/db/db
|
8389
|
+
.ft P
|
8390
|
+
.fi
|
8391
|
+
.UNINDENT
|
8392
|
+
.UNINDENT
|
8393
|
+
.sp
|
8394
|
+
Here is an example to recover the database at \fB/var/lib/groonga/db/db\fP:
|
8395
|
+
.INDENT 0.0
|
8396
|
+
.INDENT 3.5
|
8397
|
+
.sp
|
8398
|
+
.nf
|
8399
|
+
.ft C
|
8400
|
+
$ grndb recover /var/lib/groonga/db/db
|
8401
|
+
.ft P
|
8402
|
+
.fi
|
8403
|
+
.UNINDENT
|
8404
|
+
.UNINDENT
|
8405
|
+
.SS Commands
|
8406
|
+
.sp
|
8407
|
+
This section describes available commands.
|
8408
|
+
.SS \fBcheck\fP
|
8409
|
+
.sp
|
8410
|
+
It checks an existing Groonga database. If the database is broken,
|
8411
|
+
\fBgrndb\fP reports reasons and exits with non\-\fB0\fP exit status.
|
8412
|
+
.sp
|
8413
|
+
\fBノート:\fP
|
8414
|
+
.INDENT 0.0
|
8415
|
+
.INDENT 3.5
|
8416
|
+
You must not use this command for opened database. If the database
|
8417
|
+
is opened, this command may report wrong result.
|
8418
|
+
.UNINDENT
|
8419
|
+
.UNINDENT
|
8420
|
+
.SS \fBrecover\fP
|
8421
|
+
.sp
|
8422
|
+
It recovers an existing broken Groonga database.
|
8423
|
+
.sp
|
8424
|
+
If the database is not broken, \fBgrndb\fP does nothing and exits with
|
8425
|
+
\fB0\fP exit status.
|
8426
|
+
.sp
|
8427
|
+
If the database is broken and one or more index columns are only
|
8428
|
+
broken, \fBgrndb\fP recovers these index columns and exists with \fB0\fP
|
8429
|
+
exit status. It may take a long time for large indexed data.
|
8430
|
+
.sp
|
8431
|
+
If the database is broken and tables or data columns are broken,
|
8432
|
+
\fBgrndb\fP reports broken reasons and exits with non\-\fB0\fP exit
|
8433
|
+
status. You can know whether the database is recoverable or not by
|
8434
|
+
\fBcheck\fP command.
|
8435
|
+
.sp
|
8436
|
+
\fBノート:\fP
|
8437
|
+
.INDENT 0.0
|
8438
|
+
.INDENT 3.5
|
8439
|
+
You must not use this command for opened database. If the database
|
8440
|
+
is opened, this command may break the database.
|
8441
|
+
.UNINDENT
|
8442
|
+
.UNINDENT
|
8298
8443
|
.SS grnslap
|
8299
8444
|
.SS 名前
|
8300
8445
|
.sp
|
@@ -8418,7 +8563,7 @@ Groongaのデータベースは、groongaコマンドかCライブラリイン
|
|
8418
8563
|
.INDENT 0.0
|
8419
8564
|
.TP
|
8420
8565
|
.B \-a, \-\-address <ip/hostname>
|
8421
|
-
バージョン 1.2.2 で撤廃: Use \fI
|
8566
|
+
バージョン 1.2.2 で撤廃: Use \fI\-\-bind\-address\fP instead.
|
8422
8567
|
|
8423
8568
|
.UNINDENT
|
8424
8569
|
.INDENT 0.0
|
@@ -9286,7 +9431,7 @@ groonga_database_auto_create on | off;
|
|
9286
9431
|
\fBhttp\fP, \fBserver\fP, \fBlocation\fP
|
9287
9432
|
.UNINDENT
|
9288
9433
|
.sp
|
9289
|
-
Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が \fBon\fP で \
|
9434
|
+
Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が \fBon\fP で \fIgroonga\-database\fP に指定したGroongaのデータベースが存在しない場合は自動でGroongaのデータベースを作成します。Groongaのデータベースが存在している場合は何もしません。
|
9290
9435
|
.sp
|
9291
9436
|
もし、親ディレクトリが存在しな場合は再帰的に親ディレクトリも作成します。
|
9292
9437
|
.sp
|
@@ -10765,6 +10910,46 @@ TODO
|
|
10765
10910
|
.IP \(bu 2
|
10766
10911
|
\fBreturn_code\fP describes about return code.
|
10767
10912
|
.UNINDENT
|
10913
|
+
.SS Request ID
|
10914
|
+
.SS 概要
|
10915
|
+
.sp
|
10916
|
+
バージョン 4.0.9 で追加.
|
10917
|
+
|
10918
|
+
.sp
|
10919
|
+
You can assign ID to each request.
|
10920
|
+
.sp
|
10921
|
+
The ID can be used by canceling the request. See also
|
10922
|
+
\fB/reference/commands/request_cancel\fP for details about canceling
|
10923
|
+
a request.
|
10924
|
+
.sp
|
10925
|
+
Request ID should be managed by user. If you assign the same ID for
|
10926
|
+
some running requests, you can\(aqt cancel the request.
|
10927
|
+
.sp
|
10928
|
+
The simplest ID sequence is incremented numbers such as \fB1\fP,
|
10929
|
+
\fB2\fP , \fB\&...\fP\&.
|
10930
|
+
.sp
|
10931
|
+
A request ID is a string. The maximum request ID size is 4096 byte.
|
10932
|
+
.SS How to assign ID to request
|
10933
|
+
.sp
|
10934
|
+
All commands accept \fBrequest_id\fP parameter. You can assign ID to
|
10935
|
+
request by adding \fBrequest_id\fP parameter.
|
10936
|
+
.sp
|
10937
|
+
Here is an example to assign \fBid\-1\fP ID to a request:
|
10938
|
+
.INDENT 0.0
|
10939
|
+
.INDENT 3.5
|
10940
|
+
.sp
|
10941
|
+
.nf
|
10942
|
+
.ft C
|
10943
|
+
select Users \-\-request_id id\-1
|
10944
|
+
.ft P
|
10945
|
+
.fi
|
10946
|
+
.UNINDENT
|
10947
|
+
.UNINDENT
|
10948
|
+
.SS 参考
|
10949
|
+
.INDENT 0.0
|
10950
|
+
.IP \(bu 2
|
10951
|
+
\fB/reference/commands/request_cancel\fP
|
10952
|
+
.UNINDENT
|
10768
10953
|
.SS リターンコード
|
10769
10954
|
.SS 概要
|
10770
10955
|
.sp
|
@@ -11264,6 +11449,9 @@ check Terms.name
|
|
11264
11449
|
.UNINDENT
|
11265
11450
|
.SS \fBclearlock\fP
|
11266
11451
|
.SS 概要
|
11452
|
+
.sp
|
11453
|
+
バージョン 4.0.9 で撤廃: Use \fBlock_clear\fP instead.
|
11454
|
+
|
11267
11455
|
.sp
|
11268
11456
|
clearlock \- オブジェクトにセットされたロックを解除する
|
11269
11457
|
.sp
|
@@ -12849,94 +13037,140 @@ load \-\-table Entry \-\-input_type json
|
|
12849
13037
|
.SS 参考
|
12850
13038
|
.sp
|
12851
13039
|
\fB/reference/grn_expr\fP
|
12852
|
-
.SS \
|
13040
|
+
.SS \fBlock_clear\fP
|
12853
13041
|
.SS 概要
|
12854
13042
|
.sp
|
12855
|
-
|
13043
|
+
バージョン 4.0.9 で追加.
|
13044
|
+
|
12856
13045
|
.sp
|
12857
|
-
|
13046
|
+
\fBlock_clear\fP command clear the lock of the target object
|
13047
|
+
recursively. The target object is one of database, table and column.
|
12858
13048
|
.sp
|
12859
|
-
|
13049
|
+
\fBノート:\fP
|
13050
|
+
.INDENT 0.0
|
13051
|
+
.INDENT 3.5
|
13052
|
+
This is a dangerous command. You must not use this command while
|
13053
|
+
other process or thread is doing a write operation to the target
|
13054
|
+
object. If you do it, your database may be broken and/or your
|
13055
|
+
process may be crashed.
|
13056
|
+
.UNINDENT
|
13057
|
+
.UNINDENT
|
12860
13058
|
.SS 構文
|
13059
|
+
.sp
|
13060
|
+
\fBtruncate\fP コマンドの引数は1つだけです:
|
13061
|
+
.sp
|
13062
|
+
There is no required parameter:
|
12861
13063
|
.INDENT 0.0
|
12862
13064
|
.INDENT 3.5
|
12863
13065
|
.sp
|
12864
13066
|
.nf
|
12865
13067
|
.ft C
|
12866
|
-
|
13068
|
+
lock_clear [target_name=null]
|
12867
13069
|
.ft P
|
12868
13070
|
.fi
|
12869
13071
|
.UNINDENT
|
12870
13072
|
.UNINDENT
|
13073
|
+
.sp
|
13074
|
+
If \fBtarget_name\fP parameters is omitted, database is used for the
|
13075
|
+
target object. It means that all locks in the database are cleared.
|
12871
13076
|
.SS 使い方
|
13077
|
+
.sp
|
13078
|
+
Here is an example to clear all locks in the database:
|
12872
13079
|
.INDENT 0.0
|
12873
13080
|
.INDENT 3.5
|
12874
13081
|
.sp
|
12875
13082
|
.nf
|
12876
13083
|
.ft C
|
12877
|
-
|
12878
|
-
|
13084
|
+
\&.. groonga\-command
|
13085
|
+
\&.. include:: ../../example/reference/commands/lock_clear/database.log
|
13086
|
+
\&.. lock_clear
|
12879
13087
|
.ft P
|
12880
13088
|
.fi
|
12881
13089
|
.UNINDENT
|
12882
13090
|
.UNINDENT
|
12883
|
-
.SS 引数
|
12884
13091
|
.sp
|
12885
|
-
\
|
13092
|
+
Here is an example to clear locks of \fBEntry\fP table and \fBEntry\fP
|
13093
|
+
table columns:
|
12886
13094
|
.INDENT 0.0
|
12887
13095
|
.INDENT 3.5
|
12888
|
-
|
12889
|
-
.
|
12890
|
-
.
|
12891
|
-
|
12892
|
-
|
12893
|
-
|
12894
|
-
|
12895
|
-
|
12896
|
-
|
12897
|
-
|
12898
|
-
debug
|
13096
|
+
.sp
|
13097
|
+
.nf
|
13098
|
+
.ft C
|
13099
|
+
\&.. groonga\-command
|
13100
|
+
\&.. include:: ../../example/reference/commands/lock_clear/table.log
|
13101
|
+
\&.. table_create Entry TABLE_NO_KEY
|
13102
|
+
\&.. column_create Entry body COLUMN_SCALAR Text
|
13103
|
+
\&.. lock_clear Entry
|
13104
|
+
.ft P
|
13105
|
+
.fi
|
12899
13106
|
.UNINDENT
|
12900
13107
|
.UNINDENT
|
13108
|
+
.sp
|
13109
|
+
Here is an example to clear the lock of \fBSite.title\fP column:
|
13110
|
+
.INDENT 0.0
|
13111
|
+
.INDENT 3.5
|
13112
|
+
.sp
|
13113
|
+
.nf
|
13114
|
+
.ft C
|
13115
|
+
\&.. groonga\-command
|
13116
|
+
\&.. include:: ../../example/reference/commands/lock_clear/column.log
|
13117
|
+
\&.. table_create Site TABLE_HASH_KEY ShortText
|
13118
|
+
\&.. column_create Site title COLUMN_SCALAR ShortText
|
13119
|
+
\&.. lock_clear Site.title
|
13120
|
+
.ft P
|
13121
|
+
.fi
|
12901
13122
|
.UNINDENT
|
12902
13123
|
.UNINDENT
|
13124
|
+
.SS 引数
|
13125
|
+
.sp
|
13126
|
+
このセクションではすべての引数について説明します。
|
13127
|
+
.SS \fBtarget_name\fP
|
13128
|
+
.sp
|
13129
|
+
It specifies the name of table or column.
|
13130
|
+
.sp
|
13131
|
+
If you don\(aqt specify it, database is used for the target object.
|
13132
|
+
.sp
|
13133
|
+
The default is none. It means that the target object is database.
|
12903
13134
|
.SS 戻り値
|
12904
13135
|
.INDENT 0.0
|
12905
13136
|
.INDENT 3.5
|
12906
13137
|
.sp
|
12907
13138
|
.nf
|
12908
13139
|
.ft C
|
12909
|
-
[
|
13140
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
12910
13141
|
.ft P
|
12911
13142
|
.fi
|
12912
13143
|
.UNINDENT
|
12913
13144
|
.UNINDENT
|
12914
13145
|
.sp
|
12915
|
-
\
|
13146
|
+
\fBHEADER\fP
|
12916
13147
|
.INDENT 0.0
|
12917
13148
|
.INDENT 3.5
|
12918
|
-
|
13149
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
12919
13150
|
.UNINDENT
|
12920
13151
|
.UNINDENT
|
12921
|
-
.SS 参考
|
12922
13152
|
.sp
|
12923
|
-
\
|
12924
|
-
|
12925
|
-
.
|
13153
|
+
\fBSUCCEEDED_OR_NOT\fP
|
13154
|
+
.INDENT 0.0
|
13155
|
+
.INDENT 3.5
|
13156
|
+
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
13157
|
+
.UNINDENT
|
13158
|
+
.UNINDENT
|
13159
|
+
.SS \fBlog_level\fP
|
12926
13160
|
.SS 概要
|
12927
13161
|
.sp
|
12928
|
-
|
13162
|
+
log_level \- ログ出力レベルの設定
|
12929
13163
|
.sp
|
12930
|
-
|
13164
|
+
Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準>入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
12931
13165
|
.sp
|
12932
|
-
|
13166
|
+
log_levelは、ログ出力レベルを設定します。
|
12933
13167
|
.SS 構文
|
12934
13168
|
.INDENT 0.0
|
12935
13169
|
.INDENT 3.5
|
12936
13170
|
.sp
|
12937
13171
|
.nf
|
12938
13172
|
.ft C
|
12939
|
-
|
13173
|
+
log_level level
|
12940
13174
|
.ft P
|
12941
13175
|
.fi
|
12942
13176
|
.UNINDENT
|
@@ -12947,7 +13181,7 @@ log_put level message
|
|
12947
13181
|
.sp
|
12948
13182
|
.nf
|
12949
13183
|
.ft C
|
12950
|
-
|
13184
|
+
log_level warning
|
12951
13185
|
[true]
|
12952
13186
|
.ft P
|
12953
13187
|
.fi
|
@@ -12973,13 +13207,6 @@ debug
|
|
12973
13207
|
.UNINDENT
|
12974
13208
|
.UNINDENT
|
12975
13209
|
.UNINDENT
|
12976
|
-
.sp
|
12977
|
-
\fBmessage\fP
|
12978
|
-
.INDENT 0.0
|
12979
|
-
.INDENT 3.5
|
12980
|
-
出力する文字列を指定します。
|
12981
|
-
.UNINDENT
|
12982
|
-
.UNINDENT
|
12983
13210
|
.SS 戻り値
|
12984
13211
|
.INDENT 0.0
|
12985
13212
|
.INDENT 3.5
|
@@ -13000,26 +13227,23 @@ debug
|
|
13000
13227
|
.UNINDENT
|
13001
13228
|
.SS 参考
|
13002
13229
|
.sp
|
13003
|
-
\
|
13230
|
+
\fBlog_put\fP
|
13004
13231
|
\fBlog_reopen\fP
|
13005
|
-
.SS \
|
13232
|
+
.SS \fBlog_put\fP
|
13006
13233
|
.SS 概要
|
13007
13234
|
.sp
|
13008
|
-
|
13009
|
-
.sp
|
13010
|
-
Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
|
13011
|
-
入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13235
|
+
log_put \- ログ出力
|
13012
13236
|
.sp
|
13013
|
-
|
13237
|
+
groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入>力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13014
13238
|
.sp
|
13015
|
-
|
13239
|
+
log_putは、ログにmessageを出力します。
|
13016
13240
|
.SS 構文
|
13017
13241
|
.INDENT 0.0
|
13018
13242
|
.INDENT 3.5
|
13019
13243
|
.sp
|
13020
13244
|
.nf
|
13021
13245
|
.ft C
|
13022
|
-
|
13246
|
+
log_put level message
|
13023
13247
|
.ft P
|
13024
13248
|
.fi
|
13025
13249
|
.UNINDENT
|
@@ -13030,27 +13254,110 @@ log_reopen
|
|
13030
13254
|
.sp
|
13031
13255
|
.nf
|
13032
13256
|
.ft C
|
13033
|
-
|
13034
|
-
|
13257
|
+
log_put ERROR ****MESSAGE****
|
13035
13258
|
[true]
|
13036
13259
|
.ft P
|
13037
13260
|
.fi
|
13038
13261
|
.UNINDENT
|
13039
13262
|
.UNINDENT
|
13040
|
-
.SS
|
13263
|
+
.SS 引数
|
13264
|
+
.sp
|
13265
|
+
\fBlevel\fP
|
13041
13266
|
.INDENT 0.0
|
13042
|
-
.
|
13043
|
-
|
13044
|
-
|
13045
|
-
.
|
13046
|
-
|
13047
|
-
|
13048
|
-
|
13049
|
-
|
13267
|
+
.INDENT 3.5
|
13268
|
+
設定するログ出力レベルの値を以下のいずれかで指定します。
|
13269
|
+
.INDENT 0.0
|
13270
|
+
.INDENT 3.5
|
13271
|
+
EMERG
|
13272
|
+
ALERT
|
13273
|
+
CRIT
|
13274
|
+
error
|
13275
|
+
warning
|
13276
|
+
notice
|
13277
|
+
info
|
13278
|
+
debug
|
13279
|
+
.UNINDENT
|
13280
|
+
.UNINDENT
|
13281
|
+
.UNINDENT
|
13050
13282
|
.UNINDENT
|
13051
|
-
.SS 引数
|
13052
13283
|
.sp
|
13053
|
-
|
13284
|
+
\fBmessage\fP
|
13285
|
+
.INDENT 0.0
|
13286
|
+
.INDENT 3.5
|
13287
|
+
出力する文字列を指定します。
|
13288
|
+
.UNINDENT
|
13289
|
+
.UNINDENT
|
13290
|
+
.SS 戻り値
|
13291
|
+
.INDENT 0.0
|
13292
|
+
.INDENT 3.5
|
13293
|
+
.sp
|
13294
|
+
.nf
|
13295
|
+
.ft C
|
13296
|
+
[成功かどうかのフラグ]
|
13297
|
+
.ft P
|
13298
|
+
.fi
|
13299
|
+
.UNINDENT
|
13300
|
+
.UNINDENT
|
13301
|
+
.sp
|
13302
|
+
\fB成功かどうかのフラグ\fP
|
13303
|
+
.INDENT 0.0
|
13304
|
+
.INDENT 3.5
|
13305
|
+
エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
|
13306
|
+
.UNINDENT
|
13307
|
+
.UNINDENT
|
13308
|
+
.SS 参考
|
13309
|
+
.sp
|
13310
|
+
\fBlog_level\fP
|
13311
|
+
\fBlog_reopen\fP
|
13312
|
+
.SS \fBlog_reopen\fP
|
13313
|
+
.SS 概要
|
13314
|
+
.sp
|
13315
|
+
log_reopen \- ログファイルの再読み込み
|
13316
|
+
.sp
|
13317
|
+
Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
|
13318
|
+
入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13319
|
+
.sp
|
13320
|
+
log_reopenは、ログファイルを再読み込みします。
|
13321
|
+
.sp
|
13322
|
+
現在、デフォルトのログ関数を用いている場合のみに対応しています。
|
13323
|
+
.SS 構文
|
13324
|
+
.INDENT 0.0
|
13325
|
+
.INDENT 3.5
|
13326
|
+
.sp
|
13327
|
+
.nf
|
13328
|
+
.ft C
|
13329
|
+
log_reopen
|
13330
|
+
.ft P
|
13331
|
+
.fi
|
13332
|
+
.UNINDENT
|
13333
|
+
.UNINDENT
|
13334
|
+
.SS 使い方
|
13335
|
+
.INDENT 0.0
|
13336
|
+
.INDENT 3.5
|
13337
|
+
.sp
|
13338
|
+
.nf
|
13339
|
+
.ft C
|
13340
|
+
log_reopen
|
13341
|
+
|
13342
|
+
[true]
|
13343
|
+
.ft P
|
13344
|
+
.fi
|
13345
|
+
.UNINDENT
|
13346
|
+
.UNINDENT
|
13347
|
+
.SS log_reopenを用いたログのローテーション
|
13348
|
+
.INDENT 0.0
|
13349
|
+
.IP 1. 3
|
13350
|
+
ログファイルをmvなどで移動する。
|
13351
|
+
ログはmvで移動された先のファイルに書き込まれる。
|
13352
|
+
.IP 2. 3
|
13353
|
+
log_reopenコマンドを実行する。
|
13354
|
+
.IP 3. 3
|
13355
|
+
既存のログファイル名と同じファイル名で、新たなログファイルが作成される。
|
13356
|
+
今後のログは新たなログファイルに書き込まれる。
|
13357
|
+
.UNINDENT
|
13358
|
+
.SS 引数
|
13359
|
+
.sp
|
13360
|
+
ありません。
|
13054
13361
|
.SS 戻り値
|
13055
13362
|
.INDENT 0.0
|
13056
13363
|
.INDENT 3.5
|
@@ -13295,12 +13602,12 @@ normalizer_list
|
|
13295
13602
|
.sp
|
13296
13603
|
.nf
|
13297
13604
|
.ft C
|
13298
|
-
|
13605
|
+
normalizer_list
|
13299
13606
|
# [
|
13300
13607
|
# [
|
13301
13608
|
# 0,
|
13302
|
-
#
|
13303
|
-
# 0.
|
13609
|
+
# 1337566253.89858,
|
13610
|
+
# 0.000355720520019531
|
13304
13611
|
# ],
|
13305
13612
|
# [
|
13306
13613
|
# {
|
@@ -13425,7 +13732,7 @@ TODO: write me
|
|
13425
13732
|
.sp
|
13426
13733
|
同じデータベースに対しては1つのプラグインについて一度だけ \fIregister\(ga\fP コマンドを実行すれば十分です。これは、登録されたプラグイン情報はデータベースに記録されているからです。 \fBgroonga\fP プロセスを再起動したときは、 \fBregister\fP コマンドを実行しなくてもすでに登録されているプラグインを読み込みます。
|
13427
13734
|
.sp
|
13428
|
-
\fB
|
13735
|
+
\fBノート:\fP
|
13429
13736
|
.INDENT 0.0
|
13430
13737
|
.INDENT 3.5
|
13431
13738
|
今のところ、登録したプラグインは削除できません。
|
@@ -13481,6 +13788,188 @@ register query_expanders/tsv
|
|
13481
13788
|
\fBregister\fP が失敗すると、エラーの詳細は \fBHEADER\fP に含まれます。
|
13482
13789
|
.sp
|
13483
13790
|
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13791
|
+
.SS \fBrequest_cancel\fP
|
13792
|
+
.SS 概要
|
13793
|
+
.sp
|
13794
|
+
\fBノート:\fP
|
13795
|
+
.INDENT 0.0
|
13796
|
+
.INDENT 3.5
|
13797
|
+
\fBrequest_cancel\fP command is an experimental feature.
|
13798
|
+
.UNINDENT
|
13799
|
+
.UNINDENT
|
13800
|
+
.sp
|
13801
|
+
バージョン 4.0.9 で追加.
|
13802
|
+
|
13803
|
+
.sp
|
13804
|
+
\fBrequest_cancel\fP command cancels a running request.
|
13805
|
+
.sp
|
13806
|
+
There are some limitations:
|
13807
|
+
.INDENT 0.0
|
13808
|
+
.INDENT 3.5
|
13809
|
+
.INDENT 0.0
|
13810
|
+
.IP \(bu 2
|
13811
|
+
Request ID must be managed by user. (You need to assign unique key
|
13812
|
+
for each request.)
|
13813
|
+
.IP \(bu 2
|
13814
|
+
Cancel request may be ignored. (You can send \fBrequest_cancel\fP
|
13815
|
+
command multiple times for the same request ID.)
|
13816
|
+
.IP \(bu 2
|
13817
|
+
Only multithreading type Groonga server is supported. (You can use
|
13818
|
+
with \fB/reference/executables/groonga\fP based server but can\(aqt
|
13819
|
+
use with \fB/reference/executables/groonga\-httpd\fP\&.)
|
13820
|
+
.UNINDENT
|
13821
|
+
.UNINDENT
|
13822
|
+
.UNINDENT
|
13823
|
+
.sp
|
13824
|
+
See \fB/reference/command/request_id\fP about request ID.
|
13825
|
+
.sp
|
13826
|
+
If request is canceled, the canceled request has \fB\-5\fP
|
13827
|
+
(\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
13828
|
+
\fB/reference/command/return_code\fP\&.
|
13829
|
+
.SS 構文
|
13830
|
+
.sp
|
13831
|
+
\fBrequest_cancel\fP command takes only one parameter.
|
13832
|
+
.sp
|
13833
|
+
The required parameter is only \fBid\fP:
|
13834
|
+
.INDENT 0.0
|
13835
|
+
.INDENT 3.5
|
13836
|
+
.sp
|
13837
|
+
.nf
|
13838
|
+
.ft C
|
13839
|
+
request_cancel id
|
13840
|
+
.ft P
|
13841
|
+
.fi
|
13842
|
+
.UNINDENT
|
13843
|
+
.UNINDENT
|
13844
|
+
.SS 使い方
|
13845
|
+
.sp
|
13846
|
+
Here is an example of \fBrequest_cancel\fP command:
|
13847
|
+
.INDENT 0.0
|
13848
|
+
.INDENT 3.5
|
13849
|
+
.sp
|
13850
|
+
.nf
|
13851
|
+
.ft C
|
13852
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
13853
|
+
# The above "select" takes a long time...
|
13854
|
+
# Point: "request_id=unique\-id\-1"
|
13855
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
13856
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
13857
|
+
# Point: "id=unique\-id\-1"
|
13858
|
+
.ft P
|
13859
|
+
.fi
|
13860
|
+
.UNINDENT
|
13861
|
+
.UNINDENT
|
13862
|
+
.sp
|
13863
|
+
Assume that the first \fBselect\fP command takes a long
|
13864
|
+
time. \fBunique\-id\-1\fP request ID is assigned to the \fBselect\fP command
|
13865
|
+
by \fBrequest_id=unique\-id\-1\fP parameter.
|
13866
|
+
.sp
|
13867
|
+
The second \fBrequest_cancel\fP command passes \fBid=unique\-id\-1\fP
|
13868
|
+
parameter. \fBunique\-id\-1\fP is the same request ID passed in \fBselect\fP
|
13869
|
+
command.
|
13870
|
+
.sp
|
13871
|
+
The \fBselect\fP command may not be canceled immediately. And the cancel
|
13872
|
+
request may be ignored.
|
13873
|
+
.sp
|
13874
|
+
You can send cancel request for the same request ID multiple times. If
|
13875
|
+
the target request is canceled or finished, \fB"canceled"\fP value is
|
13876
|
+
changed to \fBfalse\fP from \fBtrue\fP:
|
13877
|
+
.INDENT 0.0
|
13878
|
+
.INDENT 3.5
|
13879
|
+
.sp
|
13880
|
+
.nf
|
13881
|
+
.ft C
|
13882
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
13883
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
13884
|
+
# "select" is still running... ("canceled" is "true")
|
13885
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
13886
|
+
[[...], {"id": "unique\-id\-1", "canceled": true}]
|
13887
|
+
# "select" is still running... ("canceled" is "true")
|
13888
|
+
$ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
13889
|
+
[[...], {"id": "unique\-id\-1", "canceled": false}]
|
13890
|
+
# "select" is canceled or finished. ("canceled" is "false")
|
13891
|
+
.ft P
|
13892
|
+
.fi
|
13893
|
+
.UNINDENT
|
13894
|
+
.UNINDENT
|
13895
|
+
.sp
|
13896
|
+
If the \fBselect\fP command is canceled, response of the \fBselect\fP
|
13897
|
+
command has \fB\-5\fP (\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
13898
|
+
\fB/reference/command/return_code\fP:
|
13899
|
+
.INDENT 0.0
|
13900
|
+
.INDENT 3.5
|
13901
|
+
.sp
|
13902
|
+
.nf
|
13903
|
+
.ft C
|
13904
|
+
$ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_id=unique\-id\-1\(aq &
|
13905
|
+
[[\-5, ...], ...]
|
13906
|
+
.ft P
|
13907
|
+
.fi
|
13908
|
+
.UNINDENT
|
13909
|
+
.UNINDENT
|
13910
|
+
.SS 引数
|
13911
|
+
.sp
|
13912
|
+
This section describes parameters of \fBrequest_cancel\fP\&.
|
13913
|
+
.SS 必須引数
|
13914
|
+
.sp
|
13915
|
+
There is required parameter, \fBid\fP\&.
|
13916
|
+
.SS \fBid\fP
|
13917
|
+
.sp
|
13918
|
+
It specifies the ID for the target request.
|
13919
|
+
.SS 戻り値
|
13920
|
+
.sp
|
13921
|
+
\fBrequest_cancel\fP command returns the result of the cancel request:
|
13922
|
+
.INDENT 0.0
|
13923
|
+
.INDENT 3.5
|
13924
|
+
.sp
|
13925
|
+
.nf
|
13926
|
+
.ft C
|
13927
|
+
[
|
13928
|
+
HEADER,
|
13929
|
+
{
|
13930
|
+
"id": ID,
|
13931
|
+
"canceled": CANCEL_REQUEST_IS_ACCEPTED_OR_NOT
|
13932
|
+
}
|
13933
|
+
]
|
13934
|
+
.ft P
|
13935
|
+
.fi
|
13936
|
+
.UNINDENT
|
13937
|
+
.UNINDENT
|
13938
|
+
.sp
|
13939
|
+
\fBHEADER\fP
|
13940
|
+
.INDENT 0.0
|
13941
|
+
.INDENT 3.5
|
13942
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13943
|
+
.UNINDENT
|
13944
|
+
.UNINDENT
|
13945
|
+
.sp
|
13946
|
+
\fBID\fP
|
13947
|
+
.INDENT 0.0
|
13948
|
+
.INDENT 3.5
|
13949
|
+
The ID of the target request.
|
13950
|
+
.UNINDENT
|
13951
|
+
.UNINDENT
|
13952
|
+
.sp
|
13953
|
+
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
13954
|
+
.INDENT 0.0
|
13955
|
+
.INDENT 3.5
|
13956
|
+
If the cancel request is accepted, this is \fBtrue\fP, otherwise this
|
13957
|
+
is \fBfalse\fP\&.
|
13958
|
+
.sp
|
13959
|
+
Note that "cancel request is accepted" doesn\(aqt means that "the
|
13960
|
+
target request is canceled". It just means "cancel request is
|
13961
|
+
notified to the target request but the cancel request may be ignored
|
13962
|
+
by the target request".
|
13963
|
+
.sp
|
13964
|
+
If request assigned with the request ID doesn\(aqt exist, this is
|
13965
|
+
\fBfalse\fP\&.
|
13966
|
+
.UNINDENT
|
13967
|
+
.UNINDENT
|
13968
|
+
.SS 参考
|
13969
|
+
.INDENT 0.0
|
13970
|
+
.IP \(bu 2
|
13971
|
+
\fB/reference/command/request_id\fP
|
13972
|
+
.UNINDENT
|
13484
13973
|
.SS \fBruby_eval\fP
|
13485
13974
|
.SS 概要
|
13486
13975
|
.sp
|
@@ -14073,7 +14562,7 @@ select Nonexistent
|
|
14073
14562
|
# [
|
14074
14563
|
# "grn_select",
|
14075
14564
|
# "proc.c",
|
14076
|
-
#
|
14565
|
+
# 1108
|
14077
14566
|
# ]
|
14078
14567
|
# ]
|
14079
14568
|
# ]
|
@@ -14731,7 +15220,7 @@ select Entries \-\-match_columns content \-\-query groo \-\-match_escalation_thr
|
|
14731
15220
|
2番目の \fBselect\fP コマンドも \fBEntries\fP テーブルから \fBcontent\fP カラムの値に \fBgroo\fP という単語を含むレコードを検索します。そして、この \fBselect\fP コマンドもマッチしません。この場合、マッチしたレコード数(0)が \fBmatch_escalation_threshold\fP (\-1)より大きいので、検索方法をエスカレーションしません。そして、1つもレコードがマッチしません。
|
14732
15221
|
.SS \fBquery_expansion\fP
|
14733
15222
|
.sp
|
14734
|
-
Deprecated. Use \
|
15223
|
+
Deprecated. Use \fIquery\-expander\fP instead.
|
14735
15224
|
.SS \fBquery_flags\fP
|
14736
15225
|
.sp
|
14737
15226
|
\fBquery\fP パラメーターの構文をカスタマイズします。デフォルトでは \fBquery\fP パラメーターでカラムの値を更新することはできません。しかし、 \fBquery_flags\fP に \fBALLOW_COLUMN|ALLOW_UPDATE\fP を指定することで \fBquery\fP でカラムの値を更新することができます。
|
@@ -16359,14 +16848,14 @@ status
|
|
16359
16848
|
# 0.000355720520019531
|
16360
16849
|
# ],
|
16361
16850
|
# {
|
16362
|
-
# "uptime":
|
16851
|
+
# "uptime": 0,
|
16363
16852
|
# "max_command_version": 2,
|
16364
|
-
# "n_queries":
|
16853
|
+
# "n_queries": 0,
|
16365
16854
|
# "cache_hit_rate": 0.0,
|
16366
|
-
# "version": "4.0.
|
16367
|
-
# "alloc_count":
|
16855
|
+
# "version": "4.0.8\-82\-g721d5c7",
|
16856
|
+
# "alloc_count": 181,
|
16368
16857
|
# "command_version": 1,
|
16369
|
-
# "starttime":
|
16858
|
+
# "starttime": 1419775504,
|
16370
16859
|
# "default_command_version": 1
|
16371
16860
|
# }
|
16372
16861
|
# ]
|
@@ -16411,7 +16900,7 @@ groongaプロセスが起動してから経過した秒数を返します。
|
|
16411
16900
|
.UNINDENT
|
16412
16901
|
.SS \fBsuggest\fP
|
16413
16902
|
.sp
|
16414
|
-
\fB
|
16903
|
+
\fBノート:\fP
|
16415
16904
|
.INDENT 0.0
|
16416
16905
|
.INDENT 3.5
|
16417
16906
|
サジェスト機能の仕様はまだ確定していません。仕様は変更される可能性があります。
|
@@ -17172,7 +17661,7 @@ T}
|
|
17172
17661
|
_
|
17173
17662
|
.TE
|
17174
17663
|
.sp
|
17175
|
-
\fB
|
17664
|
+
\fBノート:\fP
|
17176
17665
|
.INDENT 0.0
|
17177
17666
|
.INDENT 3.5
|
17178
17667
|
Groonga 2.1.0から \fBKEY_NORMALIZE\fP フラグは非推奨になりました。代わりに、 \fBnormalizer\fP オプションに \fBNormalizerAuto\fP を指定してください。
|
@@ -18664,25 +19153,33 @@ _
|
|
18664
19153
|
.SS \fBtruncate\fP
|
18665
19154
|
.SS 概要
|
18666
19155
|
.sp
|
18667
|
-
\fBtruncate\fP
|
19156
|
+
\fBtruncate\fP command deletes all records from specified table or all
|
19157
|
+
values from specified column.
|
18668
19158
|
.SS 構文
|
18669
19159
|
.sp
|
18670
19160
|
\fBtruncate\fP コマンドの引数は1つだけです:
|
18671
19161
|
.sp
|
18672
|
-
\
|
19162
|
+
The required parameter is only \fBtarget_name\fP:
|
18673
19163
|
.INDENT 0.0
|
18674
19164
|
.INDENT 3.5
|
18675
19165
|
.sp
|
18676
19166
|
.nf
|
18677
19167
|
.ft C
|
18678
|
-
truncate
|
19168
|
+
truncate target_name
|
18679
19169
|
.ft P
|
18680
19170
|
.fi
|
18681
19171
|
.UNINDENT
|
18682
19172
|
.UNINDENT
|
19173
|
+
.sp
|
19174
|
+
バージョン 4.0.9 で追加: \fBtarget_name\fP parameter can be used since 4.0.9. You need to use
|
19175
|
+
\fBtable\fP parameter for 4.0.8 or earlier.
|
19176
|
+
.sp
|
19177
|
+
For backward compatibility, \fBtruncate\fP command accepts \fBtable\fP
|
19178
|
+
parameter. But it should not be used for newly written code.
|
19179
|
+
|
18683
19180
|
.SS 使い方
|
18684
19181
|
.sp
|
18685
|
-
|
19182
|
+
Here is a simple example of \fBtruncate\fP command against a table.
|
18686
19183
|
.sp
|
18687
19184
|
実行例:
|
18688
19185
|
.INDENT 0.0
|
@@ -18692,6 +19189,8 @@ truncate table
|
|
18692
19189
|
.ft C
|
18693
19190
|
table_create Users TABLE_PAT_KEY ShortText
|
18694
19191
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19192
|
+
column_create Users score COLUMN_SCALAR Int32
|
19193
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18695
19194
|
load \-\-table Users
|
18696
19195
|
[
|
18697
19196
|
{"_key": "Alice", "score": 2},
|
@@ -18719,19 +19218,26 @@ select Users
|
|
18719
19218
|
# [
|
18720
19219
|
# "_key",
|
18721
19220
|
# "ShortText"
|
19221
|
+
# ],
|
19222
|
+
# [
|
19223
|
+
# "score",
|
19224
|
+
# "Int32"
|
18722
19225
|
# ]
|
18723
19226
|
# ],
|
18724
19227
|
# [
|
18725
19228
|
# 1,
|
18726
|
-
# "Alice"
|
19229
|
+
# "Alice",
|
19230
|
+
# 2
|
18727
19231
|
# ],
|
18728
19232
|
# [
|
18729
19233
|
# 2,
|
18730
|
-
# "Bob"
|
19234
|
+
# "Bob",
|
19235
|
+
# 0
|
18731
19236
|
# ],
|
18732
19237
|
# [
|
18733
19238
|
# 3,
|
18734
|
-
# "Carlos"
|
19239
|
+
# "Carlos",
|
19240
|
+
# \-1
|
18735
19241
|
# ]
|
18736
19242
|
# ]
|
18737
19243
|
# ]
|
@@ -18758,6 +19264,10 @@ select Users
|
|
18758
19264
|
# [
|
18759
19265
|
# "_key",
|
18760
19266
|
# "ShortText"
|
19267
|
+
# ],
|
19268
|
+
# [
|
19269
|
+
# "score",
|
19270
|
+
# "Int32"
|
18761
19271
|
# ]
|
18762
19272
|
# ]
|
18763
19273
|
# ]
|
@@ -18767,16 +19277,132 @@ select Users
|
|
18767
19277
|
.fi
|
18768
19278
|
.UNINDENT
|
18769
19279
|
.UNINDENT
|
19280
|
+
.sp
|
19281
|
+
Here is a simple example of \fBtruncate\fP command against a column.
|
19282
|
+
.sp
|
19283
|
+
実行例:
|
19284
|
+
.INDENT 0.0
|
19285
|
+
.INDENT 3.5
|
19286
|
+
.sp
|
19287
|
+
.nf
|
19288
|
+
.ft C
|
19289
|
+
table_create Users TABLE_PAT_KEY ShortText
|
19290
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19291
|
+
column_create Users score COLUMN_SCALAR Int32
|
19292
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19293
|
+
load \-\-table Users
|
19294
|
+
[
|
19295
|
+
{"_key": "Alice", "score": 2},
|
19296
|
+
{"_key": "Bob", "score": 0},
|
19297
|
+
{"_key": "Carlos", "score": \-1}
|
19298
|
+
]
|
19299
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
19300
|
+
select Users
|
19301
|
+
# [
|
19302
|
+
# [
|
19303
|
+
# 0,
|
19304
|
+
# 1337566253.89858,
|
19305
|
+
# 0.000355720520019531
|
19306
|
+
# ],
|
19307
|
+
# [
|
19308
|
+
# [
|
19309
|
+
# [
|
19310
|
+
# 3
|
19311
|
+
# ],
|
19312
|
+
# [
|
19313
|
+
# [
|
19314
|
+
# "_id",
|
19315
|
+
# "UInt32"
|
19316
|
+
# ],
|
19317
|
+
# [
|
19318
|
+
# "_key",
|
19319
|
+
# "ShortText"
|
19320
|
+
# ],
|
19321
|
+
# [
|
19322
|
+
# "score",
|
19323
|
+
# "Int32"
|
19324
|
+
# ]
|
19325
|
+
# ],
|
19326
|
+
# [
|
19327
|
+
# 1,
|
19328
|
+
# "Alice",
|
19329
|
+
# 2
|
19330
|
+
# ],
|
19331
|
+
# [
|
19332
|
+
# 2,
|
19333
|
+
# "Bob",
|
19334
|
+
# 0
|
19335
|
+
# ],
|
19336
|
+
# [
|
19337
|
+
# 3,
|
19338
|
+
# "Carlos",
|
19339
|
+
# \-1
|
19340
|
+
# ]
|
19341
|
+
# ]
|
19342
|
+
# ]
|
19343
|
+
# ]
|
19344
|
+
truncate Users.score
|
19345
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19346
|
+
select Users
|
19347
|
+
# [
|
19348
|
+
# [
|
19349
|
+
# 0,
|
19350
|
+
# 1337566253.89858,
|
19351
|
+
# 0.000355720520019531
|
19352
|
+
# ],
|
19353
|
+
# [
|
19354
|
+
# [
|
19355
|
+
# [
|
19356
|
+
# 3
|
19357
|
+
# ],
|
19358
|
+
# [
|
19359
|
+
# [
|
19360
|
+
# "_id",
|
19361
|
+
# "UInt32"
|
19362
|
+
# ],
|
19363
|
+
# [
|
19364
|
+
# "_key",
|
19365
|
+
# "ShortText"
|
19366
|
+
# ],
|
19367
|
+
# [
|
19368
|
+
# "score",
|
19369
|
+
# "Int32"
|
19370
|
+
# ]
|
19371
|
+
# ],
|
19372
|
+
# [
|
19373
|
+
# 1,
|
19374
|
+
# "Alice",
|
19375
|
+
# 0
|
19376
|
+
# ],
|
19377
|
+
# [
|
19378
|
+
# 2,
|
19379
|
+
# "Bob",
|
19380
|
+
# 0
|
19381
|
+
# ],
|
19382
|
+
# [
|
19383
|
+
# 3,
|
19384
|
+
# "Carlos",
|
19385
|
+
# 0
|
19386
|
+
# ]
|
19387
|
+
# ]
|
19388
|
+
# ]
|
19389
|
+
# ]
|
19390
|
+
.ft P
|
19391
|
+
.fi
|
19392
|
+
.UNINDENT
|
19393
|
+
.UNINDENT
|
18770
19394
|
.SS 引数
|
18771
19395
|
.sp
|
18772
19396
|
このセクションでは \fBtruncate\fP の引数について説明します。
|
18773
19397
|
.SS 必須引数
|
18774
19398
|
.sp
|
18775
|
-
\
|
18776
|
-
.SS \
|
19399
|
+
There is required parameter, \fBtarget_name\fP\&.
|
19400
|
+
.SS \fBtarget_name\fP
|
18777
19401
|
.sp
|
18778
|
-
|
19402
|
+
It specifies the name of table or column.
|
18779
19403
|
.SS 戻り値
|
19404
|
+
.sp
|
19405
|
+
\fBtruncate\fP command returns whether truncation is succeeded or not:
|
18780
19406
|
.INDENT 0.0
|
18781
19407
|
.INDENT 3.5
|
18782
19408
|
.sp
|
@@ -19243,7 +19869,7 @@ table_create Dictionary TABLE_HASH_KEY ShortText \-\-normalizer NormalizerAuto
|
|
19243
19869
|
.UNINDENT
|
19244
19870
|
.UNINDENT
|
19245
19871
|
.sp
|
19246
|
-
\fB
|
19872
|
+
\fBノート:\fP
|
19247
19873
|
.INDENT 0.0
|
19248
19874
|
.INDENT 3.5
|
19249
19875
|
Groonga 2.0.9以前には \fBtable_create\fP に \fB\-\-normalizer\fP オプションはありません。代わりに \fBKEY_NORMALIZE\fP フラグを使っていました。
|
@@ -19369,50 +19995,14 @@ table_create NFKC51Lexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerNFK
|
|
19369
19995
|
.UNINDENT
|
19370
19996
|
.SS 追加のノーマライザー
|
19371
19997
|
.sp
|
19372
|
-
|
19998
|
+
There are additional normalizers:
|
19373
19999
|
.INDENT 0.0
|
19374
20000
|
.INDENT 3.5
|
19375
20001
|
.INDENT 0.0
|
19376
20002
|
.IP \(bu 2
|
19377
|
-
\
|
19378
|
-
.IP \(bu 2
|
19379
|
-
\fBNormalizerMySQLUnicodeCI\fP
|
19380
|
-
.IP \(bu 2
|
19381
|
-
\fBNormalizerMySQLUnicodeCIExceptKanaCIKanaWithVoicedSoundMark\fP
|
19382
|
-
.UNINDENT
|
19383
|
-
.UNINDENT
|
19384
|
-
.UNINDENT
|
19385
|
-
.sp
|
19386
|
-
\fBgroonga\-normalizer\-mysql\fP はGroongaのプラグインです。MySQL互換のノーマライザーを提供します。ノーマライザー \fBNormalizerMySQLGeneralCI\fP に対応するのは \fButf8mb4_general_ci\fP です。
|
19387
|
-
.sp
|
19388
|
-
事前に \fBnormalizers/mysql\fP プラグインを登録する必要があります。
|
19389
|
-
.sp
|
19390
|
-
実行例:
|
19391
|
-
.INDENT 0.0
|
19392
|
-
.INDENT 3.5
|
19393
|
-
.sp
|
19394
|
-
.nf
|
19395
|
-
.ft C
|
19396
|
-
register normalizers/mysql
|
19397
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19398
|
-
.ft P
|
19399
|
-
.fi
|
20003
|
+
\fIgroonga\-normalizer\-mysql <https://github.com/groonga/groonga\-normalizer\-mysql>_\fP
|
19400
20004
|
.UNINDENT
|
19401
20005
|
.UNINDENT
|
19402
|
-
.sp
|
19403
|
-
以下は \fBNormalizerMySQLGeneralCI\fP ノーマライザーを使う例です。
|
19404
|
-
.sp
|
19405
|
-
実行例:
|
19406
|
-
.INDENT 0.0
|
19407
|
-
.INDENT 3.5
|
19408
|
-
.sp
|
19409
|
-
.nf
|
19410
|
-
.ft C
|
19411
|
-
table_create MySQLGeneralLexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerMySQLGeneralCI
|
19412
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19413
|
-
.ft P
|
19414
|
-
.fi
|
19415
|
-
.UNINDENT
|
19416
20006
|
.UNINDENT
|
19417
20007
|
.SS 参考
|
19418
20008
|
.INDENT 0.0
|
@@ -19469,11 +20059,13 @@ Groongaにはトークナイズされたトークンに所定の処理を行う
|
|
19469
20059
|
.sp
|
19470
20060
|
.nf
|
19471
20061
|
.ft C
|
20062
|
+
register token_filters/stop_word
|
20063
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19472
20064
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
19473
20065
|
\-\-default_tokenizer TokenBigram \e
|
19474
20066
|
\-\-normalizer NormalizerAuto \e
|
19475
20067
|
\-\-token_filters TokenFilterStopWord
|
19476
|
-
# [[0,
|
20068
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19477
20069
|
.ft P
|
19478
20070
|
.fi
|
19479
20071
|
.UNINDENT
|
@@ -19504,38 +20096,38 @@ table_create Terms TABLE_PAT_KEY ShortText \e
|
|
19504
20096
|
.nf
|
19505
20097
|
.ft C
|
19506
20098
|
register token_filters/stop_word
|
19507
|
-
# [[0,
|
20099
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19508
20100
|
table_create Memos TABLE_NO_KEY
|
19509
|
-
# [[0,
|
20101
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19510
20102
|
column_create Memos content COLUMN_SCALAR ShortText
|
19511
|
-
# [[0,
|
20103
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19512
20104
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
19513
20105
|
\-\-default_tokenizer TokenBigram \e
|
19514
20106
|
\-\-normalizer NormalizerAuto \e
|
19515
20107
|
\-\-token_filters TokenFilterStopWord
|
19516
|
-
# [[0,
|
20108
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19517
20109
|
column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
|
19518
|
-
# [[0,
|
20110
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19519
20111
|
column_create Terms is_stop_word COLUMN_SCALAR Bool
|
19520
|
-
# [[0,
|
20112
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19521
20113
|
load \-\-table Terms
|
19522
20114
|
[
|
19523
20115
|
{"_key": "and", "is_stop_word": true}
|
19524
20116
|
]
|
19525
|
-
# [[0,
|
20117
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
19526
20118
|
load \-\-table Memos
|
19527
20119
|
[
|
19528
20120
|
{"content": "Hello"},
|
19529
20121
|
{"content": "Hello and Good\-bye"},
|
19530
20122
|
{"content": "Good\-bye"}
|
19531
20123
|
]
|
19532
|
-
# [[0,
|
20124
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
19533
20125
|
select Memos \-\-match_columns content \-\-query "Hello and"
|
19534
20126
|
# [
|
19535
20127
|
# [
|
19536
20128
|
# 0,
|
19537
|
-
#
|
19538
|
-
# 0.
|
20129
|
+
# 1337566253.89858,
|
20130
|
+
# 0.000355720520019531
|
19539
20131
|
# ],
|
19540
20132
|
# [
|
19541
20133
|
# [
|
@@ -19584,31 +20176,31 @@ select Memos \-\-match_columns content \-\-query "Hello and"
|
|
19584
20176
|
.nf
|
19585
20177
|
.ft C
|
19586
20178
|
register token_filters/stem
|
19587
|
-
# [[0,
|
20179
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19588
20180
|
table_create Memos TABLE_NO_KEY
|
19589
|
-
# [[0,
|
20181
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19590
20182
|
column_create Memos content COLUMN_SCALAR ShortText
|
19591
|
-
# [[0,
|
20183
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19592
20184
|
table_create Terms TABLE_PAT_KEY ShortText \e
|
19593
20185
|
\-\-default_tokenizer TokenBigram \e
|
19594
20186
|
\-\-normalizer NormalizerAuto \e
|
19595
20187
|
\-\-token_filters TokenFilterStem
|
19596
|
-
# [[0,
|
20188
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19597
20189
|
column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
|
19598
|
-
# [[0,
|
20190
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19599
20191
|
load \-\-table Memos
|
19600
20192
|
[
|
19601
20193
|
{"content": "I develop Groonga"},
|
19602
20194
|
{"content": "I\(aqm developing Groonga"},
|
19603
20195
|
{"content": "I developed Groonga"}
|
19604
20196
|
]
|
19605
|
-
# [[0,
|
20197
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
19606
20198
|
select Memos \-\-match_columns content \-\-query "develops"
|
19607
20199
|
# [
|
19608
20200
|
# [
|
19609
20201
|
# 0,
|
19610
|
-
#
|
19611
|
-
# 0.
|
20202
|
+
# 1337566253.89858,
|
20203
|
+
# 0.000355720520019531
|
19612
20204
|
# ],
|
19613
20205
|
# [
|
19614
20206
|
# [
|
@@ -19983,7 +20575,7 @@ load \-\-table Entries
|
|
19983
20575
|
.sp
|
19984
20576
|
クォート構文は \fB"..."\fP または \fB\(aq...\(aq\fP です。 \fB"..."\fP クォート構文中では \fB"\fP を \fB\e"\fP にエスケープする必要があります。 \fB\(aq...\(aq\fP クォート構文中では \fB\(aq\fP を \fB\e\(aq\fP にエスケープする必要があります。例えば、 \fBAlice\(aqs brother (Bob)\fP は \fB"Alice\(aqs brother (Bob)"\fP あるいは \fB\(aqAlice\e\(aqs brother (Bob)\(aq\fP とクォートします。
|
19985
20577
|
.sp
|
19986
|
-
\fB
|
20578
|
+
\fBノート:\fP
|
19987
20579
|
.INDENT 0.0
|
19988
20580
|
.INDENT 3.5
|
19989
20581
|
注意しなければならない大事な点があります。\(aq\(aq\e\(aq\(aq (バックスラッシュ)はコマンドラインシェルが解釈します。それゆえ例えば \(aq\(aq(\(aq\(aq それ自体を検索したいならシェルでは二重にエスケープ (\(aq\(aq\e\e(\(aq\(aq) しなければなりません。コマンドラインシェルは \(aq\(aq\e\e(\(aq\(aq を \(aq\(aq\e(\(aq\(aq と解釈してからgroongaに渡します。groongaは \(aq\(aq\e(\(aq\(aq を \(aq\(aq(\(aq\(aq とみなし、\(aq\(aq(\(aq\(aq 自体をデータベースから検索します。もし意図した検索がgroongaで行えないなら、特別な文字を正しくエスケープしているか確認します。
|
@@ -20351,7 +20943,7 @@ select Entries \-\-query \(aq_key:^Goo\(aq
|
|
20351
20943
|
.sp
|
20352
20944
|
カラムの値を高速に後方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルを \fBKEY_WITH_SIS\fP フラグ付きのパトリシアトライテーブル( \fBTABLE_PAT_KEY\fP )にしなければいけません。 \fBKEY_WITH_SIS\fP フラグ付きのパトリシアトライテーブル( \fBTABLE_PAT_KEY\fP )の \fB_key\fP 擬似カラムの値も高速に後方一致検索できます。 \fB_key\fP にはインデックスを作成する必要はありません。 \fB_key\fP ベースの高速な後方一致検索よりもカラムベースの高速な後方一致検索を使うことをおすすめします。 \fB_key\fP ベースの高速な後方一致検索は自動的に登録された部分文字列も返ってきます。(TODO: 後方一致検索に関するドキュメントを書いてここからリンクを張る。)
|
20353
20945
|
.sp
|
20354
|
-
\fB
|
20946
|
+
\fBノート:\fP
|
20355
20947
|
.INDENT 0.0
|
20356
20948
|
.INDENT 3.5
|
20357
20949
|
高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。
|
@@ -21250,7 +21842,7 @@ load \-\-table Entries
|
|
21250
21842
|
NULLのリテラルは \fBnull\fP です。GroongaはNULL値をサポートしてませんが、NULLリテラルをサポートしています。
|
21251
21843
|
.SS 時間
|
21252
21844
|
.sp
|
21253
|
-
\fB
|
21845
|
+
\fBノート:\fP
|
21254
21846
|
.INDENT 0.0
|
21255
21847
|
.INDENT 3.5
|
21256
21848
|
これはgroonga独自の記法です。
|
@@ -21266,7 +21858,7 @@ NULLのリテラルは \fBnull\fP です。GroongaはNULL値をサポートし
|
|
21266
21858
|
浮動小数点数での時間記法はUTC時間で1970年1月1日0時0分0秒からの経過秒数と経過マイクロ秒数を使います。例えば、 \fB1343011270.436218\fP はISO 8601形式では \fB2012\-07\-23T02:41:10.346218Z\fP になります。
|
21267
21859
|
.SS 座標値
|
21268
21860
|
.sp
|
21269
|
-
\fB
|
21861
|
+
\fBノート:\fP
|
21270
21862
|
.INDENT 0.0
|
21271
21863
|
.INDENT 3.5
|
21272
21864
|
これはgroonga独自の記法です。
|
@@ -23511,7 +24103,7 @@ select Entries \-\-filter \(aq_key @^ "Goo"\(aq \-\-output_columns _key
|
|
23511
24103
|
.sp
|
23512
24104
|
カラムの値を高速に後方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルを \fBKEY_WITH_SIS\fP フラグ付きのパトリシアトライテーブル( \fBTABLE_PAT_KEY\fP )にしなければいけません。 \fBKEY_WITH_SIS\fP フラグ付きのパトリシアトライテーブル( \fBTABLE_PAT_KEY\fP )の \fB_key\fP 擬似カラムの値も高速に後方一致検索できます。 \fB_key\fP にはインデックスを作成する必要はありません。 \fB_key\fP ベースの高速な後方一致検索よりもカラムベースの高速な後方一致検索を使うことをおすすめします。 \fB_key\fP ベースの高速な後方一致検索は自動的に登録された部分文字列も返ってきます。(TODO: 後方一致検索に関するドキュメントを書いてここからリンクを張る。)
|
23513
24105
|
.sp
|
23514
|
-
\fB
|
24106
|
+
\fBノート:\fP
|
23515
24107
|
.INDENT 0.0
|
23516
24108
|
.INDENT 3.5
|
23517
24109
|
高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。
|
@@ -24065,7 +24657,7 @@ geo_distance(point1, point2, approximate_type)
|
|
24065
24657
|
.sp
|
24066
24658
|
\fBgeo_distance\fP 関数は \fBpoint1\fP と \fBpoint2\fP の座標値から二点間の距離(近似値)を計算します。
|
24067
24659
|
.sp
|
24068
|
-
\fB
|
24660
|
+
\fBノート:\fP
|
24069
24661
|
.INDENT 0.0
|
24070
24662
|
.INDENT 3.5
|
24071
24663
|
Groongaは三つの組み込み関数を距離の計算のために提供しています。 \fBgeo_distance()\fP 、 \fBgeo_distance2()\fP 、 \fBgeo_distance3()\fP です。これらの違いは距離の計算アルゴリズムにあります。 \fBgeo_distance2()\fP と \fBgeo_distance3()\fP はバージョン1.2.9より非推奨となりました。 \fBgeo_distance2(point1, point2)\fP の代りに \fBgeo_distance(point1, point2, "sphere")\fP を使用してください。 \fBgeo_distance3(point1, point2)\fP の代りに \fBgeo_distance(point1, point2, "ellipsoid")\fP を使用してください。
|
@@ -24290,7 +24882,7 @@ GeoPointと座標については \fB/reference/types\fP を参照してくださ
|
|
24290
24882
|
.UNINDENT
|
24291
24883
|
.UNINDENT
|
24292
24884
|
.sp
|
24293
|
-
\fB
|
24885
|
+
\fBノート:\fP
|
24294
24886
|
.INDENT 0.0
|
24295
24887
|
.INDENT 3.5
|
24296
24888
|
\fBgeo_distance\fP には制限があります。 \fBsphere\fP や \fBellipsoid\fP を近似方法として選択した場合、子午線や日付変更線、赤道といった境界をまたぐ距離の計算を行うことができません。この制限は \fBrectangle\fP を近似方法として選択した場合にはありません。これはGroongaの実装上の一時的な制限ですが、将来的には修正される予定です。
|
@@ -24491,14 +25083,14 @@ select Geo \-\-output_columns distance \-\-scorer \(aqdistance = geo_distance("1
|
|
24491
25083
|
.sp
|
24492
25084
|
このサンプルは日付変更線をまたいだ場合の距離を示します。 \fBgeo_distance("143660000x419009000", "135960000x\-440760000", "rectangle")\fP は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。
|
24493
25085
|
.sp
|
24494
|
-
\fB
|
25086
|
+
\fBノート:\fP
|
24495
25087
|
.INDENT 0.0
|
24496
25088
|
.INDENT 3.5
|
24497
25089
|
\fBgeo_distance\fP は方形近似をデフォルトとして使用します。 \fBapproximate_type\fP を省略すると \fBgeo_distance\fP は \fBrectangle\fP が指定されたものとして振舞います。
|
24498
25090
|
.UNINDENT
|
24499
25091
|
.UNINDENT
|
24500
25092
|
.sp
|
24501
|
-
\fB
|
25093
|
+
\fBノート:\fP
|
24502
25094
|
.INDENT 0.0
|
24503
25095
|
.INDENT 3.5
|
24504
25096
|
\fBgeo_distance\fP は \fBapproximate_type\fP の値が \fB"rectangle"\fP であるときに \fBpoint1\fP の値として座標を表す文字列を受けつけます。もし \fBsphere\fP や \fBellipsoid\fP と一緒に座標を表す文字列を \fBpoint1\fP へ指定した場合、 \fBgeo_distance\fP は距離の値として0を返します。
|
@@ -27310,10 +27902,10 @@ works. Query log is just for query processing.
|
|
27310
27902
|
.SS Process log
|
27311
27903
|
.sp
|
27312
27904
|
Process log is enabled by default. Log path can be
|
27313
|
-
customized by \
|
27905
|
+
customized by \fI\-\-log\-path\fP option. Each log has its
|
27314
27906
|
log level. If a log is smaller than groonga process\(aq log
|
27315
27907
|
level, it\(aqs not logged. Log level can be customized by
|
27316
|
-
\
|
27908
|
+
\fI\-l\fP or \fBcommands/log_level\fP\&.
|
27317
27909
|
.SS フォーマット
|
27318
27910
|
.sp
|
27319
27911
|
Process log uses the following format:
|
@@ -27453,7 +28045,7 @@ log opened.
|
|
27453
28045
|
.SS Query log
|
27454
28046
|
.sp
|
27455
28047
|
Query log is disabled by default. It can be enabled by
|
27456
|
-
\
|
28048
|
+
\fI\-\-query\-log\-path\fP option.
|
27457
28049
|
.SS フォーマット
|
27458
28050
|
.sp
|
27459
28051
|
Query log uses the following formats:
|
@@ -27735,7 +28327,7 @@ You must have memory and swap that is larger than database.
|
|
27735
28327
|
このセクションではLinux上で引数をカスタマイズする方法について説明します。
|
27736
28328
|
.SS nofile
|
27737
28329
|
.sp
|
27738
|
-
You can relax the \
|
28330
|
+
You can relax the \fItuning\-max\-n\-open\-files\fP parameter by creating
|
27739
28331
|
a configuration file \fB/etc/security/limits.d/groonga.conf\fP that has
|
27740
28332
|
the following content:
|
27741
28333
|
.INDENT 0.0
|
@@ -27769,7 +28361,7 @@ The configuration is applied after your groonga service is restarted
|
|
27769
28361
|
or re\-login as your groonga user.
|
27770
28362
|
.SS vm.overcommit_memory
|
27771
28363
|
.sp
|
27772
|
-
This is \
|
28364
|
+
This is \fItuning\-memory\-usage\fP related parameter. You can handle a
|
27773
28365
|
database that is larger than your memory and swap by setting
|
27774
28366
|
\fBvm.overcommit_memory\fP kernel parameter to 1. 1 means that Groonga
|
27775
28367
|
can always map database files onto memory. It is no problem until
|
@@ -27805,7 +28397,7 @@ vm.overcommit_memory = 1
|
|
27805
28397
|
.UNINDENT
|
27806
28398
|
.SS vm.max_map_count
|
27807
28399
|
.sp
|
27808
|
-
This is \
|
28400
|
+
This is \fItuning\-memory\-usage\fP related parameter. You can handle a
|
27809
28401
|
16GiB or more larger size database by increasing \fBvm.max_map_count\fP
|
27810
28402
|
kernel parameter. The parameter limits the max number of memory maps.
|
27811
28403
|
.sp
|
@@ -27893,7 +28485,7 @@ lock until \fBtimeout\fP times, the tries are failed.
|
|
27893
28485
|
.B grn_rc grn_set_lock_timeout(int\fI\ timeout\fP)
|
27894
28486
|
ロックタイムアウトを設定します。
|
27895
28487
|
.sp
|
27896
|
-
ロックタイムアウトについては、 \
|
28488
|
+
ロックタイムアウトについては、 \fBgrn_get_lock_timeout()\fP を参照してください。
|
27897
28489
|
.sp
|
27898
28490
|
\fBtimeout\fP にはいくつか特別な値があります。
|
27899
28491
|
.INDENT 7.0
|
@@ -27921,7 +28513,7 @@ lock until \fBtimeout\fP times, the tries are failed.
|
|
27921
28513
|
.SS \fBgrn_cache\fP
|
27922
28514
|
.SS 概要
|
27923
28515
|
.sp
|
27924
|
-
\fB
|
28516
|
+
\fBノート:\fP
|
27925
28517
|
.INDENT 0.0
|
27926
28518
|
.INDENT 3.5
|
27927
28519
|
このAPIは実験的です。
|
@@ -27930,7 +28522,7 @@ lock until \fBtimeout\fP times, the tries are failed.
|
|
27930
28522
|
.sp
|
27931
28523
|
\fBgrn_cache\fP は \fB/reference/commands/select\fP コマンドのレスポンスを保持するためのデータストアです。一般的なオブジェクトのキャッシュとして使うものではありません。あくまで \fB/reference/commands/select\fP コマンドのためのものです。
|
27932
28524
|
.sp
|
27933
|
-
\
|
28525
|
+
\fBgrn_cache_current_set()\fP を使うことで現在のキャッシュオブジェクトを変更することができます。 \fB/reference/commands/select\fP コマンドのレスポンスが内部的に用いられます。
|
27934
28526
|
.sp
|
27935
28527
|
\fB/reference/commands/select\fP コマンドは、一つのグローバルキャッシュオブジェクトを利用します。もし複数のデータベースをオープンしていた場合、そのキャッシュオブジェクトは共有されます。これは重要な問題です。
|
27936
28528
|
.sp
|
@@ -27983,7 +28575,7 @@ grn_cache_close()\(gaによって解放される。
|
|
27983
28575
|
.UNINDENT
|
27984
28576
|
.TP
|
27985
28577
|
.B 戻り値
|
27986
|
-
新しいキャッシュオブジェクトの作成に成功した場合は \fBNULL\fP 以外の値を返します。このキャッシュオブジェクトは \
|
28578
|
+
新しいキャッシュオブジェクトの作成に成功した場合は \fBNULL\fP 以外の値を返します。このキャッシュオブジェクトは \fBgrn_cache_close()\fP で解放されなければなりません。
|
27987
28579
|
.UNINDENT
|
27988
28580
|
.UNINDENT
|
27989
28581
|
.INDENT 0.0
|
@@ -28115,7 +28707,7 @@ id_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_ID, GRN_COLUMN_NAME_ID_LEN);
|
|
28115
28707
|
.INDENT 0.0
|
28116
28708
|
.TP
|
28117
28709
|
.B GRN_COLUMN_NAME_ID_LEN
|
28118
|
-
It returns the byte size of \
|
28710
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_ID\fP\&.
|
28119
28711
|
.sp
|
28120
28712
|
3.1.1から。
|
28121
28713
|
.UNINDENT
|
@@ -28124,7 +28716,7 @@ It returns the byte size of \fI\%GRN_COLUMN_NAME_ID\fP\&.
|
|
28124
28716
|
.B GRN_COLUMN_NAME_KEY
|
28125
28717
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_key\fP\&.
|
28126
28718
|
.sp
|
28127
|
-
It is useful to use with \
|
28719
|
+
It is useful to use with \fBGRN_COLUMN_NAME_KEY_LEN\fP like
|
28128
28720
|
the following:
|
28129
28721
|
.INDENT 7.0
|
28130
28722
|
.INDENT 3.5
|
@@ -28143,7 +28735,7 @@ key_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_KEY, GRN_COLUMN_NAME_KEY_LEN);
|
|
28143
28735
|
.INDENT 0.0
|
28144
28736
|
.TP
|
28145
28737
|
.B GRN_COLUMN_NAME_KEY_LEN
|
28146
|
-
It returns the byte size of \
|
28738
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_KEY\fP\&.
|
28147
28739
|
.sp
|
28148
28740
|
3.1.1から。
|
28149
28741
|
.UNINDENT
|
@@ -28152,7 +28744,7 @@ It returns the byte size of \fI\%GRN_COLUMN_NAME_KEY\fP\&.
|
|
28152
28744
|
.B GRN_COLUMN_NAME_VALUE
|
28153
28745
|
It returns the name of \fB/reference/columns/pseudo\fP \fB_value\fP\&.
|
28154
28746
|
.sp
|
28155
|
-
It is useful to use with \
|
28747
|
+
It is useful to use with \fBGRN_COLUMN_NAME_VALUE_LEN\fP like
|
28156
28748
|
the following:
|
28157
28749
|
.INDENT 7.0
|
28158
28750
|
.INDENT 3.5
|
@@ -28171,7 +28763,7 @@ value_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_VALUE, GRN_COLUMN_NAME_VALUE_LEN
|
|
28171
28763
|
.INDENT 0.0
|
28172
28764
|
.TP
|
28173
28765
|
.B GRN_COLUMN_NAME_VALUE_LEN
|
28174
|
-
It returns the byte size of \
|
28766
|
+
It returns the byte size of \fBGRN_COLUMN_NAME_VALUE\fP\&.
|
28175
28767
|
.sp
|
28176
28768
|
3.1.1から。
|
28177
28769
|
.UNINDENT
|
@@ -28241,7 +28833,7 @@ nsubrecs_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_NSUBRECS, GRN_COLUMN_NAME_NSU
|
|
28241
28833
|
.INDENT 0.0
|
28242
28834
|
.TP
|
28243
28835
|
.B GRN_COLUMN_NAME_NSUBRECS_LEN
|
28244
|
-
\
|
28836
|
+
\fBGRN_COLUMN_NAME_NSUBRECS\fP のサイズをバイト数で返す。
|
28245
28837
|
.sp
|
28246
28838
|
3.1.1から。
|
28247
28839
|
.UNINDENT
|
@@ -28378,6 +28970,36 @@ columnに張られているindexのうち、opの操作を実行可能なもの
|
|
28378
28970
|
.UNINDENT
|
28379
28971
|
.UNINDENT
|
28380
28972
|
.UNINDENT
|
28973
|
+
.INDENT 0.0
|
28974
|
+
.TP
|
28975
|
+
.B grn_rc grn_column_truncate(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *column\fP)
|
28976
|
+
.sp
|
28977
|
+
\fBノート:\fP
|
28978
|
+
.INDENT 7.0
|
28979
|
+
.INDENT 3.5
|
28980
|
+
This is a dangerous API. You must not use this API when other
|
28981
|
+
thread or process accesses the target column. If you use this
|
28982
|
+
API against shared column, the process that accesses the column
|
28983
|
+
may be broken and the column may be broken.
|
28984
|
+
.UNINDENT
|
28985
|
+
.UNINDENT
|
28986
|
+
.sp
|
28987
|
+
バージョン 4.0.9 で追加.
|
28988
|
+
|
28989
|
+
.sp
|
28990
|
+
Clears all values in the column.
|
28991
|
+
.INDENT 7.0
|
28992
|
+
.TP
|
28993
|
+
.B パラメタ
|
28994
|
+
.INDENT 7.0
|
28995
|
+
.IP \(bu 2
|
28996
|
+
\fBcolumn\fP \-\- The column to be truncated.
|
28997
|
+
.UNINDENT
|
28998
|
+
.TP
|
28999
|
+
.B 戻り値
|
29000
|
+
成功時は \fBGRN_SUCCESS\fP 、エラー時は \fBGRN_SUCCESS\fP 以外。
|
29001
|
+
.UNINDENT
|
29002
|
+
.UNINDENT
|
28381
29003
|
.SS \fBgrn_command_version\fP
|
28382
29004
|
.SS 概要
|
28383
29005
|
.sp
|
@@ -28423,7 +29045,7 @@ TODO...
|
|
28423
29045
|
.SS \fBgrn_content_type\fP
|
28424
29046
|
.SS 概要
|
28425
29047
|
.sp
|
28426
|
-
\
|
29048
|
+
\fBgrn_content_type\fP shows input type and output
|
28427
29049
|
type. Currently, it is used only for output type.
|
28428
29050
|
.sp
|
28429
29051
|
Normally, you don\(aqt need to use this type. It is used internally in
|
@@ -28456,7 +29078,7 @@ Groonga. If you don\(aqt have MessagePack library, you can\(aqt use this type.
|
|
28456
29078
|
.SS \fBgrn_ctx\fP
|
28457
29079
|
.SS 概要
|
28458
29080
|
.sp
|
28459
|
-
\
|
29081
|
+
\fBgrn_ctx\fP は最も重要なオブジェクトです。\fBgrn_ctx\fP はその時点の情報を保持します:
|
28460
29082
|
.INDENT 0.0
|
28461
29083
|
.IP \(bu 2
|
28462
29084
|
最後に発生したエラー。
|
@@ -28468,7 +29090,7 @@ Groonga. If you don\(aqt have MessagePack library, you can\(aqt use this type.
|
|
28468
29090
|
デフォルトのコマンドバージョン。( \fB/reference/command/command_version\fP )を参照のこと。
|
28469
29091
|
.UNINDENT
|
28470
29092
|
.sp
|
28471
|
-
\
|
29093
|
+
\fBgrn_ctx\fP は基盤となる機能を提供します:
|
28472
29094
|
.INDENT 0.0
|
28473
29095
|
.IP \(bu 2
|
28474
29096
|
メモリ管理機能
|
@@ -28476,9 +29098,9 @@ Groonga. If you don\(aqt have MessagePack library, you can\(aqt use this type.
|
|
28476
29098
|
ロギング機能
|
28477
29099
|
.UNINDENT
|
28478
29100
|
.sp
|
28479
|
-
ほとんどのAPIは \
|
29101
|
+
ほとんどのAPIは \fBgrn_ctx\fP を最初の引数にとります。
|
28480
29102
|
.sp
|
28481
|
-
同じ \
|
29103
|
+
同じ \fBgrn_ctx\fP を二つ以上のスレッドからは扱えません。\fBgrn_ctx\fP はスレッドごとに作成する必要があります。一つのスレッドでは \fBgrn_ctx\fP を二つ以上扱えますが、通常はその必要はありません。
|
28482
29104
|
.SS 実行例:
|
28483
29105
|
.sp
|
28484
29106
|
TODO...
|
@@ -28543,11 +29165,11 @@ grn_ctx_close()\(gaを呼び出さなければならない。
|
|
28543
29165
|
.INDENT 0.0
|
28544
29166
|
.TP
|
28545
29167
|
.B grn_ctx *grn_ctx_open(int\fI\ flags\fP)
|
28546
|
-
初期化された \
|
29168
|
+
初期化された \fBgrn_ctx\fP オブジェクトを返します。
|
28547
29169
|
.sp
|
28548
|
-
\
|
28549
|
-
どちらで初期化された \
|
28550
|
-
\
|
29170
|
+
\fBgrn_ctx_init()\fP で初期化された \fBgrn_ctx\fP オブジェクトは構造体の実体をAPIの呼び元で確保するのに対して、 \fBgrn_ctx_open()\fP ではGroongaライブラリの内部で、実体を確保します。
|
29171
|
+
どちらで初期化された \fBgrn_ctx\fP も、 \fBgrn_ctx_fin()\fP で解放できます。
|
29172
|
+
\fBgrn_ctx_open()\fP で確保した \fBgrn_ctx\fP 構造体に関しては、\fBgrn_ctx_fin()\fP で解放した後に、その \fBgrn_ctx\fP で作成した \fBgrn_obj\fP を \fBgrn_obj_close()\fP によって解放しても問題ありません。
|
28551
29173
|
.INDENT 7.0
|
28552
29174
|
.TP
|
28553
29175
|
.B パラメタ
|
@@ -28557,7 +29179,7 @@ grn_ctx_close()\(gaを呼び出さなければならない。
|
|
28557
29179
|
.UNINDENT
|
28558
29180
|
.TP
|
28559
29181
|
.B 戻り値
|
28560
|
-
初期化された \
|
29182
|
+
初期化された \fBgrn_ctx\fP オブジェクトを返します。
|
28561
29183
|
.UNINDENT
|
28562
29184
|
.UNINDENT
|
28563
29185
|
.INDENT 0.0
|
@@ -28822,6 +29444,77 @@ objの属するdbを返します。
|
|
28822
29444
|
.UNINDENT
|
28823
29445
|
.UNINDENT
|
28824
29446
|
.UNINDENT
|
29447
|
+
.INDENT 0.0
|
29448
|
+
.TP
|
29449
|
+
.B grn_rc grn_db_recover(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *db\fP)
|
29450
|
+
.sp
|
29451
|
+
\fBノート:\fP
|
29452
|
+
.INDENT 7.0
|
29453
|
+
.INDENT 3.5
|
29454
|
+
This is an experimental API.
|
29455
|
+
.UNINDENT
|
29456
|
+
.UNINDENT
|
29457
|
+
.sp
|
29458
|
+
\fBノート:\fP
|
29459
|
+
.INDENT 7.0
|
29460
|
+
.INDENT 3.5
|
29461
|
+
This is a dangerous API. You must not use this API when other
|
29462
|
+
thread or process opens the target database. If you use this API
|
29463
|
+
against shared database, the database may be broken.
|
29464
|
+
.UNINDENT
|
29465
|
+
.UNINDENT
|
29466
|
+
.sp
|
29467
|
+
バージョン 4.0.9 で追加.
|
29468
|
+
|
29469
|
+
.sp
|
29470
|
+
Checks the passed database and recovers it if it is broken and it
|
29471
|
+
can be recovered.
|
29472
|
+
.sp
|
29473
|
+
This API uses lock existence for checking whether the database is
|
29474
|
+
broken or not.
|
29475
|
+
.sp
|
29476
|
+
Here are recoverable cases:
|
29477
|
+
.INDENT 7.0
|
29478
|
+
.INDENT 3.5
|
29479
|
+
.INDENT 0.0
|
29480
|
+
.IP \(bu 2
|
29481
|
+
Index column is broken. The index column must have source column.
|
29482
|
+
.UNINDENT
|
29483
|
+
.UNINDENT
|
29484
|
+
.UNINDENT
|
29485
|
+
.sp
|
29486
|
+
Here are unrecoverable cases:
|
29487
|
+
.INDENT 7.0
|
29488
|
+
.INDENT 3.5
|
29489
|
+
.INDENT 0.0
|
29490
|
+
.IP \(bu 2
|
29491
|
+
Object name management feature is broken.
|
29492
|
+
.IP \(bu 2
|
29493
|
+
Table is broken.
|
29494
|
+
.IP \(bu 2
|
29495
|
+
Data column is broken.
|
29496
|
+
.UNINDENT
|
29497
|
+
.UNINDENT
|
29498
|
+
.UNINDENT
|
29499
|
+
.sp
|
29500
|
+
Object name management feature is used for managing table name,
|
29501
|
+
column name and so on. If the feature is broken, the database can\(aqt
|
29502
|
+
be recovered. Please re\-create the database from backup.
|
29503
|
+
.sp
|
29504
|
+
Table and data column can be recovered by removing an existence
|
29505
|
+
lock and re\-add data.
|
29506
|
+
.INDENT 7.0
|
29507
|
+
.TP
|
29508
|
+
.B パラメタ
|
29509
|
+
.INDENT 7.0
|
29510
|
+
.IP \(bu 2
|
29511
|
+
\fBdb\fP \-\- The database to be recovered.
|
29512
|
+
.UNINDENT
|
29513
|
+
.TP
|
29514
|
+
.B 戻り値
|
29515
|
+
成功時は \fBGRN_SUCCESS\fP 、エラー時は \fBGRN_SUCCESS\fP 以外。
|
29516
|
+
.UNINDENT
|
29517
|
+
.UNINDENT
|
28825
29518
|
.SS \fBgrn_encoding\fP
|
28826
29519
|
.SS 概要
|
28827
29520
|
.sp
|
@@ -29584,7 +30277,7 @@ objに指定されたカラムについて、offsetに指定されたレコー
|
|
29584
30277
|
.sp
|
29585
30278
|
取得できた件数が戻り値として返されます。エラーが発生した場合は \-1 が返されます。
|
29586
30279
|
.sp
|
29587
|
-
\fB
|
30280
|
+
\fBノート:\fP
|
29588
30281
|
.INDENT 7.0
|
29589
30282
|
.INDENT 3.5
|
29590
30283
|
値が固定長であるカラムのみがobjに指定できます。範囲内のIDに対応するレコードが有効であるとは限りません。delete操作を実行したことのあるテーブルに対しては、\fBgrn_table_at()\fP などによって各レコードの存否を別途確認しなければなりません。
|
@@ -29624,27 +30317,27 @@ objのIDに対応するレコードの値を更新します。対応するレコ
|
|
29624
30317
|
.INDENT 2.0
|
29625
30318
|
.INDENT 2.0
|
29626
30319
|
.IP \(bu 2
|
29627
|
-
\
|
30320
|
+
\fBGRN_OBJ_SET\fP
|
29628
30321
|
.IP \(bu 2
|
29629
|
-
\
|
30322
|
+
\fBGRN_OBJ_INCR\fP
|
29630
30323
|
.IP \(bu 2
|
29631
|
-
\
|
30324
|
+
\fBGRN_OBJ_DECR\fP
|
29632
30325
|
.UNINDENT
|
29633
30326
|
.INDENT 2.0
|
29634
30327
|
.IP \(bu 2
|
29635
|
-
\
|
30328
|
+
\fBGRN_OBJ_APPEND\fP
|
29636
30329
|
.IP \(bu 2
|
29637
|
-
\
|
30330
|
+
\fBGRN_OBJ_PREPEND\fP
|
29638
30331
|
.IP \(bu 2
|
29639
|
-
\
|
30332
|
+
\fBGRN_OBJ_GET\fP
|
29640
30333
|
.UNINDENT
|
29641
30334
|
.INDENT 2.0
|
29642
30335
|
.IP \(bu 2
|
29643
|
-
\
|
30336
|
+
\fBGRN_OBJ_COMPARE\fP
|
29644
30337
|
.IP \(bu 2
|
29645
|
-
\
|
30338
|
+
\fBGRN_OBJ_LOCK\fP
|
29646
30339
|
.IP \(bu 2
|
29647
|
-
\
|
30340
|
+
\fBGRN_OBJ_UNLOCK\fP
|
29648
30341
|
.UNINDENT
|
29649
30342
|
.UNINDENT
|
29650
30343
|
|
@@ -29693,7 +30386,7 @@ objのIDに対応するレコードの値を更新します。対応するレコ
|
|
29693
30386
|
.INDENT 0.0
|
29694
30387
|
.TP
|
29695
30388
|
.B GRN_OBJ_LOCK
|
29696
|
-
当該レコードをロックします。\
|
30389
|
+
当該レコードをロックします。\fBGRN_OBJ_COMPARE\fP と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。
|
29697
30390
|
.UNINDENT
|
29698
30391
|
.INDENT 0.0
|
29699
30392
|
.TP
|
@@ -29735,7 +30428,7 @@ ctxが使用するdbにおいてobjに対応する名前をnameに更新しま
|
|
29735
30428
|
.B grn_rc grn_obj_close(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *obj\fP)
|
29736
30429
|
一時的なobjectであるobjをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。
|
29737
30430
|
.sp
|
29738
|
-
永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい \
|
30431
|
+
永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい \fBgrn_obj_unlink()\fP を用いるべきです。
|
29739
30432
|
.INDENT 7.0
|
29740
30433
|
.TP
|
29741
30434
|
.B パラメタ
|
@@ -30002,13 +30695,13 @@ nameに対応する新たなproc(手続き)をctxが使用するdbに定義し
|
|
30002
30695
|
.INDENT 0.0
|
30003
30696
|
.TP
|
30004
30697
|
.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)
|
30005
|
-
user_dataをキーとして、現在実行中の \
|
30698
|
+
user_dataをキーとして、現在実行中の \fBgrn_proc_func\fP 関数および定義されている変数( \fBgrn_expr_var\fP )の配列とその数を取得します。
|
30006
30699
|
.INDENT 7.0
|
30007
30700
|
.TP
|
30008
30701
|
.B パラメタ
|
30009
30702
|
.INDENT 7.0
|
30010
30703
|
.IP \(bu 2
|
30011
|
-
\fBuser_data\fP \-\- \
|
30704
|
+
\fBuser_data\fP \-\- \fBgrn_proc_func\fP に渡されたuser_dataを指定します。
|
30012
30705
|
.IP \(bu 2
|
30013
30706
|
\fBnvars\fP \-\- 変数の数を取得します。
|
30014
30707
|
.UNINDENT
|
@@ -30520,7 +31213,7 @@ maxとmax_sizeが指定され、かつ、テーブルのkeyが固定長型の場
|
|
30520
31213
|
.INDENT 0.0
|
30521
31214
|
.TP
|
30522
31215
|
.B grn_rc grn_table_cursor_close(grn_ctx\fI\ *ctx\fP, grn_table_cursor\fI\ *tc\fP)
|
30523
|
-
\
|
31216
|
+
\fBgrn_table_cursor_open()\fP で生成したcursorを解放します。
|
30524
31217
|
.INDENT 7.0
|
30525
31218
|
.TP
|
30526
31219
|
.B パラメタ
|
@@ -31427,6 +32120,8 @@ Groongaにはいくつか制限事項があります。
|
|
31427
32120
|
1つのキーの最大サイズ: 4096Bytes
|
31428
32121
|
.IP \(bu 2
|
31429
32122
|
キーのサイズを合計した上限値: 4GByte
|
32123
|
+
.IP \(bu 2
|
32124
|
+
最大レコード数: 268,435,455 (約2億6千万)
|
31430
32125
|
.UNINDENT
|
31431
32126
|
.sp
|
31432
32127
|
実際には他の諸条件の制約により上記の値まで到達しない場合もあります。
|
@@ -31435,8 +32130,6 @@ Groongaにはいくつか制限事項があります。
|
|
31435
32130
|
1つのインデックスにおける論理上の上限値は以下のとおりです。
|
31436
32131
|
.INDENT 0.0
|
31437
32132
|
.IP \(bu 2
|
31438
|
-
最大レコード数: 268,435,455 (約2億6千万)
|
31439
|
-
.IP \(bu 2
|
31440
32133
|
最大語彙数: 268,435,455 (約2億6千万)
|
31441
32134
|
.IP \(bu 2
|
31442
32135
|
最大インデックスサイズ: 256GByte
|
@@ -31831,13 +32524,11 @@ GroongaプロジェクトではGroongaについて議論するための \fB/comm
|
|
31831
32524
|
.sp
|
31832
32525
|
This documentation describes about how to write, generate and manage
|
31833
32526
|
Groonga documentation.
|
31834
|
-
.SS
|
32527
|
+
.SS 必要なソフトウェアのインストール
|
31835
32528
|
.sp
|
31836
|
-
Groonga
|
31837
|
-
Sphinx. So Groonga clones the latest Sphinx from Sphinx repository
|
31838
|
-
automatically. You need only \fI\%Mercurial\fP, \fI\%Docutils\fP and \fI\%Jinja\fP\&.
|
32529
|
+
Groongaはドキュメントツールとして \fI\%Sphinx\fP を使います。
|
31839
32530
|
.sp
|
31840
|
-
|
32531
|
+
以下はSphinxをインストールするコマンドラインです。
|
31841
32532
|
.sp
|
31842
32533
|
Debian GNU/Linux, Ubuntu:
|
31843
32534
|
.INDENT 0.0
|
@@ -31845,7 +32536,7 @@ Debian GNU/Linux, Ubuntu:
|
|
31845
32536
|
.sp
|
31846
32537
|
.nf
|
31847
32538
|
.ft C
|
31848
|
-
% sudo apt\-get install \-V \-y
|
32539
|
+
% sudo apt\-get install \-V \-y python\-sphinx
|
31849
32540
|
.ft P
|
31850
32541
|
.fi
|
31851
32542
|
.UNINDENT
|
@@ -31857,7 +32548,8 @@ CentOS, Fedora:
|
|
31857
32548
|
.sp
|
31858
32549
|
.nf
|
31859
32550
|
.ft C
|
31860
|
-
% sudo yum install \-y
|
32551
|
+
% sudo yum install \-y python\-pip
|
32552
|
+
% sudo pip install sphinx
|
31861
32553
|
.ft P
|
31862
32554
|
.fi
|
31863
32555
|
.UNINDENT
|
@@ -31869,9 +32561,10 @@ OS X:
|
|
31869
32561
|
.sp
|
31870
32562
|
.nf
|
31871
32563
|
.ft C
|
31872
|
-
% brew install
|
31873
|
-
%
|
31874
|
-
%
|
32564
|
+
% brew install python
|
32565
|
+
% brew install gettext
|
32566
|
+
% export PATH=\(gabrew \-\-prefix gettext\(ga/bin:$PATH
|
32567
|
+
% pip install sphinx
|
31875
32568
|
.ft P
|
31876
32569
|
.fi
|
31877
32570
|
.UNINDENT
|
@@ -32069,7 +32762,7 @@ doc/locale/${LANGUAGE}ディレクトリで \fImake html\fP を実行すると
|
|
32069
32762
|
.UNINDENT
|
32070
32763
|
.UNINDENT
|
32071
32764
|
.sp
|
32072
|
-
\fB
|
32765
|
+
\fBノート:\fP
|
32073
32766
|
.INDENT 0.0
|
32074
32767
|
.INDENT 3.5
|
32075
32768
|
\&.moファイルは \fImake html\fP で自動的に更新されるので、.moファイルのことを気にする必要はありません。
|
@@ -32890,7 +33583,7 @@ make update\-poコマンドの実行により更新した各種.poファイル
|
|
32890
33583
|
.sp
|
32891
33584
|
これにより$GROONGA_CLONE_DIR/groonga\-(バージョン).tar.gzが作成されます。
|
32892
33585
|
.sp
|
32893
|
-
\fB
|
33586
|
+
\fBノート:\fP
|
32894
33587
|
.INDENT 0.0
|
32895
33588
|
.INDENT 3.5
|
32896
33589
|
タグを打つ前にmake distを行うとversionが古いままになることがあります。
|
@@ -33402,7 +34095,7 @@ jekyllのインストールを行ったら、以下のコマンドでローカ
|
|
33402
34095
|
.sp
|
33403
34096
|
あとはブラウザにてhttp://localhost:4000にアクセスして内容に問題がないかを確認します。
|
33404
34097
|
.sp
|
33405
|
-
\fB
|
34098
|
+
\fBノート:\fP
|
33406
34099
|
.INDENT 0.0
|
33407
34100
|
.INDENT 3.5
|
33408
34101
|
記事を非公開の状態でアップロードするには.textileファイルのpublished:をfalseに設定します。:
|
@@ -33509,7 +34202,7 @@ $GROONGA_CLONE_DIRにて以下のコマンドを実行します。:
|
|
33509
34202
|
.sp
|
33510
34203
|
これにより$GROONGA_CLONE_DIR/base_versionが更新されるのでコミットしておきます。
|
33511
34204
|
.sp
|
33512
|
-
\fB
|
34205
|
+
\fBノート:\fP
|
33513
34206
|
.INDENT 0.0
|
33514
34207
|
.INDENT 3.5
|
33515
34208
|
base_versionはtar.gzなどのリリース用のファイル名で使用します。
|