rroonga 6.0.0-x86-mingw32 → 6.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +38 -1
- data/ext/groonga/extconf.rb +14 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +18 -1
- data/ext/groonga/rb-grn-expression.c +0 -8
- data/ext/groonga/rb-grn-hash.c +15 -3
- data/ext/groonga/rb-grn-logger.c +22 -22
- data/ext/groonga/rb-grn-object.c +28 -6
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-request-canceler.c +164 -0
- data/ext/groonga/rb-grn-request-timer-id.c +64 -0
- data/ext/groonga/rb-grn-request-timer.c +155 -0
- data/ext/groonga/rb-grn-type.c +43 -1
- data/ext/groonga/rb-grn.h +17 -5
- data/ext/groonga/rb-groonga.c +3 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +4 -13
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -2
- data/test/run-test.rb +2 -2
- data/test/test-expression-builder.rb +13 -1
- data/test/test-hash.rb +22 -3
- data/test/test-request-canceler.rb +46 -0
- data/test/test-request-timer.rb +40 -0
- data/test/test-table.rb +43 -7
- data/test/test-type.rb +104 -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/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.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/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/expr.h +1 -2
- data/vendor/local/include/groonga/groonga/groonga.h +18 -5
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/plugin.h +9 -0
- data/vendor/local/include/groonga/groonga/portability.h +8 -0
- data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
- data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
- data/vendor/local/include/groonga/groonga/type.h +9 -0
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- 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/ruby/eval.rb +36 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
- 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/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/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/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/scripts/ruby/command_line/grndb.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- 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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +10 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
- 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 +13 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
- 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 +5 -4
- 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 +4 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -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/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
- data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
- 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 +13 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
- 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 +5 -4
- 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 +4 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -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/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
- metadata +72 -76
- 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 +0 -41
- 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 +0 -41
- data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
- data/vendor/local/share/man/man1/groonga.1 +0 -55612
data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt
CHANGED
@@ -11,13 +11,31 @@
|
|
11
11
|
Summary
|
12
12
|
-------
|
13
13
|
|
14
|
-
..
|
14
|
+
.. versionadded:: 5.0.5
|
15
15
|
|
16
|
-
|
16
|
+
``logical_table_remove`` removes tables and their columns for the
|
17
|
+
specified logical table. If there are one or more indexes against key
|
18
|
+
of the tables and their columns, they are also removed.
|
17
19
|
|
18
|
-
|
20
|
+
If you specify the part of a shard, table of the shard isn't
|
21
|
+
removed. ``logical_table_remove`` just deletes records in the table.
|
22
|
+
|
23
|
+
For example, there are the following records in a table:
|
24
|
+
|
25
|
+
* Record1: ``2016-03-18 00:30:00``
|
26
|
+
* Record2: ``2016-03-18 01:00:00``
|
27
|
+
* Record3: ``2016-03-18 02:00:00``
|
19
28
|
|
20
|
-
|
29
|
+
``logical_table_remove`` deletes "Record1" and "Record2" when you
|
30
|
+
specify range as between ``2016-03-18 00:00:00`` and ``2016-03-18
|
31
|
+
01:30:00``. ``logical_table_remove`` doesn't delete
|
32
|
+
"Record3". ``logical_table_remove`` doesn't remove the table.
|
33
|
+
|
34
|
+
.. versionadded:: 6.0.1
|
35
|
+
|
36
|
+
You can also remove tables and columns that reference the target
|
37
|
+
table and tables related with the target shard by using
|
38
|
+
``dependent`` parameter.
|
21
39
|
|
22
40
|
Syntax
|
23
41
|
------
|
@@ -28,69 +46,410 @@ The required parameters are ``logical_table`` and ``shard_key``::
|
|
28
46
|
|
29
47
|
logical_table_remove logical_table
|
30
48
|
shard_key
|
31
|
-
[min]
|
32
|
-
[min_border]
|
33
|
-
[max]
|
34
|
-
[max_border]
|
49
|
+
[min=null]
|
50
|
+
[min_border="include"]
|
51
|
+
[max=null]
|
52
|
+
[max_border="include"]
|
53
|
+
[dependent=no]
|
54
|
+
|
55
|
+
.. _logical-table-remove-usage:
|
35
56
|
|
36
57
|
Usage
|
37
58
|
-----
|
38
59
|
|
39
|
-
|
60
|
+
You specify logical table name and shard key what you want to remove.
|
61
|
+
|
62
|
+
This section describes about the followings:
|
63
|
+
|
64
|
+
* Basic usage
|
65
|
+
* Removes parts of a logical table
|
66
|
+
* Unremovable cases
|
67
|
+
* Removes with related tables
|
68
|
+
* Decreases used resources
|
69
|
+
|
70
|
+
.. _logical-table-remove-basic-usage:
|
71
|
+
|
72
|
+
Basic usage
|
73
|
+
^^^^^^^^^^^
|
74
|
+
|
75
|
+
Register ``sharding`` plugin to use this command in advance.
|
76
|
+
|
77
|
+
.. groonga-command
|
78
|
+
.. include:: ../../example/reference/commands/logical_table_remove/usage_register.log
|
79
|
+
.. register sharding
|
80
|
+
|
81
|
+
You can remove all tables for the logical table by specifying only
|
82
|
+
``logical_table`` and ``shard_key``.
|
83
|
+
|
84
|
+
Here are commands to create 2 shards:
|
85
|
+
|
86
|
+
.. groonga-command
|
87
|
+
.. include:: ../../example/reference/commands/logical_table_remove/basic_usage_create_shards.log
|
88
|
+
.. table_create Logs_20160318 TABLE_NO_KEY
|
89
|
+
.. column_create Logs_20160318 timestamp COLUMN_SCALAR Time
|
90
|
+
..
|
91
|
+
.. table_create Logs_20160319 TABLE_NO_KEY
|
92
|
+
.. column_create Logs_20160319 timestamp COLUMN_SCALAR Time
|
93
|
+
|
94
|
+
You can confirm existing shards by :doc:`logical_shard_list`:
|
95
|
+
|
96
|
+
.. groonga-command
|
97
|
+
.. include:: ../../example/reference/commands/logical_table_remove/basic_usage_list_shards_before.log
|
98
|
+
.. logical_shard_list --logical_table Logs
|
99
|
+
|
100
|
+
You can remove all shards:
|
101
|
+
|
102
|
+
.. groonga-command
|
103
|
+
.. include:: ../../example/reference/commands/logical_table_remove/basic_usage_remove_all.log
|
104
|
+
.. logical_table_remove \
|
105
|
+
.. --logical_table Logs \
|
106
|
+
.. --shard_key timestamp
|
107
|
+
|
108
|
+
There are no shards after you remove all shards:
|
109
|
+
|
110
|
+
.. groonga-command
|
111
|
+
.. include:: ../../example/reference/commands/logical_table_remove/basic_usage_list_shards_after.log
|
112
|
+
.. logical_shard_list --logical_table Logs
|
113
|
+
|
114
|
+
.. _logical-table-remove-removes-parts:
|
115
|
+
|
116
|
+
Removes parts of a logical table
|
117
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
118
|
+
|
119
|
+
You can specify range of shards by the following parameters:
|
120
|
+
|
121
|
+
* ``min``
|
122
|
+
* ``min_border``
|
123
|
+
* ``max``
|
124
|
+
* ``max_border``
|
125
|
+
|
126
|
+
See the following documents of :doc:`logical_select` for each
|
127
|
+
parameter:
|
128
|
+
|
129
|
+
* :ref:`logical-select-min`
|
130
|
+
* :ref:`logical-select-min-border`
|
131
|
+
* :ref:`logical-select-max`
|
132
|
+
* :ref:`logical-select-max-border`
|
133
|
+
|
134
|
+
If the specified range doesn't cover all records in a shard, table for
|
135
|
+
the shard isn't removed. Target records in the table are only deleted.
|
136
|
+
|
137
|
+
If the specified range covers all records in a shard, table for the
|
138
|
+
shard is removed.
|
139
|
+
|
140
|
+
Here is a logical table to show the behavior. The logical table has two
|
141
|
+
shards:
|
142
|
+
|
143
|
+
.. groonga-command
|
144
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_parts_create_shards.log
|
145
|
+
.. table_create Logs_20160318 TABLE_NO_KEY
|
146
|
+
.. column_create Logs_20160318 timestamp COLUMN_SCALAR Time
|
147
|
+
.. load --table Logs_20160318
|
148
|
+
.. [
|
149
|
+
.. {"timestamp": "2016-03-18 00:30:00"},
|
150
|
+
.. {"timestamp": "2016-03-18 01:00:00"},
|
151
|
+
.. {"timestamp": "2016-03-18 02:00:00"}
|
152
|
+
.. ]
|
153
|
+
..
|
154
|
+
.. table_create Logs_20160319 TABLE_NO_KEY
|
155
|
+
.. column_create Logs_20160319 timestamp COLUMN_SCALAR Time
|
156
|
+
.. load --table Logs_20160319
|
157
|
+
.. [
|
158
|
+
.. {"timestamp": "2016-03-19 00:30:00"},
|
159
|
+
.. {"timestamp": "2016-03-19 01:00:00"}
|
160
|
+
.. ]
|
161
|
+
|
162
|
+
There are the following records in ``Logs_20160318`` table:
|
163
|
+
|
164
|
+
* Record1: ``"2016-03-18 00:30:00"``
|
165
|
+
* Record2: ``"2016-03-18 01:00:00"``
|
166
|
+
* Record3: ``"2016-03-18 02:00:00"``
|
167
|
+
|
168
|
+
There are the following records in ``Logs_20160319`` table:
|
169
|
+
|
170
|
+
* Record1: ``"2016-03-19 00:30:00"``
|
171
|
+
* Record2: ``"2016-03-19 01:00:00"``
|
172
|
+
|
173
|
+
The following range doesn't cover "Record1" in ``Logs_20160318`` table
|
174
|
+
but covers all records in ``Logs_20160319`` table:
|
175
|
+
|
176
|
+
.. list-table::
|
177
|
+
:header-rows: 1
|
178
|
+
|
179
|
+
* - Parameter
|
180
|
+
- Value
|
181
|
+
* - ``min``
|
182
|
+
- ``"2016-03-18 01:00:00"``
|
183
|
+
* - ``min_border``
|
184
|
+
- ``"include"``
|
185
|
+
* - ``max``
|
186
|
+
- ``"2016-03-19 01:30:00"``
|
187
|
+
* - ``max_border``
|
188
|
+
- ``"include"``
|
189
|
+
|
190
|
+
``logical_table_remove`` with the range deletes "Record2" and
|
191
|
+
"Record3" in ``Logs_20160318`` table but doesn't remove
|
192
|
+
``Logs_20160318`` table. Because there is "Record1" in
|
193
|
+
``Logs_20160318`` table.
|
194
|
+
|
195
|
+
``logical_table_remove`` with the range removes ``Logs_20160319``
|
196
|
+
table because the range covers all records in ``Logs_20160319`` table.
|
197
|
+
|
198
|
+
Here is an example to use ``logical_table_remove`` with the range:
|
199
|
+
|
200
|
+
.. groonga-command
|
201
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_parts_remove.log
|
202
|
+
.. logical_table_remove \
|
203
|
+
.. --logical_table Logs \
|
204
|
+
.. --shard_key timestamp \
|
205
|
+
.. --min "2016-03-18 01:00:00" \
|
206
|
+
.. --min_border "include" \
|
207
|
+
.. --max "2016-03-19 01:30:00" \
|
208
|
+
.. --max_border "include"
|
209
|
+
|
210
|
+
:doc:`dump` shows that there is "Record1" in ``Logs_20160318`` table:
|
211
|
+
|
212
|
+
.. groonga-command
|
213
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_parts_dump.log
|
214
|
+
.. dump
|
215
|
+
|
216
|
+
.. _logical-table-remove-unremovable-cases:
|
217
|
+
|
218
|
+
Unremovable cases
|
219
|
+
^^^^^^^^^^^^^^^^^
|
220
|
+
|
221
|
+
There are some unremovable cases. See
|
222
|
+
:ref:`table-remove-unremovable-cases` for details. Because
|
223
|
+
``logical_table_remove`` uses the same checks.
|
224
|
+
|
225
|
+
.. _logical-table-remove-removes-with-related-tables:
|
226
|
+
|
227
|
+
Removes with related tables
|
228
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
229
|
+
|
230
|
+
.. versionadded:: 6.0.1
|
231
|
+
|
232
|
+
If you understand what you'll do, you can also remove tables and
|
233
|
+
columns that depend on the target shard with one
|
234
|
+
``logical_table_remove`` command by using ``--dependent yes``
|
235
|
+
parameter.
|
236
|
+
|
237
|
+
Here are conditions for dependent. If table or column satisfies one of
|
238
|
+
the conditions, the table or column depends on the target shard:
|
239
|
+
|
240
|
+
* Tables and columns that reference the target shard
|
241
|
+
* Tables for the shard (= The table has the same ``_YYYYMMDD``
|
242
|
+
postfix as the target shard and is referenced from the target
|
243
|
+
shard)
|
244
|
+
|
245
|
+
If there are one or more tables and columns that reference the target
|
246
|
+
shard, ``logical_table_remove`` is failed. It's for avoiding dangling
|
247
|
+
references.
|
248
|
+
|
249
|
+
``Bookmarks.log_20160320`` column in the following is the column that
|
250
|
+
references the target shard:
|
251
|
+
|
252
|
+
.. groonga-command
|
253
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_reference_create.log
|
254
|
+
.. table_create Logs_20160320 TABLE_NO_KEY
|
255
|
+
.. column_create Logs_20160320 timestamp COLUMN_SCALAR Time
|
256
|
+
..
|
257
|
+
.. table_create Bookmarks TABLE_HASH_KEY ShortText
|
258
|
+
.. column_create Bookmarks log_20160320 COLUMN_SCALAR Logs_20160320
|
259
|
+
|
260
|
+
You can't remove ``Logs_20160320`` by ``logical_table_remove`` by
|
261
|
+
default:
|
262
|
+
|
263
|
+
.. groonga-command
|
264
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_reference_default.log
|
265
|
+
.. logical_table_remove \
|
266
|
+
.. --logical_table Logs \
|
267
|
+
.. --shard_key timestamp
|
268
|
+
|
269
|
+
You can remove ``Logs_20160320`` by ``logical_table_remove`` with
|
270
|
+
``--dependent yes`` parameter. ``Bookmarks.log_20160320`` is also
|
271
|
+
removed:
|
272
|
+
|
273
|
+
.. groonga-command
|
274
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_reference_dependent.log
|
275
|
+
.. logical_table_remove \
|
276
|
+
.. --logical_table Logs \
|
277
|
+
.. --shard_key timestamp \
|
278
|
+
.. --dependent yes
|
279
|
+
|
280
|
+
:doc:`object_exist` shows that ``Logs_20160320`` table and
|
281
|
+
``Bookmarks.log_20160320`` column are removed:
|
282
|
+
|
283
|
+
.. groonga-command
|
284
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_reference_confirm.log
|
285
|
+
.. object_exist Logs_20160320
|
286
|
+
.. object_exist Bookmarks.log_20160320
|
287
|
+
|
288
|
+
If there is one or more tables for the target shard,
|
289
|
+
``logical_table_remove`` with ``--dependent yes`` also removes
|
290
|
+
them. Tables that have the same ``_YYYYMMDD`` postfix as the target
|
291
|
+
shard are treated as tables for the target shard.
|
292
|
+
|
293
|
+
Here are two tables that have ``_20160320``
|
294
|
+
postfix. ``NotRelated_20160320`` table isn't used by ``Logs_20160320``
|
295
|
+
table. ``Users_20160320`` table is used by ``Logs_20160320``
|
296
|
+
table. ``Servers`` table exists and used by ``Logs_20160320`` table:
|
297
|
+
|
298
|
+
.. groonga-command
|
299
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_for_shard_create.log
|
300
|
+
.. table_create NotRelated_20160320 TABLE_PAT_KEY ShortText
|
301
|
+
.. table_create Users_20160320 TABLE_PAT_KEY ShortText
|
302
|
+
.. table_create Servers TABLE_PAT_KEY ShortText
|
303
|
+
.. table_create Logs_20160320 TABLE_NO_KEY
|
304
|
+
.. column_create Logs_20160320 timestamp COLUMN_SCALAR Time
|
305
|
+
.. column_create Logs_20160320 user COLUMN_SCALAR Users_20160320
|
306
|
+
.. column_create Logs_20160320 server COLUMN_SCALAR Servers
|
307
|
+
|
308
|
+
``logical_table_remove`` with ``--dependent yes`` parameter removes
|
309
|
+
only ``Logs_20160320`` table and ``Users_20160320`` table. Because
|
310
|
+
``Users_20160320`` table has ``_20160320`` postfix and used by
|
311
|
+
``Logs_20160320``. ``NotRelated_20160320`` table and ``Servers`` table
|
312
|
+
aren't removed. Because ``NotRelated_20160320`` table has
|
313
|
+
``_20160320`` postfix but isn't used by ``Logs_20160320``. ``Servers``
|
314
|
+
table is used by ``Logs_20160320`` but doesn't have ``_20160320``
|
315
|
+
postfix:
|
316
|
+
|
317
|
+
.. groonga-command
|
318
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_for_shard_remove.log
|
319
|
+
.. logical_table_remove \
|
320
|
+
.. --logical_table Logs \
|
321
|
+
.. --shard_key timestamp \
|
322
|
+
.. --dependent yes
|
323
|
+
|
324
|
+
You can confirm that ``Logs_20160320`` table and ``Users_20160320``
|
325
|
+
table are removed but ``NotRelated_20160320`` table and ``Servers``
|
326
|
+
table aren't removed:
|
327
|
+
|
328
|
+
.. groonga-command
|
329
|
+
.. include:: ../../example/reference/commands/logical_table_remove/remove_with_for_shard_configm.log
|
330
|
+
.. object_exist Logs_20160320
|
331
|
+
.. object_exist Users_20160320
|
332
|
+
.. object_exist NotRelated_20160320
|
333
|
+
.. object_exist Servers
|
334
|
+
|
335
|
+
.. _logical-table-remove-decreases-used-resources:
|
336
|
+
|
337
|
+
Decreases used resources
|
338
|
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
339
|
+
|
340
|
+
You can decrease resources for this command. See
|
341
|
+
:ref:`table-remove-decreases-used-resources` for details. Because
|
342
|
+
``logical_table_remove`` uses the same logic as :doc:`table_remove`.
|
40
343
|
|
41
344
|
Parameters
|
42
345
|
----------
|
43
346
|
|
44
347
|
This section describes parameters of ``logical_table_remove``.
|
45
348
|
|
46
|
-
Required
|
47
|
-
|
349
|
+
Required parameters
|
350
|
+
^^^^^^^^^^^^^^^^^^^
|
48
351
|
|
49
|
-
There are required parameters
|
352
|
+
There are required parameters.
|
353
|
+
|
354
|
+
.. _logical-table-remove-logical-table:
|
50
355
|
|
51
356
|
``logical_table``
|
52
357
|
"""""""""""""""""
|
53
358
|
|
54
|
-
Specifies logical table name. It means table name without
|
55
|
-
If you use actual table such as
|
359
|
+
Specifies logical table name. It means table name without
|
360
|
+
``_YYYYMMDD`` postfix. If you use actual table such as
|
361
|
+
``Logs_20150203``, ``Logs_20150203`` and so on, logical table name is
|
362
|
+
``Logs``.
|
363
|
+
|
364
|
+
See also :ref:`logical-select-logical-table`.
|
365
|
+
|
366
|
+
.. _logical-table-remove-shard-key:
|
56
367
|
|
57
368
|
``shard_key``
|
58
369
|
"""""""""""""
|
59
370
|
|
60
|
-
Specifies column name which is treated as shared key
|
371
|
+
Specifies column name which is treated as shared key.
|
372
|
+
|
373
|
+
See also :ref:`logical-select-shard-key`.
|
61
374
|
|
62
375
|
Optional parameters
|
63
376
|
^^^^^^^^^^^^^^^^^^^
|
64
377
|
|
65
378
|
There are optional parameters.
|
66
379
|
|
380
|
+
.. _logical-table-remove-min:
|
381
|
+
|
67
382
|
``min``
|
68
383
|
"""""""
|
69
384
|
|
70
|
-
Specifies the
|
385
|
+
Specifies the minimum value of ``shard_key`` column.
|
386
|
+
|
387
|
+
See also :ref:`logical-select-min`.
|
388
|
+
|
389
|
+
.. _logical-table-remove-min-border:
|
71
390
|
|
72
391
|
``min_border``
|
73
392
|
""""""""""""""
|
74
393
|
|
75
|
-
Specifies whether the
|
76
|
-
|
394
|
+
Specifies whether the minimum value is included or not. ``include``
|
395
|
+
and ``exclude`` are available. The default is ``include``.
|
396
|
+
|
397
|
+
See also :ref:`logical-select-min-border`.
|
398
|
+
|
399
|
+
.. _logical-table-remove-max:
|
77
400
|
|
78
401
|
``max``
|
79
402
|
"""""""
|
80
403
|
|
81
|
-
Specifies the
|
404
|
+
Specifies the maximum value of ``shard_key`` column.
|
405
|
+
|
406
|
+
See also :ref:`logical-select-max`.
|
407
|
+
|
408
|
+
.. _logical-table-remove-max-border:
|
82
409
|
|
83
410
|
``max_border``
|
84
411
|
""""""""""""""
|
85
412
|
|
86
|
-
Specifies whether the
|
87
|
-
|
413
|
+
Specifies whether the maximum value is included or not. ``include``
|
414
|
+
and ``exclude`` are available. The default is ``include``.
|
415
|
+
|
416
|
+
See also :ref:`logical-select-max-border`.
|
417
|
+
|
418
|
+
.. _logical-table-remove-dependent:
|
419
|
+
|
420
|
+
``dependent``
|
421
|
+
"""""""""""""
|
422
|
+
|
423
|
+
.. versionadded:: 6.0.1
|
424
|
+
|
425
|
+
Specifies whether tables and columns that depend on the target shard
|
426
|
+
are also removed or not.
|
427
|
+
|
428
|
+
Here are conditions for dependent. If table or column satisfies one of
|
429
|
+
the conditions, the table or column depends on the target shard:
|
430
|
+
|
431
|
+
* Tables and columns that reference the target shard
|
432
|
+
* Tables for the shard (= The table has the same ``_YYYYMMDD``
|
433
|
+
postfix as the target shard and is referenced from the target
|
434
|
+
shard)
|
435
|
+
|
436
|
+
If this value is ``yes``, tables and columns that depend on the target
|
437
|
+
shard are also removed. Otherwise, they aren't removed. If there are
|
438
|
+
one or more tables that reference the target shard, an error is
|
439
|
+
returned. If there are tables for the shared, they are not touched.
|
440
|
+
|
441
|
+
You should use this parameter carefully. This is a danger parameter.
|
442
|
+
|
443
|
+
See :ref:`logical-table-remove-removes-with-related-tables` how to use
|
444
|
+
this parameter.
|
88
445
|
|
89
446
|
Return value
|
90
447
|
------------
|
91
448
|
|
92
|
-
|
93
|
-
|
94
|
-
::
|
449
|
+
The command returns ``true`` as body on success such as::
|
95
450
|
|
96
451
|
[HEADER, true]
|
452
|
+
|
453
|
+
If the command fails, error details are in ``HEADER``.
|
454
|
+
|
455
|
+
See :doc:`/reference/command/output_format` for ``HEADER``.
|
@@ -57,12 +57,12 @@ This section describes all parameters.
|
|
57
57
|
Required parameters
|
58
58
|
^^^^^^^^^^^^^^^^^^^
|
59
59
|
|
60
|
-
There is no required
|
60
|
+
There is no required parameter.
|
61
61
|
|
62
62
|
Optional parameters
|
63
63
|
^^^^^^^^^^^^^^^^^^^
|
64
64
|
|
65
|
-
There is no optional
|
65
|
+
There is no optional parameter.
|
66
66
|
|
67
67
|
Return value
|
68
68
|
------------
|
@@ -291,8 +291,8 @@ Parameters
|
|
291
291
|
|
292
292
|
This section describes all parameters. Parameters are categorized.
|
293
293
|
|
294
|
-
Required
|
295
|
-
|
294
|
+
Required parameters
|
295
|
+
^^^^^^^^^^^^^^^^^^^
|
296
296
|
|
297
297
|
There is a required parameter, ``table``.
|
298
298
|
|
@@ -471,7 +471,7 @@ logical and. It means that matched records should be matched against
|
|
471
471
|
both ``filter`` and ``query``.
|
472
472
|
|
473
473
|
``filter`` parameter is designed for complex conditions. A filter text
|
474
|
-
should be
|
474
|
+
should be formatted in :doc:`/reference/grn_expr/script_syntax`. The syntax is
|
475
475
|
similar to ECMAScript. For example, ``column == "value"`` means that
|
476
476
|
the value of ``column`` column is equal to ``"value"``. ``column <
|
477
477
|
value`` means that the value of ``column`` column is less than
|
@@ -2,38 +2,112 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_table_shutdown
|
7
|
+
|
5
8
|
``shutdown``
|
6
9
|
============
|
7
10
|
|
8
11
|
Summary
|
9
12
|
-------
|
10
13
|
|
11
|
-
shutdown
|
14
|
+
``shutdown`` stops the Groonga server process.
|
15
|
+
|
16
|
+
``shutdown`` uses graceful shutdown by default. If there are some
|
17
|
+
running commands, the Groonga server process stops after these running
|
18
|
+
commands are finished. New command requests aren't processed after
|
19
|
+
``shutdown`` command is executed.
|
20
|
+
|
21
|
+
.. versionadded:: 6.0.1
|
12
22
|
|
13
|
-
|
14
|
-
|
23
|
+
``shutdown`` uses immediate shutdown by specifying ``immediate`` to
|
24
|
+
``mode`` parameter. The Groonga server process stops immediately
|
25
|
+
even when there are some running commands.
|
26
|
+
|
27
|
+
.. note::
|
28
|
+
|
29
|
+
You need to set :doc:`/reference/command/request_id` to all
|
30
|
+
requests to use immediate shutdown.
|
15
31
|
|
16
|
-
shutdownは、接続しているgroongaサーバプロセスを停止します。
|
17
32
|
|
18
33
|
Syntax
|
19
34
|
------
|
20
|
-
::
|
21
35
|
|
22
|
-
|
36
|
+
This command takes only one optional parameter::
|
37
|
+
|
38
|
+
shutdown [mode=graceful]
|
23
39
|
|
24
40
|
Usage
|
25
41
|
-----
|
26
|
-
::
|
27
42
|
|
28
|
-
shutdown
|
43
|
+
``shutdown`` use graceful shutdown by default:
|
44
|
+
|
45
|
+
.. groonga-command
|
46
|
+
.. include:: ../../example/reference/commands/shutdown/default.log
|
47
|
+
.. shutdown
|
48
|
+
|
49
|
+
You can specify ``graceful`` to ``mode`` parameter explicitly:
|
50
|
+
|
51
|
+
.. groonga-command
|
52
|
+
.. database: commands_table_shutdown
|
53
|
+
.. include:: ../../example/reference/commands/shutdown/graceful.log
|
54
|
+
.. shutdown --mode graceful
|
55
|
+
|
56
|
+
You can choose immediate shutdown by specifying ``immediate`` to
|
57
|
+
``mode`` parameter:
|
58
|
+
|
59
|
+
.. groonga-command
|
60
|
+
.. database: commands_table_shutdown
|
61
|
+
.. include:: ../../example/reference/commands/shutdown/immediate.log
|
62
|
+
.. shutdown --mode immediate
|
63
|
+
|
64
|
+
Immediate shutdown is useful when you don't have time for graceful
|
65
|
+
shutdown. For example, Windows kills service that takes long time to
|
66
|
+
stop on Windows shutdown.
|
29
67
|
|
30
68
|
Parameters
|
31
69
|
----------
|
32
70
|
|
33
|
-
|
71
|
+
This section describes parameters of this command.
|
72
|
+
|
73
|
+
Required parameters
|
74
|
+
^^^^^^^^^^^^^^^^^^^
|
75
|
+
|
76
|
+
There is no required parameter.
|
77
|
+
|
78
|
+
Optional parameters
|
79
|
+
^^^^^^^^^^^^^^^^^^^
|
80
|
+
|
81
|
+
There are optional parameters.
|
82
|
+
|
83
|
+
``mode``
|
84
|
+
""""""""
|
85
|
+
|
86
|
+
Specifies shutdown mode. Here are available shutdown modes:
|
87
|
+
|
88
|
+
.. list-table::
|
89
|
+
:header-rows: 1
|
90
|
+
|
91
|
+
* - Value
|
92
|
+
- Description
|
93
|
+
* - ``graceful``
|
94
|
+
- Stops after running commands are finished.
|
95
|
+
|
96
|
+
This is the default.
|
97
|
+
* - ``immediate``
|
98
|
+
- .. versionadded:: 6.0.1
|
99
|
+
|
100
|
+
Stops immediately even if there are some running commands.
|
34
101
|
|
35
102
|
Return value
|
36
103
|
------------
|
37
104
|
|
38
|
-
|
105
|
+
``shutdown`` returns ``true`` as body when shutdown is
|
106
|
+
accepted::
|
107
|
+
|
108
|
+
[HEADER, true]
|
109
|
+
|
110
|
+
If ``shutdown`` doesn't accept shutdown, error details are in
|
111
|
+
``HEADER``.
|
39
112
|
|
113
|
+
See :doc:`/reference/command/output_format` for ``HEADER``.
|
@@ -46,12 +46,12 @@ This section describes all parameters.
|
|
46
46
|
Required parameters
|
47
47
|
^^^^^^^^^^^^^^^^^^^
|
48
48
|
|
49
|
-
There is no required
|
49
|
+
There is no required parameter.
|
50
50
|
|
51
51
|
Optional parameters
|
52
52
|
^^^^^^^^^^^^^^^^^^^
|
53
53
|
|
54
|
-
There is no optional
|
54
|
+
There is no optional parameter.
|
55
55
|
|
56
56
|
.. _status-return-value:
|
57
57
|
|