rroonga 9.0.3-x86-mingw32 → 9.0.7-x86-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 +30 -0
 - data/ext/groonga/rb-grn-context.c +27 -0
 - data/ext/groonga/rb-grn-flushable.c +7 -0
 - data/ext/groonga/rb-grn-index-column.c +28 -0
 - data/ext/groonga/rb-grn-index-cursor.c +19 -0
 - data/ext/groonga/rb-grn-logger.c +17 -3
 - data/ext/groonga/rb-grn-object.c +236 -22
 - data/ext/groonga/rb-grn-table.c +68 -42
 - data/ext/groonga/rb-grn.h +1 -1
 - data/lib/2.3/groonga.so +0 -0
 - data/lib/2.4/groonga.so +0 -0
 - data/lib/2.5/groonga.so +0 -0
 - data/lib/2.6/groonga.so +0 -0
 - data/lib/groonga/dumper.rb +3 -0
 - data/lib/groonga/record.rb +2 -2
 - data/test/groonga-test-utils.rb +28 -5
 - data/test/run-test.rb +0 -2
 - data/test/test-accessor.rb +63 -7
 - data/test/test-context.rb +25 -0
 - data/test/test-exception.rb +5 -0
 - data/test/test-flushable.rb +51 -6
 - data/test/test-index-column.rb +67 -6
 - data/test/test-index-cursor.rb +26 -0
 - data/test/test-logger.rb +56 -11
 - data/test/test-plugin.rb +1 -0
 - data/test/test-query-logger.rb +4 -3
 - data/test/test-record.rb +2 -1
 - data/test/test-remote.rb +40 -10
 - data/test/test-schema-dumper.rb +13 -0
 - data/test/test-table.rb +21 -1
 - data/test/test-variable.rb +23 -7
 - data/vendor/local/bin/generate-pdb.bat +21 -21
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-2.dll +0 -0
 - data/vendor/local/bin/libmsgpackc.dll +0 -0
 - data/vendor/local/bin/libonigmo-6.dll +0 -0
 - data/vendor/local/bin/libpcre-1.dll +0 -0
 - data/vendor/local/bin/libpcrecpp-0.dll +0 -0
 - data/vendor/local/bin/libpcreposix-0.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat.exe +0 -0
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/pcregrep.exe +0 -0
 - data/vendor/local/bin/pcretest.exe +0 -0
 - data/vendor/local/bin/unlz4.exe +0 -0
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/cmake/RapidJSONConfig.cmake +3 -0
 - data/vendor/local/cmake/RapidJSONConfigVersion.cmake +10 -0
 - data/vendor/local/include/groonga/groonga/expr.h +16 -0
 - data/vendor/local/include/groonga/groonga/obj.h +8 -0
 - data/vendor/local/include/groonga/groonga/output.h +5 -0
 - data/vendor/local/include/groonga/groonga/version.h +2 -2
 - data/vendor/local/include/rapidjson/allocators.h +271 -0
 - data/vendor/local/include/rapidjson/document.h +2575 -0
 - data/vendor/local/include/rapidjson/encodedstream.h +299 -0
 - data/vendor/local/include/rapidjson/encodings.h +716 -0
 - data/vendor/local/include/rapidjson/error/en.h +74 -0
 - data/vendor/local/include/rapidjson/error/error.h +155 -0
 - data/vendor/local/include/rapidjson/filereadstream.h +99 -0
 - data/vendor/local/include/rapidjson/filewritestream.h +104 -0
 - data/vendor/local/include/rapidjson/fwd.h +151 -0
 - data/vendor/local/include/rapidjson/internal/biginteger.h +290 -0
 - data/vendor/local/include/rapidjson/internal/diyfp.h +258 -0
 - data/vendor/local/include/rapidjson/internal/dtoa.h +245 -0
 - data/vendor/local/include/rapidjson/internal/ieee754.h +78 -0
 - data/vendor/local/include/rapidjson/internal/itoa.h +304 -0
 - data/vendor/local/include/rapidjson/internal/meta.h +181 -0
 - data/vendor/local/include/rapidjson/internal/pow10.h +55 -0
 - data/vendor/local/include/rapidjson/internal/regex.h +701 -0
 - data/vendor/local/include/rapidjson/internal/stack.h +230 -0
 - data/vendor/local/include/rapidjson/internal/strfunc.h +55 -0
 - data/vendor/local/include/rapidjson/internal/strtod.h +269 -0
 - data/vendor/local/include/rapidjson/internal/swap.h +46 -0
 - data/vendor/local/include/rapidjson/istreamwrapper.h +115 -0
 - data/vendor/local/include/rapidjson/memorybuffer.h +70 -0
 - data/vendor/local/include/rapidjson/memorystream.h +71 -0
 - data/vendor/local/include/rapidjson/msinttypes/inttypes.h +316 -0
 - data/vendor/local/include/rapidjson/msinttypes/stdint.h +300 -0
 - data/vendor/local/include/rapidjson/ostreamwrapper.h +81 -0
 - data/vendor/local/include/rapidjson/pointer.h +1358 -0
 - data/vendor/local/include/rapidjson/prettywriter.h +255 -0
 - data/vendor/local/include/rapidjson/rapidjson.h +615 -0
 - data/vendor/local/include/rapidjson/reader.h +1879 -0
 - data/vendor/local/include/rapidjson/schema.h +2006 -0
 - data/vendor/local/include/rapidjson/stream.h +179 -0
 - data/vendor/local/include/rapidjson/stringbuffer.h +117 -0
 - data/vendor/local/include/rapidjson/writer.h +610 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/math.la +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/number.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
 - data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
 - data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +44 -18
 - data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +9 -8
 - data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +48 -15
 - data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +84 -58
 - data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +1 -1
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/command.rb +3 -4
 - data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +267 -77
 - data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +96 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +30 -7
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +5 -0
 - data/vendor/local/lib/groonga/scripts/ruby/loggable.rb +8 -0
 - data/vendor/local/lib/groonga/scripts/ruby/logger/flags.rb +70 -0
 - data/vendor/local/lib/groonga/scripts/ruby/query_loggable.rb +8 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +1 -1
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -2
 - data/vendor/local/lib/groonga/scripts/ruby/time.rb +9 -0
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +1 -1
 - data/vendor/local/lib/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.8.2 +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.a +0 -0
 - data/vendor/local/lib/libonigmo.dll.a +0 -0
 - data/vendor/local/lib/libonigmo.la +1 -1
 - data/vendor/local/lib/libpcre.dll.a +0 -0
 - data/vendor/local/lib/libpcrecpp.dll.a +0 -0
 - data/vendor/local/lib/libpcreposix.dll.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/share/doc/RapidJSON/examples/CMakeLists.txt +42 -0
 - data/vendor/local/share/doc/RapidJSON/examples/capitalize/capitalize.cpp +67 -0
 - data/vendor/local/share/doc/RapidJSON/examples/condense/condense.cpp +32 -0
 - data/vendor/local/share/doc/RapidJSON/examples/filterkey/filterkey.cpp +135 -0
 - data/vendor/local/share/doc/RapidJSON/examples/filterkeydom/filterkeydom.cpp +170 -0
 - data/vendor/local/share/doc/RapidJSON/examples/jsonx/jsonx.cpp +207 -0
 - data/vendor/local/share/doc/RapidJSON/examples/messagereader/messagereader.cpp +105 -0
 - data/vendor/local/share/doc/RapidJSON/examples/parsebyparts/parsebyparts.cpp +173 -0
 - data/vendor/local/share/doc/RapidJSON/examples/pretty/pretty.cpp +30 -0
 - data/vendor/local/share/doc/RapidJSON/examples/prettyauto/prettyauto.cpp +56 -0
 - data/vendor/local/share/doc/RapidJSON/examples/schemavalidator/schemavalidator.cpp +72 -0
 - data/vendor/local/share/doc/RapidJSON/examples/serialize/serialize.cpp +173 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simpledom/simpledom.cpp +29 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simplereader/simplereader.cpp +42 -0
 - data/vendor/local/share/doc/RapidJSON/examples/simplewriter/simplewriter.cpp +36 -0
 - data/vendor/local/share/doc/RapidJSON/examples/tutorial/tutorial.cpp +151 -0
 - data/vendor/local/share/doc/RapidJSON/readme.md +160 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/client.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/community.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/development.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/index.html +11 -7
 - data/vendor/local/share/doc/groonga/en/html/install.html +5 -4
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +79 -8
 - data/vendor/local/share/doc/groonga/en/html/install/docker.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news.html +498 -206
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/5.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/6.x.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +9 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +77 -4
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +78 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +58 -4
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +11 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +9 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_ngram.html +1005 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_pattern.html +240 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +21 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_table.html +246 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +68 -6
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +37 -4
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +3 -3
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/client.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/community.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/development.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/index.html +11 -7
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -4
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +69 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/docker.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news.html +494 -206
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +9 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +75 -4
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +73 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +57 -4
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +9 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_ngram.html +998 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_pattern.html +240 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_table.html +242 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +64 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +37 -4
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +3 -3
 - data/vendor/local/share/groonga/COPYING +502 -0
 - data/vendor/local/share/groonga/mruby/LEGAL +58 -54
 - data/vendor/local/share/license/mruby/AUTHORS +6 -2
 - data/vendor/local/share/license/mruby/LEGAL +1 -1
 - data/vendor/local/share/license/mruby/{MITL → LICENSE} +1 -1
 - data/vendor/local/share/license/mruby/README.md +3 -3
 - data/vendor/local/share/license/rapidjson/license.txt +57 -0
 - metadata +126 -60
 
    
        data/test/test-exception.rb
    CHANGED
    
    | 
         @@ -108,11 +108,16 @@ class TooManyOpenFilesTest < Test::Unit::TestCase 
     | 
