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
@@ -3,11 +3,11 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
|
5
5
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.3.
|
10
|
+
<title>7.3.36. logical_table_remove — Groonga v6.0.2ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '6.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga
|
29
|
+
<link rel="top" title="Groonga v6.0.2ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.3. コマンド" href="../command.html" />
|
31
|
-
<link rel="next" title="7.3.
|
32
|
-
<link rel="prev" title="7.3.
|
31
|
+
<link rel="next" title="7.3.37. normalize" href="normalize.html" />
|
32
|
+
<link rel="prev" title="7.3.35. logical_shard_list" href="logical_shard_list.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="normalize.html" title="7.3.
|
59
|
+
<a href="normalize.html" title="7.3.37. normalize"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="logical_shard_list.html" title="7.3.
|
62
|
+
<a href="logical_shard_list.html" title="7.3.35. logical_shard_list"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
64
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.2ドキュメント</a> »</li>
|
65
65
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li class="nav-item nav-item-2"><a href="../command.html" accesskey="U">7.3. コマンド</a> »</li>
|
67
67
|
</ul>
|
@@ -73,77 +73,428 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="logical-table-remove">
|
76
|
-
<h1>7.3.
|
76
|
+
<h1>7.3.36. <code class="docutils literal"><span class="pre">logical_table_remove</span></code><a class="headerlink" href="#logical-table-remove" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.3.
|
79
|
-
<div class="admonition note">
|
80
|
-
<p class="first admonition-title">注釈</p>
|
81
|
-
<p class="last">このコマンドは実験的な機能です。</p>
|
82
|
-
</div>
|
78
|
+
<h2>7.3.36.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
79
|
<div class="versionadded">
|
84
80
|
<p><span class="versionmodified">バージョン 5.0.5 で追加.</span></p>
|
85
81
|
</div>
|
86
|
-
<p>
|
82
|
+
<p><code class="docutils literal"><span class="pre">logical_table_remove</span></code> は指定した論理テーブルのテーブルとそのカラムを削除します。もし、テーブルのキーあるいはそのテーブルのカラムにインデックスが張ってある場合はそれらも削除します。</p>
|
83
|
+
<p>シャードの一部を指定すると、そのシャードのテーブルは削除しません。テーブル内のレコードを削除するだけです。</p>
|
84
|
+
<p>例えば、テーブル内に以下のレコードがあるとします。</p>
|
85
|
+
<blockquote>
|
86
|
+
<div><ul class="simple">
|
87
|
+
<li><p class="first">レコード1: <code class="docutils literal"><span class="pre">2016-03-18</span> <span class="pre">00:30:00</span></code></p>
|
88
|
+
</li>
|
89
|
+
<li><p class="first">レコード2: <code class="docutils literal"><span class="pre">2016-03-18</span> <span class="pre">01:00:00</span></code></p>
|
90
|
+
</li>
|
91
|
+
<li><p class="first">レコード3: <code class="docutils literal"><span class="pre">2016-03-18</span> <span class="pre">02:00:00</span></code></p>
|
92
|
+
</li>
|
93
|
+
</ul>
|
94
|
+
</div></blockquote>
|
95
|
+
<p>範囲として <code class="docutils literal"><span class="pre">2016-03-18</span> <span class="pre">00:00:00</span></code> から <code class="docutils literal"><span class="pre">2016-03-18</span> <span class="pre">01:30:00</span></code> までを指定すると、「レコード1」と「レコード2」を削除します。「レコード3」は削除しません。テーブルも削除しません。</p>
|
96
|
+
<div class="versionadded">
|
97
|
+
<p><span class="versionmodified">バージョン 6.0.1 で追加: </span><code class="docutils literal"><span class="pre">dependent</span></code> パラメーターを使うと、対象テーブルを参照しているテーブル・カラムと対象シャードに関連しているテーブルも一緒に削除できます。</p>
|
98
|
+
</div>
|
87
99
|
</div>
|
88
100
|
<div class="section" id="syntax">
|
89
|
-
<h2>7.3.
|
101
|
+
<h2>7.3.36.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
102
|
<p>このコマンドにはたくさんの引数があります。</p>
|
91
103
|
<p>必須引数は2つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
|
92
104
|
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove logical_table
|
93
105
|
shard_key
|
94
|
-
[min]
|
95
|
-
[min_border]
|
96
|
-
[max]
|
97
|
-
[max_border]
|
106
|
+
[min=null]
|
107
|
+
[min_border="include"]
|
108
|
+
[max=null]
|
109
|
+
[max_border="include"]
|
110
|
+
[dependent=no]
|
98
111
|
</pre></div>
|
99
112
|
</div>
|
100
113
|
</div>
|
101
114
|
<div class="section" id="usage">
|
102
|
-
<h2>7.3.
|
103
|
-
<p
|
115
|
+
<span id="logical-table-remove-usage"></span><h2>7.3.36.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
116
|
+
<p>削除したい論理テーブル名とシャードキーを指定します。</p>
|
117
|
+
<p>このセクションでは次のことについて説明します。</p>
|
118
|
+
<blockquote>
|
119
|
+
<div><ul class="simple">
|
120
|
+
<li><p class="first">基本的な使い方</p>
|
121
|
+
</li>
|
122
|
+
<li><p class="first">論理テーブルの一部を削除</p>
|
123
|
+
</li>
|
124
|
+
<li><p class="first">削除できないケース</p>
|
125
|
+
</li>
|
126
|
+
<li><p class="first">関連するテーブルと一緒に削除</p>
|
127
|
+
</li>
|
128
|
+
<li><p class="first">利用リソースの削減</p>
|
129
|
+
</li>
|
130
|
+
</ul>
|
131
|
+
</div></blockquote>
|
132
|
+
<div class="section" id="basic-usage">
|
133
|
+
<span id="logical-table-remove-basic-usage"></span><h3>7.3.36.3.1. 基本的な使い方<a class="headerlink" href="#basic-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
134
|
+
<p>この コマンドを使うには事前に <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録します。</p>
|
135
|
+
<p>実行例:</p>
|
136
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>register sharding
|
137
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
138
|
+
</pre></div>
|
139
|
+
</div>
|
140
|
+
<p><code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> だけを指定することで対象論理テーブル用のすべてのテーブルを削除できます。</p>
|
141
|
+
<p>以下は2つのシャードを作成するコマンドです。</p>
|
142
|
+
<p>実行例:</p>
|
143
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Logs_20160318 TABLE_NO_KEY
|
144
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
145
|
+
column_create Logs_20160318 timestamp COLUMN_SCALAR Time
|
146
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
147
|
+
table_create Logs_20160319 TABLE_NO_KEY
|
148
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
149
|
+
column_create Logs_20160319 timestamp COLUMN_SCALAR Time
|
150
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
151
|
+
</pre></div>
|
152
|
+
</div>
|
153
|
+
<p>存在するシャードは <a class="reference internal" href="logical_shard_list.html"><span class="doc">logical_shard_list</span></a> で確認できます。</p>
|
154
|
+
<p>実行例:</p>
|
155
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_shard_list --logical_table Logs
|
156
|
+
# [
|
157
|
+
# [
|
158
|
+
# 0,
|
159
|
+
# 1337566253.89858,
|
160
|
+
# 0.000355720520019531
|
161
|
+
# ],
|
162
|
+
# [
|
163
|
+
# {
|
164
|
+
# "name": "Logs_20160318"
|
165
|
+
# },
|
166
|
+
# {
|
167
|
+
# "name": "Logs_20160319"
|
168
|
+
# }
|
169
|
+
# ]
|
170
|
+
# ]
|
171
|
+
</pre></div>
|
172
|
+
</div>
|
173
|
+
<p>すべてのシャードを削除できます。</p>
|
174
|
+
<p>実行例:</p>
|
175
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove \
|
176
|
+
--logical_table Logs \
|
177
|
+
--shard_key timestamp
|
178
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
179
|
+
</pre></div>
|
180
|
+
</div>
|
181
|
+
<p>すべてのシャードを削除した後はシャードは存在しません。</p>
|
182
|
+
<p>実行例:</p>
|
183
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_shard_list --logical_table Logs
|
184
|
+
# [[0, 1337566253.89858, 0.000355720520019531], []]
|
185
|
+
</pre></div>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="section" id="removes-parts-of-a-logical-table">
|
189
|
+
<span id="logical-table-remove-removes-parts"></span><h3>7.3.36.3.2. 論理テーブルの一部を削除<a class="headerlink" href="#removes-parts-of-a-logical-table" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
190
|
+
<p>次のパラメーターでシャードの範囲を指定できます。</p>
|
191
|
+
<blockquote>
|
192
|
+
<div><ul class="simple">
|
193
|
+
<li><code class="docutils literal"><span class="pre">min</span></code></li>
|
194
|
+
<li><code class="docutils literal"><span class="pre">min_border</span></code></li>
|
195
|
+
<li><code class="docutils literal"><span class="pre">max</span></code></li>
|
196
|
+
<li><code class="docutils literal"><span class="pre">max_border</span></code></li>
|
197
|
+
</ul>
|
198
|
+
</div></blockquote>
|
199
|
+
<p>各パラメーターについては <a class="reference internal" href="logical_select.html"><span class="doc">logical_select</span></a> の以下のドキュメントを参照してください。</p>
|
200
|
+
<blockquote>
|
201
|
+
<div><ul class="simple">
|
202
|
+
<li><a class="reference internal" href="logical_select.html#logical-select-min"><span class="std std-ref">min</span></a></li>
|
203
|
+
<li><a class="reference internal" href="logical_select.html#logical-select-min-border"><span class="std std-ref">min_border</span></a></li>
|
204
|
+
<li><a class="reference internal" href="logical_select.html#logical-select-max"><span class="std std-ref">max</span></a></li>
|
205
|
+
<li><a class="reference internal" href="logical_select.html#logical-select-max-border"><span class="std std-ref">max_border</span></a></li>
|
206
|
+
</ul>
|
207
|
+
</div></blockquote>
|
208
|
+
<p>指定した範囲がシャード内のすべてのレコードを含んでいなかったら、そのシャードのテーブルは削除しません。テーブル内の対象レコードのみ削除します。</p>
|
209
|
+
<p>指定した範囲がシャード内のすべてのレコードを含んでいれば、そのシャード用のテーブルを削除します。</p>
|
210
|
+
<p>以下はこの挙動を示すための論理テーブルです。この論理テーブルには2つのシャードがあります。</p>
|
211
|
+
<p>実行例:</p>
|
212
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Logs_20160318 TABLE_NO_KEY
|
213
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
214
|
+
column_create Logs_20160318 timestamp COLUMN_SCALAR Time
|
215
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
216
|
+
load --table Logs_20160318
|
217
|
+
[
|
218
|
+
{"timestamp": "2016-03-18 00:30:00"},
|
219
|
+
{"timestamp": "2016-03-18 01:00:00"},
|
220
|
+
{"timestamp": "2016-03-18 02:00:00"}
|
221
|
+
]
|
222
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
223
|
+
table_create Logs_20160319 TABLE_NO_KEY
|
224
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
225
|
+
column_create Logs_20160319 timestamp COLUMN_SCALAR Time
|
226
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
227
|
+
load --table Logs_20160319
|
228
|
+
[
|
229
|
+
{"timestamp": "2016-03-19 00:30:00"},
|
230
|
+
{"timestamp": "2016-03-19 01:00:00"}
|
231
|
+
]
|
232
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
233
|
+
</pre></div>
|
234
|
+
</div>
|
235
|
+
<p><code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブルには次のレコードがあります。</p>
|
236
|
+
<blockquote>
|
237
|
+
<div><ul class="simple">
|
238
|
+
<li><p class="first">レコード1: <code class="docutils literal"><span class="pre">"2016-03-18</span> <span class="pre">00:30:00"</span></code></p>
|
239
|
+
</li>
|
240
|
+
<li><p class="first">レコード2: <code class="docutils literal"><span class="pre">"2016-03-18</span> <span class="pre">01:00:00"</span></code></p>
|
241
|
+
</li>
|
242
|
+
<li><p class="first">レコード3: <code class="docutils literal"><span class="pre">"2016-03-18</span> <span class="pre">02:00:00"</span></code></p>
|
243
|
+
</li>
|
244
|
+
</ul>
|
245
|
+
</div></blockquote>
|
246
|
+
<p><code class="docutils literal"><span class="pre">Logs_20160319</span></code> テーブルには次のレコードがあります。</p>
|
247
|
+
<blockquote>
|
248
|
+
<div><ul class="simple">
|
249
|
+
<li><p class="first">レコード1: <code class="docutils literal"><span class="pre">"2016-03-19</span> <span class="pre">00:30:00"</span></code></p>
|
250
|
+
</li>
|
251
|
+
<li><p class="first">レコード2: <code class="docutils literal"><span class="pre">"2016-03-19</span> <span class="pre">01:00:00"</span></code></p>
|
252
|
+
</li>
|
253
|
+
</ul>
|
254
|
+
</div></blockquote>
|
255
|
+
<p>次の範囲は <code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブル内の「レコード1」を含んでいませんが、 <code class="docutils literal"><span class="pre">Logs_20160319</span></code> テーブルのすべてのレコードを含んでいます。</p>
|
256
|
+
<table border="1" class="docutils">
|
257
|
+
<colgroup>
|
258
|
+
<col width="50%" />
|
259
|
+
<col width="50%" />
|
260
|
+
</colgroup>
|
261
|
+
<thead valign="bottom">
|
262
|
+
<tr class="row-odd"><th class="head"><p class="first last">パラメーター</p>
|
263
|
+
</th>
|
264
|
+
<th class="head">Value</th>
|
265
|
+
</tr>
|
266
|
+
</thead>
|
267
|
+
<tbody valign="top">
|
268
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">min</span></code></td>
|
269
|
+
<td><code class="docutils literal"><span class="pre">"2016-03-18</span> <span class="pre">01:00:00"</span></code></td>
|
270
|
+
</tr>
|
271
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">min_border</span></code></td>
|
272
|
+
<td><code class="docutils literal"><span class="pre">"include"</span></code></td>
|
273
|
+
</tr>
|
274
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">max</span></code></td>
|
275
|
+
<td><code class="docutils literal"><span class="pre">"2016-03-19</span> <span class="pre">01:30:00"</span></code></td>
|
276
|
+
</tr>
|
277
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">max_border</span></code></td>
|
278
|
+
<td><code class="docutils literal"><span class="pre">"include"</span></code></td>
|
279
|
+
</tr>
|
280
|
+
</tbody>
|
281
|
+
</table>
|
282
|
+
<p>この範囲を指定した <code class="docutils literal"><span class="pre">logical_table_remove</span></code> は <code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブルの「レコード2」と「レコード3」を削除します。しかし、 <code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブルは削除しません。なぜなら、 <code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブルには「レコード1」があるからです。</p>
|
283
|
+
<p>この範囲を指定した <code class="docutils literal"><span class="pre">logical_table_remove</span></code> は <code class="docutils literal"><span class="pre">Logs_20160319</span></code> テーブルを削除します。なぜなら、この範囲は <code class="docutils literal"><span class="pre">Logs_20160319</span></code> テーブルのすべてのレコードを含んでいるからです。</p>
|
284
|
+
<p>この範囲を指定した <code class="docutils literal"><span class="pre">logical_table_remove</span></code> を使う例です。</p>
|
285
|
+
<p>実行例:</p>
|
286
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove \
|
287
|
+
--logical_table Logs \
|
288
|
+
--shard_key timestamp \
|
289
|
+
--min "2016-03-18 01:00:00" \
|
290
|
+
--min_border "include" \
|
291
|
+
--max "2016-03-19 01:30:00" \
|
292
|
+
--max_border "include"
|
293
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
294
|
+
</pre></div>
|
295
|
+
</div>
|
296
|
+
<p><a class="reference internal" href="dump.html"><span class="doc">dump</span></a> を使うと <code class="docutils literal"><span class="pre">Logs_20160318</span></code> テーブルに「レコード1」があることを確認できます。</p>
|
297
|
+
<p>実行例:</p>
|
298
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>dump
|
299
|
+
# plugin_register sharding
|
300
|
+
#
|
301
|
+
# table_create Logs_20160318 TABLE_NO_KEY
|
302
|
+
# column_create Logs_20160318 timestamp COLUMN_SCALAR Time
|
303
|
+
#
|
304
|
+
# load --table Logs_20160318
|
305
|
+
# [
|
306
|
+
# ["_id","timestamp"],
|
307
|
+
# [1,1458228600.0]
|
308
|
+
# ]
|
309
|
+
</pre></div>
|
310
|
+
</div>
|
311
|
+
</div>
|
312
|
+
<div class="section" id="unremovable-cases">
|
313
|
+
<span id="logical-table-remove-unremovable-cases"></span><h3>7.3.36.3.3. 削除できないケース<a class="headerlink" href="#unremovable-cases" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
314
|
+
<p>いくつか削除できない場合があります。詳細は <a class="reference internal" href="table_remove.html#table-remove-unremovable-cases"><span class="std std-ref">削除できないケース</span></a> を参照してください。なぜなら <code class="docutils literal"><span class="pre">logical_table_remove</span></code> も同じようにチェックしているからです。</p>
|
315
|
+
</div>
|
316
|
+
<div class="section" id="removes-with-related-tables">
|
317
|
+
<span id="logical-table-remove-removes-with-related-tables"></span><h3>7.3.36.3.4. 関連するテーブルと一緒に削除<a class="headerlink" href="#removes-with-related-tables" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
318
|
+
<div class="versionadded">
|
319
|
+
<p><span class="versionmodified">バージョン 6.0.1 で追加.</span></p>
|
320
|
+
</div>
|
321
|
+
<p>もし、自分がなにをしようとしているかちゃんと理解しているのであれば、 <code class="docutils literal"><span class="pre">--dependent</span> <span class="pre">yes</span></code> パラメーターを使うことで1回の <code class="docutils literal"><span class="pre">logical_table_remove</span></code> で対象シャードに依存しているテーブルとカラムも削除することができます。</p>
|
322
|
+
<p>以下が依存していると判断する条件です。もし、テーブル・カラムがこれらの条件のどれか1つでも満たしていてれば、そのテーブル・カラムは対象シャードに依存しています。</p>
|
323
|
+
<blockquote>
|
324
|
+
<div><ul class="simple">
|
325
|
+
<li><p class="first">対象シャードを参照しているテーブル・カラム</p>
|
326
|
+
</li>
|
327
|
+
<li><p class="first">対象シャード用のテーブル(= 名前の末尾が対象シャードと同じ <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> で、対象シャードが参照しているテーブル)</p>
|
328
|
+
</li>
|
329
|
+
</ul>
|
330
|
+
</div></blockquote>
|
331
|
+
<p>対象シャードを参照しているテーブル・カラムが1つ以上あれば、 <code class="docutils literal"><span class="pre">logical_table_remove</span></code> は失敗します。これは、参照先がなくなることを防ぐためです。</p>
|
332
|
+
<p>以下の <code class="docutils literal"><span class="pre">Bookmarks.log_20160320</span></code> カラムは対象シャードを参照しています。</p>
|
333
|
+
<p>実行例:</p>
|
334
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create Logs_20160320 TABLE_NO_KEY
|
335
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
336
|
+
column_create Logs_20160320 timestamp COLUMN_SCALAR Time
|
337
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
338
|
+
table_create Bookmarks TABLE_HASH_KEY ShortText
|
339
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
340
|
+
column_create Bookmarks log_20160320 COLUMN_SCALAR Logs_20160320
|
341
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
342
|
+
</pre></div>
|
343
|
+
</div>
|
344
|
+
<p>デフォルトでは <code class="docutils literal"><span class="pre">logical_table_remove</span></code> で <code class="docutils literal"><span class="pre">Logs_20160320</span></code> を削除できません。</p>
|
345
|
+
<p>実行例:</p>
|
346
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove \
|
347
|
+
--logical_table Logs \
|
348
|
+
--shard_key timestamp
|
349
|
+
# [
|
350
|
+
# [
|
351
|
+
# -2,
|
352
|
+
# 1337566253.89858,
|
353
|
+
# 0.000355720520019531,
|
354
|
+
# "operation not permitted: <[table][remove] a column that references the table exists: <Bookmarks.log_20160320> -> <Logs_20160320",
|
355
|
+
# [
|
356
|
+
# [
|
357
|
+
# "Groonga::Sharding::LogicalTableRemoveCommand.remove_table",
|
358
|
+
# "/home/kou/work/c/groonga.clean/plugins/sharding/logical_table_remove.rb",
|
359
|
+
# 80
|
360
|
+
# ]
|
361
|
+
# ]
|
362
|
+
# ]
|
363
|
+
# ]
|
364
|
+
</pre></div>
|
365
|
+
</div>
|
366
|
+
<p><code class="docutils literal"><span class="pre">--dependent</span> <span class="pre">yes</span></code> パラメーター付きの <code class="docutils literal"><span class="pre">logical_table_remove</span></code> では <code class="docutils literal"><span class="pre">Logs_20160320</span></code> を削除できます。 <code class="docutils literal"><span class="pre">Bookmarks.log_20160320</span></code> も一緒に削除します。</p>
|
367
|
+
<p>実行例:</p>
|
368
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove \
|
369
|
+
--logical_table Logs \
|
370
|
+
--shard_key timestamp \
|
371
|
+
--dependent yes
|
372
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
373
|
+
</pre></div>
|
374
|
+
</div>
|
375
|
+
<p><a class="reference internal" href="object_exist.html"><span class="doc">object_exist</span></a> で <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルと <code class="docutils literal"><span class="pre">Bookmarks.log_20160320</span></code> カラムが削除されていることを確認できます。</p>
|
376
|
+
<p>実行例:</p>
|
377
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>object_exist Logs_20160320
|
378
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
379
|
+
object_exist Bookmarks.log_20160320
|
380
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
381
|
+
</pre></div>
|
382
|
+
</div>
|
383
|
+
<p>対象シャード用のテーブルが1つ以上ある場合、 <code class="docutils literal"><span class="pre">--dependent</span> <span class="pre">yes</span></code> 付きの <code class="docutils literal"><span class="pre">logical_table_remove</span></code> はそれらも一緒に削除します。 対象シャード用のテーブルかどうかは対象シャードと同じ <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> がテーブル名の末尾にあるかどうかで判断します。</p>
|
384
|
+
<p>末尾が <code class="docutils literal"><span class="pre">_20160320</span></code> のテーブルは2つあります。 <code class="docutils literal"><span class="pre">NotRelated_20160320</span></code> テーブルは <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルから使われていません。 <code class="docutils literal"><span class="pre">Users_20160320</span></code> テーブルは <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルが使っています。 <code class="docutils literal"><span class="pre">Servers</span></code> テーブルもあり、これは <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルが使っています。</p>
|
385
|
+
<p>実行例:</p>
|
386
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>table_create NotRelated_20160320 TABLE_PAT_KEY ShortText
|
387
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
388
|
+
table_create Users_20160320 TABLE_PAT_KEY ShortText
|
389
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
390
|
+
table_create Servers TABLE_PAT_KEY ShortText
|
391
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
392
|
+
table_create Logs_20160320 TABLE_NO_KEY
|
393
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
394
|
+
column_create Logs_20160320 timestamp COLUMN_SCALAR Time
|
395
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
396
|
+
column_create Logs_20160320 user COLUMN_SCALAR Users_20160320
|
397
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
398
|
+
column_create Logs_20160320 server COLUMN_SCALAR Servers
|
399
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
400
|
+
</pre></div>
|
401
|
+
</div>
|
402
|
+
<p><code class="docutils literal"><span class="pre">--dependent</span> <span class="pre">yes</span></code> パラメーター付きの``logical_table_remove`` は <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルと <code class="docutils literal"><span class="pre">Users_20160320</span></code> テーブルだけ削除します。なぜなら、 <code class="docutils literal"><span class="pre">Users_20160320</span></code> テーブルは名前の末尾が <code class="docutils literal"><span class="pre">_20160320</span></code> で、 <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルが使っているからです。 <code class="docutils literal"><span class="pre">NotRelated_20160320</span></code> テーブルと <code class="docutils literal"><span class="pre">Servers</span></code> テーブルは削除しません。なぜなら、 <code class="docutils literal"><span class="pre">NotRelated_20160320</span></code> は名前の末尾が <code class="docutils literal"><span class="pre">_20160320</span></code> ですが、 <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルは使っていないからです。 <code class="docutils literal"><span class="pre">Servers</span></code> テーブルは <code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルが使っていますが、名前の末尾は <code class="docutils literal"><span class="pre">_20160320</span></code> ではありません。</p>
|
403
|
+
<p>実行例:</p>
|
404
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>logical_table_remove \
|
405
|
+
--logical_table Logs \
|
406
|
+
--shard_key timestamp \
|
407
|
+
--dependent yes
|
408
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
409
|
+
</pre></div>
|
410
|
+
</div>
|
411
|
+
<p><code class="docutils literal"><span class="pre">Logs_20160320</span></code> テーブルと <code class="docutils literal"><span class="pre">Users_20160320</span></code> テーブルは削除されていて、 <code class="docutils literal"><span class="pre">NotRelated_20160320</span></code> テーブルと <code class="docutils literal"><span class="pre">Servers</span></code> テーブルは削除されていないことを確認します。</p>
|
412
|
+
<p>実行例:</p>
|
413
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>object_exist Logs_20160320
|
414
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
415
|
+
object_exist Users_20160320
|
416
|
+
# [[0, 1337566253.89858, 0.000355720520019531], false]
|
417
|
+
object_exist NotRelated_20160320
|
418
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
419
|
+
object_exist Servers
|
420
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
421
|
+
</pre></div>
|
422
|
+
</div>
|
423
|
+
</div>
|
424
|
+
<div class="section" id="decreases-used-resources">
|
425
|
+
<span id="logical-table-remove-decreases-used-resources"></span><h3>7.3.36.3.5. 利用リソースの削減<a class="headerlink" href="#decreases-used-resources" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
426
|
+
<p>このコマンドが使うリソースを削減できます。詳細は <a class="reference internal" href="table_remove.html#table-remove-decreases-used-resources"><span class="std std-ref">利用リソースの削減</span></a> を参照してください。なぜなら <code class="docutils literal"><span class="pre">logical_table_remove</span></code> は <a class="reference internal" href="table_remove.html"><span class="doc">table_remove</span></a> と同じロジックを使っているからです。</p>
|
427
|
+
</div>
|
104
428
|
</div>
|
105
429
|
<div class="section" id="parameters">
|
106
|
-
<h2>7.3.
|
430
|
+
<h2>7.3.36.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
107
431
|
<p>このセクションでは <code class="docutils literal"><span class="pre">logical_table_remove</span></code> の引数について説明します。</p>
|
108
|
-
<div class="section" id="required-
|
109
|
-
<h3>7.3.
|
110
|
-
<p
|
432
|
+
<div class="section" id="required-parameters">
|
433
|
+
<h3>7.3.36.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
434
|
+
<p>いくつか必須の引数があります。</p>
|
111
435
|
<div class="section" id="logical-table">
|
112
|
-
<h4>7.3.
|
436
|
+
<span id="logical-table-remove-logical-table"></span><h4>7.3.36.4.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
113
437
|
<p>論理テーブル名を指定します。これは "_YYYYMMDD" をテーブル名から除いたものです。実際のテーブルが "Logs_20150203" や "Logs_20150203" といったものなら、論理テーブル名は "Logs" です。</p>
|
438
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-logical-table"><span class="std std-ref">logical_table</span></a> も参照してください。</p>
|
114
439
|
</div>
|
115
440
|
<div class="section" id="shard-key">
|
116
|
-
<h4>7.3.
|
117
|
-
<p
|
441
|
+
<span id="logical-table-remove-shard-key"></span><h4>7.3.36.4.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
442
|
+
<p>シャードキーとして使うカラム名を指定します。</p>
|
443
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-shard-key"><span class="std std-ref">shard_key</span></a> も参照してください。</p>
|
118
444
|
</div>
|
119
445
|
</div>
|
120
446
|
<div class="section" id="optional-parameters">
|
121
|
-
<h3>7.3.
|
447
|
+
<h3>7.3.36.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
122
448
|
<p>いくつか省略可能な引数があります。</p>
|
123
449
|
<div class="section" id="min">
|
124
|
-
<h4>7.3.
|
125
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code>
|
450
|
+
<span id="logical-table-remove-min"></span><h4>7.3.36.4.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
451
|
+
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最小値を指定します。</p>
|
452
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-min"><span class="std std-ref">min</span></a> も参照してください。</p>
|
126
453
|
</div>
|
127
454
|
<div class="section" id="min-border">
|
128
|
-
<h4>7.3.
|
129
|
-
<p
|
455
|
+
<span id="logical-table-remove-min-border"></span><h4>7.3.36.4.2.2. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
456
|
+
<p>最小値を含めるかどうかを指定します。 <code class="docutils literal"><span class="pre">include</span></code> か <code class="docutils literal"><span class="pre">exclude</span></code> を指定します。デフォルトは <code class="docutils literal"><span class="pre">include</span></code> です。</p>
|
457
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-min-border"><span class="std std-ref">min_border</span></a> も参照してください。</p>
|
130
458
|
</div>
|
131
459
|
<div class="section" id="max">
|
132
|
-
<h4>7.3.
|
133
|
-
<p><code class="docutils literal"><span class="pre">shard_key</span></code>
|
460
|
+
<span id="logical-table-remove-max"></span><h4>7.3.36.4.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
461
|
+
<p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最大値を指定します。</p>
|
462
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-max"><span class="std std-ref">max</span></a> も参照してください。</p>
|
134
463
|
</div>
|
135
464
|
<div class="section" id="max-border">
|
136
|
-
<h4>7.3.
|
137
|
-
<p
|
465
|
+
<span id="logical-table-remove-max-border"></span><h4>7.3.36.4.2.4. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
466
|
+
<p>最大値を含めるかどうかを指定します。 <code class="docutils literal"><span class="pre">include</span></code> か <code class="docutils literal"><span class="pre">exclude</span></code> を指定します。デフォルトは <code class="docutils literal"><span class="pre">include</span></code> です。</p>
|
467
|
+
<p><a class="reference internal" href="logical_select.html#logical-select-max-border"><span class="std std-ref">max_border</span></a> も参照してください。</p>
|
468
|
+
</div>
|
469
|
+
<div class="section" id="dependent">
|
470
|
+
<span id="logical-table-remove-dependent"></span><h4>7.3.36.4.2.5. <code class="docutils literal"><span class="pre">dependent</span></code><a class="headerlink" href="#dependent" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
471
|
+
<div class="versionadded">
|
472
|
+
<p><span class="versionmodified">バージョン 6.0.1 で追加.</span></p>
|
473
|
+
</div>
|
474
|
+
<p>対象シャードに依存しているテーブル・カラムも一緒に削除するかどうかを指定します。</p>
|
475
|
+
<p>以下が依存していると判断する条件です。もし、テーブル・カラムがこれらの条件のどれか1つでも満たしていてれば、そのテーブル・カラムは対象シャードに依存しています。</p>
|
476
|
+
<blockquote>
|
477
|
+
<div><ul class="simple">
|
478
|
+
<li><p class="first">対象シャードを参照しているテーブル・カラム</p>
|
479
|
+
</li>
|
480
|
+
<li><p class="first">対象シャード用のテーブル(= 名前の末尾が対象シャードと同じ <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> で、対象シャードが参照しているテーブル)</p>
|
481
|
+
</li>
|
482
|
+
</ul>
|
483
|
+
</div></blockquote>
|
484
|
+
<p><code class="docutils literal"><span class="pre">yes</span></code> を指定した場合は、対象シャードに依存しているテーブル・カラムも削除します。 <code class="docutils literal"><span class="pre">yes</span></code> を指定しなければ削除しません。もし、対象シャードを参照しているテーブル・カラムが1つ以上あればエラーになります。もし、対象シャード用のテーブルがあっても、それらを削除しません。</p>
|
485
|
+
<p>このパラメーターは注意して使ってください。危険なパラメーターです。</p>
|
486
|
+
<p>このパラメーターの使い方は <a class="reference internal" href="#logical-table-remove-removes-with-related-tables"><span class="std std-ref">関連するテーブルと一緒に削除</span></a> を参照してください。</p>
|
138
487
|
</div>
|
139
488
|
</div>
|
140
489
|
</div>
|
141
490
|
<div class="section" id="return-value">
|
142
|
-
<h2>7.3.
|
143
|
-
<p>
|
491
|
+
<h2>7.3.36.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
492
|
+
<p>このコマンドが成功したときは以下のようにボディは <code class="docutils literal"><span class="pre">true</span></code> になります:</p>
|
144
493
|
<div class="highlight-none"><div class="highlight"><pre><span></span>[HEADER, true]
|
145
494
|
</pre></div>
|
146
495
|
</div>
|
496
|
+
<p>このコマンドが失敗すると、 <code class="docutils literal"><span class="pre">HEADER</span></code> にエラーの詳細が含まれます。</p>
|
497
|
+
<p><code class="docutils literal"><span class="pre">HEADER</span></code> については <a class="reference internal" href="../command/output_format.html"><span class="doc">出力形式</span></a> を参照してください。</p>
|
147
498
|
</div>
|
148
499
|
</div>
|
149
500
|
|
@@ -155,36 +506,44 @@
|
|
155
506
|
<div class="sphinxsidebarwrapper">
|
156
507
|
<h3><a href="../../index.html">目次</a></h3>
|
157
508
|
<ul>
|
158
|
-
<li><a class="reference internal" href="#">7.3.
|
159
|
-
<li><a class="reference internal" href="#summary">7.3.
|
160
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
161
|
-
<li><a class="reference internal" href="#usage">7.3.
|
162
|
-
<li><a class="reference internal" href="#
|
163
|
-
<li><a class="reference internal" href="#
|
164
|
-
<li><a class="reference internal" href="#
|
165
|
-
<li><a class="reference internal" href="#
|
509
|
+
<li><a class="reference internal" href="#">7.3.36. <code class="docutils literal"><span class="pre">logical_table_remove</span></code></a><ul>
|
510
|
+
<li><a class="reference internal" href="#summary">7.3.36.1. 概要</a></li>
|
511
|
+
<li><a class="reference internal" href="#syntax">7.3.36.2. 構文</a></li>
|
512
|
+
<li><a class="reference internal" href="#usage">7.3.36.3. 使い方</a><ul>
|
513
|
+
<li><a class="reference internal" href="#basic-usage">7.3.36.3.1. 基本的な使い方</a></li>
|
514
|
+
<li><a class="reference internal" href="#removes-parts-of-a-logical-table">7.3.36.3.2. 論理テーブルの一部を削除</a></li>
|
515
|
+
<li><a class="reference internal" href="#unremovable-cases">7.3.36.3.3. 削除できないケース</a></li>
|
516
|
+
<li><a class="reference internal" href="#removes-with-related-tables">7.3.36.3.4. 関連するテーブルと一緒に削除</a></li>
|
517
|
+
<li><a class="reference internal" href="#decreases-used-resources">7.3.36.3.5. 利用リソースの削減</a></li>
|
518
|
+
</ul>
|
519
|
+
</li>
|
520
|
+
<li><a class="reference internal" href="#parameters">7.3.36.4. 引数</a><ul>
|
521
|
+
<li><a class="reference internal" href="#required-parameters">7.3.36.4.1. 必須引数</a><ul>
|
522
|
+
<li><a class="reference internal" href="#logical-table">7.3.36.4.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
|
523
|
+
<li><a class="reference internal" href="#shard-key">7.3.36.4.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
|
166
524
|
</ul>
|
167
525
|
</li>
|
168
|
-
<li><a class="reference internal" href="#optional-parameters">7.3.
|
169
|
-
<li><a class="reference internal" href="#min">7.3.
|
170
|
-
<li><a class="reference internal" href="#min-border">7.3.
|
171
|
-
<li><a class="reference internal" href="#max">7.3.
|
172
|
-
<li><a class="reference internal" href="#max-border">7.3.
|
526
|
+
<li><a class="reference internal" href="#optional-parameters">7.3.36.4.2. 省略可能引数</a><ul>
|
527
|
+
<li><a class="reference internal" href="#min">7.3.36.4.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
|
528
|
+
<li><a class="reference internal" href="#min-border">7.3.36.4.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
|
529
|
+
<li><a class="reference internal" href="#max">7.3.36.4.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
|
530
|
+
<li><a class="reference internal" href="#max-border">7.3.36.4.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
|
531
|
+
<li><a class="reference internal" href="#dependent">7.3.36.4.2.5. <code class="docutils literal"><span class="pre">dependent</span></code></a></li>
|
173
532
|
</ul>
|
174
533
|
</li>
|
175
534
|
</ul>
|
176
535
|
</li>
|
177
|
-
<li><a class="reference internal" href="#return-value">7.3.
|
536
|
+
<li><a class="reference internal" href="#return-value">7.3.36.5. 戻り値</a></li>
|
178
537
|
</ul>
|
179
538
|
</li>
|
180
539
|
</ul>
|
181
540
|
|
182
541
|
<h4>前のトピックへ</h4>
|
183
542
|
<p class="topless"><a href="logical_shard_list.html"
|
184
|
-
title="前の章へ">7.3.
|
543
|
+
title="前の章へ">7.3.35. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
|
185
544
|
<h4>次のトピックへ</h4>
|
186
545
|
<p class="topless"><a href="normalize.html"
|
187
|
-
title="次の章へ">7.3.
|
546
|
+
title="次の章へ">7.3.37. <code class="docutils literal"><span class="pre">normalize</span></code></a></p>
|
188
547
|
<div role="note" aria-label="source link">
|
189
548
|
<h3>このページ</h3>
|
190
549
|
<ul class="this-page-menu">
|
@@ -200,9 +559,6 @@
|
|
200
559
|
<input type="hidden" name="check_keywords" value="yes" />
|
201
560
|
<input type="hidden" name="area" value="default" />
|
202
561
|
</form>
|
203
|
-
<p class="searchtip" style="font-size: 90%">
|
204
|
-
モジュール、クラス、または関数名を入力してください
|
205
|
-
</p>
|
206
562
|
</div>
|
207
563
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
208
564
|
</div>
|
@@ -216,12 +572,12 @@
|
|
216
572
|
<a href="../../genindex.html" title="総合索引"
|
217
573
|
>索引</a></li>
|
218
574
|
<li class="right" >
|
219
|
-
<a href="normalize.html" title="7.3.
|
575
|
+
<a href="normalize.html" title="7.3.37. normalize"
|
220
576
|
>次へ</a> |</li>
|
221
577
|
<li class="right" >
|
222
|
-
<a href="logical_shard_list.html" title="7.3.
|
578
|
+
<a href="logical_shard_list.html" title="7.3.35. logical_shard_list"
|
223
579
|
>前へ</a> |</li>
|
224
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
580
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.2ドキュメント</a> »</li>
|
225
581
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
226
582
|
<li class="nav-item nav-item-2"><a href="../command.html" >7.3. コマンド</a> »</li>
|
227
583
|
</ul>
|