rroonga 6.0.4-x64-mingw32 → 6.0.5-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/doc/text/news.md +39 -0
 - data/ext/groonga/rb-grn-id.c +56 -0
 - data/ext/groonga/rb-grn-name.c +55 -0
 - data/ext/groonga/rb-grn-object.c +166 -0
 - data/ext/groonga/rb-grn.h +3 -1
 - 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 +3 -3
 - data/test/test-column.rb +34 -0
 - data/test/test-database.rb +21 -0
 - data/test/test-id.rb +47 -0
 - data/test/test-name.rb +34 -0
 - data/test/test-table.rb +1 -1
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-2.dll +0 -0
 - data/vendor/local/bin/libmsgpack-4.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libonig-5.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat +0 -0
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +5 -0
 - data/vendor/local/include/groonga/groonga/id.h +30 -0
 - data/vendor/local/include/groonga/groonga/nfkc.h +1 -1
 - data/vendor/local/include/groonga/groonga/obj.h +9 -0
 - data/vendor/local/include/groonga/groonga/table.h +12 -1
 - data/vendor/local/include/groonga/groonga/time.h +14 -0
 - data/vendor/local/include/groonga/groonga.h +1 -0
 - data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +1 -1
 - 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/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/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/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/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +40 -2
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/accessor.rb +14 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/index_column.rb +14 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +14 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/procedure.rb +18 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +4 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +20 -1
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/liblz4.a +0 -0
 - data/vendor/local/lib/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libonig.a +0 -0
 - data/vendor/local/lib/libonig.dll.a +0 -0
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/sbin/groonga-httpd.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +8 -8
 - 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 +4 -4
 - 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 +71 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +2 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/query_expand.txt +38 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/fuzzy_search.txt +23 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -25
 - 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/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/build.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 +15 -15
 - 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/development.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/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/index.html +51 -49
 - 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 +9 -9
 - 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/install.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - 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/news.html +193 -131
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.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 +5 -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 +5 -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/api.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/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 +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +27 -26
 - 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 +7 -10
 - 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 +5 -5
 - 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 +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 +6 -6
 - 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 +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 +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +177 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +67 -67
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +111 -111
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +51 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +42 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +43 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.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 +6 -6
 - 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/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +29 -28
 - 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 +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +159 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +46 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +39 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +33 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +29 -29
 - 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 +41 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
 - 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 +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +23 -23
 - 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 +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/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/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/output.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/query_expanders.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 +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/suggest.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 +8 -8
 - 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 +9 -9
 - data/vendor/local/share/doc/groonga/en/html/reference.html +51 -49
 - 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/gqtp.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/http.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/server.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/spec.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/troubleshooting.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 +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.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/cooperation.txt +8 -8
 - 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 +4 -4
 - 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 +71 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +2 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/query_expand.txt +38 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/fuzzy_search.txt +23 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -25
 - 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/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/build.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 +15 -15
 - 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/development.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/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/index.html +51 -49
 - 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 +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 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
 - 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/news.html +195 -131
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.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 +5 -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 +5 -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/api.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/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 +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +27 -26
 - 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 +7 -10
 - 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 +5 -5
 - 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 +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 +7 -7
 - 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 +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 +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +178 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +67 -67
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +112 -112
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +51 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +42 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +43 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.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 +6 -6
 - 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/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +29 -28
 - 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 +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +160 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +46 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +39 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +29 -29
 - 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 +41 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +27 -27
 - 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 +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +23 -23
 - 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 +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/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/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.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/query_expanders.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 +5 -5
 - 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 +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/suggest.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 +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +51 -49
 - 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/gqtp.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/http.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/server.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/spec.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/troubleshooting.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 +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - metadata +21 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c98624838e48a79cf0ad172314047638414b2a45
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a9402ee25da0a8432ca938e555a31f11ac7e90d7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a834b65556ecbebf50c61c4d82f2e41d36a63d1523be352e3cedb0939dbd87ccd79bb44caf96c06a2315a92745c57453cc14601624c8c15a36da04405b91ff68
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a2fcc9aa091fee92774c0f139b8799b9059ddd72fcfde4285577708c75feb664347b17020cd853abb9ec9b9f7491150b08a4fd162056572dc7ca52a97acedef1
         
     | 
    
        data/doc/text/news.md
    CHANGED
    
    | 
         @@ -1,5 +1,44 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # NEWS
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## 6.0.5: 2016-07-15 {#version-6-0-5}
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ### Improvements
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
              * Supported Groonga 6.0.5. Groonga 6.0.4 or older aren't supported.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              * {Groonga::ID}: Added a module that provided object ID related
         
     | 
| 
      
 10 
     | 
    
         
            +
                features.
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
              * {Groonga::ID.builtin?}: Added a new predicate method that checks
         
     | 
| 
      
 13 
     | 
    
         
            +
                whether the given ID is ID for builtin object or not.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              * {Groonga::ID::NIL}: Added a new constant that represents invalid ID.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              * {Groonga::ID::MAX}: Added a new constant that represents the maximum ID.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
              * {Groonga::Name}: Added a new module that provides object name
         
     | 
| 
      
 20 
     | 
    
         
            +
                related features.
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              * {Groonga::Name.column?}: Added a new predicate method that checks
         
     | 