|
| 
       108 
108 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
| 
       109 
109 
     | 
    
         | 
| 
       110 
110 
     | 
    
         
             
              def setup
         
     | 
| 
      
 111 
     | 
    
         
            +
                @sub_context = nil
         
     | 
| 
      
 112 
     | 
    
         
            +
                unless Process.const_defined?(:RLIMIT_NOFILE)
         
     | 
| 
      
 113 
     | 
    
         
            +
                  omit("No Process::RLIMIT_NOFILE")
         
     | 
| 
      
 114 
     | 
    
         
            +
                end
         
     | 
| 
       111 
115 
     | 
    
         
             
                setup_database
         
     | 
| 
       112 
116 
     | 
    
         
             
                @sub_context = create_sub_context
         
     | 
| 
       113 
117 
     | 
    
         
             
              end
         
     | 
| 
       114 
118 
     | 
    
         | 
| 
       115 
119 
     | 
    
         
             
              def teardown
         
     | 
| 
      
 120 
     | 
    
         
            +
                return if @sub_context.nil?
         
     | 
| 
       116 
121 
     | 
    
         
             
                @sub_context.database.close
         
     | 
| 
       117 
122 
     | 
    
         
             
                @sub_context.close
         
     | 
| 
       118 
123 
     | 
    
         
             
              end
         
     | 
    
        data/test/test-flushable.rb
    CHANGED
    
    | 
         @@ -18,32 +18,77 @@ class FlushableTest < Test::Unit::TestCase 
     | 
|
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
              setup :setup_database
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
      
 21 
     | 
    
         
            +
              def normalize_query_log(log)
         
     | 
| 
      
 22 
     | 
    
         
            +
                log.lines.collect do |line|
         
     | 
| 
      
 23 
     | 
    
         
            +
                  line.chomp.gsub(/\A.*?:\d+ /, "")
         
     | 
| 
      
 24 
     | 
    
         
            +
                end
         
     | 
| 
      
 25 
     | 
    
         
            +
              end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       21 
27 
     | 
    
         
             
              def test_flush_table
         
     | 
| 
       22 
28 
     | 
    
         
             
                table = Groonga::Hash.create
         
     | 
| 
       23 
     | 
    
         
            -
                 
     | 
| 
      
 29 
     | 
    
         
            +
                log = collect_query_log do
         
     | 
| 
       24 
30 
     | 
    
         
             
                  table.flush
         
     | 
| 
       25 
31 
     | 
    
         
             
                end
         
     | 
