rroonga 5.0.5-x86-mingw32 → 5.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Rakefile +40 -8
- data/ext/groonga/extconf.rb +17 -2
- data/ext/groonga/rb-grn-context.c +25 -1
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +0 -2
- data/ext/groonga/rb-grn-table.c +2 -2
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +27 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/test-column.rb +4 -2
- data/test/test-context.rb +9 -1
- data/test/test-expression-builder.rb +38 -1
- data/test/test-remote.rb +12 -3
- data/test/test-table-group.rb +13 -11
- data/test/test-table.rb +4 -6
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-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/libstdc++-6.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/fastcgi.conf +1 -0
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +1 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params +1 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +1 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +3 -0
- data/vendor/local/etc/groonga/httpd/scgi_params +1 -0
- data/vendor/local/etc/groonga/httpd/scgi_params.default +1 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params +1 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +13 -6
- data/vendor/local/include/groonga/groonga/ii.h +16 -8
- data/vendor/local/include/groonga/groonga/obj.h +5 -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.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/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/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/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/community.txt +6 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +2 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- 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 +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +126 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +24 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +2 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +11 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +117 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +207 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +18 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +32 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +71 -30
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +14 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +24 -5
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +14 -9
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +15 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +190 -61
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +27 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +14 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +149 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +263 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +27 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +45 -12
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +96 -30
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +170 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +62 -21
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +93 -74
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +6 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- 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 +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +126 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +24 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +11 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +117 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +207 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +18 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +32 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +71 -30
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +14 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +24 -5
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +16 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +15 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +9 -8
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +159 -64
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +9 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +143 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +254 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +27 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +32 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +118 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +163 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +70 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +93 -86
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/license/groonga/README.md +7 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1078 -338
- data/vendor/local/share/man/man1/groonga.1 +1088 -218
- metadata +97 -91
- data/lib/1.9/groonga.so +0 -0
- data/vendor/local/etc/groonga/windows_event_log/provider.man +0 -38
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +0 -15
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +0 -116
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +0 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +0 -117
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzBjYjE5YmU0YmM0NzMzZDBjOGQ5YzY0MjhiZWJjNTZmMTNjMzQ1Yw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7760ee78cad527e8062ecc8c4a5ebacdcb6f26bf
|
4
|
+
data.tar.gz: ba9f05900cd4070a2030af484dec4ca956a39a52
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NTAxY2U5Y2E5N2Y4MGE3ZjdkYjgwYjQwMjU2OTdiY2E5MDI1OTA4NmQyMmIx
|
11
|
-
MzY2MWU4MDhjMzAzYjcyZDkyODMxNThhY2E5OTI3ZDA1OGExY2E=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MWI0MTdiY2U2MzBkNzc3ZDMxYzc1YjY3Y2E4YmI4MzAwYjAxN2ZjOTcyZWE4
|
14
|
-
YzY4MTE2ODI5Mjg3YTYyNWYzNGNhM2FmMzQ3OWUwNzM5ZTJhNTk5MjM1ZDlj
|
15
|
-
YTYyYWZjYjI3NDE4NDQ1MzcyYTE3NWM2ZWYxMjI2OTVhNGM2OTE=
|
6
|
+
metadata.gz: 932a4e0275b1bcce13d977c988b9f2b4aaf9b28ab73ae014836f2b3338a4e073a35822ef5efe176760e10d5f83c7c0f3835a6f3d73024f9c13c27c069650c543
|
7
|
+
data.tar.gz: e1830bba918608ed0ada2085dd93376da1ea4be500e4dc975df56018b09f1f37b4b7ad5812aa99cfee96727965dfc7db51a53ad885cee97d876312a3da5b418a
|
data/Rakefile
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
|
18
18
|
require "find"
|
19
19
|
require "fileutils"
|
20
|
+
require "shellwords"
|
20
21
|
require "pathname"
|
21
22
|
require "erb"
|
22
23
|
require "yard"
|
@@ -148,17 +149,48 @@ namespace :clean do
|
|
148
149
|
end
|
149
150
|
end
|
150
151
|
|
151
|
-
desc "Build cross compile binary with Vagrant"
|
152
152
|
namespace :build do
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
153
|
+
architectures = [:x86, :x64]
|
154
|
+
|
155
|
+
namespace :windows do
|
156
|
+
ruby_versions = "2.0.0:2.1.6:2.2.2"
|
157
|
+
|
158
|
+
architectures.each do |architecture|
|
159
|
+
desc "Build gem for Windows #{architecture}"
|
160
|
+
task architecture do
|
161
|
+
build_dir = "tmp/windows"
|
162
|
+
rm_rf build_dir
|
163
|
+
mkdir_p build_dir
|
164
|
+
|
165
|
+
commands = [
|
166
|
+
["git", "clone", "file://#{Dir.pwd}/.git", build_dir],
|
167
|
+
["cd", build_dir],
|
168
|
+
["bundle"],
|
169
|
+
["rake", "cross", "native", "gem", "RUBY_CC_VERSION=#{ruby_versions}"],
|
170
|
+
]
|
171
|
+
if architecture == :x64
|
172
|
+
commands.unshift(["export", "RROONGA_USE_GROONGA_X64=true"])
|
173
|
+
end
|
174
|
+
raw_commands = commands.collect do |command|
|
175
|
+
Shellwords.join(command)
|
176
|
+
end
|
177
|
+
raw_command_line = raw_commands.join(" && ")
|
178
|
+
|
179
|
+
require "rake_compiler_dock"
|
180
|
+
RakeCompilerDock.sh(raw_command_line)
|
181
|
+
|
182
|
+
version = spec.version
|
183
|
+
cp("#{build_dir}/pkg/rroonga-#{version}-#{architecture}-mingw32.gem",
|
184
|
+
"pkg/")
|
185
|
+
end
|
160
186
|
end
|
161
187
|
end
|
188
|
+
|
189
|
+
desc "Build gems for Windows"
|
190
|
+
build_tasks = architectures.collect do |architecture|
|
191
|
+
"windows:#{architecture}"
|
192
|
+
end
|
193
|
+
task :windows => build_tasks
|
162
194
|
end
|
163
195
|
|
164
196
|
task :default => :test
|
data/ext/groonga/extconf.rb
CHANGED
@@ -162,6 +162,20 @@ def configure_command_line(prefix)
|
|
162
162
|
escaped_command_line.join(" ")
|
163
163
|
end
|
164
164
|
|
165
|
+
def guess_make
|
166
|
+
env_make = ENV["MAKE"]
|
167
|
+
return env_make if env_make
|
168
|
+
|
169
|
+
candidates = ["gmake", "make"]
|
170
|
+
candidates.each do |candidate|
|
171
|
+
(ENV["PATH"] || "").split(File::PATH_SEPARATOR).each do |path|
|
172
|
+
return candidate if File.executable?(File.join(path, candidate))
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
"make"
|
177
|
+
end
|
178
|
+
|
165
179
|
def n_processors
|
166
180
|
proc_file = "/proc/cpuinfo"
|
167
181
|
if File.exist?(proc_file)
|
@@ -174,12 +188,13 @@ def n_processors
|
|
174
188
|
end
|
175
189
|
|
176
190
|
def install_for_gnu_build_system(install_dir)
|
191
|
+
make = guess_make
|
177
192
|
run_command("configuring...",
|
178
193
|
configure_command_line(install_dir))
|
179
194
|
run_command("building (maybe long time)...",
|
180
|
-
"make -j#{n_processors}")
|
195
|
+
"#{make} -j#{n_processors}")
|
181
196
|
run_command("installing...",
|
182
|
-
"make install")
|
197
|
+
"#{make} install")
|
183
198
|
end
|
184
199
|
|
185
200
|
def build_groonga_from_git(major, minor, micro)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2010-
|
3
|
+
Copyright (C) 2010-2015 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -943,6 +943,28 @@ rb_grn_context_array_reference (VALUE self, VALUE name_or_id)
|
|
943
943
|
return GRNOBJECT2RVAL(Qnil, context, object, GRN_FALSE);
|
944
944
|
}
|
945
945
|
|
946
|
+
/*
|
947
|
+
* Checks whether object with the ID is opened or not.
|
948
|
+
*
|
949
|
+
* @overload opened?(id)
|
950
|
+
* @param id [Integer] The ID to be checked
|
951
|
+
* @return [Boolean] `true` if object with the `id` is opened,
|
952
|
+
* `false` otherwise.
|
953
|
+
*/
|
954
|
+
static VALUE
|
955
|
+
rb_grn_context_is_opened (VALUE self, VALUE rb_id)
|
956
|
+
{
|
957
|
+
grn_ctx *context;
|
958
|
+
grn_id id;
|
959
|
+
grn_bool is_opened;
|
960
|
+
|
961
|
+
context = SELF(self);
|
962
|
+
id = NUM2UINT(rb_id);
|
963
|
+
is_opened = grn_ctx_is_opened(context, id);
|
964
|
+
|
965
|
+
return CBOOL2RVAL(is_opened);
|
966
|
+
}
|
967
|
+
|
946
968
|
void
|
947
969
|
rb_grn_context_object_created (VALUE rb_context, VALUE rb_object)
|
948
970
|
{
|
@@ -999,4 +1021,6 @@ rb_grn_init_context (VALUE mGrn)
|
|
999
1021
|
rb_define_method(cGrnContext, "connect", rb_grn_context_connect, -1);
|
1000
1022
|
rb_define_method(cGrnContext, "send", rb_grn_context_send, 1);
|
1001
1023
|
rb_define_method(cGrnContext, "receive", rb_grn_context_receive, 0);
|
1024
|
+
|
1025
|
+
rb_define_method(cGrnContext, "opened?", rb_grn_context_is_opened, 1);
|
1002
1026
|
}
|
@@ -160,7 +160,7 @@ reset_floating_objects (VALUE rb_context)
|
|
160
160
|
*
|
161
161
|
* @overload create(options=nil)
|
162
162
|
* @return [Groonga::Database] 作成されたデータベースを返す。
|
163
|
-
* @param
|
163
|
+
* @param [::Hash] options The name and value
|
164
164
|
* pairs. Omitted names are initialized as the default value.
|
165
165
|
* @option options :path
|
166
166
|
* データベースを保存するパス。省略すると一時データベース
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1348,10 +1348,10 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
|
1348
1348
|
*
|
1349
1349
|
* @!macro [new] table.group.options
|
1350
1350
|
* @option options :max_n_sub_records
|
1351
|
-
*
|
1351
|
+
* グループ化した後のレコードのそれぞれについて最大`:max_n_sub_records`件まで
|
1352
1352
|
* そのグループに含まれる _table_ のレコードをサブレコードとして格納する。
|
1353
1353
|
* @option options [String, Symbol] :calc_target
|
1354
|
-
* The target column name for
|
1354
|
+
* The target column name for `:calc_types`.
|
1355
1355
|
* @option options [::Array] :calc_types
|
1356
1356
|
* It specifies how to calculate (aggregate) values in grouped records by
|
1357
1357
|
* a drilldown. You can specify multiple calculation types.
|
data/ext/groonga/rb-grn.h
CHANGED
data/lib/2.0/groonga.so
CHANGED
Binary file
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/2.2/groonga.so
CHANGED
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
3
|
# Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
|
-
# Copyright (C) 2009-
|
4
|
+
# Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
7
7
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -448,6 +448,28 @@ module Groonga
|
|
448
448
|
super(Groonga::Operation::TERM_EXTRACT, column_value_builder, value)
|
449
449
|
end
|
450
450
|
end
|
451
|
+
|
452
|
+
# @private
|
453
|
+
class CallExpressionBuilder < ExpressionBuilder
|
454
|
+
def initialize(function, *arguments)
|
455
|
+
super()
|
456
|
+
@function = function
|
457
|
+
@arguments = arguments
|
458
|
+
end
|
459
|
+
|
460
|
+
def build(expression, variable)
|
461
|
+
expression.append_object(@function)
|
462
|
+
@arguments.each do |argument|
|
463
|
+
case argument
|
464
|
+
when String
|
465
|
+
expression.append_constant(argument)
|
466
|
+
else
|
467
|
+
argument.build(expression, variable)
|
468
|
+
end
|
469
|
+
end
|
470
|
+
expression.append_operation(Operation::CALL, @arguments.size)
|
471
|
+
end
|
472
|
+
end
|
451
473
|
end
|
452
474
|
|
453
475
|
# @private
|
@@ -516,6 +538,10 @@ module Groonga
|
|
516
538
|
column_expression_builder(object, name)
|
517
539
|
end
|
518
540
|
|
541
|
+
def call(function, *arguments)
|
542
|
+
CallExpressionBuilder.new(@table.context[function], *arguments)
|
543
|
+
end
|
544
|
+
|
519
545
|
private
|
520
546
|
def build_match_target(&block)
|
521
547
|
sub_builder = MatchTargetRecordExpressionBuilder.new(@table, nil)
|
data/rroonga-build.rb
CHANGED
@@ -20,15 +20,15 @@ module RroongaBuild
|
|
20
20
|
module RequiredGroongaVersion
|
21
21
|
MAJOR = 5
|
22
22
|
MINOR = 0
|
23
|
-
MICRO =
|
23
|
+
MICRO = 8
|
24
24
|
VERSION = [MAJOR, MINOR, MICRO]
|
25
|
-
RELEASED_DATE = Time.utc(2015,
|
25
|
+
RELEASED_DATE = Time.utc(2015, 9, 29)
|
26
26
|
end
|
27
27
|
|
28
28
|
module LatestGroongaVersion
|
29
29
|
MAJOR = 5
|
30
30
|
MINOR = 0
|
31
|
-
MICRO =
|
31
|
+
MICRO = 8
|
32
32
|
VERSION = [MAJOR, MINOR, MICRO]
|
33
33
|
end
|
34
34
|
|
data/rroonga.gemspec
CHANGED
@@ -89,6 +89,7 @@ Gem::Specification.new do |s|
|
|
89
89
|
s.add_development_dependency("test-unit-notify")
|
90
90
|
s.add_development_dependency("rake")
|
91
91
|
s.add_development_dependency("rake-compiler", [">= 0.9.5"])
|
92
|
+
s.add_development_dependency("rake-compiler-dock")
|
92
93
|
s.add_development_dependency("bundler")
|
93
94
|
s.add_development_dependency("yard")
|
94
95
|
s.add_development_dependency("packnga", [">= 1.0.0"])
|
data/test/test-column.rb
CHANGED
@@ -331,8 +331,10 @@ class ColumnTest < Test::Unit::TestCase
|
|
331
331
|
table.index("Comments.title")
|
332
332
|
end
|
333
333
|
end
|
334
|
-
assert_equal([
|
335
|
-
|
334
|
+
assert_equal([
|
335
|
+
Groonga["Terms.Comments_title"],
|
336
|
+
Groonga["Titles.Comments_title"],
|
337
|
+
],
|
336
338
|
title.indexes)
|
337
339
|
end
|
338
340
|
|
data/test/test-context.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -135,6 +135,14 @@ class ContextTest < Test::Unit::TestCase
|
|
135
135
|
assert_true(context.closed?)
|
136
136
|
end
|
137
137
|
|
138
|
+
def test_opened?
|
139
|
+
Groonga::Database.create
|
140
|
+
context = Groonga::Context.default
|
141
|
+
assert do
|
142
|
+
context.opened?(Groonga::Type::SHORT_TEXT)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
138
146
|
class RestoreTest < self
|
139
147
|
def test_simple
|
140
148
|
commands = <<EOD
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
3
|
# Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
|
-
# Copyright (C) 2009-
|
4
|
+
# Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
7
7
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -523,6 +523,43 @@ EOC
|
|
523
523
|
end
|
524
524
|
end
|
525
525
|
|
526
|
+
class CallTest < self
|
527
|
+
def setup_tables
|
528
|
+
Groonga::Schema.define do |schema|
|
529
|
+
schema.create_table("Shops",
|
530
|
+
:type => :hash,
|
531
|
+
:key_type => "ShortText") do |table|
|
532
|
+
table.wgs84_geo_point("location")
|
533
|
+
end
|
534
|
+
|
535
|
+
schema.create_table("Locations",
|
536
|
+
:type => :patricia_trie,
|
537
|
+
:key_type => :wgs84_geo_point) do |table|
|
538
|
+
table.index("Shops.location")
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
@shops = Groonga["Shops"]
|
543
|
+
end
|
544
|
+
|
545
|
+
def setup_data
|
546
|
+
@shops.add("Nezu no taiyaki", :location => "35.720253,139.762573")
|
547
|
+
@shops.add("Taiyaki Kataoka", :location => "35.712521,139.715591")
|
548
|
+
@shops.add("Taiyaki Sharaku", :location => "35.716969,139.794846")
|
549
|
+
end
|
550
|
+
|
551
|
+
def test_search
|
552
|
+
result = @shops.select do |record|
|
553
|
+
record.call("geo_in_rectangle",
|
554
|
+
record.location,
|
555
|
+
"35.7185,139.7912",
|
556
|
+
"35.7065,139.8069")
|
557
|
+
end
|
558
|
+
assert_equal(["Taiyaki Sharaku"],
|
559
|
+
result.collect(&:_key))
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
526
563
|
class RecordTest < self
|
527
564
|
def setup_tables
|
528
565
|
Groonga::Schema.define do |schema|
|
data/test/test-remote.rb
CHANGED
@@ -47,9 +47,18 @@ class RemoteTest < Test::Unit::TestCase
|
|
47
47
|
id, result = _context.receive
|
48
48
|
assert_equal(0, id)
|
49
49
|
values = JSON.load(result)
|
50
|
-
assert_equal([
|
51
|
-
|
52
|
-
|
50
|
+
assert_equal([
|
51
|
+
"alloc_count",
|
52
|
+
"cache_hit_rate",
|
53
|
+
"command_version",
|
54
|
+
"default_command_version",
|
55
|
+
"max_command_version",
|
56
|
+
"n_queries",
|
57
|
+
"start_time",
|
58
|
+
"starttime",
|
59
|
+
"uptime",
|
60
|
+
"version",
|
61
|
+
],
|
53
62
|
values.keys.sort)
|
54
63
|
end
|
55
64
|
|
data/test/test-table-group.rb
CHANGED
@@ -325,11 +325,12 @@ class TableGroupTest < Test::Unit::TestCase
|
|
325
325
|
def test_max
|
326
326
|
grouped_records = @memos.group("tag",
|
327
327
|
:calc_target => "priority",
|
328
|
-
:calc_types => [:max])
|
329
|
-
|
328
|
+
:calc_types => [:max])
|
329
|
+
grouped_data = grouped_records.collect do |record|
|
330
|
+
tag = record.key
|
330
331
|
[
|
331
332
|
tag.key,
|
332
|
-
|
333
|
+
record.max,
|
333
334
|
]
|
334
335
|
end
|
335
336
|
|
@@ -338,20 +339,21 @@ class TableGroupTest < Test::Unit::TestCase
|
|
338
339
|
["Mroonga", 50],
|
339
340
|
["Rroonga", 25],
|
340
341
|
],
|
341
|
-
|
342
|
+
grouped_data)
|
342
343
|
end
|
343
344
|
|
344
345
|
def test_all_types
|
345
346
|
grouped_records = @memos.group("tag",
|
346
347
|
:calc_target => "priority",
|
347
|
-
:calc_types => [:max, :min, :sum, :average])
|
348
|
-
|
348
|
+
:calc_types => [:max, :min, :sum, :average])
|
349
|
+
grouped_data = grouped_records.collect do |record|
|
350
|
+
tag = record.key
|
349
351
|
[
|
350
352
|
tag.key,
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
353
|
+
record.max,
|
354
|
+
record.min,
|
355
|
+
record.sum,
|
356
|
+
record.average.round(3),
|
355
357
|
]
|
356
358
|
end
|
357
359
|
|
@@ -360,7 +362,7 @@ class TableGroupTest < Test::Unit::TestCase
|
|
360
362
|
["Mroonga", 50, 10, 85, 28.333],
|
361
363
|
["Rroonga", 25, -25, 0, 0.0],
|
362
364
|
],
|
363
|
-
|
365
|
+
grouped_data)
|
364
366
|
end
|
365
367
|
end
|
366
368
|
end
|