rroonga 6.1.3-x64-mingw32 → 7.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/Rakefile +1 -0
- data/doc/text/news.md +28 -0
- data/ext/groonga/rb-grn-column.c +53 -32
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-data-column.c +103 -0
- data/ext/groonga/rb-grn-default-cache.c +104 -0
- data/ext/groonga/rb-grn-index-column.c +93 -15
- data/ext/groonga/rb-grn-inverted-index-cursor.c +269 -0
- data/ext/groonga/rb-grn-object.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +6 -0
- data/ext/groonga/rb-grn-table.c +0 -3
- data/ext/groonga/rb-grn-utils.c +35 -7
- data/ext/groonga/rb-grn.h +13 -4
- data/ext/groonga/rb-groonga.c +2 -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/rroonga-build.rb +7 -7
- data/rroonga.gemspec +2 -1
- data/test/test-data-column.rb +71 -2
- data/test/test-default-cache.rb +43 -0
- data/test/test-double-array-trie.rb +7 -0
- data/test/test-fix-size-column.rb +12 -0
- data/test/test-hash.rb +7 -0
- data/test/test-index-column.rb +12 -0
- data/test/test-index-cursor.rb +93 -28
- data/test/test-patricia-trie.rb +7 -0
- data/test/test-variable-size-column.rb +19 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.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/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onigmo-config +2 -2
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +16 -3
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/include/groonga/groonga/cache.h +49 -0
- data/vendor/local/include/groonga/groonga/column.h +1 -1
- data/vendor/local/include/groonga/groonga/groonga.h +26 -16
- data/vendor/local/include/groonga/groonga/ii.h +7 -1
- data/vendor/local/include/groonga/groonga/obj.h +8 -1
- data/vendor/local/include/groonga/groonga/plugin.h +6 -1
- data/vendor/local/include/groonga/groonga/table.h +5 -0
- data/vendor/local/include/groonga/groonga/util.h +4 -1
- data/vendor/local/include/groonga/groonga/window_function.h +5 -1
- data/vendor/local/include/onigmo.h +6 -5
- data/vendor/local/include/zconf.h +32 -9
- data/vendor/local/include/zlib.h +298 -154
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +2 -2
- 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/string.la +2 -2
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +2 -2
- 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/functions/vector.la +2 -2
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +392 -53
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +1 -2
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +37 -14
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/command.rb +0 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_input.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -136
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +12 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +7 -8
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +234 -80
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +185 -0
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +27 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libonigmo.la +3 -3
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +2 -2
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/onigmo.pc +7 -7
- data/vendor/local/lib/pkgconfig/zlib.pc +4 -4
- 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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +11 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +13 -47
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 -4
- 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 +181 -891
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +11 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +1086 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +45 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +632 -91
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +514 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +902 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +71 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +51 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +195 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +100 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +33 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +38 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +28 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +25 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions/record_number.txt → en/html/_sources/reference/window_functions/window_sum.txt} +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +3 -3
- 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 +5 -5
- 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 +5 -5
- 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 +102 -93
- 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 +326 -251
- data/vendor/local/share/doc/groonga/en/html/index.html +111 -104
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +24 -65
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +9 -9
- 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 -9
- 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 +213 -898
- 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 +7 -6
- 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 +16 -14
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +1148 -0
- 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 +90 -82
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +22 -22
- 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/pretty_print.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/request_timeout.html +6 -6
- 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/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.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 +5 -5
- 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_acquire.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/lock_release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +61 -17
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- 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 +1727 -408
- 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/object_inspect.html +526 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.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/query_expand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- 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/reindex.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/schema.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1685 -492
- 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 +5 -5
- 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_copy.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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- 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/configuration.html +19 -19
- 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 +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -34
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +107 -82
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -23
- 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/fuzzy_search.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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +355 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +155 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/{record_number.html → string_length.html} +36 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +170 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +24 -24
- 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 +36 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +27 -15
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +26 -26
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +28 -28
- 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 +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +164 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +163 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +163 -0
- 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 +9 -9
- 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 +5 -5
- 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 +5 -5
- 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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +11 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +13 -47
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 -4
- 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 +181 -891
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +11 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +1086 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +45 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +632 -91
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +514 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +902 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +71 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +51 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +195 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +100 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +33 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +38 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +28 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +25 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions/record_number.txt → ja/html/_sources/reference/window_functions/window_sum.txt} +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +3 -3
- 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 +5 -5
- 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 +5 -5
- 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 +102 -93
- 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 +186 -118
- data/vendor/local/share/doc/groonga/ja/html/index.html +111 -104
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +24 -61
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- 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 +9 -9
- 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 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +132 -761
- 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 +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +1064 -0
- 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 +90 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +22 -22
- 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/pretty_print.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/request_timeout.html +6 -6
- 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 +5 -5
- 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 +5 -5
- 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/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- 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_acquire.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/lock_release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +67 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
- 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 +1629 -383
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- 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/object_inspect.html +508 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.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/query_expand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- 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/reindex.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1606 -478
- 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 +5 -5
- 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_copy.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- 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/configuration.html +19 -19
- 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 +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +76 -48
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +103 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -23
- 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/fuzzy_search.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +370 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +150 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/{record_number.html → string_length.html} +36 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +171 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +24 -24
- 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 +36 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +19 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +26 -26
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +28 -28
- 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 +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +146 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +164 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +164 -0
- 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 +9 -9
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/mruby/LEGAL +4 -0
- data/vendor/local/share/license/mruby/AUTHORS +1 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/zlib/README +3 -3
- metadata +100 -67
- data/lib/2.4/groonga.so +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -105
data/ext/groonga/rb-grn-plugin.c
CHANGED
@@ -245,7 +245,7 @@ rb_grn_plugin_s_names (int argc, VALUE *argv, VALUE klass)
|
|
245
245
|
void
|
246
246
|
rb_grn_init_plugin (VALUE mGrn)
|
247
247
|
{
|
248
|
-
cGrnPlugin = rb_define_class_under(mGrn, "Plugin",
|
248
|
+
cGrnPlugin = rb_define_class_under(mGrn, "Plugin", rb_cData);
|
249
249
|
rb_define_alloc_func(cGrnPlugin, rb_grn_plugin_alloc);
|
250
250
|
|
251
251
|
rb_define_singleton_method(cGrnPlugin, "register",
|
@@ -277,7 +277,7 @@ rb_grn_table_cursor_each (VALUE self)
|
|
277
277
|
void
|
278
278
|
rb_grn_init_table_cursor (VALUE mGrn)
|
279
279
|
{
|
280
|
-
rb_cGrnTableCursor = rb_define_class_under(mGrn, "TableCursor",
|
280
|
+
rb_cGrnTableCursor = rb_define_class_under(mGrn, "TableCursor", rb_cData);
|
281
281
|
rb_define_alloc_func(rb_cGrnTableCursor, rb_grn_object_alloc);
|
282
282
|
|
283
283
|
rb_include_module(rb_cGrnTableCursor, rb_mEnumerable);
|
@@ -356,7 +356,11 @@ rb_grn_table_key_support_get_key (VALUE self, VALUE rb_id)
|
|
356
356
|
/*
|
357
357
|
* テーブルに主キーが _key_ のレコードがあるならtrueを返す。
|
358
358
|
*
|
359
|
+
* @overload key?(key)
|
360
|
+
* @since 7.0.0
|
361
|
+
*
|
359
362
|
* @overload has_key?(key)
|
363
|
+
* @deprecated Use {key?} instead.
|
360
364
|
*/
|
361
365
|
static VALUE
|
362
366
|
rb_grn_table_key_support_has_key (VALUE self, VALUE rb_key)
|
@@ -1123,6 +1127,8 @@ rb_grn_init_table_key_support (VALUE mGrn)
|
|
1123
1127
|
rb_grn_table_key_support_get_id, -1);
|
1124
1128
|
rb_define_method(rb_mGrnTableKeySupport, "key",
|
1125
1129
|
rb_grn_table_key_support_get_key, 1);
|
1130
|
+
rb_define_method(rb_mGrnTableKeySupport, "key?",
|
1131
|
+
rb_grn_table_key_support_has_key, 1);
|
1126
1132
|
rb_define_method(rb_mGrnTableKeySupport, "has_key?",
|
1127
1133
|
rb_grn_table_key_support_has_key, 1);
|
1128
1134
|
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1377,9 +1377,6 @@ rb_grn_table_geo_sort (int argc, VALUE *argv, VALUE self)
|
|
1377
1377
|
offset = NUM2INT(rb_offset);
|
1378
1378
|
if (!NIL_P(rb_limit))
|
1379
1379
|
limit = NUM2INT(rb_limit);
|
1380
|
-
/* TODO: Remove me when Groonga 5.1.0 is released. */
|
1381
|
-
if (limit < 0)
|
1382
|
-
limit = grn_table_size(context, table) + limit + 1;
|
1383
1380
|
|
1384
1381
|
result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_NO_KEY,
|
1385
1382
|
NULL, table);
|
data/ext/groonga/rb-grn-utils.c
CHANGED
@@ -1061,13 +1061,37 @@ rb_grn_value_to_ruby_object (grn_ctx *context,
|
|
1061
1061
|
|
1062
1062
|
grn_id
|
1063
1063
|
rb_grn_id_from_ruby_object (VALUE object, grn_ctx *context, grn_obj *table,
|
1064
|
-
VALUE
|
1064
|
+
VALUE rb_related_object)
|
1065
1065
|
{
|
1066
1066
|
VALUE rb_id;
|
1067
1067
|
|
1068
1068
|
if (NIL_P(object))
|
1069
1069
|
return Qnil;
|
1070
1070
|
|
1071
|
+
if (!RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cGrnRecord)) &&
|
1072
|
+
!RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cInteger))) {
|
1073
|
+
VALUE rb_record;
|
1074
|
+
if (table) {
|
1075
|
+
VALUE rb_table;
|
1076
|
+
rb_table = GRNOBJECT2RVAL(Qnil, context, table, GRN_FALSE);
|
1077
|
+
if (!NIL_P(rb_table) &&
|
1078
|
+
RVAL2CBOOL(rb_obj_is_kind_of(rb_table,
|
1079
|
+
rb_mGrnTableKeySupport))) {
|
1080
|
+
rb_record = rb_funcall(rb_table, rb_intern("[]"), 1, object);
|
1081
|
+
if (NIL_P(rb_record)) {
|
1082
|
+
rb_raise(rb_eArgError,
|
1083
|
+
"nonexistent key: %" PRIsVALUE
|
1084
|
+
": %" PRIsVALUE
|
1085
|
+
": %" PRIsVALUE,
|
1086
|
+
object,
|
1087
|
+
rb_table,
|
1088
|
+
rb_related_object);
|
1089
|
+
}
|
1090
|
+
object = rb_record;
|
1091
|
+
}
|
1092
|
+
}
|
1093
|
+
}
|
1094
|
+
|
1071
1095
|
if (RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cGrnRecord))) {
|
1072
1096
|
VALUE rb_table;
|
1073
1097
|
rb_table = rb_funcall(object, rb_intern("table"), 0);
|
@@ -1077,9 +1101,12 @@ rb_grn_id_from_ruby_object (VALUE object, grn_ctx *context, grn_obj *table,
|
|
1077
1101
|
rb_expected_table =
|
1078
1102
|
GRNOBJECT2RVAL(Qnil, context, table, GRN_FALSE);
|
1079
1103
|
rb_raise(rb_eGrnError,
|
1080
|
-
"wrong table: expected
|
1081
|
-
|
1082
|
-
|
1104
|
+
"wrong table: expected %" PRIsVALUE
|
1105
|
+
": actual %" PRIsVALUE
|
1106
|
+
": %" PRIsVALUE,
|
1107
|
+
rb_expected_table,
|
1108
|
+
rb_table,
|
1109
|
+
rb_related_object);
|
1083
1110
|
}
|
1084
1111
|
rb_id = rb_funcall(object, rb_intern("id"), 0);
|
1085
1112
|
} else {
|
@@ -1088,9 +1115,10 @@ rb_grn_id_from_ruby_object (VALUE object, grn_ctx *context, grn_obj *table,
|
|
1088
1115
|
|
1089
1116
|
if (!RVAL2CBOOL(rb_obj_is_kind_of(rb_id, rb_cInteger)))
|
1090
1117
|
rb_raise(rb_eGrnError,
|
1091
|
-
"should be unsigned integer or Groogna::Record:
|
1092
|
-
|
1093
|
-
|
1118
|
+
"should be unsigned integer or Groogna::Record: %" PRIsVALUE
|
1119
|
+
": %" PRIsVALUE,
|
1120
|
+
object,
|
1121
|
+
rb_related_object);
|
1094
1122
|
|
1095
1123
|
return NUM2UINT(rb_id);
|
1096
1124
|
}
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2017 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
Copyright (C) 2015-2017 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
@@ -97,9 +97,9 @@ RB_GRN_BEGIN_DECLS
|
|
97
97
|
# define debug(...)
|
98
98
|
#endif
|
99
99
|
|
100
|
-
#define RB_GRN_MAJOR_VERSION
|
101
|
-
#define RB_GRN_MINOR_VERSION
|
102
|
-
#define RB_GRN_MICRO_VERSION
|
100
|
+
#define RB_GRN_MAJOR_VERSION 7
|
101
|
+
#define RB_GRN_MINOR_VERSION 0
|
102
|
+
#define RB_GRN_MICRO_VERSION 2
|
103
103
|
|
104
104
|
#define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
|
105
105
|
#define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
|
@@ -336,6 +336,7 @@ void rb_grn_init_fix_size_column (VALUE mGrn);
|
|
336
336
|
void rb_grn_init_variable_size_column (VALUE mGrn);
|
337
337
|
void rb_grn_init_index_column (VALUE mGrn);
|
338
338
|
void rb_grn_init_index_cursor (VALUE mGrn);
|
339
|
+
void rb_grn_init_inverted_index_cursor (VALUE mGrn);
|
339
340
|
void rb_grn_init_posting (VALUE mGrn);
|
340
341
|
void rb_grn_init_accessor (VALUE mGrn);
|
341
342
|
void rb_grn_init_geo_point (VALUE mGrn);
|
@@ -367,6 +368,7 @@ void rb_grn_init_request_timer (VALUE mGrn);
|
|
367
368
|
void rb_grn_init_request_timer_id (VALUE mGrn);
|
368
369
|
void rb_grn_init_id (VALUE mGrn);
|
369
370
|
void rb_grn_init_name (VALUE mGrn);
|
371
|
+
void rb_grn_init_default_cache (VALUE mGrn);
|
370
372
|
|
371
373
|
VALUE rb_grn_rc_to_exception (grn_rc rc);
|
372
374
|
void rb_grn_rc_check (grn_rc rc,
|
@@ -825,6 +827,13 @@ VALUE rb_grn_index_cursor_to_ruby_object (grn_ctx *context,
|
|
825
827
|
VALUE rb_table,
|
826
828
|
VALUE rb_lexicon,
|
827
829
|
grn_bool owner);
|
830
|
+
VALUE rb_grn_inverted_index_cursor_to_ruby_object
|
831
|
+
(grn_ctx *context,
|
832
|
+
grn_ii_cursor *cursor,
|
833
|
+
grn_id term_id,
|
834
|
+
int flags,
|
835
|
+
VALUE rb_table,
|
836
|
+
VALUE rb_lexicon);
|
828
837
|
|
829
838
|
grn_operator rb_grn_operator_from_ruby_object (VALUE object);
|
830
839
|
grn_operator rb_grn_set_operator_from_ruby_object (VALUE object);
|
data/ext/groonga/rb-groonga.c
CHANGED
@@ -229,6 +229,7 @@ Init_groonga (void)
|
|
229
229
|
rb_grn_init_table(mGrn);
|
230
230
|
rb_grn_init_table_cursor(mGrn);
|
231
231
|
rb_grn_init_index_cursor(mGrn);
|
232
|
+
rb_grn_init_inverted_index_cursor(mGrn);
|
232
233
|
rb_grn_init_posting(mGrn);
|
233
234
|
rb_grn_init_type(mGrn);
|
234
235
|
rb_grn_init_procedure(mGrn);
|
@@ -255,4 +256,5 @@ Init_groonga (void)
|
|
255
256
|
rb_grn_init_request_timer_id(mGrn);
|
256
257
|
rb_grn_init_id(mGrn);
|
257
258
|
rb_grn_init_name(mGrn);
|
259
|
+
rb_grn_init_default_cache(mGrn);
|
258
260
|
}
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/2.2/groonga.so
CHANGED
Binary file
|
data/lib/2.3/groonga.so
CHANGED
Binary file
|
data/rroonga-build.rb
CHANGED
@@ -16,17 +16,17 @@
|
|
16
16
|
|
17
17
|
module RroongaBuild
|
18
18
|
module RequiredGroongaVersion
|
19
|
-
MAJOR =
|
20
|
-
MINOR =
|
21
|
-
MICRO =
|
19
|
+
MAJOR = 7
|
20
|
+
MINOR = 0
|
21
|
+
MICRO = 2
|
22
22
|
VERSION = [MAJOR, MINOR, MICRO]
|
23
|
-
RELEASED_DATE = Time.utc(
|
23
|
+
RELEASED_DATE = Time.utc(2017, 4, 29)
|
24
24
|
end
|
25
25
|
|
26
26
|
module LatestGroongaVersion
|
27
|
-
MAJOR =
|
28
|
-
MINOR =
|
29
|
-
MICRO =
|
27
|
+
MAJOR = 7
|
28
|
+
MINOR = 0
|
29
|
+
MICRO = 2
|
30
30
|
VERSION = [MAJOR, MINOR, MICRO]
|
31
31
|
end
|
32
32
|
|
data/rroonga.gemspec
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# -*- mode: ruby; coding: utf-8 -*-
|
2
2
|
#
|
3
3
|
# Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
# Copyright (C) 2017 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
5
|
#
|
5
6
|
# This library is free software; you can redistribute it and/or
|
6
7
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -88,7 +89,7 @@ Gem::Specification.new do |s|
|
|
88
89
|
s.add_development_dependency("test-unit", [">= 3.0.0"])
|
89
90
|
s.add_development_dependency("rake")
|
90
91
|
s.add_development_dependency("rake-compiler", [">= 0.9.5"])
|
91
|
-
s.add_development_dependency("rake-compiler-dock")
|
92
|
+
s.add_development_dependency("rake-compiler-dock", [">= 0.6.0"])
|
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-data-column.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
1
|
+
# Copyright (C) 2016-2017 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
|
@@ -21,7 +21,7 @@ class DataColumnTest < Test::Unit::TestCase
|
|
21
21
|
end
|
22
22
|
|
23
23
|
sub_test_case "#apply_window_function" do
|
24
|
-
def
|
24
|
+
def test_sort_keys
|
25
25
|
Groonga::Schema.define do |schema|
|
26
26
|
schema.create_table("Comments") do |table|
|
27
27
|
table.uint32("nth")
|
@@ -49,5 +49,74 @@ class DataColumnTest < Test::Unit::TestCase
|
|
49
49
|
],
|
50
50
|
comments.collect {|comment| [comment.id, comment.nth]})
|
51
51
|
end
|
52
|
+
|
53
|
+
def test_group_keys
|
54
|
+
Groonga::Schema.define do |schema|
|
55
|
+
schema.create_table("Comments") do |table|
|
56
|
+
table.uint32("nth")
|
57
|
+
table.short_text("category")
|
58
|
+
end
|
59
|
+
end
|
60
|
+
comments = Groonga["Comments"]
|
61
|
+
nth = Groonga["Comments.nth"]
|
62
|
+
|
63
|
+
3.times do
|
64
|
+
comments.add(:category => "a")
|
65
|
+
end
|
66
|
+
3.times do
|
67
|
+
comments.add(:category => "b")
|
68
|
+
end
|
69
|
+
|
70
|
+
options = {
|
71
|
+
:sort_keys => [["_id", "desc"]],
|
72
|
+
:group_keys => ["category"],
|
73
|
+
}
|
74
|
+
nth.apply_window_function(options) do |record|
|
75
|
+
record.call("record_number")
|
76
|
+
end
|
77
|
+
values = comments.collect do |comment|
|
78
|
+
[
|
79
|
+
comment.id,
|
80
|
+
comment.nth,
|
81
|
+
comment.category,
|
82
|
+
]
|
83
|
+
end
|
84
|
+
assert_equal([
|
85
|
+
[1, 3, "a"],
|
86
|
+
[2, 2, "a"],
|
87
|
+
[3, 1, "a"],
|
88
|
+
[4, 3, "b"],
|
89
|
+
[5, 2, "b"],
|
90
|
+
[6, 1, "b"],
|
91
|
+
],
|
92
|
+
values)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
sub_test_case "#apply_expression" do
|
97
|
+
def test_simple
|
98
|
+
Groonga::Schema.define do |schema|
|
99
|
+
schema.create_table("Comments") do |table|
|
100
|
+
table.uint32("base")
|
101
|
+
table.uint32("plus1")
|
102
|
+
end
|
103
|
+
end
|
104
|
+
comments = Groonga["Comments"]
|
105
|
+
plus1 = Groonga["Comments.plus1"]
|
106
|
+
|
107
|
+
3.times do |i|
|
108
|
+
comments.add(:base => i)
|
109
|
+
end
|
110
|
+
|
111
|
+
plus1.apply_expression do |record|
|
112
|
+
record.base + 1
|
113
|
+
end
|
114
|
+
assert_equal([
|
115
|
+
[0, 1],
|
116
|
+
[1, 2],
|
117
|
+
[2, 3],
|
118
|
+
],
|
119
|
+
comments.collect {|comment| [comment.base, comment.plus1]})
|
120
|
+
end
|
52
121
|
end
|
53
122
|
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Copyright (C) 2017 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 DefaultCacheTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
setup :setup_database
|
20
|
+
def setup
|
21
|
+
begin
|
22
|
+
yield
|
23
|
+
ensure
|
24
|
+
Groonga::DefaultCache.base_path = nil
|
25
|
+
Groonga::DefaultCache.reopen
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
test "set base_path" do
|
30
|
+
base_path = "#{@database_path}.cache"
|
31
|
+
keys_path = "#{base_path}.keys"
|
32
|
+
Groonga::DefaultCache.base_path = base_path
|
33
|
+
assert do
|
34
|
+
not File.exist?(keys_path)
|
35
|
+
end
|
36
|
+
|
37
|
+
Groonga::DefaultCache.reopen
|
38
|
+
|
39
|
+
assert do
|
40
|
+
File.exist?(keys_path)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -123,6 +123,13 @@ class DoubleArrayTrieTest < Test::Unit::TestCase
|
|
123
123
|
assert_true(users.has_key?("morita"))
|
124
124
|
end
|
125
125
|
|
126
|
+
def test_key?
|
127
|
+
users = Groonga::DoubleArrayTrie.create(:name => "Users")
|
128
|
+
assert_false(users.key?("morita"))
|
129
|
+
users.add("morita")
|
130
|
+
assert_true(users.key?("morita"))
|
131
|
+
end
|
132
|
+
|
126
133
|
def test_prefix_cursor
|
127
134
|
paths = Groonga::DoubleArrayTrie.create(:name => "Paths",
|
128
135
|
:key_type => 'ShortText')
|
@@ -128,10 +128,22 @@ class FixSizeColumnTest < Test::Unit::TestCase
|
|
128
128
|
assert_not_predicate(@n_viewed, :vector?)
|
129
129
|
end
|
130
130
|
|
131
|
+
def test_weight_vector?
|
132
|
+
assert do
|
133
|
+
not @n_viewed.weight_vector?
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
131
137
|
def test_scalar?
|
132
138
|
assert_predicate(@n_viewed, :scalar?)
|
133
139
|
end
|
134
140
|
|
141
|
+
def test_data?
|
142
|
+
assert do
|
143
|
+
@n_viewed.data?
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
135
147
|
def test_inspect
|
136
148
|
assert_equal("#<Groonga::FixSizeColumn " +
|
137
149
|
"id: <#{@n_viewed.id}>, " +
|
data/test/test-hash.rb
CHANGED
@@ -280,6 +280,13 @@ class HashTest < Test::Unit::TestCase
|
|
280
280
|
index.search("engine").collect {|record| record.key.key})
|
281
281
|
end
|
282
282
|
|
283
|
+
def test_key?
|
284
|
+
users = Groonga::Hash.create(:name => "Users")
|
285
|
+
assert_false(users.key?("morita"))
|
286
|
+
users.add("morita")
|
287
|
+
assert_true(users.key?("morita"))
|
288
|
+
end
|
289
|
+
|
283
290
|
def test_has_key?
|
284
291
|
users = Groonga::Hash.create(:name => "Users")
|
285
292
|
assert_false(users.has_key?("morita"))
|
data/test/test-index-column.rb
CHANGED
@@ -48,9 +48,21 @@ class IndexColumnTest < Test::Unit::TestCase
|
|
48
48
|
assert_not_predicate(@index, :vector?)
|
49
49
|
end
|
50
50
|
|
51
|
+
def test_weight_vector?
|
52
|
+
assert do
|
53
|
+
not @index.weight_vector?
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
51
57
|
def test_scalar?
|
52
58
|
assert_not_predicate(@index, :scalar?)
|
53
59
|
end
|
60
|
+
|
61
|
+
def test_data?
|
62
|
+
assert do
|
63
|
+
not @index.data?
|
64
|
+
end
|
65
|
+
end
|
54
66
|
end
|
55
67
|
|
56
68
|
class CRUDTest < self
|
data/test/test-index-cursor.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2012-
|
1
|
+
# Copyright (C) 2012-2017 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
|
@@ -22,20 +22,62 @@ class IndexCursorTest < Test::Unit::TestCase
|
|
22
22
|
setup_records
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
sub_test_case("#open_cursor") do
|
26
|
+
def test_table_cursor
|
27
|
+
postings = []
|
28
|
+
@terms.open_cursor do |table_cursor|
|
29
|
+
index_cursor = nil
|
30
|
+
@content_index.open_cursor(table_cursor) do |cursor|
|
31
|
+
cursor.each do |posting|
|
32
|
+
postings << posting.to_hash
|
33
|
+
end
|
34
|
+
index_cursor = cursor
|
35
|
+
end
|
36
|
+
assert_predicate(index_cursor, :closed?)
|
37
|
+
end
|
38
|
+
|
39
|
+
assert_equal(expected_postings(:with_position => true),
|
40
|
+
postings)
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_term_id_without_position
|
44
|
+
postings = []
|
45
|
+
@terms.open_cursor do |table_cursor|
|
46
|
+
table_cursor.each do |term|
|
47
|
+
index_cursor = nil
|
48
|
+
@content_index.open_cursor(term.id,
|
49
|
+
:with_position => false) do |cursor|
|
50
|
+
cursor.each do |posting|
|
51
|
+
postings << posting.to_hash
|
52
|
+
end
|
53
|
+
index_cursor = cursor
|
54
|
+
end
|
55
|
+
assert_predicate(index_cursor, :closed?)
|
32
56
|
end
|
33
|
-
index_cursor = cursor
|
34
57
|
end
|
35
|
-
|
58
|
+
|
59
|
+
assert_equal(expected_postings(:with_position => false),
|
60
|
+
postings)
|
36
61
|
end
|
37
62
|
|
38
|
-
|
63
|
+
def test_term_id_with_position
|
64
|
+
postings = []
|
65
|
+
@terms.open_cursor do |table_cursor|
|
66
|
+
table_cursor.each do |term|
|
67
|
+
index_cursor = nil
|
68
|
+
@content_index.open_cursor(term.id) do |cursor|
|
69
|
+
cursor.each do |posting|
|
70
|
+
postings << posting.to_hash
|
71
|
+
end
|
72
|
+
index_cursor = cursor
|
73
|
+
end
|
74
|
+
assert_predicate(index_cursor, :closed?)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
assert_equal(expected_postings(:with_position => true),
|
79
|
+
postings)
|
80
|
+
end
|
39
81
|
end
|
40
82
|
|
41
83
|
def test_enumerable
|
@@ -45,7 +87,8 @@ class IndexCursorTest < Test::Unit::TestCase
|
|
45
87
|
postings = cursor.collect do |posting|
|
46
88
|
posting.to_hash
|
47
89
|
end
|
48
|
-
assert_equal(expected_postings
|
90
|
+
assert_equal(expected_postings(:with_position => true),
|
91
|
+
postings)
|
49
92
|
opened = true
|
50
93
|
end
|
51
94
|
end
|
@@ -58,7 +101,8 @@ class IndexCursorTest < Test::Unit::TestCase
|
|
58
101
|
@terms.open_cursor do |table_cursor|
|
59
102
|
@content_index.open_cursor(table_cursor) do |cursor|
|
60
103
|
postings = cursor.each.collect(&:to_hash)
|
61
|
-
assert_equal(expected_postings
|
104
|
+
assert_equal(expected_postings(:with_position => true),
|
105
|
+
postings)
|
62
106
|
opened = true
|
63
107
|
end
|
64
108
|
end
|
@@ -78,7 +122,8 @@ class IndexCursorTest < Test::Unit::TestCase
|
|
78
122
|
end
|
79
123
|
assert_equal([posting_object_ids.first] * posting_object_ids.size,
|
80
124
|
posting_object_ids)
|
81
|
-
assert_equal(expected_postings
|
125
|
+
assert_equal(expected_postings(:with_position => true),
|
126
|
+
postings)
|
82
127
|
opened = true
|
83
128
|
end
|
84
129
|
end
|
@@ -149,20 +194,40 @@ class IndexCursorTest < Test::Unit::TestCase
|
|
149
194
|
@articles.add("3", :content => "hello")
|
150
195
|
end
|
151
196
|
|
152
|
-
def expected_postings
|
153
|
-
parameters = [
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
197
|
+
def expected_postings(options={})
|
198
|
+
parameters = [
|
199
|
+
:record_id,
|
200
|
+
:section_id,
|
201
|
+
:term_id,
|
202
|
+
:position,
|
203
|
+
:term_frequency,
|
204
|
+
:weight,
|
205
|
+
:n_rest_postings,
|
206
|
+
]
|
207
|
+
|
208
|
+
if options[:with_position]
|
209
|
+
expected = [
|
210
|
+
[1, 1, 1, 0, 1, 0, 0],
|
211
|
+
[2, 1, 1, 1, 1, 0, 0],
|
212
|
+
[2, 1, 2, 0, 1, 0, 0],
|
213
|
+
[3, 1, 2, 2, 1, 0, 0],
|
214
|
+
[3, 1, 3, 0, 1, 0, 0],
|
215
|
+
[3, 1, 4, 1, 1, 0, 0],
|
216
|
+
[3, 1, 5, 3, 1, 0, 0],
|
217
|
+
[3, 1, 6, 4, 1, 0, 0]
|
218
|
+
]
|
219
|
+
else
|
220
|
+
expected = [
|
221
|
+
[1, 1, 1, 0, 1, 0, 1],
|
222
|
+
[2, 1, 1, 0, 1, 0, 1],
|
223
|
+
[2, 1, 2, 0, 1, 0, 1],
|
224
|
+
[3, 1, 2, 0, 1, 0, 1],
|
225
|
+
[3, 1, 3, 0, 1, 0, 0],
|
226
|
+
[3, 1, 4, 1, 1, 0, 0],
|
227
|
+
[3, 1, 5, 3, 1, 0, 0],
|
228
|
+
[3, 1, 6, 4, 1, 0, 0]
|
229
|
+
]
|
230
|
+
end
|
166
231
|
|
167
232
|
create_hashes(parameters, expected)
|
168
233
|
end
|