| 
      
 32 
     | 
    
         
            +
                assert_equal([
         
     | 
| 
      
 33 
     | 
    
         
            +
                               "flush[(anonymous:table:hash_key)]",
         
     | 
| 
      
 34 
     | 
    
         
            +
                             ],
         
     | 
| 
      
 35 
     | 
    
         
            +
                             normalize_query_log(log))
         
     | 
| 
       26 
36 
     | 
    
         
             
              end
         
     | 
| 
       27 
37 
     | 
    
         | 
| 
       28 
38 
     | 
    
         
             
              def test_flush_column
         
     | 
| 
       29 
39 
     | 
    
         
             
                table = Groonga::Hash.create(:name => "Users")
         
     | 
| 
       30 
40 
     | 
    
         
             
                column = table.define_column("name", "ShortText")
         
     | 
| 
       31 
     | 
    
         
            -
                 
     | 
| 
      
 41 
     | 
    
         
            +
                log = collect_query_log do
         
     | 
| 
       32 
42 
     | 
    
         
             
                  column.flush
         
     | 
| 
       33 
43 
     | 
    
         
             
                end
         
     | 
| 
      
 44 
     | 
    
         
            +
                assert_equal([
         
     | 
| 
      
 45 
     | 
    
         
            +
                               "flush[Users.name]",
         
     | 
| 
      
 46 
     | 
    
         
            +
                             ],
         
     | 
| 
      
 47 
     | 
    
         
            +
                             normalize_query_log(log))
         
     | 
| 
       34 
48 
     | 
    
         
             
              end
         
     | 
| 
       35 
49 
     | 
    
         | 
| 
       36 
50 
     | 
    
         
             
              def test_flush_database
         
     | 
| 
       37 
     | 
    
         
            -
                 
     | 
| 
      
 51 
     | 
    
         
            +
                table = Groonga::Hash.create(:name => "Users")
         
     | 
| 
      
 52 
     | 
    
         
            +
                table.define_column("name", "ShortText")
         
     | 
| 
      
 53 
     | 
    
         
            +
                log = collect_query_log do
         
     | 
| 
       38 
54 
     | 
    
         
             
                  @database.flush
         
     | 
| 
       39 
55 
     | 
    
         
             
                end
         
     | 
| 
      
 56 
     | 
    
         
            +
                assert_equal([
         
     | 
| 
      
 57 
     | 
    
         
            +
                               "flush[Users.name]",
         
     | 
| 
      
 58 
     | 
    
         
            +
                               "flush[Users]",
         
     | 
| 
      
 59 
     | 
    
         
            +
                               "flush[(anonymous:table:dat_key)]",
         
     | 
| 
      
 60 
     | 
    
         
            +
                               "flush[(anonymous:column:var_size)]",
         
     | 
| 
      
 61 
     | 
    
         
            +
                               "flush[(anonymous:table:hash_key)]",
         
     | 
| 
      
 62 
     | 
    
         
            +
                               "flush[(anonymous:column:var_size)]",
         
     | 
| 
      
 63 
     | 
    
         
            +
                               "flush[(DB)]",
         
     | 
| 
      
 64 
     | 
    
         
            +
                             ],
         
     | 
| 
      
 65 
     | 
    
         
            +
                             normalize_query_log(log))
         
     | 
| 
       40 
66 
     | 
    
         
             
              end
         
     | 
| 
       41 
67 
     | 
    
         | 
| 
       42 
68 
     | 
    
         
             
              def test_flush_not_recursive
         
     | 
| 
       43 
     | 
    
         
            -
                table = Groonga::Hash.create
         
     | 
| 
       44 
     | 
    
         
            -
                table. 
     | 
| 
       45 
     | 
    
         
            -
                 
     | 
| 
      
 69 
     | 
    
         
            +
                table = Groonga::Hash.create(:name => "Users")
         
     | 
| 
      
 70 
     | 
    
         
            +
                table.define_column("name", "ShortText")
         
     | 
| 
      
 71 
     | 
    
         
            +
                log = collect_query_log do
         
     | 
| 
       46 
72 
     | 
    
         
             
                  table.flush(:recursive => false)
         
     | 
| 
       47 
73 
     | 
    
         
             
                end
         
     | 
| 
      
 74 
     | 
    
         
            +
                assert_equal([
         
     | 
| 
      
 75 
     | 
    
         
            +
                               "flush[Users]",
         
     | 
| 
      
 76 
     | 
    
         
            +
                             ],
         
     | 
| 
      
 77 
     | 
    
         
            +
                             normalize_query_log(log))
         
     | 
| 
      
 78 
     | 
    
         
            +
              end
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
              def test_flush_dependent
         
     | 
| 
      
 81 
     | 
    
         
            +
                referenced_table = Groonga::Hash.create(name: "Names")
         
     | 
| 
      
 82 
     | 
    
         
            +
                table = Groonga::Hash.create(:name => "Users")
         
     | 
| 
      
 83 
     | 
    
         
            +
                table.define_column("name", referenced_table)
         
     | 
| 
      
 84 
     | 
    
         
            +
                log = collect_query_log do
         
     | 
| 
      
 85 
     | 
    
         
            +
                  table.flush(:recursive => false, :dependent => true)
         
     | 
| 
      
 86 
     | 
    
         
            +
                end
         
     | 
| 
      
 87 
     | 
    
         
            +
                assert_equal([
         
     | 
| 
      
 88 
     | 
    
         
            +
                               "flush[Names]",
         
     | 
| 
      
 89 
     | 
    
         
            +
                               "flush[Users.name]",
         
     | 
| 
      
 90 
     | 
    
         
            +
                               "flush[Users]",
         
     | 
| 
      
 91 
     | 
    
         
            +
                             ],
         
     | 
| 
      
 92 
     | 
    
         
            +
                             normalize_query_log(log))
         
     | 
| 
       48 
93 
     | 
    
         
             
              end
         
     | 
| 
       49 
94 
     | 
    
         
             
            end
         
     | 
    
        data/test/test-index-column.rb
    CHANGED
    
    | 
         @@ -33,11 +33,11 @@ class IndexColumnTest < Test::Unit::TestCase 
     | 
|
| 
       33 
33 
     | 
    
         
             
                  articles = Groonga::Array.create(:name => "Articles")
         
     | 
| 
       34 