| 
      
 23 
     | 
    
         
            +
                whether the given name is column object name or not.
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
              * {Groonga::Object#column?}: Added a new predicate for column.
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
              * {Groonga::Object#reference_column?}: Added a new predicate for
         
     | 
| 
      
 28 
     | 
    
         
            +
                column that uses table as value type.
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
              * {Groonga::Object#index_column?}: Added a new predicate for
         
     | 
| 
      
 31 
     | 
    
         
            +
                index column.
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
              * {Groonga::Object#touch}: Added a new method that updates the last
         
     | 
| 
      
 34 
     | 
    
         
            +
                modified time of the object.
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
              * {Groonga::Object#last_modified}: Added a new method that returns
         
     | 
| 
      
 37 
     | 
    
         
            +
                the last modified time of the object.
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              * {Groonga::Object#dirty?}: Added a new method that checks whether
         
     | 
| 
      
 40 
     | 
    
         
            +
                the object is changed after the last flush.
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
       3 
42 
     | 
    
         
             
            ## 6.0.4: 2016-06-14 {#version-6-0-4}
         
     | 
| 
       4 
43 
     | 
    
         | 
| 
       5 
44 
     | 
    
         
             
            ### Improvements
         
     | 
| 
         @@ -0,0 +1,56 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /* -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
         
     | 
| 
      
 2 
     | 
    
         
            +
            /*
         
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright (C) 2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              This library is free software; you can redistribute it and/or
         
     | 
| 
      
 6 
     | 
    
         
            +
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 7 
     | 
    
         
            +
              License version 2.1 as published by the Free Software Foundation.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 10 
     | 
    
         
            +
              but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 11 
     | 
    
         
            +
              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 12 
     | 
    
         
            +
              Lesser General Public License for more details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
              You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 15 
     | 
    
         
            +
              License along with this library; if not, write to the Free Software
         
     | 
| 
      
 16 
     | 
    
         
            +
              Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 17 
     | 
    
         
            +
            */
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            #include "rb-grn.h"
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            /*
         
     | 
| 
      
 22 
     | 
    
         
            +
             * Document-class: Groonga::ID
         
     | 
| 
      
 23 
     | 
    
         
            +
             *
         
     | 
| 
      
 24 
     | 
    
         
            +
             * This module provides Groonga ID related features.
         
     | 
| 
      
 25 
     | 
    
         
            +
             */
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            /*
         
     | 
| 
      
 28 
     | 
    
         
            +
             * @overload builtin?(id)
         
     | 
| 
      
 29 
     | 
    
         
            +
             *   @param [Integer] id The ID to be confirmed.
         
     | 
| 
      
 30 
     | 
    
         
            +
             *   @return [Boolean] `true` if the `id` is builtin, `false` otherwise.
         
     | 
| 
      
 31 
     | 
    
         
            +
             *
         
     | 
| 
      
 32 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 33 
     | 
    
         
            +
             */
         
     | 
| 
      
 34 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 35 
     | 
    
         
            +
            rb_grn_id_s_builtin_p (VALUE self, VALUE rb_id)
         
     | 
| 
      
 36 
     | 
    
         
            +
            {
         
     | 
| 
      
 37 
     | 
    
         
            +
                grn_ctx *ctx = NULL;
         
     | 
| 
      
 38 
     | 
    
         
            +
                grn_id id;
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                id = NUM2INT(rb_id);
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                return CBOOL2RVAL(grn_id_is_builtin(ctx, id));
         
     | 
| 
      
 43 
     | 
    
         
            +
            }
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
            void
         
     | 
| 
      
 46 
     | 
    
         
            +
            rb_grn_init_id (VALUE mGrn)
         
     | 
| 
      
 47 
     | 
    
         
            +
            {
         
     | 
| 
      
 48 
     | 
    
         
            +
                VALUE mGrnID;
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
                mGrnID = rb_define_module_under(mGrn, "ID");
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                rb_define_const(mGrnID, "NIL", INT2NUM(GRN_ID_NIL));
         
     | 
| 
      
 53 
     | 
    
         
            +
                rb_define_const(mGrnID, "MAX", INT2NUM(GRN_ID_MAX));
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
                rb_define_singleton_method(mGrnID, "builtin?", rb_grn_id_s_builtin_p, 1);
         
     | 
| 
      
 56 
     | 
    
         
            +
            }
         
     | 
| 
         @@ -0,0 +1,55 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /* -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
         
     | 
| 
      
 2 
     | 
    
         
            +
            /*
         
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright (C) 2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              This library is free software; you can redistribute it and/or
         
     | 
| 
      
 6 
     | 
    
         
            +
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 7 
     | 
    
         
            +
              License version 2.1 as published by the Free Software Foundation.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 10 
     | 
    
         
            +
              but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 11 
     | 
    
         
            +
              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 12 
     | 
    
         
            +
              Lesser General Public License for more details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
              You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 15 
     | 
    
         
            +
              License along with this library; if not, write to the Free Software
         
     | 
| 
      
 16 
     | 
    
         
            +
              Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 17 
     | 
    
         
            +
            */
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            #include "rb-grn.h"
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            /*
         
     | 
| 
      
 22 
     | 
    
         
            +
             * Document-class: Groonga::Name
         
     | 
| 
      
 23 
     | 
    
         
            +
             *
         
     | 
| 
      
 24 
     | 
    
         
            +
             * This module provides object name related features.
         
     | 
| 
      
 25 
     | 
    
         
            +
             */
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            /*
         
     | 
| 
      
 28 
     | 
    
         
            +
             * @overload column?(name)
         
     | 
| 
      
 29 
     | 
    
         
            +
             *   @param [String] name The name to be confirmed.
         
     | 
| 
      
 30 
     | 
    
         
            +
             *   @return [Boolean] `true` if the `name` is column, `false` otherwise.
         
     | 
| 
      
 31 
     | 
    
         
            +
             *
         
     | 
| 
      
 32 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 33 
     | 
    
         
            +
             */
         
     | 
| 
      
 34 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 35 
     | 
    
         
            +
            rb_grn_name_s_column_p (VALUE self, VALUE rb_name)
         
     | 
| 
      
 36 
     | 
    
         
            +
            {
         
     | 
| 
      
 37 
     | 
    
         
            +
                grn_ctx *ctx = NULL;
         
     | 
| 
      
 38 
     | 
    
         
            +
                const char *name;
         
     | 
| 
      
 39 
     | 
    
         
            +
                size_t name_size;
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
                name = StringValueCStr(rb_name);
         
     | 
| 
      
 42 
     | 
    
         
            +
                name_size = RSTRING_LEN(rb_name);
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                return CBOOL2RVAL(grn_obj_name_is_column(ctx, name, name_size));
         
     | 
| 
      
 45 
     | 
    
         
            +
            }
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            void
         
     | 
| 
      
 48 
     | 
    
         
            +
            rb_grn_init_name (VALUE mGrn)
         
     | 
| 
      
 49 
     | 
    
         
            +
            {
         
     | 
| 
      
 50 
     | 
    
         
            +
                VALUE mGrnName;
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                mGrnName = rb_define_module_under(mGrn, "Name");
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
                rb_define_singleton_method(mGrnName, "column?", rb_grn_name_s_column_p, 1);
         
     | 
| 
      
 55 
     | 
    
         
            +
            }
         
     | 
    
        data/ext/groonga/rb-grn-object.c
    CHANGED
    
    | 
         @@ -1549,6 +1549,83 @@ rb_grn_object_table_p (VALUE self) 
     | 
|
| 
       1549 
1549 
     | 
    
         
             
                return CBOOL2RVAL(table_p);
         
     | 
| 
       1550 
1550 
     | 
    
         
             
            }
         
     | 
| 
       1551 
1551 
     | 
    
         | 
| 
      
 1552 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1553 
     | 
    
         
            +
             * Checks whether the object is column or not.
         
     | 
| 
      
 1554 
     | 
    
         
            +
             *
         
     | 
| 
      
 1555 
     | 
    
         
            +
             * @overload column?
         
     | 
| 
      
 1556 
     | 
    
         
            +
             *   @return [Boolean] `true` if the object is column, `false` otherwise.
         
     | 
| 
      
 1557 
     | 
    
         
            +
             *
         
     | 
| 
      
 1558 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1559 
     | 
    
         
            +
             */
         
     | 
| 
      
 1560 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1561 
     | 
    
         
            +
            rb_grn_object_column_p (VALUE self)
         
     | 
| 
      
 1562 
     | 
    
         
            +
            {
         
     | 
| 
      
 1563 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1564 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1565 
     | 
    
         
            +
                grn_bool column_p = GRN_FALSE;
         
     | 
| 
      
 1566 
     | 
    
         
            +
             
     | 
| 
      
 1567 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1568 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1569 
     | 
    
         
            +
             
     | 
| 
      
 1570 
     | 
    
         
            +
                if (context && object) {
         
     | 
| 
      
 1571 
     | 
    
         
            +
                    column_p = grn_obj_is_column(context, object);
         
     | 
| 
      
 1572 
     | 
    
         
            +
                }
         
     | 
| 
      
 1573 
     | 
    
         
            +
             
     | 
| 
      
 1574 
     | 
    
         
            +
                return CBOOL2RVAL(column_p);
         
     | 
| 
      
 1575 
     | 
    
         
            +
            }
         
     | 
| 
      
 1576 
     | 
    
         
            +
             
     | 
| 
      
 1577 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1578 
     | 
    
         
            +
             * Checks whether the object is reference column or not.
         
     | 
| 
      
 1579 
     | 
    
         
            +
             *
         
     | 
| 
      
 1580 
     | 
    
         
            +
             * @overload reference_column?
         
     | 
| 
      
 1581 
     | 
    
         
            +
             *   @return [Boolean] `true` if the object is reference column,
         
     | 
| 
      
 1582 
     | 
    
         
            +
             *     `false` otherwise.
         
     | 
| 
      
 1583 
     | 
    
         
            +
             *
         
     | 
| 
      
 1584 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1585 
     | 
    
         
            +
             */
         
     | 
| 
      
 1586 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1587 
     | 
    
         
            +
            rb_grn_object_reference_column_p (VALUE self)
         
     | 
| 
      
 1588 
     | 
    
         
            +
            {
         
     | 
| 
      
 1589 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1590 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1591 
     | 
    
         
            +
                grn_bool reference_column_p = GRN_FALSE;
         
     | 
| 
      
 1592 
     | 
    
         
            +
             
     | 
| 
      
 1593 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1594 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1595 
     | 
    
         
            +
             
     | 
| 
      
 1596 
     | 
    
         
            +
                if (context && object) {
         
     | 
| 
      
 1597 
     | 
    
         
            +
                    reference_column_p = grn_obj_is_reference_column(context, object);
         
     | 
| 
      
 1598 
     | 
    
         
            +
                }
         
     | 
| 
      
 1599 
     | 
    
         
            +
             
     | 
| 
      
 1600 
     | 
    
         
            +
                return CBOOL2RVAL(reference_column_p);
         
     | 
| 
      
 1601 
     | 
    
         
            +
            }
         
     | 
| 
      
 1602 
     | 
    
         
            +
             
     | 
| 
      
 1603 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1604 
     | 
    
         
            +
             * Checks whether the object is index column or not.
         
     | 
| 
      
 1605 
     | 
    
         
            +
             *
         
     | 
| 
      
 1606 
     | 
    
         
            +
             * @overload index_column?
         
     | 
| 
      
 1607 
     | 
    
         
            +
             *   @return [Boolean] `true` if the object is index column,
         
     | 
| 
      
 1608 
     | 
    
         
            +
             *     `false` otherwise.
         
     | 
| 
      
 1609 
     | 
    
         
            +
             *
         
     | 
| 
      
 1610 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1611 
     | 
    
         
            +
             */
         
     | 
| 
      
 1612 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1613 
     | 
    
         
            +
            rb_grn_object_index_column_p (VALUE self)
         
     | 
| 
      
 1614 
     | 
    
         
            +
            {
         
     | 
| 
      
 1615 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1616 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1617 
     | 
    
         
            +
                grn_bool index_column_p = GRN_FALSE;
         
     | 
| 
      
 1618 
     | 
    
         
            +
             
     | 
| 
      
 1619 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1620 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1621 
     | 
    
         
            +
             
     | 
| 
      
 1622 
     | 
    
         
            +
                if (context && object) {
         
     | 
| 
      
 1623 
     | 
    
         
            +
                    index_column_p = grn_obj_is_index_column(context, object);
         
     | 
| 
      
 1624 
     | 
    
         
            +
                }
         
     | 
| 
      
 1625 
     | 
    
         
            +
             
     | 
| 
      
 1626 
     | 
    
         
            +
                return CBOOL2RVAL(index_column_p);
         
     | 
| 
      
 1627 
     | 
    
         
            +
            }
         
     | 
| 
      
 1628 
     | 
    
         
            +
             
     | 
| 
       1552 
1629 
     | 
    
         
             
            /*
         
     | 
| 
       1553 
1630 
     | 
    
         
             
             * Checks whether the object is procedure or not.
         
     | 
| 
       1554 
1631 
     | 
    
         
             
             *
         
     | 
| 
         @@ -1767,6 +1844,84 @@ rb_grn_object_key_accessor_p (VALUE self) 
     | 
|
| 
       1767 
1844 
     | 
    
         
             
                return CBOOL2RVAL(key_accessor_p);
         
     | 
| 
       1768 
1845 
     | 
    
         
             
            }
         
     | 
| 
       1769 
1846 
     | 
    
         | 
| 
      
 1847 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1848 
     | 
    
         
            +
             * Update the last modified time of the `object`. It's meaningful only
         
     | 
| 
      
 1849 
     | 
    
         
            +
             * for persistent database, table and column.
         
     | 
| 
      
 1850 
     | 
    
         
            +
             *
         
     | 
| 
      
 1851 
     | 
    
         
            +
             * @overload touch(time=nil)
         
     | 
| 
      
 1852 
     | 
    
         
            +
             *   @param [Time, nil] time (nil) The last modified time.
         
     | 
| 
      
 1853 
     | 
    
         
            +
             *     If `time` is `nil`, the current time is used.
         
     | 
| 
      
 1854 
     | 
    
         
            +
             *   @return [void]
         
     | 
| 
      
 1855 
     | 
    
         
            +
             *
         
     | 
| 
      
 1856 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1857 
     | 
    
         
            +
             */
         
     | 
| 
      
 1858 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1859 
     | 
    
         
            +
            rb_grn_object_touch (int argc, VALUE *argv, VALUE self)
         
     | 
| 
      
 1860 
     | 
    
         
            +
            {
         
     | 
| 
      
 1861 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1862 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1863 
     | 
    
         
            +
                VALUE rb_time;
         
     | 
| 
      
 1864 
     | 
    
         
            +
                grn_timeval time_buffer;
         
     | 
| 
      
 1865 
     | 
    
         
            +
                grn_timeval *time = NULL;
         
     | 
| 
      
 1866 
     | 
    
         
            +
             
     | 
| 
      
 1867 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1868 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1869 
     | 
    
         
            +
                if (!context || !object) {
         
     | 
| 
      
 1870 
     | 
    
         
            +
                    return Qnil;
         
     | 
| 
      
 1871 
     | 
    
         
            +
                }
         
     | 
| 
      
 1872 
     | 
    
         
            +
             
     | 
| 
      
 1873 
     | 
    
         
            +
                rb_scan_args(argc, argv, "01", &rb_time);
         
     | 
| 
      
 1874 
     | 
    
         
            +
                if (!NIL_P(rb_time)) {
         
     | 
| 
      
 1875 
     | 
    
         
            +
                    time_buffer.tv_sec = NUM2LONG(rb_funcall(rb_time, rb_intern("sec"), 0));
         
     | 
| 
      
 1876 
     | 
    
         
            +
                    time_buffer.tv_nsec = NUM2INT(rb_funcall(rb_time, rb_intern("nsec"), 0));
         
     | 
| 
      
 1877 
     | 
    
         
            +
                    time = &time_buffer;
         
     | 
| 
      
 1878 
     | 
    
         
            +
                }
         
     | 
| 
      
 1879 
     | 
    
         
            +
             
     | 
| 
      
 1880 
     | 
    
         
            +
                grn_obj_touch(context, object, time);
         
     | 
| 
      
 1881 
     | 
    
         
            +
                rb_grn_context_check(context, self);
         
     | 
| 
      
 1882 
     | 
    
         
            +
             
     | 
| 
      
 1883 
     | 
    
         
            +
                return Qnil;
         
     | 
| 
      
 1884 
     | 
    
         
            +
            }
         
     | 
| 
      
 1885 
     | 
    
         
            +
             
     | 
| 
      
 1886 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1887 
     | 
    
         
            +
             * @overload last_modified
         
     | 
| 
      
 1888 
     | 
    
         
            +
             *   @return [Time] The last modified time of the object.
         
     | 
| 
      
 1889 
     | 
    
         
            +
             *
         
     | 
| 
      
 1890 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1891 
     | 
    
         
            +
             */
         
     | 
| 
      
 1892 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1893 
     | 
    
         
            +
            rb_grn_object_get_last_modified (VALUE self)
         
     | 
| 
      
 1894 
     | 
    
         
            +
            {
         
     | 
| 
      
 1895 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1896 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1897 
     | 
    
         
            +
                uint32_t last_modified;
         
     | 
| 
      
 1898 
     | 
    
         
            +
             
     | 
| 
      
 1899 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1900 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1901 
     | 
    
         
            +
                last_modified = grn_obj_get_last_modified(context, object);
         
     | 
| 
      
 1902 
     | 
    
         
            +
                return rb_funcall(rb_cTime, rb_intern("at"), 1, UINT2NUM(last_modified));
         
     | 
| 
      
 1903 
     | 
    
         
            +
            }
         
     | 
| 
      
 1904 
     | 
    
         
            +
             
     | 
| 
      
 1905 
     | 
    
         
            +
             
     | 
| 
      
 1906 
     | 
    
         
            +
            /*
         
     | 
| 
      
 1907 
     | 
    
         
            +
             * @overload dirty?
         
     | 
| 
      
 1908 
     | 
    
         
            +
             *   @return [Boolean] `true` if the object isn't flushed after the last change.
         
     | 
| 
      
 1909 
     | 
    
         
            +
             *
         
     | 
| 
      
 1910 
     | 
    
         
            +
             * @since 6.0.5
         
     | 
| 
      
 1911 
     | 
    
         
            +
             */
         
     | 
| 
      
 1912 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1913 
     | 
    
         
            +
            rb_grn_object_dirty_p (VALUE self)
         
     | 
| 
      
 1914 
     | 
    
         
            +
            {
         
     | 
| 
      
 1915 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1916 
     | 
    
         
            +
                grn_obj *object;
         
     | 
| 
      
 1917 
     | 
    
         
            +
                grn_bool is_dirty;
         
     | 
| 
      
 1918 
     | 
    
         
            +
             
     | 
| 
      
 1919 
     | 
    
         
            +
                rb_grn_object_deconstruct(SELF(self), &object, &context,
         
     | 
| 
      
 1920 
     | 
    
         
            +
                                          NULL, NULL, NULL, NULL);
         
     | 
| 
      
 1921 
     | 
    
         
            +
                is_dirty = grn_obj_is_dirty(context, object);
         
     | 
| 
      
 1922 
     | 
    
         
            +
                return CBOOL2RVAL(is_dirty);
         
     | 
| 
      
 1923 
     | 
    
         
            +
            }
         
     | 
| 
      
 1924 
     | 
    
         
            +
             
     | 
| 
       1770 
1925 
     | 
    
         
             
            void
         
     | 
| 
       1771 
1926 
     | 
    
         
             
            rb_grn_init_object (VALUE mGrn)
         
     | 
| 
       1772 
1927 
     | 
    
         
             
            {
         
     | 
| 
         @@ -1803,6 +1958,11 @@ rb_grn_init_object (VALUE mGrn) 
     | 
|
| 
       1803 
1958 
     | 
    
         | 
| 
       1804 
1959 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "builtin?", rb_grn_object_builtin_p, 0);
         
     | 
| 
       1805 
1960 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "table?", rb_grn_object_table_p, 0);
         
     | 
| 
      
 1961 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "column?", rb_grn_object_column_p, 0);
         
     | 
| 
      
 1962 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "reference_column?",
         
     | 
| 
      
 1963 
     | 
    
         
            +
                                 rb_grn_object_reference_column_p, 0);
         
     | 
| 
      
 1964 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "index_column?",
         
     | 
| 
      
 1965 
     | 
    
         
            +
                                 rb_grn_object_index_column_p, 0);
         
     | 
| 
       1806 
1966 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "procedure?", rb_grn_object_procedure_p, 0);
         
     | 
