rroonga 6.0.2-x64-mingw32 → 6.0.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/doc/text/news.md +18 -1
- data/ext/groonga/rb-grn-column.c +1 -2
- data/ext/groonga/rb-grn-data-column.c +157 -0
- data/ext/groonga/rb-grn-exception.c +17 -0
- data/ext/groonga/rb-grn-fix-size-column.c +2 -2
- data/ext/groonga/rb-grn-object.c +29 -0
- data/ext/groonga/rb-grn-procedure-type.c +9 -1
- data/ext/groonga/rb-grn-table-sort-keys.c +85 -0
- data/ext/groonga/rb-grn-table.c +2 -57
- data/ext/groonga/rb-grn-variable-size-column.c +2 -2
- data/ext/groonga/rb-grn.h +17 -3
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +4 -6
- data/test/test-data-column.rb +53 -0
- data/test/test-procedure.rb +12 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
- data/vendor/local/include/groonga/groonga.h +5 -0
- data/vendor/local/include/groonga/groonga/array.h +13 -0
- data/vendor/local/include/groonga/groonga/db.h +46 -0
- data/vendor/local/include/groonga/groonga/expr.h +1 -1
- data/vendor/local/include/groonga/groonga/groonga.h +14 -221
- data/vendor/local/include/groonga/groonga/hash.h +15 -0
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/operator.h +48 -0
- data/vendor/local/include/groonga/groonga/output.h +17 -1
- data/vendor/local/include/groonga/groonga/plugin.h +1 -4
- data/vendor/local/include/groonga/groonga/portability.h +7 -4
- data/vendor/local/include/groonga/groonga/scorer.h +3 -3
- data/vendor/local/include/groonga/groonga/table.h +216 -0
- data/vendor/local/include/groonga/groonga/time.h +47 -0
- data/vendor/local/include/groonga/groonga/window_function.h +67 -0
- 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 +41 -0
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +41 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +41 -10
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +2 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +129 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +92 -70
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/number_classify.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/record_number.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_day.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_hour.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_minute.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_month.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_second.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_week.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_year.txt +18 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +20 -11
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +286 -148
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +20 -11
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +115 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +20 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +156 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +158 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +129 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +92 -70
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/number_classify.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/record_number.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_day.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_hour.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_minute.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_month.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_second.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_week.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_year.txt +18 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +257 -150
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +108 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +157 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +159 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +156 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +62 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/mruby/LEGAL +4 -0
- metadata +55 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
Copyright (C) 2014-2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
@@ -648,7 +648,7 @@ void
|
|
648
648
|
rb_grn_init_variable_size_column (VALUE mGrn)
|
649
649
|
{
|
650
650
|
rb_cGrnVariableSizeColumn =
|
651
|
-
rb_define_class_under(mGrn, "VariableSizeColumn",
|
651
|
+
rb_define_class_under(mGrn, "VariableSizeColumn", rb_cGrnDataColumn);
|
652
652
|
|
653
653
|
rb_define_method(rb_cGrnVariableSizeColumn, "[]",
|
654
654
|
rb_grn_variable_size_column_array_reference, 1);
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -99,7 +99,7 @@ RB_GRN_BEGIN_DECLS
|
|
99
99
|
|
100
100
|
#define RB_GRN_MAJOR_VERSION 6
|
101
101
|
#define RB_GRN_MINOR_VERSION 0
|
102
|
-
#define RB_GRN_MICRO_VERSION
|
102
|
+
#define RB_GRN_MICRO_VERSION 4
|
103
103
|
|
104
104
|
#define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
|
105
105
|
#define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
|
@@ -179,17 +179,23 @@ struct _RbGrnColumn
|
|
179
179
|
grn_obj *value;
|
180
180
|
};
|
181
181
|
|
182
|
+
typedef struct _RbGrnDataColumn RbGrnDataColumn;
|
183
|
+
struct _RbGrnDataColumn
|
184
|
+
{
|
185
|
+
RbGrnColumn parent;
|
186
|
+
};
|
187
|
+
|
182
188
|
typedef struct _RbGrnVariableSizeColumn RbGrnVariableSizeColumn;
|
183
189
|
struct _RbGrnVariableSizeColumn
|
184
190
|
{
|
185
|
-
|
191
|
+
RbGrnDataColumn parent;
|
186
192
|
grn_obj *element_value;
|
187
193
|
};
|
188
194
|
|
189
195
|
typedef struct _RbGrnIndexColumn RbGrnIndexColumn;
|
190
196
|
struct _RbGrnIndexColumn
|
191
197
|
{
|
192
|
-
|
198
|
+
RbGrnDataColumn parent;
|
193
199
|
grn_obj *old_value;
|
194
200
|
grn_obj *set_value;
|
195
201
|
grn_obj *id_query;
|
@@ -268,6 +274,7 @@ RB_GRN_VAR VALUE rb_cGrnArrayCursor;
|
|
268
274
|
RB_GRN_VAR VALUE rb_cGrnType;
|
269
275
|
RB_GRN_VAR VALUE rb_cGrnProcedure;
|
270
276
|
RB_GRN_VAR VALUE rb_cGrnColumn;
|
277
|
+
RB_GRN_VAR VALUE rb_cGrnDataColumn;
|
271
278
|
RB_GRN_VAR VALUE rb_cGrnFixSizeColumn;
|
272
279
|
RB_GRN_VAR VALUE rb_cGrnVariableSizeColumn;
|
273
280
|
RB_GRN_VAR VALUE rb_cGrnIndexColumn;
|
@@ -324,6 +331,7 @@ void rb_grn_init_type (VALUE mGrn);
|
|
324
331
|
void rb_grn_init_procedure (VALUE mGrn);
|
325
332
|
void rb_grn_init_procedure_type (VALUE mGrn);
|
326
333
|
void rb_grn_init_column (VALUE mGrn);
|
334
|
+
void rb_grn_init_data_column (VALUE mGrn);
|
327
335
|
void rb_grn_init_fix_size_column (VALUE mGrn);
|
328
336
|
void rb_grn_init_variable_size_column (VALUE mGrn);
|
329
337
|
void rb_grn_init_index_column (VALUE mGrn);
|
@@ -510,6 +518,12 @@ VALUE rb_grn_table_set_column_value (VALUE self,
|
|
510
518
|
VALUE rb_grn_table_inspect_content (VALUE object,
|
511
519
|
VALUE inspected);
|
512
520
|
|
521
|
+
void rb_grn_table_sort_keys_fill (grn_ctx *context,
|
522
|
+
grn_table_sort_key *sort_keys,
|
523
|
+
size_t n_sort_keys,
|
524
|
+
VALUE rb_sort_keys,
|
525
|
+
VALUE rb_table);
|
526
|
+
|
513
527
|
grn_ctx *rb_grn_table_cursor_ensure_context (VALUE cursor,
|
514
528
|
VALUE *rb_context);
|
515
529
|
int rb_grn_table_cursor_order_to_flag (VALUE rb_order);
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/2.2/groonga.so
CHANGED
Binary file
|
data/lib/2.3/groonga.so
CHANGED
Binary file
|
data/rroonga-build.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
1
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
4
2
|
# Copyright (C) 2015-2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
3
|
#
|
6
4
|
# This library is free software; you can redistribute it and/or
|
@@ -20,15 +18,15 @@ module RroongaBuild
|
|
20
18
|
module RequiredGroongaVersion
|
21
19
|
MAJOR = 6
|
22
20
|
MINOR = 0
|
23
|
-
MICRO =
|
21
|
+
MICRO = 4
|
24
22
|
VERSION = [MAJOR, MINOR, MICRO]
|
25
|
-
RELEASED_DATE = Time.utc(2016,
|
23
|
+
RELEASED_DATE = Time.utc(2016, 6, 6)
|
26
24
|
end
|
27
25
|
|
28
26
|
module LatestGroongaVersion
|
29
27
|
MAJOR = 6
|
30
28
|
MINOR = 0
|
31
|
-
MICRO =
|
29
|
+
MICRO = 4
|
32
30
|
VERSION = [MAJOR, MINOR, MICRO]
|
33
31
|
end
|
34
32
|
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class DataColumnTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
def setup
|
20
|
+
setup_database
|
21
|
+
end
|
22
|
+
|
23
|
+
sub_test_case "#apply_window_function" do
|
24
|
+
def test_no_argument
|
25
|
+
Groonga::Schema.define do |schema|
|
26
|
+
schema.create_table("Comments") do |table|
|
27
|
+
table.uint32("nth")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
comments = Groonga["Comments"]
|
31
|
+
nth = Groonga["Comments.nth"]
|
32
|
+
|
33
|
+
5.times do
|
34
|
+
comments.add
|
35
|
+
end
|
36
|
+
|
37
|
+
options = {
|
38
|
+
:sort_keys => [["_id", "desc"]],
|
39
|
+
}
|
40
|
+
nth.apply_window_function(options) do |record|
|
41
|
+
record.call("record_number")
|
42
|
+
end
|
43
|
+
assert_equal([
|
44
|
+
[1, 5],
|
45
|
+
[2, 4],
|
46
|
+
[3, 3],
|
47
|
+
[4, 2],
|
48
|
+
[5, 1],
|
49
|
+
],
|
50
|
+
comments.collect {|comment| [comment.id, comment.nth]})
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/test/test-procedure.rb
CHANGED
@@ -52,6 +52,12 @@ class ProcedureTest < Test::Unit::TestCase
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
def test_window_function_procedure?
|
56
|
+
assert do
|
57
|
+
Groonga["record_number"].window_function_procedure?
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
55
61
|
private
|
56
62
|
def assert_equal_procedure(expected_name, id, options={})
|
57
63
|
procedure = Groonga::Context.default[id]
|
@@ -70,6 +76,12 @@ class ProcedureTest < Test::Unit::TestCase
|
|
70
76
|
scorer = Groonga["scorer_tf_idf"]
|
71
77
|
assert_equal(Groonga::ProcedureType::SCORER, scorer.type)
|
72
78
|
end
|
79
|
+
|
80
|
+
def test_window_function
|
81
|
+
record_number = Groonga["record_number"]
|
82
|
+
assert_equal(Groonga::ProcedureType::WINDOW_FUNCTION,
|
83
|
+
record_number.type)
|
84
|
+
end
|
73
85
|
end
|
74
86
|
|
75
87
|
class SelectorOnlyProcedureTest < self
|
data/vendor/local/bin/grndb.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/lz4.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4c.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4cat
CHANGED
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
data/vendor/local/bin/zlib1.dll
CHANGED
Binary file
|
@@ -24,6 +24,7 @@
|
|
24
24
|
#include "groonga/array.h"
|
25
25
|
#include "groonga/config.h"
|
26
26
|
#include "groonga/dat.h"
|
27
|
+
#include "groonga/db.h"
|
27
28
|
#include "groonga/dump.h"
|
28
29
|
#include "groonga/expr.h"
|
29
30
|
#include "groonga/file_reader.h"
|
@@ -31,12 +32,16 @@
|
|
31
32
|
#include "groonga/hash.h"
|
32
33
|
#include "groonga/ii.h"
|
33
34
|
#include "groonga/obj.h"
|
35
|
+
#include "groonga/operator.h"
|
34
36
|
#include "groonga/output.h"
|
35
37
|
#include "groonga/pat.h"
|
36
38
|
#include "groonga/request_canceler.h"
|
37
39
|
#include "groonga/request_timer.h"
|
40
|
+
#include "groonga/table.h"
|
38
41
|
#include "groonga/thread.h"
|
42
|
+
#include "groonga/time.h"
|
39
43
|
#include "groonga/type.h"
|
40
44
|
#include "groonga/util.h"
|
45
|
+
#include "groonga/window_function.h"
|
41
46
|
#include "groonga/windows.h"
|
42
47
|
#include "groonga/windows_event_logger.h"
|
@@ -71,6 +71,19 @@ GRN_API void *_grn_array_get_value(grn_ctx *ctx, grn_array *array, grn_id id);
|
|
71
71
|
}\
|
72
72
|
} while (0)
|
73
73
|
|
74
|
+
#define GRN_ARRAY_EACH_BEGIN(ctx, array, cursor, head, tail, id) do {\
|
75
|
+
grn_array_cursor *cursor;\
|
76
|
+
cursor = grn_array_cursor_open((ctx), (array), (head), (tail), 0, -1, 0);\
|
77
|
+
if (cursor) {\
|
78
|
+
grn_id id;\
|
79
|
+
while ((id = grn_array_cursor_next(ctx, cursor))) {
|
80
|
+
|
81
|
+
#define GRN_ARRAY_EACH_END(ctx, cursor)\
|
82
|
+
}\
|
83
|
+
grn_array_cursor_close(ctx, cursor);\
|
84
|
+
}\
|
85
|
+
} while (0)
|
86
|
+
|
74
87
|
#ifdef __cplusplus
|
75
88
|
}
|
76
89
|
#endif
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
Copyright(C) 2009-2016 Brazil
|
3
|
+
|
4
|
+
This library is free software; you can redistribute it and/or
|
5
|
+
modify it under the terms of the GNU Lesser General Public
|
6
|
+
License as published by the Free Software Foundation; either
|
7
|
+
version 2.1 of the License, or (at your option) any later version.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#pragma once
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
typedef struct _grn_db_create_optarg grn_db_create_optarg;
|
26
|
+
|
27
|
+
struct _grn_db_create_optarg {
|
28
|
+
char **builtin_type_names;
|
29
|
+
int n_builtin_type_names;
|
30
|
+
};
|
31
|
+
|
32
|
+
GRN_API grn_obj *grn_db_create(grn_ctx *ctx, const char *path, grn_db_create_optarg *optarg);
|
33
|
+
|
34
|
+
#define GRN_DB_OPEN_OR_CREATE(ctx,path,optarg,db) \
|
35
|
+
(((db) = grn_db_open((ctx), (path))) || (db = grn_db_create((ctx), (path), (optarg))))
|
36
|
+
|
37
|
+
GRN_API grn_obj *grn_db_open(grn_ctx *ctx, const char *path);
|
38
|
+
GRN_API void grn_db_touch(grn_ctx *ctx, grn_obj *db);
|
39
|
+
GRN_API grn_rc grn_db_recover(grn_ctx *ctx, grn_obj *db);
|
40
|
+
GRN_API grn_rc grn_db_unmap(grn_ctx *ctx, grn_obj *db);
|
41
|
+
GRN_API uint32_t grn_db_get_last_modified(grn_ctx *ctx, grn_obj *db);
|
42
|
+
GRN_API grn_bool grn_db_is_dirty(grn_ctx *ctx, grn_obj *db);
|
43
|
+
|
44
|
+
#ifdef __cplusplus
|
45
|
+
}
|
46
|
+
#endif
|
@@ -77,7 +77,7 @@ GRN_API grn_rc grn_expr_dump_plan(grn_ctx *ctx, grn_obj *expr, grn_obj *buffer);
|
|
77
77
|
GRN_API grn_obj *grn_expr_exec(grn_ctx *ctx, grn_obj *expr, int nargs);
|
78
78
|
|
79
79
|
GRN_API grn_obj *grn_expr_alloc(grn_ctx *ctx, grn_obj *expr,
|
80
|
-
grn_id domain,
|
80
|
+
grn_id domain, unsigned char flags);
|
81
81
|
|
82
82
|
#define GRN_EXPR_CREATE_FOR_QUERY(ctx,table,expr,var) do {\
|
83
83
|
if (((expr) = grn_expr_create((ctx), NULL, 0)) &&\
|
@@ -125,7 +125,8 @@ typedef enum {
|
|
125
125
|
GRN_COMMAND_ERROR = -74,
|
126
126
|
GRN_PLUGIN_ERROR = -75,
|
127
127
|
GRN_SCORER_ERROR = -76,
|
128
|
-
GRN_CANCEL = -77
|
128
|
+
GRN_CANCEL = -77,
|
129
|
+
GRN_WINDOW_FUNCTION_ERROR = -78
|
129
130
|
} grn_rc;
|
130
131
|
|
131
132
|
GRN_API grn_rc grn_init(void);
|
@@ -146,12 +147,13 @@ typedef enum {
|
|
146
147
|
typedef enum {
|
147
148
|
GRN_COMMAND_VERSION_DEFAULT = 0,
|
148
149
|
GRN_COMMAND_VERSION_1,
|
149
|
-
GRN_COMMAND_VERSION_2
|
150
|
+
GRN_COMMAND_VERSION_2,
|
151
|
+
GRN_COMMAND_VERSION_3
|
150
152
|
} grn_command_version;
|
151
153
|
|
152
154
|
#define GRN_COMMAND_VERSION_MIN GRN_COMMAND_VERSION_1
|
153
155
|
#define GRN_COMMAND_VERSION_STABLE GRN_COMMAND_VERSION_1
|
154
|
-
#define GRN_COMMAND_VERSION_MAX
|
156
|
+
#define GRN_COMMAND_VERSION_MAX GRN_COMMAND_VERSION_3
|
155
157
|
|
156
158
|
typedef enum {
|
157
159
|
GRN_LOG_NONE = 0,
|
@@ -437,23 +439,6 @@ struct _grn_obj {
|
|
437
439
|
|
438
440
|
#define GRN_OBJ_FIN(ctx,obj) (grn_obj_close((ctx), (obj)))
|
439
441
|
|
440
|
-
typedef struct _grn_db_create_optarg grn_db_create_optarg;
|
441
|
-
|
442
|
-
struct _grn_db_create_optarg {
|
443
|
-
char **builtin_type_names;
|
444
|
-
int n_builtin_type_names;
|
445
|
-
};
|
446
|
-
|
447
|
-
GRN_API grn_obj *grn_db_create(grn_ctx *ctx, const char *path, grn_db_create_optarg *optarg);
|
448
|
-
|
449
|
-
#define GRN_DB_OPEN_OR_CREATE(ctx,path,optarg,db) \
|
450
|
-
(((db) = grn_db_open((ctx), (path))) || (db = grn_db_create((ctx), (path), (optarg))))
|
451
|
-
|
452
|
-
GRN_API grn_obj *grn_db_open(grn_ctx *ctx, const char *path);
|
453
|
-
GRN_API void grn_db_touch(grn_ctx *ctx, grn_obj *db);
|
454
|
-
GRN_API grn_rc grn_db_recover(grn_ctx *ctx, grn_obj *db);
|
455
|
-
GRN_API grn_rc grn_db_unmap(grn_ctx *ctx, grn_obj *db);
|
456
|
-
|
457
442
|
GRN_API grn_rc grn_ctx_use(grn_ctx *ctx, grn_obj *db);
|
458
443
|
GRN_API grn_obj *grn_ctx_db(grn_ctx *ctx);
|
459
444
|
GRN_API grn_obj *grn_ctx_get(grn_ctx *ctx, const char *name, int name_size);
|
@@ -524,7 +509,8 @@ typedef enum {
|
|
524
509
|
GRN_PROC_HOOK,
|
525
510
|
GRN_PROC_NORMALIZER,
|
526
511
|
GRN_PROC_TOKEN_FILTER,
|
527
|
-
GRN_PROC_SCORER
|
512
|
+
GRN_PROC_SCORER,
|
513
|
+
GRN_PROC_WINDOW_FUNCTION
|
528
514
|
} grn_proc_type;
|
529
515
|
|
530
516
|
GRN_API grn_obj *grn_proc_create(grn_ctx *ctx,
|
@@ -535,68 +521,8 @@ GRN_API grn_obj *grn_proc_get_info(grn_ctx *ctx, grn_user_data *user_data,
|
|
535
521
|
grn_expr_var **vars, unsigned int *nvars, grn_obj **caller);
|
536
522
|
GRN_API grn_proc_type grn_proc_get_type(grn_ctx *ctx, grn_obj *proc);
|
537
523
|
|
538
|
-
/*-------------------------------------------------------------
|
539
|
-
* API for table
|
540
|
-
*/
|
541
|
-
|
542
|
-
#define GRN_TABLE_MAX_KEY_SIZE (0x1000)
|
543
|
-
|
544
|
-
GRN_API grn_obj *grn_table_create(grn_ctx *ctx,
|
545
|
-
const char *name, unsigned int name_size,
|
546
|
-
const char *path, grn_table_flags flags,
|
547
|
-
grn_obj *key_type, grn_obj *value_type);
|
548
|
-
|
549
|
-
#define GRN_TABLE_OPEN_OR_CREATE(ctx,name,name_size,path,flags,key_type,value_type,table) \
|
550
|
-
(((table) = grn_ctx_get((ctx), (name), (name_size))) ||\
|
551
|
-
((table) = grn_table_create((ctx), (name), (name_size), (path), (flags), (key_type), (value_type))))
|
552
|
-
|
553
|
-
/* TODO: int *added -> grn_bool *added */
|
554
|
-
GRN_API grn_id grn_table_add(grn_ctx *ctx, grn_obj *table,
|
555
|
-
const void *key, unsigned int key_size, int *added);
|
556
|
-
GRN_API grn_id grn_table_get(grn_ctx *ctx, grn_obj *table,
|
557
|
-
const void *key, unsigned int key_size);
|
558
|
-
GRN_API grn_id grn_table_at(grn_ctx *ctx, grn_obj *table, grn_id id);
|
559
|
-
GRN_API grn_id grn_table_lcp_search(grn_ctx *ctx, grn_obj *table,
|
560
|
-
const void *key, unsigned int key_size);
|
561
|
-
GRN_API int grn_table_get_key(grn_ctx *ctx, grn_obj *table,
|
562
|
-
grn_id id, void *keybuf, int buf_size);
|
563
|
-
GRN_API grn_rc grn_table_delete(grn_ctx *ctx, grn_obj *table,
|
564
|
-
const void *key, unsigned int key_size);
|
565
|
-
GRN_API grn_rc grn_table_delete_by_id(grn_ctx *ctx, grn_obj *table, grn_id id);
|
566
|
-
GRN_API grn_rc grn_table_update_by_id(grn_ctx *ctx, grn_obj *table, grn_id id,
|
567
|
-
const void *dest_key, unsigned int dest_key_size);
|
568
|
-
GRN_API grn_rc grn_table_update(grn_ctx *ctx, grn_obj *table,
|
569
|
-
const void *src_key, unsigned int src_key_size,
|
570
|
-
const void *dest_key, unsigned int dest_key_size);
|
571
|
-
GRN_API grn_rc grn_table_truncate(grn_ctx *ctx, grn_obj *table);
|
572
|
-
|
573
524
|
typedef grn_obj grn_table_cursor;
|
574
525
|
|
575
|
-
#define GRN_CURSOR_ASCENDING (0x00<<0)
|
576
|
-
#define GRN_CURSOR_DESCENDING (0x01<<0)
|
577
|
-
#define GRN_CURSOR_GE (0x00<<1)
|
578
|
-
#define GRN_CURSOR_GT (0x01<<1)
|
579
|
-
#define GRN_CURSOR_LE (0x00<<2)
|
580
|
-
#define GRN_CURSOR_LT (0x01<<2)
|
581
|
-
#define GRN_CURSOR_BY_KEY (0x00<<3)
|
582
|
-
#define GRN_CURSOR_BY_ID (0x01<<3)
|
583
|
-
#define GRN_CURSOR_PREFIX (0x01<<4)
|
584
|
-
#define GRN_CURSOR_SIZE_BY_BIT (0x01<<5)
|
585
|
-
#define GRN_CURSOR_RK (0x01<<6)
|
586
|
-
|
587
|
-
GRN_API grn_table_cursor *grn_table_cursor_open(grn_ctx *ctx, grn_obj *table,
|
588
|
-
const void *min, unsigned int min_size,
|
589
|
-
const void *max, unsigned int max_size,
|
590
|
-
int offset, int limit, int flags);
|
591
|
-
GRN_API grn_rc grn_table_cursor_close(grn_ctx *ctx, grn_table_cursor *tc);
|
592
|
-
GRN_API grn_id grn_table_cursor_next(grn_ctx *ctx, grn_table_cursor *tc);
|
593
|
-
GRN_API int grn_table_cursor_get_key(grn_ctx *ctx, grn_table_cursor *tc, void **key);
|
594
|
-
GRN_API int grn_table_cursor_get_value(grn_ctx *ctx, grn_table_cursor *tc, void **value);
|
595
|
-
GRN_API grn_rc grn_table_cursor_set_value(grn_ctx *ctx, grn_table_cursor *tc,
|
596
|
-
const void *value, int flags);
|
597
|
-
GRN_API grn_rc grn_table_cursor_delete(grn_ctx *ctx, grn_table_cursor *tc);
|
598
|
-
GRN_API grn_obj *grn_table_cursor_table(grn_ctx *ctx, grn_table_cursor *tc);
|
599
|
-
|
600
526
|
typedef struct {
|
601
527
|
grn_id rid;
|
602
528
|
uint32_t sid;
|
@@ -606,65 +532,6 @@ typedef struct {
|
|
606
532
|
uint32_t rest;
|
607
533
|
} grn_posting;
|
608
534
|
|
609
|
-
GRN_API grn_obj *grn_index_cursor_open(grn_ctx *ctx, grn_table_cursor *tc, grn_obj *index,
|
610
|
-
grn_id rid_min, grn_id rid_max, int flags);
|
611
|
-
GRN_API grn_posting *grn_index_cursor_next(grn_ctx *ctx, grn_obj *ic, grn_id *tid);
|
612
|
-
|
613
|
-
#define GRN_TABLE_EACH(ctx,table,head,tail,id,key,key_size,value,block) do {\
|
614
|
-
(ctx)->errlvl = GRN_LOG_NOTICE;\
|
615
|
-
(ctx)->rc = GRN_SUCCESS;\
|
616
|
-
if ((ctx)->seqno & 1) {\
|
617
|
-
(ctx)->subno++;\
|
618
|
-
} else {\
|
619
|
-
(ctx)->seqno++;\
|
620
|
-
}\
|
621
|
-
if (table) {\
|
622
|
-
switch ((table)->header.type) {\
|
623
|
-
case GRN_TABLE_PAT_KEY :\
|
624
|
-
GRN_PAT_EACH((ctx), (grn_pat *)(table), (id), (key), (key_size), (value), block);\
|
625
|
-
break;\
|
626
|
-
case GRN_TABLE_DAT_KEY :\
|
627
|
-
GRN_DAT_EACH((ctx), (grn_dat *)(table), (id), (key), (key_size), block);\
|
628
|
-
break;\
|
629
|
-
case GRN_TABLE_HASH_KEY :\
|
630
|
-
GRN_HASH_EACH((ctx), (grn_hash *)(table), (id), (key), (key_size), (value), block);\
|
631
|
-
break;\
|
632
|
-
case GRN_TABLE_NO_KEY :\
|
633
|
-
GRN_ARRAY_EACH((ctx), (grn_array *)(table), (head), (tail), (id), (value), block);\
|
634
|
-
break;\
|
635
|
-
}\
|
636
|
-
}\
|
637
|
-
if ((ctx)->subno) {\
|
638
|
-
(ctx)->subno--;\
|
639
|
-
} else {\
|
640
|
-
(ctx)->seqno++;\
|
641
|
-
}\
|
642
|
-
} while (0)
|
643
|
-
|
644
|
-
typedef struct _grn_table_sort_key grn_table_sort_key;
|
645
|
-
typedef unsigned char grn_table_sort_flags;
|
646
|
-
|
647
|
-
#define GRN_TABLE_SORT_ASC (0x00<<0)
|
648
|
-
#define GRN_TABLE_SORT_DESC (0x01<<0)
|
649
|
-
|
650
|
-
struct _grn_table_sort_key {
|
651
|
-
grn_obj *key;
|
652
|
-
grn_table_sort_flags flags;
|
653
|
-
int offset;
|
654
|
-
};
|
655
|
-
|
656
|
-
GRN_API int grn_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit,
|
657
|
-
grn_obj *result, grn_table_sort_key *keys, int n_keys);
|
658
|
-
|
659
|
-
typedef struct _grn_table_group_result grn_table_group_result;
|
660
|
-
typedef uint32_t grn_table_group_flags;
|
661
|
-
|
662
|
-
#define GRN_TABLE_GROUP_CALC_COUNT (0x01<<3)
|
663
|
-
#define GRN_TABLE_GROUP_CALC_MAX (0x01<<4)
|
664
|
-
#define GRN_TABLE_GROUP_CALC_MIN (0x01<<5)
|
665
|
-
#define GRN_TABLE_GROUP_CALC_SUM (0x01<<6)
|
666
|
-
#define GRN_TABLE_GROUP_CALC_AVG (0x01<<7)
|
667
|
-
|
668
535
|
typedef enum {
|
669
536
|
GRN_OP_PUSH = 0,
|
670
537
|
GRN_OP_POP,
|
@@ -749,50 +616,9 @@ typedef enum {
|
|
749
616
|
GRN_OP_FUZZY
|
750
617
|
} grn_operator;
|
751
618
|
|
752
|
-
GRN_API const char *grn_operator_to_string(grn_operator op);
|
753
|
-
GRN_API grn_bool grn_operator_exec_equal(grn_ctx *ctx, grn_obj *x, grn_obj *y);
|
754
|
-
GRN_API grn_bool grn_operator_exec_not_equal(grn_ctx *ctx,
|
755
|
-
grn_obj *x, grn_obj *y);
|
756
|
-
GRN_API grn_bool grn_operator_exec_less(grn_ctx *ctx, grn_obj *x, grn_obj *y);
|
757
|
-
GRN_API grn_bool grn_operator_exec_greater(grn_ctx *ctx, grn_obj *x, grn_obj *y);
|
758
|
-
GRN_API grn_bool grn_operator_exec_less_equal(grn_ctx *ctx,
|
759
|
-
grn_obj *x, grn_obj *y);
|
760
|
-
GRN_API grn_bool grn_operator_exec_greater_equal(grn_ctx *ctx,
|
761
|
-
grn_obj *x, grn_obj *y);
|
762
|
-
GRN_API grn_bool grn_operator_exec_match(grn_ctx *ctx,
|
763
|
-
grn_obj *target, grn_obj *sub_text);
|
764
|
-
GRN_API grn_bool grn_operator_exec_prefix(grn_ctx *ctx,
|
765
|
-
grn_obj *target, grn_obj *prefix);
|
766
|
-
GRN_API grn_bool grn_operator_exec_regexp(grn_ctx *ctx,
|
767
|
-
grn_obj *target, grn_obj *pattern);
|
768
|
-
|
769
|
-
struct _grn_table_group_result {
|
770
|
-
grn_obj *table;
|
771
|
-
unsigned char key_begin;
|
772
|
-
unsigned char key_end;
|
773
|
-
int limit;
|
774
|
-
grn_table_group_flags flags;
|
775
|
-
grn_operator op;
|
776
|
-
unsigned int max_n_subrecs;
|
777
|
-
grn_obj *calc_target;
|
778
|
-
};
|
779
|
-
|
780
|
-
GRN_API grn_rc grn_table_group(grn_ctx *ctx, grn_obj *table,
|
781
|
-
grn_table_sort_key *keys, int n_keys,
|
782
|
-
grn_table_group_result *results, int n_results);
|
783
|
-
GRN_API grn_rc grn_table_setoperation(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,
|
784
|
-
grn_obj *res, grn_operator op);
|
785
|
-
GRN_API grn_rc grn_table_difference(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,
|
786
|
-
grn_obj *res1, grn_obj *res2);
|
787
|
-
GRN_API int grn_table_columns(grn_ctx *ctx, grn_obj *table,
|
788
|
-
const char *name, unsigned int name_size,
|
789
|
-
grn_obj *res);
|
790
|
-
|
791
619
|
GRN_API grn_obj *grn_obj_column(grn_ctx *ctx, grn_obj *table,
|
792
620
|
const char *name, unsigned int name_size);
|
793
621
|
|
794
|
-
GRN_API unsigned int grn_table_size(grn_ctx *ctx, grn_obj *table);
|
795
|
-
|
796
622
|
/*-------------------------------------------------------------
|
797
623
|
* API for column
|
798
624
|
*/
|
@@ -1218,6 +1044,13 @@ GRN_API grn_log_level grn_logger_get_max_level(grn_ctx *ctx);
|
|
1218
1044
|
|
1219
1045
|
GRN_API void grn_logger_put(grn_ctx *ctx, grn_log_level level,
|
1220
1046
|
const char *file, int line, const char *func, const char *fmt, ...) GRN_ATTRIBUTE_PRINTF(6);
|
1047
|
+
GRN_API void grn_logger_putv(grn_ctx *ctx,
|
1048
|
+
grn_log_level level,
|
1049
|
+
const char *file,
|
1050
|
+
int line,
|
1051
|
+
const char *func,
|
1052
|
+
const char *fmt,
|
1053
|
+
va_list ap);
|
1221
1054
|
GRN_API void grn_logger_reopen(grn_ctx *ctx);
|
1222
1055
|
|
1223
1056
|
GRN_API grn_bool grn_logger_pass(grn_ctx *ctx, grn_log_level level);
|
@@ -1566,17 +1399,6 @@ GRN_API void grn_ctx_recv_handler_set(grn_ctx *,
|
|
1566
1399
|
(offset) * sizeof(grn_obj *), sizeof(grn_obj *));\
|
1567
1400
|
} while (0)
|
1568
1401
|
|
1569
|
-
#define GRN_TIME_USEC_PER_SEC 1000000
|
1570
|
-
#define GRN_TIME_PACK(sec, usec) ((long long int)(sec) * GRN_TIME_USEC_PER_SEC + (usec))
|
1571
|
-
#define GRN_TIME_UNPACK(time_value, sec, usec) do {\
|
1572
|
-
sec = (time_value) / GRN_TIME_USEC_PER_SEC;\
|
1573
|
-
usec = (time_value) % GRN_TIME_USEC_PER_SEC;\
|
1574
|
-
} while (0)
|
1575
|
-
|
1576
|
-
GRN_API void grn_time_now(grn_ctx *ctx, grn_obj *obj);
|
1577
|
-
|
1578
|
-
#define GRN_TIME_NOW(ctx,obj) (grn_time_now((ctx), (obj)))
|
1579
|
-
|
1580
1402
|
#define GRN_BOOL_VALUE(obj) (*((unsigned char *)GRN_BULK_HEAD(obj)))
|
1581
1403
|
#define GRN_INT8_VALUE(obj) (*((signed char *)GRN_BULK_HEAD(obj)))
|
1582
1404
|
#define GRN_UINT8_VALUE(obj) (*((unsigned char *)GRN_BULK_HEAD(obj)))
|
@@ -1734,38 +1556,9 @@ GRN_API int grn_charlen(grn_ctx *ctx, const char *str, const char *end);
|
|
1734
1556
|
GRN_API grn_rc grn_ctx_push(grn_ctx *ctx, grn_obj *obj);
|
1735
1557
|
GRN_API grn_obj *grn_ctx_pop(grn_ctx *ctx);
|
1736
1558
|
|
1737
|
-
GRN_API grn_obj *grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,
|
1738
|
-
grn_obj *res, grn_operator op);
|
1739
|
-
|
1740
1559
|
GRN_API int grn_obj_columns(grn_ctx *ctx, grn_obj *table,
|
1741
1560
|
const char *str, unsigned int str_size, grn_obj *res);
|
1742
1561
|
|
1743
|
-
GRN_API grn_table_sort_key *grn_table_sort_key_from_str(grn_ctx *ctx,
|
1744
|
-
const char *str, unsigned int str_size,
|
1745
|
-
grn_obj *table, unsigned int *nkeys);
|
1746
|
-
GRN_API grn_rc grn_table_sort_key_close(grn_ctx *ctx,
|
1747
|
-
grn_table_sort_key *keys, unsigned int nkeys);
|
1748
|
-
|
1749
|
-
GRN_API grn_bool grn_table_is_grouped(grn_ctx *ctx, grn_obj *table);
|
1750
|
-
|
1751
|
-
GRN_API unsigned int grn_table_max_n_subrecs(grn_ctx *ctx, grn_obj *table);
|
1752
|
-
|
1753
|
-
GRN_API grn_obj *grn_table_create_for_group(grn_ctx *ctx,
|
1754
|
-
const char *name,
|
1755
|
-
unsigned int name_size,
|
1756
|
-
const char *path,
|
1757
|
-
grn_obj *group_key,
|
1758
|
-
grn_obj *value_type,
|
1759
|
-
unsigned int max_n_subrecs);
|
1760
|
-
|
1761
|
-
GRN_API unsigned int grn_table_get_subrecs(grn_ctx *ctx, grn_obj *table,
|
1762
|
-
grn_id id, grn_id *subrecbuf,
|
1763
|
-
int *scorebuf, int buf_size);
|
1764
|
-
|
1765
|
-
GRN_API grn_obj *grn_table_tokenize(grn_ctx *ctx, grn_obj *table,
|
1766
|
-
const char *str, unsigned int str_len,
|
1767
|
-
grn_obj *buf, grn_bool addp);
|
1768
|
-
|
1769
1562
|
GRN_API grn_rc grn_load(grn_ctx *ctx, grn_content_type input_type,
|
1770
1563
|
const char *table, unsigned int table_len,
|
1771
1564
|
const char *columns, unsigned int columns_len,
|