34 
     | 
    
         
             
                  articles.define_column("content", "Text")
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
     | 
    
         
            -
                  terms = Groonga::Hash.create(:name => "Terms",
         
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
                  @index = terms.define_index_column("content", articles,
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
                  @terms = Groonga::Hash.create(:name => "Terms",
         
     | 
| 
      
 37 
     | 
    
         
            +
                                                :key_type => "ShortText",
         
     | 
| 
      
 38 
     | 
    
         
            +
                                                :default_tokenizer => "TokenBigram")
         
     | 
| 
      
 39 
     | 
    
         
            +
                  @index = @terms.define_index_column("content", articles,
         
     | 
| 
      
 40 
     | 
    
         
            +
                                                      :with_section => true)
         
     | 
| 
       41 
41 
     | 
    
         
             
                end
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
       43 
43 
     | 
    
         
             
                def test_index?
         
     | 
| 
         @@ -63,6 +63,20 @@ class IndexColumnTest < Test::Unit::TestCase 
     | 
|
| 
       63 
63 
     | 
    
         
             
                    not @index.data?
         
     | 
| 
       64 
64 
     | 
    
         
             
                  end
         
     | 
| 
       65 
65 
     | 
    
         
             
                end
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
                sub_test_case("#lexicon?") do
         
     | 
| 
      
 68 
     | 
    
         
            +
                  def test_true
         
     | 
| 
      
 69 
     | 
    
         
            +
                    assert do
         
     | 
| 
      
 70 
     | 
    
         
            +
                      @terms.lexicon?
         
     | 
| 
      
 71 
     | 
    
         
            +
                    end
         
     | 
| 
      
 72 
     | 
    
         
            +
                  end
         
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
      
 74 
     | 
    
         
            +
                  def test_false
         
     | 
| 
      
 75 
     | 
    
         
            +
                    assert do
         
     | 
| 
      
 76 
     | 
    
         
            +
                      not @index.lexicon?
         
     | 
| 
      
 77 
     | 
    
         
            +
                    end
         
     | 
| 
      
 78 
     | 
    
         
            +
                  end
         
     | 
| 
      
 79 
     | 
    
         
            +
                end
         
     | 
| 
       66 
80 
     | 
    
         
             
              end
         
     | 
| 
       67 
81 
     | 
    
         | 
| 
       68 
82 
     | 
    
         
             
              class CRUDTest < self
         
     | 
| 
         @@ -438,11 +452,35 @@ class IndexColumnTest < Test::Unit::TestCase 
     | 
|
| 
       438 
452 
     | 
    
         
             
                                 ])
         
     | 
| 
       439 
453 
     | 
    
         
             
                  end
         
     | 
| 
       440 
454 
     | 
    
         | 
| 
      
 455 
     | 
    
         
            +
                  def test_large
         
     | 
| 
      
 456 
     | 
    
         
            +
                    Groonga::Schema.define do |schema|
         
     | 
| 
      
 457 
     | 
    
         
            +
                      schema.create_table("Tags",
         
     | 
| 
      
 458 
     | 
    
         
            +
                                          :type => :patricia_trie,
         
     | 
| 
      
 459 
     | 
    
         
            +
                                          :key_type => "ShortText") do |table|
         
     | 
| 
      
 460 
     | 
    
         
            +
                        table.index("Articles.tags",
         
     | 
| 
      
 461 
     | 
    
         
            +
                                    :name => "large",
         
     | 
| 
      
 462 
     | 
    
         
            +
                                    :size => :large)
         
     | 
| 
      
 463 
     | 
    
         
            +
                        table.index("Articles.tags",
         
     | 
| 
      
 464 
     | 
    
         
            +
                                    :name => "default")
         
     | 
| 
      
 465 
     | 
    
         
            +
                      end
         
     | 
| 
      
 466 
     | 
    
         
            +
                    end
         
     | 
| 
      
 467 
     | 
    
         
            +
             
     | 
| 
      
 468 
     | 
    
         
            +
                    assert_equal([
         
     | 
| 
      
 469 
     | 
    
         
            +
                                   true,
         
     | 
| 
      
 470 
     | 
    
         
            +
                                   false,
         
     | 
| 
      
 471 
     | 
    
         
            +
                                 ],
         
     | 
| 
      
 472 
     | 
    
         
            +
                                 [
         
     | 
| 
      
 473 
     | 
    
         
            +
                                   context["Tags.large"].large?,
         
     | 
| 
      
 474 
     | 
    
         
            +
                                   context["Tags.default"].large?,
         
     | 
| 
      
 475 
     | 
    
         
            +
                                 ])
         
     | 
| 
      
 476 
     | 
    
         
            +
                  end
         
     | 
| 
      
 477 
     | 
    
         
            +
             
     | 
| 
       441 
478 
     | 
    
         
             
                  def test_invalid
         
     | 
| 
       442 
479 
     | 
    
         
             
                    Groonga::Schema.create_table("Tags",
         
     | 
| 
       443 
480 
     | 
    
         
             
                                                 :type => :patricia_trie,
         
     | 
| 
       444 
481 
     | 
    
         
             
                                                 :key_type => "ShortText")
         
     | 
| 
       445 
     | 
    
         
            -
                    message = 
     | 
| 
      
 482 
     | 
    
         
            +
                    message =
         
     | 
| 
      
 483 
     | 
    
         
            +
                      ":size must be nil, :small, :medium or :large: <invalid>"
         
     | 
| 
       446 
484 
     | 
    
         
             
                    assert_raise(ArgumentError.new(message)) do
         
     | 
| 
       447 
485 
     | 
    
         
             
                      tags = context["Tags"]
         
     | 
| 
       448 
486 
     | 
    
         
             
                      tags.define_index_column("small",
         
     | 
| 
         @@ -818,5 +856,28 @@ class IndexColumnTest < Test::Unit::TestCase 
     | 
|
| 
       818 
856 
     | 
    
         
             
                               ">",
         
     | 
| 
       819 
857 
     | 
    
         
             
                               index.inspect)
         
     | 
| 
       820 
858 
     | 
    
         
             
                end
         
     | 
| 
      
 859 
     | 
    
         
            +
             
     | 
| 
      
 860 
     | 
    
         
            +
                def test_large_size
         
     | 