| 
       1807 
1967 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "function_procedure?",
         
     | 
| 
       1808 
1968 
     | 
    
         
             
                                 rb_grn_object_function_procedure_p, 0);
         
     | 
| 
         @@ -1818,4 +1978,10 @@ rb_grn_init_object (VALUE mGrn) 
     | 
|
| 
       1818 
1978 
     | 
    
         
             
                                 rb_grn_object_accessor_p, 0);
         
     | 
| 
       1819 
1979 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "key_accessor?",
         
     | 
| 
       1820 
1980 
     | 
    
         
             
                                 rb_grn_object_key_accessor_p, 0);
         
     | 
| 
      
 1981 
     | 
    
         
            +
             
     | 
| 
      
 1982 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "touch", rb_grn_object_touch, -1);
         
     | 
| 
      
 1983 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "last_modified",
         
     | 
| 
      
 1984 
     | 
    
         
            +
                                 rb_grn_object_get_last_modified, 0);
         
     | 
| 
      
 1985 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "dirty?",
         
     | 
| 
      
 1986 
     | 
    
         
            +
                                 rb_grn_object_dirty_p, 0);
         
     | 
| 
       1821 
1987 
     | 
    
         
             
            }
         
     | 
    
        data/ext/groonga/rb-grn.h
    CHANGED
    
    | 
         @@ -99,7 +99,7 @@ RB_GRN_BEGIN_DECLS 
     | 
