rroonga 6.0.0-x64-mingw32 → 6.0.2-x64-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.h +1 -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/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.rb +5 -0
- 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_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.txt +1 -0
- 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/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.html +17 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.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/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/documentation.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/report.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.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.html +8 -12
- 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/limitations.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
- 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/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.html +66 -68
- 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/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.html +7 -10
- 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/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.html +18 -21
- 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/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.html +6 -9
- 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/output.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.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/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.html +6 -9
- 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/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/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.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
- 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/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/spec.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/troubleshooting.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/tutorial.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/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.txt +1 -0
- 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/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.html +20 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.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/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/documentation.html +11 -14
- 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/report.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.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.html +8 -12
- 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/limitations.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
- 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/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.html +66 -68
- 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/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.html +8 -11
- 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/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.html +12 -15
- 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/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.html +6 -9
- 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/output.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.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/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.html +6 -9
- 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/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/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.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
- 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/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/spec.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/troubleshooting.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/tutorial.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
- 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
@@ -186,6 +186,19 @@ class ExpressionBuilderTest < Test::Unit::TestCase
|
|
186
186
|
result.collect {|record| record.key.key})
|
187
187
|
end
|
188
188
|
|
189
|
+
def test_and_array_nested
|
190
|
+
result = @users.select do |record|
|
191
|
+
conditions = []
|
192
|
+
conditions << [(record.hp > 100)]
|
193
|
+
conditions << []
|
194
|
+
conditions << [[[(record.hp < 200)]]]
|
195
|
+
conditions << [[]]
|
196
|
+
conditions
|
197
|
+
end
|
198
|
+
assert_equal(["gunyara-kun"],
|
199
|
+
result.collect {|record| record.key.key})
|
200
|
+
end
|
201
|
+
|
189
202
|
def test_or
|
190
203
|
result = @users.select do |record|
|
191
204
|
(record["hp"] == 150) | (record["hp"] > 150)
|
@@ -675,7 +688,6 @@ EOC
|
|
675
688
|
end
|
676
689
|
|
677
690
|
def test_search
|
678
|
-
omit("TODO: Enable me when Groonga 6.0.1 is released.")
|
679
691
|
result = @tags.select do |record|
|
680
692
|
record.key.fuzzy_search("Toym", :with_transposition => true)
|
681
693
|
end
|
data/test/test-hash.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
#
|
3
1
|
# Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
4
|
-
# Copyright (C) 2009-
|
2
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
5
3
|
#
|
6
4
|
# This library is free software; you can redistribute it and/or
|
7
5
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -443,4 +441,25 @@ class HashTest < Test::Unit::TestCase
|
|
443
441
|
user_names = users.each.collect(&:key)
|
444
442
|
assert_equal(["Alice", "Bob", "Carl"], user_names)
|
445
443
|
end
|
444
|
+
|
445
|
+
class KeyLargeTest < self
|
446
|
+
def test_default
|
447
|
+
paths = Groonga::Hash.create(:name => "Paths",
|
448
|
+
:key_type => "ShortText")
|
449
|
+
inspected = context.execute_command("object_inspect",
|
450
|
+
:name => paths.name)
|
451
|
+
assert_equal((4 * 1024 * 1024 * 1024) - 1,
|
452
|
+
inspected.body["key"]["max_total_size"])
|
453
|
+
end
|
454
|
+
|
455
|
+
def test_enable
|
456
|
+
paths = Groonga::Hash.create(:name => "Paths",
|
457
|
+
:key_type => "ShortText",
|
458
|
+
:key_large => true)
|
459
|
+
inspected = context.execute_command("object_inspect",
|
460
|
+
:name => paths.name)
|
461
|
+
assert_equal((1 * 1024 * 1024 * 1024 * 1024) - 1,
|
462
|
+
inspected.body["key"]["max_total_size"])
|
463
|
+
end
|
464
|
+
end
|
446
465
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class RequestCancelerTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
def setup
|
20
|
+
@request_id = "request-29"
|
21
|
+
end
|
22
|
+
|
23
|
+
def teardown
|
24
|
+
Groonga::RequestCanceler.unregister(@request_id)
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_cancel
|
28
|
+
assert do
|
29
|
+
not Groonga::RequestCanceler.cancel(@request_id)
|
30
|
+
end
|
31
|
+
Groonga::RequestCanceler.register(@request_id)
|
32
|
+
assert do
|
33
|
+
Groonga::RequestCanceler.cancel(@request_id)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_cancel_all
|
38
|
+
assert do
|
39
|
+
not Groonga::RequestCanceler.cancel_all
|
40
|
+
end
|
41
|
+
Groonga::RequestCanceler.register(@request_id)
|
42
|
+
assert do
|
43
|
+
Groonga::RequestCanceler.cancel_all
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class RequestTimerTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
def setup
|
20
|
+
@request_id = "request-29"
|
21
|
+
@timeout = 2.9
|
22
|
+
end
|
23
|
+
|
24
|
+
def teardown
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_register
|
28
|
+
timer_id = Groonga::RequestTimer.register(@request_id, @timeout)
|
29
|
+
assert do
|
30
|
+
timer_id.is_a?(Groonga::RequestTimerID)
|
31
|
+
end
|
32
|
+
Groonga::RequestTimer.unregister(timer_id)
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_deafult_timeout
|
36
|
+
assert_in_delta(0.0, Groonga::RequestTimer.default_timeout, 0.01)
|
37
|
+
Groonga::RequestTimer.default_timeout = @timeout
|
38
|
+
assert_in_delta(@timeout, Groonga::RequestTimer.default_timeout, 0.01)
|
39
|
+
end
|
40
|
+
end
|
data/test/test-table.rb
CHANGED
@@ -302,13 +302,49 @@ class TableTest < Test::Unit::TestCase
|
|
302
302
|
end
|
303
303
|
end
|
304
304
|
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
305
|
+
class RemoveTest < self
|
306
|
+
def test_default
|
307
|
+
bookmarks_path = @tables_dir + "bookmarks"
|
308
|
+
bookmarks = Groonga::Array.create(:name => "Bookmarks",
|
309
|
+
:path => bookmarks_path.to_s)
|
310
|
+
assert_predicate(bookmarks_path, :exist?)
|
311
|
+
bookmarks.remove
|
312
|
+
assert_not_predicate(bookmarks_path, :exist?)
|
313
|
+
end
|
314
|
+
|
315
|
+
def test_dependent
|
316
|
+
names_path = @tables_dir + "names"
|
317
|
+
names = Groonga::Hash.create(:name => "Names",
|
318
|
+
:path => names_path.to_s,
|
319
|
+
:key_type => "ShortText")
|
320
|
+
users_path = @tables_dir + "users"
|
321
|
+
Groonga::Hash.create(:name => "Users",
|
322
|
+
:path => users_path.to_s,
|
323
|
+
:key_type => "Names")
|
324
|
+
administrators_path = @tables_dir + "administrators"
|
325
|
+
Groonga::Hash.create(:name => "Administrator",
|
326
|
+
:path => administrators_path.to_s,
|
327
|
+
:key_type => "Names")
|
328
|
+
members_path = @tables_dir + "members"
|
329
|
+
members = Groonga::Hash.create(:name => "Members",
|
330
|
+
:path => members_path.to_s,
|
331
|
+
:key_type => "ShortText")
|
332
|
+
members_name_path = @columns_dir + "name"
|
333
|
+
members.define_column("name", "Names",
|
334
|
+
:path => members_name_path.to_s)
|
335
|
+
|
336
|
+
assert {names_path.exist?}
|
337
|
+
assert {users_path.exist?}
|
338
|
+
assert {administrators_path.exist?}
|
339
|
+
assert {members_path.exist?}
|
340
|
+
assert {members_name_path.exist?}
|
341
|
+
names.remove(:dependent => true)
|
342
|
+
assert {not names_path.exist?}
|
343
|
+
assert {not users_path.exist?}
|
344
|
+
assert {not administrators_path.exist?}
|
345
|
+
assert {members_path.exist?}
|
346
|
+
assert {not members_name_path.exist?}
|
347
|
+
end
|
312
348
|
end
|
313
349
|
|
314
350
|
def test_temporary_add
|
data/test/test-type.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
# Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
3
3
|
#
|
4
4
|
# This library is free software; you can redistribute it and/or
|
@@ -91,6 +91,106 @@ class TypeTest < Test::Unit::TestCase
|
|
91
91
|
assert_false(Groonga["UInt32"].geo_point?)
|
92
92
|
end
|
93
93
|
|
94
|
+
class TextFamilyTest < self
|
95
|
+
def test_short_text
|
96
|
+
assert do
|
97
|
+
Groonga["ShortText"].text_family?
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
def test_text
|
102
|
+
assert do
|
103
|
+
Groonga["Text"].text_family?
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_long_text
|
108
|
+
assert do
|
109
|
+
Groonga["LongText"].text_family?
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_under_short_text
|
114
|
+
assert do
|
115
|
+
not Groonga["Time"].text_family?
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
def test_over_long_text
|
120
|
+
assert do
|
121
|
+
not Groonga["TokyoGeoPoint"].text_family?
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class NumberFamilyTest < self
|
127
|
+
def test_int8
|
128
|
+
assert do
|
129
|
+
Groonga["Int8"].number_family?
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
def test_uint8
|
134
|
+
assert do
|
135
|
+
Groonga["UInt8"].number_family?
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def test_int16
|
140
|
+
assert do
|
141
|
+
Groonga["Int16"].number_family?
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
def test_uint16
|
146
|
+
assert do
|
147
|
+
Groonga["UInt16"].number_family?
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
def test_int32
|
152
|
+
assert do
|
153
|
+
Groonga["Int32"].number_family?
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
def test_uint32
|
158
|
+
assert do
|
159
|
+
Groonga["UInt32"].number_family?
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
def test_int64
|
164
|
+
assert do
|
165
|
+
Groonga["Int64"].number_family?
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
def test_uint64
|
170
|
+
assert do
|
171
|
+
Groonga["UInt64"].number_family?
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
def test_float
|
176
|
+
assert do
|
177
|
+
Groonga["Float"].number_family?
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
def test_under_int8
|
182
|
+
assert do
|
183
|
+
not Groonga["Bool"].number_family?
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
def test_over_float
|
188
|
+
assert do
|
189
|
+
not Groonga["Time"].number_family?
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
94
194
|
def test_builtins
|
95
195
|
assert_equal_type("Object", Groonga::Type::OBJECT) # FIXME!!!
|
96
196
|
assert_equal_type("Bool", Groonga::Type::BOOLEAN)
|
@@ -125,7 +225,9 @@ class TypeTest < Test::Unit::TestCase
|
|
125
225
|
"builtin - Time" => "Time")
|
126
226
|
def test_builtin?(name)
|
127
227
|
type = Groonga[name]
|
128
|
-
|
228
|
+
assert do
|
229
|
+
type.builtin?
|
230
|
+
end
|
129
231
|
end
|
130
232
|
|
131
233
|
private
|
data/vendor/local/bin/grndb.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/lz4.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4c.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4cat
CHANGED
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
data/vendor/local/bin/zlib1.dll
CHANGED
Binary file
|
@@ -1,9 +1,17 @@
|
|
1
1
|
worker_processes 1;
|
2
|
+
pid ${prefix}/var/run/groonga-httpd.pid;
|
2
3
|
|
3
4
|
# Match this to the file owner of Groonga database files if groonga-httpd is
|
4
5
|
# run as root.
|
5
6
|
user groonga groonga;
|
6
7
|
|
8
|
+
env GRN_IN_VALUES_TOO_MANY_INDEX_MATCH_RATIO;
|
9
|
+
env GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO;
|
10
|
+
env GRN_II_CURSOR_SET_MIN_ENABLE;
|
11
|
+
env GRN_INDEX_CHUNK_SPLIT_ENABLE;
|
12
|
+
env GRN_MECAB_CHUNKED_TOKENIZE_ENABLED;
|
13
|
+
env GRN_MECAB_CHUNK_SIZE_THRESHOLD;
|
14
|
+
|
7
15
|
events {
|
8
16
|
worker_connections 1024;
|
9
17
|
}
|
@@ -42,6 +42,7 @@ GRN_API grn_obj *grn_expr_get_var(grn_ctx *ctx, grn_obj *expr,
|
|
42
42
|
GRN_API grn_obj *grn_expr_get_var_by_offset(grn_ctx *ctx, grn_obj *expr, unsigned int offset);
|
43
43
|
GRN_API grn_rc grn_expr_clear_vars(grn_ctx *ctx, grn_obj *expr);
|
44
44
|
|
45
|
+
GRN_API void grn_expr_take_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj);
|
45
46
|
|
46
47
|
GRN_API grn_obj *grn_expr_append_obj(grn_ctx *ctx, grn_obj *expr, grn_obj *obj,
|
47
48
|
grn_operator op, int nargs);
|
@@ -52,8 +53,6 @@ GRN_API grn_obj *grn_expr_append_const_str(grn_ctx *ctx, grn_obj *expr,
|
|
52
53
|
grn_operator op, int nargs);
|
53
54
|
GRN_API grn_obj *grn_expr_append_const_int(grn_ctx *ctx, grn_obj *expr, int i,
|
54
55
|
grn_operator op, int nargs);
|
55
|
-
GRN_API grn_obj *grn_expr_append_const_ptr(grn_ctx *ctx, grn_obj *expr, grn_obj *ptr,
|
56
|
-
grn_operator op, int nargs);
|
57
56
|
GRN_API grn_rc grn_expr_append_op(grn_ctx *ctx, grn_obj *expr, grn_operator op, int nargs);
|
58
57
|
|
59
58
|
GRN_API grn_rc grn_expr_get_keywords(grn_ctx *ctx, grn_obj *expr, grn_obj *keywords);
|
@@ -36,7 +36,7 @@ extern "C" {
|
|
36
36
|
#endif /* GRN_API */
|
37
37
|
|
38
38
|
typedef unsigned int grn_id;
|
39
|
-
typedef
|
39
|
+
typedef uint8_t grn_bool;
|
40
40
|
|
41
41
|
#define GRN_ID_NIL (0x00)
|
42
42
|
#define GRN_ID_MAX (0x3fffffff)
|
@@ -124,7 +124,8 @@ typedef enum {
|
|
124
124
|
GRN_TOKEN_FILTER_ERROR = -73,
|
125
125
|
GRN_COMMAND_ERROR = -74,
|
126
126
|
GRN_PLUGIN_ERROR = -75,
|
127
|
-
GRN_SCORER_ERROR = -76
|
127
|
+
GRN_SCORER_ERROR = -76,
|
128
|
+
GRN_CANCEL = -77
|
128
129
|
} grn_rc;
|
129
130
|
|
130
131
|
GRN_API grn_rc grn_init(void);
|
@@ -290,7 +291,12 @@ GRN_API grn_encoding grn_encoding_parse(const char *name);
|
|
290
291
|
|
291
292
|
/* obj */
|
292
293
|
|
293
|
-
typedef
|
294
|
+
typedef uint16_t grn_obj_flags;
|
295
|
+
typedef uint32_t grn_table_flags;
|
296
|
+
|
297
|
+
/* flags for grn_obj_flags and grn_table_flags */
|
298
|
+
|
299
|
+
#define GRN_OBJ_FLAGS_MASK (0xffff)
|
294
300
|
|
295
301
|
#define GRN_OBJ_TABLE_TYPE_MASK (0x07)
|
296
302
|
#define GRN_OBJ_TABLE_HASH_KEY (0x00)
|
@@ -335,6 +341,8 @@ typedef unsigned short int grn_obj_flags;
|
|
335
341
|
#define GRN_OBJ_UNIT_USERDEF_SECTION (0x07<<8)
|
336
342
|
#define GRN_OBJ_UNIT_USERDEF_POSITION (0x08<<8)
|
337
343
|
|
344
|
+
/* Don't use (0x01<<12) because it's used internally. */
|
345
|
+
|
338
346
|
#define GRN_OBJ_NO_SUBREC (0x00<<13)
|
339
347
|
#define GRN_OBJ_WITH_SUBREC (0x01<<13)
|
340
348
|
|
@@ -343,6 +351,10 @@ typedef unsigned short int grn_obj_flags;
|
|
343
351
|
#define GRN_OBJ_TEMPORARY (0x00<<15)
|
344
352
|
#define GRN_OBJ_PERSISTENT (0x01<<15)
|
345
353
|
|
354
|
+
/* flags only for grn_table_flags */
|
355
|
+
|
356
|
+
#define GRN_OBJ_KEY_LARGE (0x01<<16)
|
357
|
+
|
346
358
|
/* obj types */
|
347
359
|
|
348
360
|
#define GRN_VOID (0x00)
|
@@ -531,7 +543,7 @@ GRN_API grn_proc_type grn_proc_get_type(grn_ctx *ctx, grn_obj *proc);
|
|
531
543
|
|
532
544
|
GRN_API grn_obj *grn_table_create(grn_ctx *ctx,
|
533
545
|
const char *name, unsigned int name_size,
|
534
|
-
const char *path,
|
546
|
+
const char *path, grn_table_flags flags,
|
535
547
|
grn_obj *key_type, grn_obj *value_type);
|
536
548
|
|
537
549
|
#define GRN_TABLE_OPEN_OR_CREATE(ctx,name,name_size,path,flags,key_type,value_type,table) \
|
@@ -645,7 +657,7 @@ GRN_API int grn_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit,
|
|
645
657
|
grn_obj *result, grn_table_sort_key *keys, int n_keys);
|
646
658
|
|
647
659
|
typedef struct _grn_table_group_result grn_table_group_result;
|
648
|
-
typedef
|
660
|
+
typedef uint32_t grn_table_group_flags;
|
649
661
|
|
650
662
|
#define GRN_TABLE_GROUP_CALC_COUNT (0x01<<3)
|
651
663
|
#define GRN_TABLE_GROUP_CALC_MAX (0x01<<4)
|
@@ -893,6 +905,7 @@ GRN_API int grn_obj_get_values(grn_ctx *ctx, grn_obj *obj, grn_id offset, void *
|
|
893
905
|
|
894
906
|
GRN_API grn_rc grn_obj_set_value(grn_ctx *ctx, grn_obj *obj, grn_id id, grn_obj *value, int flags);
|
895
907
|
GRN_API grn_rc grn_obj_remove(grn_ctx *ctx, grn_obj *obj);
|
908
|
+
GRN_API grn_rc grn_obj_remove_dependent(grn_ctx *ctx, grn_obj *obj);
|
896
909
|
GRN_API grn_rc grn_obj_rename(grn_ctx *ctx, grn_obj *obj,
|
897
910
|
const char *name, unsigned int name_size);
|
898
911
|
GRN_API grn_rc grn_table_rename(grn_ctx *ctx, grn_obj *table,
|