| 
      
 861 
     | 
    
         
            +
                  Groonga::Schema.define do |schema|
         
     | 
| 
      
 862 
     | 
    
         
            +
                    schema.create_table("Tags",
         
     | 
| 
      
 863 
     | 
    
         
            +
                                        :type => :hash,
         
     | 
| 
      
 864 
     | 
    
         
            +
                                        :key_type => "ShortText") do |tags|
         
     | 
| 
      
 865 
     | 
    
         
            +
                      tags.index("Articles.tag", :size => :large)
         
     | 
| 
      
 866 
     | 
    
         
            +
                    end
         
     | 
| 
      
 867 
     | 
    
         
            +
                  end
         
     | 
| 
      
 868 
     | 
    
         
            +
             
     | 
| 
      
 869 
     | 
    
         
            +
                  index = context["Tags.Articles_tag"]
         
     | 
| 
      
 870 
     | 
    
         
            +
                  source_column_names = index.sources.collect(&:local_name).join(",")
         
     | 
| 
      
 871 
     | 
    
         
            +
                  assert_equal("\#<Groonga::IndexColumn " +
         
     | 
| 
      
 872 
     | 
    
         
            +
                               "id: <#{index.id}>, " +
         
     | 
| 
      
 873 
     | 
    
         
            +
                               "name: <#{index.name}>, " +
         
     | 
| 
      
 874 
     | 
    
         
            +
                               "path: <#{index.path}>, " +
         
     | 
| 
      
 875 
     | 
    
         
            +
                               "domain: <#{index.domain.name}>, " +
         
     | 
| 
      
 876 
     | 
    
         
            +
                               "range: <#{index.range.name}>, " +
         
     | 
| 
      
 877 
     | 
    
         
            +
                               "flags: <LARGE>, " +
         
     | 
| 
      
 878 
     | 
    
         
            +
                               "sources: <#{source_column_names}>" +
         
     | 
| 
      
 879 
     | 
    
         
            +
                               ">",
         
     | 
| 
      
 880 
     | 
    
         
            +
                               index.inspect)
         
     | 
| 
      
 881 
     | 
    
         
            +
                end
         
     | 
| 
       821 
882 
     | 
    
         
             
              end
         
     | 
| 
       822 
883 
     | 
    
         
             
            end
         
     | 
    
        data/test/test-index-cursor.rb
    CHANGED
    
    | 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Copyright (C) 2012-2017  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Copyright (C) 2019  Horimoto Yasuhiro <horimoto@clear-code.com>
         
     | 
| 
       2 
3 
     | 
    
         
             
            #
         
     | 
| 
       3 
4 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
5 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -155,6 +156,31 @@ class IndexCursorTest < Test::Unit::TestCase 
     | 
|
| 
       155 
156 
     | 
    
         
             
                assert_equal("l", term.key)
         
     | 
| 
       156 
157 
     | 
    
         
             
              end
         
     | 
| 
       157 
158 
     | 
    
         | 
| 
      
 159 
     | 
    
         
            +
              sub_test_case(".set_min?") do
         
     | 
| 
      
 160 
     | 
    
         
            +
                def setup
         
     | 
| 
      
 161 
     | 
    
         
            +
                  default_set_min = Groonga::IndexCursor.set_min?
         
     | 
| 
      
 162 
     | 
    
         
            +
                  begin
         
     | 
| 
      
 163 
     | 
    
         
            +
                    yield
         
     | 
| 
      
 164 
     | 
    
         
            +
                  ensure
         
     | 
| 
      
 165 
     | 
    
         
            +
                    Groonga::IndexCursor.set_min = default_set_min
         
     | 
| 
      
 166 
     | 
    
         
            +
                  end
         
     | 
| 
      
 167 
     | 
    
         
            +
                end
         
     | 
| 
      
 168 
     | 
    
         
            +
             
     | 
| 
      
 169 
     | 
    
         
            +
                def test_true
         
     | 
| 
      
 170 
     | 
    
         
            +
                  Groonga::IndexCursor.set_min = true
         
     | 
| 
      
 171 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 172 
     | 
    
         
            +
                    Groonga::IndexCursor.set_min?
         
     | 
| 
      
 173 
     | 
    
         
            +
                  end
         
     | 
| 
      
 174 
     | 
    
         
            +
                end
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
                def test_false
         
     | 
| 
      
 177 
     | 
    
         
            +
                  Groonga::IndexCursor.set_min = false
         
     | 
| 
      
 178 
     | 
    
         
            +
                  assert do
         
     | 
| 
      
 179 
     | 
    
         
            +
                    not Groonga::IndexCursor.set_min?
         
     | 
| 
      
 180 
     | 
    
         
            +
                  end
         
     | 
| 
      
 181 
     | 
    
         
            +
                end
         
     | 
| 
      
 182 
     | 
    
         
            +
              end
         
     | 
| 
      
 183 
     | 
    
         
            +
             
     | 
| 
       158 
184 
     | 
    
         
             
              private
         
     | 
| 
       159 
185 
     | 
    
         
             
              def create_hashes(keys, values)
         
     | 
| 
       160 
186 
     | 
    
         
             
                hashes = []
         
     | 
    
        data/test/test-logger.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Copyright (C) 2010- 
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2010-2019  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       2 
2 
     | 
    
         
             
            # Copyright (C) 2016  Masafumi Yokoyama <yokoyama@clear-code.com>
         
     | 
| 
       3 
3 
     | 
    
         
             
            #
         
     | 
| 
       4 
4 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
         @@ -21,15 +21,18 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       21 
21 
     | 
    
         
             
                @default_log_path = Groonga::Logger.path
         
     | 
| 
       22 
22 
     | 
    
         
             
                @default_log_max_level = Groonga::Logger.max_level
         
     | 
| 
       23 
23 
     | 
    
         
             
                @default_rotate_threshold_size = Groonga::Logger.rotate_threshold_size
         
     | 
| 
      
 24 
     | 
    
         
            +
                @default_flags = Groonga::Logger.flags
         
     | 
| 
       24 
25 
     | 
    
         
             
              end
         
     | 
| 
       25 
26 
     | 
    
         | 
| 
       26 
27 
     | 
    
         
             
              def teardown
         
     | 
| 
       27 