|
| 
       99 
99 
     | 
    
         | 
| 
       100 
100 
     | 
    
         
             
            #define RB_GRN_MAJOR_VERSION 6
         
     | 
| 
       101 
101 
     | 
    
         
             
            #define RB_GRN_MINOR_VERSION 0
         
     | 
| 
       102 
     | 
    
         
            -
            #define RB_GRN_MICRO_VERSION  
     | 
| 
      
 102 
     | 
    
         
            +
            #define RB_GRN_MICRO_VERSION 5
         
     | 
| 
       103 
103 
     | 
    
         | 
| 
       104 
104 
     | 
    
         
             
            #define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
         
     | 
| 
       105 
105 
     | 
    
         
             
            #define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
         
     | 
| 
         @@ -365,6 +365,8 @@ void           rb_grn_init_index                    (VALUE mGrn); 
     | 
|
| 
       365 
365 
     | 
    
         
             
            void           rb_grn_init_request_canceler         (VALUE mGrn);
         
     | 
| 
       366 
366 
     | 
    
         
             
            void           rb_grn_init_request_timer            (VALUE mGrn);
         
     | 
| 
       367 
367 
     | 
    
         
             
            void           rb_grn_init_request_timer_id         (VALUE mGrn);
         
     | 
| 
      
 368 
     | 
    
         
            +
            void           rb_grn_init_id                       (VALUE mGrn);
         
     | 
