rroonga 6.0.2-x86-mingw32 → 6.0.4-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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/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/include/groonga/groonga.h +5 -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/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +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/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +20 -11
- 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/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +286 -148
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.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/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/executables.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/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +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/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +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/reference.html +20 -11
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/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/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +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/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +23 -14
- 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/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +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/news.html +257 -150
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +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/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.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/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +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/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +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/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +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/reference.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/groonga/mruby/LEGAL +4 -0
- metadata +55 -2
@@ -0,0 +1,216 @@
|
|
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
|
+
#define GRN_TABLE_MAX_KEY_SIZE (0x1000)
|
26
|
+
|
27
|
+
GRN_API grn_obj *grn_table_create(grn_ctx *ctx,
|
28
|
+
const char *name, unsigned int name_size,
|
29
|
+
const char *path, grn_table_flags flags,
|
30
|
+
grn_obj *key_type, grn_obj *value_type);
|
31
|
+
|
32
|
+
#define GRN_TABLE_OPEN_OR_CREATE(ctx,name,name_size,path,flags,key_type,value_type,table) \
|
33
|
+
(((table) = grn_ctx_get((ctx), (name), (name_size))) ||\
|
34
|
+
((table) = grn_table_create((ctx), (name), (name_size), (path), (flags), (key_type), (value_type))))
|
35
|
+
|
36
|
+
/* TODO: int *added -> grn_bool *added */
|
37
|
+
GRN_API grn_id grn_table_add(grn_ctx *ctx, grn_obj *table,
|
38
|
+
const void *key, unsigned int key_size, int *added);
|
39
|
+
GRN_API grn_id grn_table_get(grn_ctx *ctx, grn_obj *table,
|
40
|
+
const void *key, unsigned int key_size);
|
41
|
+
GRN_API grn_id grn_table_at(grn_ctx *ctx, grn_obj *table, grn_id id);
|
42
|
+
GRN_API grn_id grn_table_lcp_search(grn_ctx *ctx, grn_obj *table,
|
43
|
+
const void *key, unsigned int key_size);
|
44
|
+
GRN_API int grn_table_get_key(grn_ctx *ctx, grn_obj *table,
|
45
|
+
grn_id id, void *keybuf, int buf_size);
|
46
|
+
GRN_API grn_rc grn_table_delete(grn_ctx *ctx, grn_obj *table,
|
47
|
+
const void *key, unsigned int key_size);
|
48
|
+
GRN_API grn_rc grn_table_delete_by_id(grn_ctx *ctx, grn_obj *table, grn_id id);
|
49
|
+
GRN_API grn_rc grn_table_update_by_id(grn_ctx *ctx, grn_obj *table, grn_id id,
|
50
|
+
const void *dest_key, unsigned int dest_key_size);
|
51
|
+
GRN_API grn_rc grn_table_update(grn_ctx *ctx, grn_obj *table,
|
52
|
+
const void *src_key, unsigned int src_key_size,
|
53
|
+
const void *dest_key, unsigned int dest_key_size);
|
54
|
+
GRN_API grn_rc grn_table_truncate(grn_ctx *ctx, grn_obj *table);
|
55
|
+
|
56
|
+
#define GRN_CURSOR_ASCENDING (0x00<<0)
|
57
|
+
#define GRN_CURSOR_DESCENDING (0x01<<0)
|
58
|
+
#define GRN_CURSOR_GE (0x00<<1)
|
59
|
+
#define GRN_CURSOR_GT (0x01<<1)
|
60
|
+
#define GRN_CURSOR_LE (0x00<<2)
|
61
|
+
#define GRN_CURSOR_LT (0x01<<2)
|
62
|
+
#define GRN_CURSOR_BY_KEY (0x00<<3)
|
63
|
+
#define GRN_CURSOR_BY_ID (0x01<<3)
|
64
|
+
#define GRN_CURSOR_PREFIX (0x01<<4)
|
65
|
+
#define GRN_CURSOR_SIZE_BY_BIT (0x01<<5)
|
66
|
+
#define GRN_CURSOR_RK (0x01<<6)
|
67
|
+
|
68
|
+
GRN_API grn_table_cursor *grn_table_cursor_open(grn_ctx *ctx, grn_obj *table,
|
69
|
+
const void *min, unsigned int min_size,
|
70
|
+
const void *max, unsigned int max_size,
|
71
|
+
int offset, int limit, int flags);
|
72
|
+
GRN_API grn_rc grn_table_cursor_close(grn_ctx *ctx, grn_table_cursor *tc);
|
73
|
+
GRN_API grn_id grn_table_cursor_next(grn_ctx *ctx, grn_table_cursor *tc);
|
74
|
+
GRN_API int grn_table_cursor_get_key(grn_ctx *ctx, grn_table_cursor *tc, void **key);
|
75
|
+
GRN_API int grn_table_cursor_get_value(grn_ctx *ctx, grn_table_cursor *tc, void **value);
|
76
|
+
GRN_API grn_rc grn_table_cursor_set_value(grn_ctx *ctx, grn_table_cursor *tc,
|
77
|
+
const void *value, int flags);
|
78
|
+
GRN_API grn_rc grn_table_cursor_delete(grn_ctx *ctx, grn_table_cursor *tc);
|
79
|
+
GRN_API grn_obj *grn_table_cursor_table(grn_ctx *ctx, grn_table_cursor *tc);
|
80
|
+
|
81
|
+
GRN_API grn_obj *grn_index_cursor_open(grn_ctx *ctx, grn_table_cursor *tc, grn_obj *index,
|
82
|
+
grn_id rid_min, grn_id rid_max, int flags);
|
83
|
+
GRN_API grn_posting *grn_index_cursor_next(grn_ctx *ctx, grn_obj *ic, grn_id *tid);
|
84
|
+
|
85
|
+
#define GRN_TABLE_EACH(ctx,table,head,tail,id,key,key_size,value,block) do {\
|
86
|
+
(ctx)->errlvl = GRN_LOG_NOTICE;\
|
87
|
+
(ctx)->rc = GRN_SUCCESS;\
|
88
|
+
if ((ctx)->seqno & 1) {\
|
89
|
+
(ctx)->subno++;\
|
90
|
+
} else {\
|
91
|
+
(ctx)->seqno++;\
|
92
|
+
}\
|
93
|
+
if (table) {\
|
94
|
+
switch ((table)->header.type) {\
|
95
|
+
case GRN_TABLE_PAT_KEY :\
|
96
|
+
GRN_PAT_EACH((ctx), (grn_pat *)(table), (id), (key), (key_size), (value), block);\
|
97
|
+
break;\
|
98
|
+
case GRN_TABLE_DAT_KEY :\
|
99
|
+
GRN_DAT_EACH((ctx), (grn_dat *)(table), (id), (key), (key_size), block);\
|
100
|
+
break;\
|
101
|
+
case GRN_TABLE_HASH_KEY :\
|
102
|
+
GRN_HASH_EACH((ctx), (grn_hash *)(table), (id), (key), (key_size), (value), block);\
|
103
|
+
break;\
|
104
|
+
case GRN_TABLE_NO_KEY :\
|
105
|
+
GRN_ARRAY_EACH((ctx), (grn_array *)(table), (head), (tail), (id), (value), block);\
|
106
|
+
break;\
|
107
|
+
}\
|
108
|
+
}\
|
109
|
+
if ((ctx)->subno) {\
|
110
|
+
(ctx)->subno--;\
|
111
|
+
} else {\
|
112
|
+
(ctx)->seqno++;\
|
113
|
+
}\
|
114
|
+
} while (0)
|
115
|
+
|
116
|
+
#define GRN_TABLE_EACH_BEGIN(ctx, table, cursor, id) do {\
|
117
|
+
if (table) {\
|
118
|
+
grn_table_cursor *cursor;\
|
119
|
+
cursor = grn_table_cursor_open((ctx), (table),\
|
120
|
+
NULL, 0,\
|
121
|
+
NULL, 0,\
|
122
|
+
0, -1, GRN_CURSOR_ASCENDING);\
|
123
|
+
if (cursor) {\
|
124
|
+
grn_id id;\
|
125
|
+
while ((id = grn_table_cursor_next((ctx), cursor))) {
|
126
|
+
|
127
|
+
#define GRN_TABLE_EACH_END(ctx, cursor)\
|
128
|
+
}\
|
129
|
+
grn_table_cursor_close((ctx), cursor);\
|
130
|
+
}\
|
131
|
+
}\
|
132
|
+
} while (0)
|
133
|
+
|
134
|
+
typedef struct _grn_table_sort_key grn_table_sort_key;
|
135
|
+
typedef unsigned char grn_table_sort_flags;
|
136
|
+
|
137
|
+
#define GRN_TABLE_SORT_ASC (0x00<<0)
|
138
|
+
#define GRN_TABLE_SORT_DESC (0x01<<0)
|
139
|
+
|
140
|
+
struct _grn_table_sort_key {
|
141
|
+
grn_obj *key;
|
142
|
+
grn_table_sort_flags flags;
|
143
|
+
int offset;
|
144
|
+
};
|
145
|
+
|
146
|
+
GRN_API int grn_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit,
|
147
|
+
grn_obj *result, grn_table_sort_key *keys, int n_keys);
|
148
|
+
|
149
|
+
typedef struct _grn_table_group_result grn_table_group_result;
|
150
|
+
typedef uint32_t grn_table_group_flags;
|
151
|
+
|
152
|
+
#define GRN_TABLE_GROUP_CALC_COUNT (0x01<<3)
|
153
|
+
#define GRN_TABLE_GROUP_CALC_MAX (0x01<<4)
|
154
|
+
#define GRN_TABLE_GROUP_CALC_MIN (0x01<<5)
|
155
|
+
#define GRN_TABLE_GROUP_CALC_SUM (0x01<<6)
|
156
|
+
#define GRN_TABLE_GROUP_CALC_AVG (0x01<<7)
|
157
|
+
|
158
|
+
struct _grn_table_group_result {
|
159
|
+
grn_obj *table;
|
160
|
+
unsigned char key_begin;
|
161
|
+
unsigned char key_end;
|
162
|
+
int limit;
|
163
|
+
grn_table_group_flags flags;
|
164
|
+
grn_operator op;
|
165
|
+
unsigned int max_n_subrecs;
|
166
|
+
grn_obj *calc_target;
|
167
|
+
};
|
168
|
+
|
169
|
+
GRN_API grn_rc grn_table_group(grn_ctx *ctx, grn_obj *table,
|
170
|
+
grn_table_sort_key *keys, int n_keys,
|
171
|
+
grn_table_group_result *results, int n_results);
|
172
|
+
GRN_API grn_rc grn_table_setoperation(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,
|
173
|
+
grn_obj *res, grn_operator op);
|
174
|
+
GRN_API grn_rc grn_table_difference(grn_ctx *ctx, grn_obj *table1, grn_obj *table2,
|
175
|
+
grn_obj *res1, grn_obj *res2);
|
176
|
+
GRN_API int grn_table_columns(grn_ctx *ctx, grn_obj *table,
|
177
|
+
const char *name, unsigned int name_size,
|
178
|
+
grn_obj *res);
|
179
|
+
|
180
|
+
GRN_API unsigned int grn_table_size(grn_ctx *ctx, grn_obj *table);
|
181
|
+
|
182
|
+
GRN_API grn_rc grn_table_rename(grn_ctx *ctx, grn_obj *table,
|
183
|
+
const char *name, unsigned int name_size);
|
184
|
+
|
185
|
+
GRN_API grn_obj *grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,
|
186
|
+
grn_obj *res, grn_operator op);
|
187
|
+
|
188
|
+
GRN_API grn_table_sort_key *grn_table_sort_key_from_str(grn_ctx *ctx,
|
189
|
+
const char *str, unsigned int str_size,
|
190
|
+
grn_obj *table, unsigned int *nkeys);
|
191
|
+
GRN_API grn_rc grn_table_sort_key_close(grn_ctx *ctx,
|
192
|
+
grn_table_sort_key *keys, unsigned int nkeys);
|
193
|
+
|
194
|
+
GRN_API grn_bool grn_table_is_grouped(grn_ctx *ctx, grn_obj *table);
|
195
|
+
|
196
|
+
GRN_API unsigned int grn_table_max_n_subrecs(grn_ctx *ctx, grn_obj *table);
|
197
|
+
|
198
|
+
GRN_API grn_obj *grn_table_create_for_group(grn_ctx *ctx,
|
199
|
+
const char *name,
|
200
|
+
unsigned int name_size,
|
201
|
+
const char *path,
|
202
|
+
grn_obj *group_key,
|
203
|
+
grn_obj *value_type,
|
204
|
+
unsigned int max_n_subrecs);
|
205
|
+
|
206
|
+
GRN_API unsigned int grn_table_get_subrecs(grn_ctx *ctx, grn_obj *table,
|
207
|
+
grn_id id, grn_id *subrecbuf,
|
208
|
+
int *scorebuf, int buf_size);
|
209
|
+
|
210
|
+
GRN_API grn_obj *grn_table_tokenize(grn_ctx *ctx, grn_obj *table,
|
211
|
+
const char *str, unsigned int str_len,
|
212
|
+
grn_obj *buf, grn_bool addp);
|
213
|
+
|
214
|
+
#ifdef __cplusplus
|
215
|
+
}
|
216
|
+
#endif
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*
|
2
|
+
Copyright(C) 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
|
+
#include <time.h>
|
22
|
+
|
23
|
+
#ifdef __cplusplus
|
24
|
+
extern "C" {
|
25
|
+
#endif
|
26
|
+
|
27
|
+
#define GRN_TIME_USEC_PER_SEC 1000000
|
28
|
+
#define GRN_TIME_PACK(sec, usec) ((int64_t)(sec) * GRN_TIME_USEC_PER_SEC + (usec))
|
29
|
+
#define GRN_TIME_UNPACK(time_value, sec, usec) do {\
|
30
|
+
sec = (time_value) / GRN_TIME_USEC_PER_SEC;\
|
31
|
+
usec = (time_value) % GRN_TIME_USEC_PER_SEC;\
|
32
|
+
} while (0)
|
33
|
+
|
34
|
+
GRN_API void grn_time_now(grn_ctx *ctx, grn_obj *obj);
|
35
|
+
|
36
|
+
#define GRN_TIME_NOW(ctx,obj) (grn_time_now((ctx), (obj)))
|
37
|
+
|
38
|
+
GRN_API grn_bool grn_time_to_tm(grn_ctx *ctx,
|
39
|
+
int64_t time,
|
40
|
+
struct tm *tm);
|
41
|
+
GRN_API grn_bool grn_time_from_tm(grn_ctx *ctx,
|
42
|
+
int64_t *time,
|
43
|
+
struct tm *tm);
|
44
|
+
|
45
|
+
#ifdef __cplusplus
|
46
|
+
}
|
47
|
+
#endif
|
@@ -0,0 +1,67 @@
|
|
1
|
+
/*
|
2
|
+
Copyright(C) 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 enum {
|
26
|
+
GRN_WINDOW_DIRECTION_ASCENDING,
|
27
|
+
GRN_WINDOW_DIRECTION_DESCENDING
|
28
|
+
} grn_window_direction;
|
29
|
+
|
30
|
+
typedef struct _grn_window grn_window;
|
31
|
+
|
32
|
+
GRN_API grn_id grn_window_next(grn_ctx *ctx,
|
33
|
+
grn_window *window);
|
34
|
+
GRN_API grn_rc grn_window_rewind(grn_ctx *ctx,
|
35
|
+
grn_window *window);
|
36
|
+
GRN_API grn_rc grn_window_set_direction(grn_ctx *ctx,
|
37
|
+
grn_window *window,
|
38
|
+
grn_window_direction direction);
|
39
|
+
GRN_API grn_obj *grn_window_get_table(grn_ctx *ctx,
|
40
|
+
grn_window *window);
|
41
|
+
|
42
|
+
typedef struct _grn_window_definition {
|
43
|
+
grn_table_sort_key *sort_keys;
|
44
|
+
size_t n_sort_keys;
|
45
|
+
} grn_window_definition;
|
46
|
+
|
47
|
+
typedef grn_rc grn_window_function_func(grn_ctx *ctx,
|
48
|
+
grn_obj *output_column,
|
49
|
+
grn_window *window,
|
50
|
+
grn_obj *args,
|
51
|
+
int n_args);
|
52
|
+
|
53
|
+
GRN_API grn_obj *grn_window_function_create(grn_ctx *ctx,
|
54
|
+
const char *name,
|
55
|
+
int name_size,
|
56
|
+
grn_window_function_func func);
|
57
|
+
|
58
|
+
|
59
|
+
GRN_API grn_rc grn_table_apply_window_function(grn_ctx *ctx,
|
60
|
+
grn_obj *table,
|
61
|
+
grn_obj *output_column,
|
62
|
+
grn_window_definition *definition,
|
63
|
+
grn_obj *window_function_call);
|
64
|
+
|
65
|
+
#ifdef __cplusplus
|
66
|
+
}
|
67
|
+
#endif
|
@@ -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"
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# number.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='number.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='number.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='number.a'
|
15
|
+
|
16
|
+
# Linker flags that cannot go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -L/vagrant/dist-x86/lib /vagrant/dist-x86/lib/libgroonga.la /vagrant/dist-x86/lib/libmsgpack.la /vagrant/dist-x86/lib/libonig.la -lpthread -llz4 -lz -lws2_32'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for number.
|
26
|
+
current=0
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=yes
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/vagrant/dist-x86/lib/groonga/plugins/functions'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# time.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='time.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='time.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='time.a'
|
15
|
+
|
16
|
+
# Linker flags that cannot go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -L/vagrant/dist-x86/lib /vagrant/dist-x86/lib/libgroonga.la /vagrant/dist-x86/lib/libmsgpack.la /vagrant/dist-x86/lib/libonig.la -lpthread -llz4 -lz -lws2_32'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for time.
|
26
|
+
current=0
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=yes
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/vagrant/dist-x86/lib/groonga/plugins/functions'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -101,14 +101,6 @@ module Groonga
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def check(database, options, arguments)
|
104
|
-
if database.locked?
|
105
|
-
message =
|
106
|
-
"Database is locked. " +
|
107
|
-
"It may be broken. " +
|
108
|
-
"Re-create the database."
|
109
|
-
failed(message)
|
110
|
-
end
|
111
|
-
|
112
104
|
checker = Checker.new
|
113
105
|
checker.program_path = @program_path
|
114
106
|
checker.database_path = @database_path
|
@@ -117,6 +109,8 @@ module Groonga
|
|
117
109
|
failed(message)
|
118
110
|
end
|
119
111
|
|
112
|
+
checker.check_database
|
113
|
+
|
120
114
|
target_name = options[:target]
|
121
115
|
if target_name
|
122
116
|
checker.check_one(target_name)
|
@@ -136,6 +130,11 @@ module Groonga
|
|
136
130
|
@checked = {}
|
137
131
|
end
|
138
132
|
|
133
|
+
def check_database
|
134
|
+
check_database_locked
|
135
|
+
check_database_dirty
|
136
|
+
end
|
137
|
+
|
139
138
|
def check_one(target_name)
|
140
139
|
target = @context[target_name]
|
141
140
|
if target.nil?
|
@@ -158,11 +157,10 @@ module Groonga
|
|
158
157
|
|
159
158
|
def check_all
|
160
159
|
open_database_cursor do |cursor|
|
161
|
-
context = Context.instance
|
162
160
|
cursor.each do |id|
|
163
161
|
next if ID.builtin?(id)
|
164
162
|
next if builtin_object_name?(cursor.key)
|
165
|
-
next if context[id]
|
163
|
+
next if @context[id]
|
166
164
|
failed_to_open(cursor.key)
|
167
165
|
end
|
168
166
|
end
|
@@ -173,6 +171,39 @@ module Groonga
|
|
173
171
|
end
|
174
172
|
|
175
173
|
private
|
174
|
+
def check_database_locked
|
175
|
+
return unless @database.locked?
|
176
|
+
|
177
|
+
message =
|
178
|
+
"Database is locked. " +
|
179
|
+
"It may be broken. " +
|
180
|
+
"Re-create the database."
|
181
|
+
failed(message)
|
182
|
+
end
|
183
|
+
|
184
|
+
def check_database_dirty
|
185
|
+
return unless @database.dirty?
|
186
|
+
|
187
|
+
last_modified = @database.last_modified
|
188
|
+
if File.stat(@database.path).mtime > last_modified
|
189
|
+
return
|
190
|
+
end
|
191
|
+
|
192
|
+
open_database_cursor do |cursor|
|
193
|
+
cursor.each do |id|
|
194
|
+
next if ID.builtin?(id)
|
195
|
+
path = "%s.%07x" % [@database.path, id]
|
196
|
+
return if File.stat(path).mtime > last_modified
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
message =
|
201
|
+
"Database wasn't closed successfully. " +
|
202
|
+
"It may be broken. " +
|
203
|
+
"Re-create the database."
|
204
|
+
failed(message)
|
205
|
+
end
|
206
|
+
|
176
207
|
def check_object(object)
|
177
208
|
return if @checked.key?(object.id)
|
178
209
|
@checked[object.id] = true
|
Binary file
|
Binary file
|
data/vendor/local/lib/liblz4.a
CHANGED
Binary file
|
data/vendor/local/lib/liblz4.dll
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libmecab.a
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libonig.a
CHANGED
Binary file
|
Binary file
|
data/vendor/local/lib/libz.a
CHANGED
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=6.0.
|
14
|
+
groonga_version=6.0.4
|
15
15
|
|
16
16
|
Name: Groonga
|
17
17
|
Description: An Embeddable Fulltext Search Engine
|
18
|
-
Version: 6.0.
|
18
|
+
Version: 6.0.4
|
19
19
|
Libs: -L${libdir} -lgroonga
|
20
20
|
Cflags: -I${includedir}/groonga
|
Binary file
|
Binary file
|