28 
     | 
    
         
             
                Groonga::Logger.path = @default_log_path
         
     | 
| 
       28 
29 
     | 
    
         
             
                Groonga::Logger.max_level = @default_log_max_level
         
     | 
| 
       29 
30 
     | 
    
         
             
                Groonga::Logger.rotate_threshold_size = @default_rotate_threshold_size
         
     | 
| 
      
 31 
     | 
    
         
            +
                Groonga::Logger.flags = @default_flags
         
     | 
| 
       30 
32 
     | 
    
         
             
              end
         
     | 
| 
       31 
33 
     | 
    
         | 
| 
       32 
34 
     | 
    
         
             
              def test_reopen
         
     | 
| 
      
 35 
     | 
    
         
            +
                only_not_windows
         
     | 
| 
       33 
36 
     | 
    
         
             
                Groonga::Logger.unregister
         
     | 
| 
       34 
37 
     | 
    
         
             
                Groonga::Logger.path = @log_path.to_s
         
     | 
| 
       35 
38 
     | 
    
         
             
                if @log_path.exist?
         
     | 
| 
         @@ -46,12 +49,22 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       46 
49 
     | 
    
         
             
                assert_equal(:debug, Groonga::Logger.max_level)
         
     | 
| 
       47 
50 
     | 
    
         
             
              end
         
     | 
| 
       48 
51 
     | 
    
         | 
| 
       49 
     | 
    
         
            -
               
     | 
| 
       50 
     | 
    
         
            -
                 
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
                 
     | 
| 
      
 52 
     | 
    
         
            +
              sub_test_case ".flags" do
         
     | 
| 
      
 53 
     | 
    
         
            +
                def test_default
         
     | 
| 
      
 54 
     | 
    
         
            +
                  assert_equal(Groonga::Logger::Flags::TIME |
         
     | 
| 
      
 55 
     | 
    
         
            +
                               Groonga::Logger::Flags::MESSAGE,
         
     | 
| 
      
 56 
     | 
    
         
            +
                               Groonga::Logger.flags)
         
     | 
| 
      
 57 
     | 
    
         
            +
                end
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
                def test_location
         
     | 
| 
      
 60 
     | 
    
         
            +
                  Groonga::Logger.flags = Groonga::Logger::Flags::LOCATION
         
     | 
| 
      
 61 
     | 
    
         
            +
                  assert_equal(Groonga::Logger::Flags::LOCATION, Groonga::Logger.flags)
         
     | 
| 
      
 62 
     | 
    
         
            +
                end
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                def test_thread_id
         
     | 
| 
      
 65 
     | 
    
         
            +
                  Groonga::Logger.flags = Groonga::Logger::Flags::THREAD_ID
         
     | 
| 
      
 66 
     | 
    
         
            +
                  assert_equal(Groonga::Logger::Flags::THREAD_ID, Groonga::Logger.flags)
         
     | 
| 
      
 67 
     | 
    
         
            +
                end
         
     | 
| 
       55 
68 
     | 
    
         
             
              end
         
     | 
| 
       56 
69 
     | 
    
         | 
| 
       57 
70 
     | 
    
         
             
              sub_test_case ".log" do
         
     | 
| 
         @@ -89,7 +102,8 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       89 
102 
     | 
    
         | 
| 
       90 
103 
     | 
    
         
             
                test "default location" do
         
     | 
| 
       91 
104 
     | 
    
         
             
                  locations = []
         
     | 
| 
       92 
     | 
    
         
            -
                  Groonga::Logger.register do | 
     | 
| 
      
 105 
     | 
    
         
            +
                  Groonga::Logger.register(thread_id: false) do |*args|
         
     | 
| 
      
 106 
     | 
    
         
            +
                    location = args[5]
         
     | 
| 
       93 
107 
     | 
    
         
             
                    locations << location
         
     | 
| 
       94 
108 
     | 
    
         
             
                  end
         
     | 
| 
       95 
109 
     | 
    
         
             
                  Groonga::Logger.log("message"); line = __LINE__
         
     | 
| 
         @@ -102,7 +116,8 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       102 
116 
     | 
    
         | 
| 
       103 
117 
     | 
    
         
             
                test ":file" do
         
     | 
| 
       104 
118 
     | 
    
         
             
                  locations = []
         
     | 
| 
       105 
     | 
    
         
            -
                  Groonga::Logger.register do | 
     | 
| 
      
 119 
     | 
    
         
            +
                  Groonga::Logger.register(thread_id: false) do |*args|
         
     | 
| 
      
 120 
     | 
    
         
            +
                    location = args[5]
         
     | 
| 
       106 
121 
     | 
    
         
             
                    locations << location
         
     | 
| 
       107 
122 
     | 
    
         
             
                  end
         
     | 
| 
       108 
123 
     | 
    
         
             
                  Groonga::Logger.log("message", :file => "file.rb")
         
     | 
| 
         @@ -118,7 +133,8 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       118 
133 
     | 
    
         | 
| 
       119 
134 
     | 
    
         
             
                test ":line" do
         
     | 
| 
       120 
135 
     | 
    
         
             
                  locations = []
         
     | 
| 
       121 
     | 
    
         
            -
                  Groonga::Logger.register do | 
     | 
| 
      
 136 
     | 
    
         
            +
                  Groonga::Logger.register(thread_id: false) do |*args|
         
     | 
| 
      
 137 
     | 
    
         
            +
                    location = args[5]
         
     | 
| 
       122 
138 
     | 
    
         
             
                    locations << location
         
     | 
| 
       123 
139 
     | 
    
         
             
                  end
         
     | 
| 
       124 
140 
     | 
    
         
             
                  Groonga::Logger.log("message", :line => 100)
         
     | 
| 
         @@ -134,7 +150,8 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       134 
150 
     | 
    
         | 
| 
       135 
151 
     | 
    
         
             
                test ":function" do
         
     | 
| 
       136 
152 
     | 
    
         
             
                  locations = []
         
     | 
| 
       137 
     | 
    
         
            -
                  Groonga::Logger.register do | 
     | 
| 
      
 153 
     | 
    
         
            +
                  Groonga::Logger.register(thread_id: false) do |*args|
         
     | 
| 
      
 154 
     | 
    
         
            +
                    location = args[5]
         
     | 