| 
      
 369 
     | 
    
         
            +
            void           rb_grn_init_name                     (VALUE mGrn);
         
     | 
| 
       368 
370 
     | 
    
         | 
| 
       369 
371 
     | 
    
         
             
            VALUE          rb_grn_rc_to_exception               (grn_rc rc);
         
     | 
| 
       370 
372 
     | 
    
         
             
            const char    *rb_grn_rc_to_message                 (grn_rc rc);
         
     | 
    
        data/ext/groonga/rb-groonga.c
    CHANGED
    
    
    
        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
    
    | 
         @@ -18,15 +18,15 @@ module RroongaBuild 
     | 
|
| 
       18 
18 
     | 
    
         
             
              module RequiredGroongaVersion
         
     | 
| 
       19 
19 
     | 
    
         
             
                MAJOR = 6
         
     | 
| 
       20 
20 
     | 
    
         
             
                MINOR = 0
         
     | 
| 
       21 
     | 
    
         
            -
                MICRO =  
     | 
| 
      
 21 
     | 
    
         
            +
                MICRO = 5
         
     | 
| 
       22 
22 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       23 
     | 
    
         
            -
                RELEASED_DATE = Time.utc(2016, 6,  
     | 
| 
      
 23 
     | 
    
         
            +
                RELEASED_DATE = Time.utc(2016, 6, 29)
         
     | 
| 
       24 
24 
     | 
    
         
             
              end
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
26 
     | 
    
         
             
              module LatestGroongaVersion
         
     | 
| 
       27 
27 
     | 
    
         
             
                MAJOR = 6
         
     | 
| 
       28 
28 
     | 
    
         
             
                MINOR = 0
         
     | 
| 
       29 
     | 
    
         
            -
                MICRO =  
     | 
| 
      
 29 
     | 
    
         
            +
                MICRO = 5
         
     | 
| 
       30 
30 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       31 
31 
     | 
    
         
             
              end
         
     | 
| 
       32 
32 
     | 
    
         | 
    
        data/test/test-column.rb
    CHANGED
    
    | 
         @@ -349,6 +349,40 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       349 
349 
     | 
    
         
             
                end
         
     | 
| 
       350 
350 
     | 
    
         
             
              end
         
     | 
| 
       351 
351 
     | 
    
         | 
| 
      
 352 
     | 
    
         
            +
              def test_column?
         
     | 
| 
      
 353 
     | 
    
         
            +
                assert do
         
     | 
| 
      
 354 
     | 
    
         
            +
                  @users_name_column.column?
         
     | 
| 
      
 355 
     | 
    
         
            +
                end
         
     | 
| 
      
 356 
     | 
    
         
            +
              end
         
     | 
| 
      
 357 
     | 
    
         
            +
             
     | 
| 
      
 358 
     | 
    
         
            +
              sub_test_case "#reference_column" do
         
     | 
| 
      
 359 
     | 
    
         
            +
                test "true" do
         
     | 
| 
      
 360 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 361 
     | 
    
         
            +
                    @bookmarks_user.reference_column?
         
     | 
| 
      
 362 
     | 
    
         
            +
                  end
         
     | 
| 
      
 363 
     | 
    
         
            +
                end
         
     | 
| 
      
 364 
     | 
    
         
            +
             
     | 
| 
      
 365 
     | 
    
         
            +
                test "false" do
         
     | 
| 
      
 366 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 367 
     | 
    
         
            +
                    not @users_name_column.reference_column?
         
     | 
| 
      
 368 
     | 
    
         
            +
                  end
         
     | 
| 
      
 369 
     | 
    
         
            +
                end
         
     | 
| 
      
 370 
     | 
    
         
            +
              end
         
     | 
| 
      
 371 
     | 
    
         
            +
             
     | 
| 
      
 372 
     | 
    
         
            +
              sub_test_case "#index_column?" do
         
     | 
| 
      
 373 
     | 
    
         
            +
                test "true" do
         
     | 
| 
      
 374 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 375 
     | 
    
         
            +
                    @bookmarks_index_content.index_column?
         
     | 
| 
      
 376 
     | 
    
         
            +
                  end
         
     | 
| 
      
 377 
     | 
    
         
            +
                end
         
     | 
| 
      
 378 
     | 
    
         
            +
             
     | 
| 
      
 379 
     | 
    
         
            +
                test "false" do
         
     | 
| 
      
 380 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 381 
     | 
    
         
            +
                    not @users_name_column.index_column?
         
     | 
| 
      
 382 
     | 
    
         
            +
                  end
         
     | 
| 
      
 383 
     | 
    
         
            +
                end
         
     | 
| 
      
 384 
     | 
    
         
            +
              end
         
     | 
| 
      
 385 
     | 
    
         
            +
             
     | 
| 
       352 
386 
     | 
    
         
             
              private
         
     | 
| 
       353 
387 
     | 
    
         
             
              def assert_content_search(expected_records, term)
         
     | 
| 
       354 
388 
     | 
    
         
             
                records = @bookmarks_index_content.search(term).records
         
     | 
    
        data/test/test-database.rb
    CHANGED
    
    | 
         @@ -366,4 +366,25 @@ class DatabaseTest < Test::Unit::TestCase 
     | 
|
| 
       366 
366 
     | 
    
         
             
                               @database.disk_usage)
         
     | 
