rroonga 9.0.3-x64-mingw32 → 9.0.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +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 +22 -22
- 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
@@ -10,6 +10,98 @@ module Slop
|
|
10
10
|
@name = name
|
11
11
|
end
|
12
12
|
end
|
13
|
+
|
14
|
+
class TimeOption < Option
|
15
|
+
def call(value)
|
16
|
+
case value
|
17
|
+
when /\A\-/
|
18
|
+
Time.now - parse_relative_time(value[1..-1])
|
19
|
+
else
|
20
|
+
parse_time(value)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
def parse_relative_time(value)
|
26
|
+
match_data = /\A
|
27
|
+
(\d+(?:\.\d+)?)\ *
|
28
|
+
(s|secs?|seconds?|
|
29
|
+
m|mins?|minutes?|
|
30
|
+
h|hours?|
|
31
|
+
d|days?|
|
32
|
+
w|weeks?|
|
33
|
+
months?|
|
34
|
+
y|years?)
|
35
|
+
\z/x.match(value)
|
36
|
+
unless match_data
|
37
|
+
message = "must be one of them: "
|
38
|
+
message << "<-Nseconds>, <-Nminutes>, <-Nhours>, <-Ndays>, "
|
39
|
+
message << "<-Nweeks>, <-Nmonths>, <-Nyears>: "
|
40
|
+
message << "<#{value}>"
|
41
|
+
raise ArgumentError, message
|
42
|
+
end
|
43
|
+
base = Float(match_data[1])
|
44
|
+
case match_data[2]
|
45
|
+
when "s", "sec", "secs", "second", "seconds"
|
46
|
+
unit = 1
|
47
|
+
when "m", "min", "mins", "minute", "minutes"
|
48
|
+
unit = 60
|
49
|
+
when "h", "hour", "hours"
|
50
|
+
unit = 60 * 60
|
51
|
+
when "d", "day", "days"
|
52
|
+
unit = 60 * 60 * 24
|
53
|
+
when "w", "week", "weeks"
|
54
|
+
unit = 60 * 60 * 24 * 7
|
55
|
+
when "month", "months"
|
56
|
+
unit = 60 * 60 * 24 * 30
|
57
|
+
else
|
58
|
+
unit = 60 * 60 * 24 * 365
|
59
|
+
end
|
60
|
+
base * unit
|
61
|
+
end
|
62
|
+
|
63
|
+
def parse_time(value)
|
64
|
+
case value
|
65
|
+
when /\A(\d{4})\z/
|
66
|
+
Time.local(Integer($1, 10))
|
67
|
+
when /\A(\d{4})-(\d{1,2})\z/
|
68
|
+
Time.local(Integer($1, 10),
|
69
|
+
Integer($2, 10))
|
70
|
+
when /\A(\d{4})-(\d{1,2})-(\d{1,2})\z/
|
71
|
+
Time.local(Integer($1, 10),
|
72
|
+
Integer($2, 10),
|
73
|
+
Integer($3, 10))
|
74
|
+
when /\A(\d{4})-(\d{1,2})-(\d{1,2})T(\d{1,2})\z/
|
75
|
+
Time.local(Integer($1, 10),
|
76
|
+
Integer($2, 10),
|
77
|
+
Integer($3, 10),
|
78
|
+
Integer($4, 10))
|
79
|
+
when /\A(\d{4})-(\d{1,2})-(\d{1,2})T(\d{1,2}):(\d{1,2})\z/
|
80
|
+
Time.local(Integer($1, 10),
|
81
|
+
Integer($2, 10),
|
82
|
+
Integer($3, 10),
|
83
|
+
Integer($4, 10),
|
84
|
+
Integer($5, 10))
|
85
|
+
when /\A(\d{4})-(\d{1,2})-(\d{1,2})T(\d{1,2}):(\d{1,2}):(\d{1,2})\z/
|
86
|
+
Time.local(Integer($1, 10),
|
87
|
+
Integer($2, 10),
|
88
|
+
Integer($3, 10),
|
89
|
+
Integer($4, 10),
|
90
|
+
Integer($5, 10),
|
91
|
+
Integer($6, 10))
|
92
|
+
when /\A(\d{4})-(\d{1,2})-(\d{1,2})T(\d{1,2}):(\d{1,2}):(\d{1,2})\.(\d+)\z/
|
93
|
+
Time.local(Integer($1, 10),
|
94
|
+
Integer($2, 10),
|
95
|
+
Integer($3, 10),
|
96
|
+
Integer($4, 10),
|
97
|
+
Integer($5, 10),
|
98
|
+
Integer($6, 10),
|
99
|
+
(Integer($7, 10) / 1_000_000.0 * 1_000_000).floor)
|
100
|
+
else
|
101
|
+
raise ArgumentError, "must be ISO 8601 format: <#{value}>"
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
13
105
|
end
|
14
106
|
|
15
107
|
module Groonga
|
@@ -97,6 +189,10 @@ module Groonga
|
|
97
189
|
options.string("--log-level",
|
98
190
|
"Change log level (#{default_log_level.name})",
|
99
191
|
default: default_log_level)
|
192
|
+
default_log_flags = Logger.default_flags
|
193
|
+
options.string("--log-flags",
|
194
|
+
"Change log flags (#{default_log_flags.to_s})",
|
195
|
+
default: default_log_flags)
|
100
196
|
end
|
101
197
|
|
102
198
|
def find_command(name)
|
@@ -83,9 +83,14 @@ module Groonga
|
|
83
83
|
end
|
84
84
|
return table.size unless index_column.respond_to?(:lexicon)
|
85
85
|
|
86
|
+
case value
|
87
|
+
when Groonga::Vector, Groonga::UVector
|
88
|
+
return table.size
|
89
|
+
end
|
90
|
+
|
86
91
|
lexicon = index_column.lexicon
|
87
92
|
term = value.value
|
88
|
-
if value.
|
93
|
+
if value.domain_id == lexicon.id
|
89
94
|
term_id = term.id
|
90
95
|
else
|
91
96
|
term_id = lexicon[term]
|
@@ -98,18 +103,33 @@ module Groonga
|
|
98
103
|
end
|
99
104
|
|
100
105
|
def estimate_size_equal_accessor(table, accessor, value)
|
101
|
-
|
102
|
-
|
103
|
-
|
106
|
+
last_accessor = accessor
|
107
|
+
while last_accessor.have_next?
|
108
|
+
last_accessor = last_accessor.next
|
109
|
+
end
|
110
|
+
|
111
|
+
if last_accessor.id?
|
112
|
+
if last_accessor.object.id?(value.value)
|
113
|
+
if last_accessor == accessor
|
114
|
+
return 1
|
115
|
+
else
|
116
|
+
return table.size
|
117
|
+
end
|
104
118
|
else
|
105
119
|
return 0
|
106
120
|
end
|
107
|
-
|
108
|
-
if
|
109
|
-
|
121
|
+
elsif last_accessor.key?
|
122
|
+
if last_accessor.object[value]
|
123
|
+
if last_accessor == accessor
|
124
|
+
return 1
|
125
|
+
else
|
126
|
+
return table.size
|
127
|
+
end
|
110
128
|
else
|
111
129
|
return 0
|
112
130
|
end
|
131
|
+
else
|
132
|
+
return table.size
|
113
133
|
end
|
114
134
|
end
|
115
135
|
|
@@ -198,6 +218,9 @@ module Groonga
|
|
198
218
|
end
|
199
219
|
when Groonga::IndexColumn
|
200
220
|
indexes << column
|
221
|
+
when Groonga::Accessor
|
222
|
+
# TODO Implement this
|
223
|
+
return table.size
|
201
224
|
else
|
202
225
|
index_info = column.find_index(@operator)
|
203
226
|
return table.size if index_info.nil?
|
@@ -0,0 +1,70 @@
|
|
1
|
+
module Groonga
|
2
|
+
class Logger
|
3
|
+
class Flags
|
4
|
+
VALUES = {
|
5
|
+
time: 1,
|
6
|
+
title: 2,
|
7
|
+
message: 4,
|
8
|
+
location: 8,
|
9
|
+
process_id: 16,
|
10
|
+
thread_id: 32,
|
11
|
+
}
|
12
|
+
|
13
|
+
attr_reader :value
|
14
|
+
def initialize(value)
|
15
|
+
@value = resolve_value(value)
|
16
|
+
end
|
17
|
+
|
18
|
+
def to_i
|
19
|
+
@value
|
20
|
+
end
|
21
|
+
|
22
|
+
def to_s
|
23
|
+
names = []
|
24
|
+
VALUES.each do |name, value|
|
25
|
+
names << name.to_s unless (value & @value) == 0
|
26
|
+
end
|
27
|
+
names.join("|")
|
28
|
+
end
|
29
|
+
|
30
|
+
def |(other)
|
31
|
+
other = self.class.new(other) unless other.is_a?(self.class)
|
32
|
+
self.class.new(@value | other.to_i)
|
33
|
+
end
|
34
|
+
|
35
|
+
def &(other)
|
36
|
+
other = self.class.new(other) unless other.is_a?(self.class)
|
37
|
+
self.class.new(@value & other.to_i)
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
def resolve_value(value)
|
42
|
+
case value
|
43
|
+
when String, Symbol
|
44
|
+
resolved_value = VALUES[value.to_sym]
|
45
|
+
if resolved_value.nil?
|
46
|
+
available_names = VALUES.keys.inspect
|
47
|
+
message = "unknown flag name: #{value.inspect}: #{available_names}"
|
48
|
+
raise ArgumentError, message
|
49
|
+
end
|
50
|
+
resolved_value
|
51
|
+
when ::Array
|
52
|
+
value.inject(0) do |resolved_value, v|
|
53
|
+
resolved_value | resolve_value(v)
|
54
|
+
end
|
55
|
+
else
|
56
|
+
value
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
NONE = new(0)
|
61
|
+
TIME = new(:time)
|
62
|
+
TITLE = new(:title)
|
63
|
+
MESSAGE = new(:message)
|
64
|
+
LOCATION = new(:location)
|
65
|
+
PROCESS_ID = new(:process_id)
|
66
|
+
PID = PROCESS_ID
|
67
|
+
THREAD_ID = new(:thread_id)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -302,8 +302,8 @@ module Groonga
|
|
302
302
|
rest_n_codes = n_codes - i
|
303
303
|
if rest_n_codes >= 2 and
|
304
304
|
codes[i + 1].value.is_a?(Bulk) and
|
305
|
-
(codes[i + 1].value.
|
306
|
-
codes[i + 1].value.
|
305
|
+
(codes[i + 1].value.domain_id == ID::UINT32 or
|
306
|
+
codes[i + 1].value.domain_id == ID::INT32) and
|
307
307
|
codes[i + 2].op == Operator::GET_MEMBER
|
308
308
|
section_id = codes[i + 1].value.value + 1
|
309
309
|
offset += 2
|
Binary file
|
Binary file
|
data/vendor/local/lib/liblz4.dll
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libz.dll.a
CHANGED
Binary file
|
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
|
|
11
11
|
groonga=${bindir}/groonga.exe
|
12
12
|
groonga_httpd=${sbindir}/groonga-httpd.exe
|
13
13
|
groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
|
14
|
-
groonga_version=9.0.
|
14
|
+
groonga_version=9.0.6
|
15
15
|
|
16
16
|
Name: Groonga
|
17
17
|
Description: An Embeddable Fulltext Search Engine
|
18
|
-
Version: 9.0.
|
18
|
+
Version: 9.0.6
|
19
19
|
Libs: -L${libdir} -lgroonga
|
20
20
|
Cflags: -I${includedir}/groonga
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
cmake_minimum_required(VERSION 2.8)
|
2
|
+
|
3
|
+
if(POLICY CMP0054)
|
4
|
+
cmake_policy(SET CMP0054 NEW)
|
5
|
+
endif()
|
6
|
+
|
7
|
+
set(EXAMPLES
|
8
|
+
capitalize
|
9
|
+
condense
|
10
|
+
filterkey
|
11
|
+
filterkeydom
|
12
|
+
jsonx
|
13
|
+
messagereader
|
14
|
+
parsebyparts
|
15
|
+
pretty
|
16
|
+
prettyauto
|
17
|
+
schemavalidator
|
18
|
+
serialize
|
19
|
+
simpledom
|
20
|
+
simplereader
|
21
|
+
simplewriter
|
22
|
+
tutorial)
|
23
|
+
|
24
|
+
include_directories("../include/")
|
25
|
+
|
26
|
+
add_definitions(-D__STDC_FORMAT_MACROS)
|
27
|
+
|
28
|
+
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
29
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -Werror -Wall -Wextra -Weffc++ -Wswitch-default")
|
30
|
+
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
31
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Weffc++ -Wswitch-default -Wfloat-equal -Wimplicit-fallthrough -Weverything")
|
32
|
+
endif()
|
33
|
+
|
34
|
+
foreach (example ${EXAMPLES})
|
35
|
+
add_executable(${example} ${example}/${example}.cpp)
|
36
|
+
endforeach()
|
37
|
+
|
38
|
+
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
39
|
+
target_link_libraries(parsebyparts pthread)
|
40
|
+
endif()
|
41
|
+
|
42
|
+
add_custom_target(examples ALL DEPENDS ${EXAMPLES})
|
@@ -0,0 +1,67 @@
|
|
1
|
+
// JSON condenser example
|
2
|
+
|
3
|
+
// This example parses JSON from stdin with validation,
|
4
|
+
// and re-output the JSON content to stdout with all string capitalized, and without whitespace.
|
5
|
+
|
6
|
+
#include "rapidjson/reader.h"
|
7
|
+
#include "rapidjson/writer.h"
|
8
|
+
#include "rapidjson/filereadstream.h"
|
9
|
+
#include "rapidjson/filewritestream.h"
|
10
|
+
#include "rapidjson/error/en.h"
|
11
|
+
#include <vector>
|
12
|
+
#include <cctype>
|
13
|
+
|
14
|
+
using namespace rapidjson;
|
15
|
+
|
16
|
+
template<typename OutputHandler>
|
17
|
+
struct CapitalizeFilter {
|
18
|
+
CapitalizeFilter(OutputHandler& out) : out_(out), buffer_() {}
|
19
|
+
|
20
|
+
bool Null() { return out_.Null(); }
|
21
|
+
bool Bool(bool b) { return out_.Bool(b); }
|
22
|
+
bool Int(int i) { return out_.Int(i); }
|
23
|
+
bool Uint(unsigned u) { return out_.Uint(u); }
|
24
|
+
bool Int64(int64_t i) { return out_.Int64(i); }
|
25
|
+
bool Uint64(uint64_t u) { return out_.Uint64(u); }
|
26
|
+
bool Double(double d) { return out_.Double(d); }
|
27
|
+
bool RawNumber(const char* str, SizeType length, bool copy) { return out_.RawNumber(str, length, copy); }
|
28
|
+
bool String(const char* str, SizeType length, bool) {
|
29
|
+
buffer_.clear();
|
30
|
+
for (SizeType i = 0; i < length; i++)
|
31
|
+
buffer_.push_back(static_cast<char>(std::toupper(str[i])));
|
32
|
+
return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the string
|
33
|
+
}
|
34
|
+
bool StartObject() { return out_.StartObject(); }
|
35
|
+
bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); }
|
36
|
+
bool EndObject(SizeType memberCount) { return out_.EndObject(memberCount); }
|
37
|
+
bool StartArray() { return out_.StartArray(); }
|
38
|
+
bool EndArray(SizeType elementCount) { return out_.EndArray(elementCount); }
|
39
|
+
|
40
|
+
OutputHandler& out_;
|
41
|
+
std::vector<char> buffer_;
|
42
|
+
|
43
|
+
private:
|
44
|
+
CapitalizeFilter(const CapitalizeFilter&);
|
45
|
+
CapitalizeFilter& operator=(const CapitalizeFilter&);
|
46
|
+
};
|
47
|
+
|
48
|
+
int main(int, char*[]) {
|
49
|
+
// Prepare JSON reader and input stream.
|
50
|
+
Reader reader;
|
51
|
+
char readBuffer[65536];
|
52
|
+
FileReadStream is(stdin, readBuffer, sizeof(readBuffer));
|
53
|
+
|
54
|
+
// Prepare JSON writer and output stream.
|
55
|
+
char writeBuffer[65536];
|
56
|
+
FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer));
|
57
|
+
Writer<FileWriteStream> writer(os);
|
58
|
+
|
59
|
+
// JSON reader parse from the input stream and let writer generate the output.
|
60
|
+
CapitalizeFilter<Writer<FileWriteStream> > filter(writer);
|
61
|
+
if (!reader.Parse(is, filter)) {
|
62
|
+
fprintf(stderr, "\nError(%u): %s\n", static_cast<unsigned>(reader.GetErrorOffset()), GetParseError_En(reader.GetParseErrorCode()));
|
63
|
+
return 1;
|
64
|
+
}
|
65
|
+
|
66
|
+
return 0;
|
67
|
+
}
|