| 
       138 
155 
     | 
    
         
             
                    locations << location
         
     | 
| 
       139 
156 
     | 
    
         
             
                  end
         
     | 
| 
       140 
157 
     | 
    
         
             
                  Groonga::Logger.log("message", :function => "method_name")
         
     | 
| 
         @@ -149,6 +166,34 @@ class LoggerTest < Test::Unit::TestCase 
     | 
|
| 
       149 
166 
     | 
    
         
             
                end
         
     | 
| 
       150 
167 
     | 
    
         
             
              end
         
     | 
| 
       151 
168 
     | 
    
         | 
| 
      
 169 
     | 
    
         
            +
              sub_test_case ".register" do
         
     | 
| 
      
 170 
     | 
    
         
            +
                setup do
         
     | 
| 
      
 171 
     | 
    
         
            +
                  GC.disable
         
     | 
| 
      
 172 
     | 
    
         
            +
                end
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
                teardown do
         
     | 
| 
      
 175 
     | 
    
         
            +
                  Groonga::Logger.unregister
         
     | 
| 
      
 176 
     | 
    
         
            +
                  GC.enable
         
     | 
| 
      
 177 
     | 
    
         
            +
                end
         
     | 
| 
      
 178 
     | 
    
         
            +
             
     | 
| 
      
 179 
     | 
    
         
            +
                test ":thread_id" do
         
     | 
| 
      
 180 
     | 
    
         
            +
                  locations = []
         
     | 
| 
      
 181 
     | 
    
         
            +
                  Groonga::Logger.register(location: false,
         
     | 
| 
      
 182 
     | 
    
         
            +
                                           thread_id: true) do |*args|
         
     | 
| 
      
 183 
     | 
    
         
            +
                    location = args[5]
         
     | 
| 
      
 184 
     | 
    
         
            +
                    locations << location
         
     | 
| 
      
 185 
     | 
    
         
            +
                  end
         
     | 
| 
      
 186 
     | 
    
         
            +
                  Groonga::Logger.log("message")
         
     | 
| 
      
 187 
     | 
    
         
            +
                  locations = locations.collect do |location|
         
     | 
| 
      
 188 
     | 
    
         
            +
                    location.gsub(/\A([a-f\d]+)\z/, "THREAD_ID")
         
     | 
| 
      
 189 
     | 
    
         
            +
                  end
         
     | 
| 
      
 190 
     | 
    
         
            +
                  assert_equal([
         
     | 
| 
      
 191 
     | 
    
         
            +
                                 "THREAD_ID",
         
     | 
| 
      
 192 
     | 
    
         
            +
                               ],
         
     | 
| 
      
 193 
     | 
    
         
            +
                               locations)
         
     | 
| 
      
 194 
     | 
    
         
            +
                end
         
     | 
| 
      
 195 
     | 
    
         
            +
              end
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
       152 
197 
     | 
    
         
             
              def test_rotate_threshold_size
         
     | 
| 
       153 
198 
     | 
    
         
             
                Groonga::Logger.unregister
         
     | 
| 
       154 
199 
     | 
    
         
             
                Groonga::Logger.path = @log_path.to_s
         
     | 
    
        data/test/test-plugin.rb
    CHANGED
    
    | 
         @@ -48,6 +48,7 @@ class PluginTest < Test::Unit::TestCase 
     | 
|
| 
       48 
48 
     | 
    
         
             
                end
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
                def test_by_path
         
     | 
| 
      
 51 
     | 
    
         
            +
                  only_not_windows # TODO: We can remove this with Groonga 9.0.3
         
     | 
| 
       51 
52 
     | 
    
         
             
                  context.register_plugin("token_filters/stop_word")
         
     | 
| 
       52 
53 
     | 
    
         
             
                  assert_not_nil(context["TokenFilterStopWord"])
         
     | 
| 
       53 
54 
     | 
    
         
             
                  plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
         
     | 
    
        data/test/test-query-logger.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Copyright (C) 2015- 
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2015-2019  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
4 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -29,6 +29,7 @@ class QueryLoggerTest < Test::Unit::TestCase 
     | 
|
| 
       29 
29 
     | 
    
         
             
              end
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
              def test_reopen
         
     | 
| 
      
 32 
     | 
    
         
            +
                only_not_windows
         
     | 
| 
       32 
33 
     | 
    
         
             
                Groonga::QueryLogger.unregister
         
     | 
| 
       33 
34 
     | 
    
         
             
                Groonga::QueryLogger.path = @query_log_path.to_s
         
     | 
| 
       34 
35 
     | 
    
         
             
                if @query_log_path.exist?
         
     | 
| 
         @@ -109,7 +110,7 @@ class QueryLoggerTest < Test::Unit::TestCase 
     | 
|
| 
       109 
110 
     | 
    
         
             
                  Groonga::QueryLogger.log("default")
         
     | 
| 
       110 
111 
     | 
    
         
             
                  Groonga::QueryLogger.log("flags", :flags => "command")
         
     | 
| 
       111 
112 
     | 
    
         
             
                  normalized_infos = infos.collect do |info|
         
     | 