| 
       367 
367 
     | 
    
         
             
                end
         
     | 
| 
       368 
368 
     | 
    
         
             
              end
         
     | 
| 
      
 369 
     | 
    
         
            +
             
     | 
| 
      
 370 
     | 
    
         
            +
              class LastModifiedTest < self
         
     | 
| 
      
 371 
     | 
    
         
            +
                setup :setup_database
         
     | 
| 
      
 372 
     | 
    
         
            +
             
     | 
| 
      
 373 
     | 
    
         
            +
                def test_touch
         
     | 
| 
      
 374 
     | 
    
         
            +
                  assert_equal(Time.at(0), @database.last_modified)
         
     | 
| 
      
 375 
     | 
    
         
            +
                  @database.touch
         
     | 
| 
      
 376 
     | 
    
         
            +
                  assert_equal(Time.now.sec, @database.last_modified.sec)
         
     | 
| 
      
 377 
     | 
    
         
            +
                end
         
     | 
| 
      
 378 
     | 
    
         
            +
             
     | 
| 
      
 379 
     | 
    
         
            +
                def test_dirty?
         
     | 
| 
      
 380 
     | 
    
         
            +
                  omit("TODO: Enable this after Groonga 6.0.6 is released.")
         
     | 
| 
      
 381 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 382 
     | 
    
         
            +
                    not @database.dirty?
         
     | 