| 
       112 
     | 
    
         
            -
                    info = info.gsub(/\ 
     | 
| 
      
 113 
     | 
    
         
            +
                    info = info.gsub(/\A[a-zA-Z\d]+\|/,
         
     | 
| 
       113 
114 
     | 
    
         
             
                                     "context_id|")
         
     | 
| 
       114 
115 
     | 
    
         
             
                    info.gsub(/\|[\d]+ \z/,
         
     | 
| 
       115 
116 
     | 
    
         
             
                              "|timestamp ")
         
     | 
| 
         @@ -129,7 +130,7 @@ class QueryLoggerTest < Test::Unit::TestCase 
     | 
|
| 
       129 
130 
     | 
    
         
             
                  Groonga::QueryLogger.log("default")
         
     | 
| 
       130 
131 
     | 
    
         
             
                  Groonga::QueryLogger.log("mark", :mark => ":")
         
     | 
| 
       131 
132 
     | 
    
         
             
                  normalized_infos = infos.collect do |info|
         
     | 
| 
       132 
     | 
    
         
            -
                    info.gsub(/\ 
     | 
| 
      
 133 
     | 
    
         
            +
                    info.gsub(/\A[a-zA-Z\d]+\|([^\d])?[\d]+ \z/,
         
     | 
| 
       133 
134 
     | 
    
         
             
                              "context_id|\\1timestamp ")
         
     | 
| 
       134 
135 
     | 
    
         
             
                  end
         
     | 
| 
       135 
136 
     | 
    
         
             
                  assert_equal([
         
     | 
    
        data/test/test-record.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Copyright (C) 2009- 
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2009-2019  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
4 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -647,6 +647,7 @@ class RecordTest < Test::Unit::TestCase 
     | 
|
| 
       647 
647 
     | 
    
         
             
                end
         
     | 
| 
       648 
648 
     | 
    
         | 
| 
       649 
649 
     | 
    
         
             
                def test_to_json
         
     | 
| 
      
 650 
     | 
    
         
            +
                  only_not_windows
         
     | 
| 
       650 
651 
     | 
    
         
             
                  ENV["TZ"] = "Japan"
         
     | 
| 
       651 
652 
     | 
    
         
             
                  created_at = Time.parse("2013-05-16T16:57:34+09:00")
         
     | 
| 
       652 
653 
     | 
    
         
             
                  values = {
         
     | 
    
        data/test/test-remote.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Copyright (C) 2009- 
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2009-2019  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
4 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -20,24 +20,54 @@ class RemoteTest < Test::Unit::TestCase 
     | 
|
| 
       20 
20 
     | 
    
         
             
              def setup_remote_connection
         
     | 
| 
       21 
21 
     | 
    
         
             
                @process_id = nil
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
                 
     | 
| 
       24 
     | 
    
         
            -
                 
     | 
| 
      
 23 
     | 
    
         
            +
                vendor_local_bin = File.join(__dir__, "..", "vendor", "local", "bin")
         
     | 
| 
      
 24 
     | 
    
         
            +
                if File.exist?(vendor_local_bin)
         
     | 
| 
      
 25 
     | 
    
         
            +
                  groonga = File.join(vendor_local_bin, "groonga")
         
     | 
| 
      
 26 
     | 
    
         
            +
                else
         
     | 
| 
      
 27 
     | 
    
         
            +
                  package_config = PKGConfig.package_config("groonga")
         
     | 
| 
      
 28 
     | 
    
         
            +
                  groonga = package_config.variable("groonga")
         
     | 
| 
      
 29 
     | 
    
         
            +
                end
         
     | 
| 
       25 
30 
     | 
    
         | 
| 
       26 
31 
     | 
    
         
             
                @host = "127.0.0.1"
         
     | 
| 
       27 
32 
     | 
    
         
             
                @port = 12345
         
     | 
| 
       28 
33 
     | 
    
         
             
                @remote_database_path = @tmp_dir + "remote-database"
         
     | 
| 
       29 
     | 
    
         
            -
                @process_id =  
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
      
 34 
     | 
    
         
            +
                @process_id = spawn(groonga,
         
     | 
| 
      
 35 
     | 
    
         
            +
                                    "-i", @host,
         
     | 
| 
      
 36 
     | 
    
         
            +
                                    "-p", @port.to_s,
         
     | 
| 
      
 37 
     | 
    
         
            +
                                    "-s",
         
     | 
| 
      
 38 
     | 
    
         
            +
                                    "-n", @remote_database_path.to_s)
         
     | 
| 
      
 39 
     | 
    
         
            +
                Timeout.timeout(5) do
         
     | 
| 
      
 40 
     | 
    
         
            +
                  loop do
         
     | 
| 
      
 41 
     | 
    
         
            +
                    begin
         
     | 
| 
      
 42 
     | 
    
         
            +
                      open_client do |client|
         
     | 
| 
      
 43 
     | 
    
         
            +
                        client.status
         
     | 
| 
      
 44 
     | 
    
         
            +
                      end
         
     | 
| 
      
 45 
     | 
    
         
            +
                    rescue Groonga::Client::Error
         
     | 
| 
      
 46 
     | 
    
         
            +
                    else
         
     | 
| 
      
 47 
     | 
    
         
            +
                      break
         
     | 
| 
      
 48 
     | 
    
         
            +
                    end
         
     | 
| 
      
 49 
     | 
    
         
            +
                  end
         
     | 
| 
       34 
50 
     | 
    
         
             
                end
         
     | 
| 
       35 
     | 
    
         
            -
                sleep(1)
         
     | 
| 
       36 
51 
     | 
    
         
             
              end
         
     | 
| 
       37 
52 
     | 
    
         | 
| 
       38 
53 
     | 
    
         
             
              teardown
         
     | 
| 
       39 
54 
     | 
    
         
             
              def teardown_remote_connection
         
     | 
| 
       40 
     | 
    
         
            -
                 
     | 
| 
      
 55 
     | 
    
         
            +
                if @process_id
         
     | 
| 
      
 56 
     | 
    
         
            +
                  begin
         
     | 
| 
      
 57 
     | 
    
         
            +
                    open_client do |client|
         
     | 
| 
      
 58 
     | 
    
         
            +
                      client.shutdown
         
     | 
| 
      
 59 
     | 
    
         
            +
                    end
         
     | 
| 
      
 60 
     | 
    
         
            +
                  rescue Groonga::Client::Error
         
     | 
| 
      
 61 
     | 
    
         
            +
                  end
         
     | 
| 
      
 62 
     | 
    
         
            +
                  Process.waitpid(@process_id)
         
     | 
| 
      
 63 
     | 
    
         
            +
                end
         
     | 
| 
      
 64 
     | 
    
         
            +
              end
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
              def open_client(&block)
         
     | 
| 
      
 67 
     | 
    
         
            +
                Groonga::Client.open(host: @host,
         
     | 
| 
      
 68 
     | 
    
         
            +
                                     port: @port,
         
     | 
| 
      
 69 
     | 
    
         
            +
                                     protocol: :gqtp,
         
     | 
| 
      
 70 
     | 
    
         
            +
                                     &block)
         
     | 
| 
       41 
71 
     | 
    
         
             
              end
         
     | 
| 
       42 
72 
     | 
    
         | 
| 
       43 
73 
     | 
    
         
             
              def test_send
         
     |