| 
      
 383 
     | 
    
         
            +
                  end
         
     | 
| 
      
 384 
     | 
    
         
            +
                  @database.touch
         
     | 
| 
      
 385 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 386 
     | 
    
         
            +
                    @database.dirty?
         
     | 
| 
      
 387 
     | 
    
         
            +
                  end
         
     | 
| 
      
 388 
     | 
    
         
            +
                end
         
     | 
| 
      
 389 
     | 
    
         
            +
              end
         
     | 
| 
       369 
390 
     | 
    
         
             
            end
         
     | 
    
        data/test/test-id.rb
    ADDED
    
    | 
         @@ -0,0 +1,47 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            # This library is free software; you can redistribute it and/or
         
     | 
| 
      
 4 
     | 
    
         
            +
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 5 
     | 
    
         
            +
            # License version 2.1 as published by the Free Software Foundation.
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            # This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 8 
     | 
    
         
            +
            # but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 9 
     | 
    
         
            +
            # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 10 
     | 
    
         
            +
            # Lesser General Public License for more details.
         
     | 
| 
      
 11 
     | 
    
         
            +
            #
         
     | 
| 
      
 12 
     | 
    
         
            +
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 13 
     | 
    
         
            +
            # License along with this library; if not, write to the Free Software
         
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            class IDTest < Test::Unit::TestCase
         
     | 
| 
      
 17 
     | 
    
         
            +
              include GroongaTestUtils
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
              setup :setup_database
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              test "NIL" do
         
     | 
| 
      
 22 
     | 
    
         
            +
                assert_equal(0, Groonga::ID::NIL)
         
     | 
| 
      
 23 
     | 
    
         
            +
              end
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
              test "MAX" do
         
     | 
| 
      
 26 
     | 
    
         
            +
                assert_equal(2 ** 30 - 1, Groonga::ID::MAX)
         
     | 
| 
      
 27 
     | 
    
         
            +
              end
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              sub_test_case(".builtin?") do
         
     | 
| 
      
 30 
     | 
    
         
            +
                test "true" do
         
     | 
| 
      
 31 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 32 
     | 
    
         
            +
                    Groonga::ID.builtin?(Groonga::Type::INT32)
         
     | 
| 
      
 33 
     | 
    
         
            +
                  end
         
     | 
| 
      
 34 
     | 
    
         
            +
                end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                test "false" do
         
     | 
| 
      
 37 
     | 
    
         
            +
                  Groonga::Schema.define do |schema|
         
     | 
| 
      
 38 
     | 
    
         
            +
                    schema.create_table("Users", :type => :hash)
         
     | 
| 
      
 39 
     | 
    
         
            +
                  end
         
     | 
| 
      
 40 
     | 
    
         
            +
                  users_id = Groonga["Users"].id
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 43 
     | 
    
         
            +
                    not Groonga::ID.builtin?(users_id)
         
     | 
| 
      
 44 
     | 
    
         
            +
                  end
         
     | 
| 
      
 45 
     | 
    
         
            +
                end
         
     | 
| 
      
 46 
     | 
    
         
            +
              end
         
     | 
| 
      
 47 
     | 
    
         
            +
            end
         
     | 
    
        data/test/test-name.rb
    ADDED
    
    | 
         @@ -0,0 +1,34 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            # This library is free software; you can redistribute it and/or
         
     | 
| 
      
 4 
     | 
    
         
            +
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 5 
     | 
    
         
            +
            # License version 2.1 as published by the Free Software Foundation.
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            # This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 8 
     | 
    
         
            +
            # but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 9 
     | 
    
         
            +
            # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 10 
     | 
    
         
            +
            # Lesser General Public License for more details.
         
     | 
| 
      
 11 
     | 
    
         
            +
            #
         
     | 
| 
      
 12 
     | 
    
         
            +
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 13 
     | 
    
         
            +
            # License along with this library; if not, write to the Free Software
         
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            class NameTest < Test::Unit::TestCase
         
     | 
| 
      
 17 
     | 
    
         
            +
              include GroongaTestUtils
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
              setup :setup_database
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              sub_test_case(".column?") do
         
     | 
| 
      
 22 
     | 
    
         
            +
                test "true" do
         
     | 
| 
      
 23 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 24 
     | 
    
         
            +
                    Groonga::Name.column?("Users.age")
         
     | 
| 
      
 25 
     | 
    
         
            +
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
                end
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                test "false" do
         
     | 
| 
      
 29 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 30 
     | 
    
         
            +
                    not Groonga::Name.column?("Users")
         
     | 
| 
      
 31 
     | 
    
         
            +
                  end
         
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
              end
         
     | 
| 
      
 34 
     | 
    
         
            +
            end
         
     | 
    
        data/test/test-table.rb
    CHANGED
    
    | 
         @@ -561,7 +561,7 @@ class TableTest < Test::Unit::TestCase 
     | 
|
| 
       561 
561 
     | 
    
         
             
                ruby_bookmarks = bookmarks.select {|record| (record["title"] == "Ruby") &
         
     | 
| 
       562 
562 
     | 
    
         
             
                                                            (record["title"] == "Ruby") }
         
     | 
| 
       563 
563 
     | 
    
         
             
                all_bookmarks = bookmarks.select
         
     | 
| 
       564 
     | 
    
         
            -
                assert_equal([["groonga", 1], ["Ruby",  
     | 
| 
      
 564 
     | 
    
         
            +
                assert_equal([["groonga", 1.0], ["Ruby", 3.0]],
         
     | 
| 
       565 
565 
     | 
    
         
             
                             all_bookmarks.merge!(ruby_bookmarks).collect do |record|
         
     | 
| 
       566 
566 
     | 
    
         
             
                               [record[".title"], record.score]
         
     | 
| 
       567 
567 
     | 
    
         
             
                             end)
         
     | 
    
        data/vendor/local/bin/grndb.exe
    CHANGED
    
    | 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
    
        data/vendor/local/bin/lz4.exe
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/vendor/local/bin/lz4c.exe
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/vendor/local/bin/lz4cat
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/vendor/local/bin/mecab.exe
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/vendor/local/bin/zlib1.dll
    CHANGED
    
    | 
         Binary file 
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /* -*- c-basic-offset: 2 -*- */
         
     | 
| 
      
 2 
     | 
    
         
            +
            /*
         
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright(C) 2016 Brazil
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              This library is free software; you can redistribute it and/or
         
     | 
| 
      
 6 
     | 
    
         
            +
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 7 
     | 
    
         
            +
              License as published by the Free Software Foundation; either
         
     | 
| 
      
 8 
     | 
    
         
            +
              version 2.1 of the License, or (at your option) any later version.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
              This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 11 
     | 
    
         
            +
              but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 12 
     | 
    
         
            +
              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 13 
     | 
    
         
            +
              Lesser General Public License for more details.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 16 
     | 
    
         
            +
              License along with this library; if not, write to the Free Software
         
     | 
| 
      
 17 
     | 
    
         
            +
              Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 18 
     | 
    
         
            +
            */
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            #pragma once
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            #ifdef  __cplusplus
         
     | 
| 
      
 23 
     | 
    
         
            +
            extern "C" {
         
     | 
| 
      
 24 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            GRN_API grn_bool grn_id_is_builtin(grn_ctx *ctx, grn_id id);
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            #ifdef __cplusplus
         
     | 
| 
      
 29 
     | 
    
         
            +
            }
         
     | 
| 
      
 30 
     | 
    
         
            +
            #endif
         
     |