rroonga 6.1.3-x64-mingw32 → 7.0.2-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 -0
- data/doc/text/news.md +28 -0
- data/ext/groonga/rb-grn-column.c +53 -32
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-data-column.c +103 -0
- data/ext/groonga/rb-grn-default-cache.c +104 -0
- data/ext/groonga/rb-grn-index-column.c +93 -15
- data/ext/groonga/rb-grn-inverted-index-cursor.c +269 -0
- data/ext/groonga/rb-grn-object.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +6 -0
- data/ext/groonga/rb-grn-table.c +0 -3
- data/ext/groonga/rb-grn-utils.c +35 -7
- data/ext/groonga/rb-grn.h +13 -4
- data/ext/groonga/rb-groonga.c +2 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +7 -7
- data/rroonga.gemspec +2 -1
- data/test/test-data-column.rb +71 -2
- data/test/test-default-cache.rb +43 -0
- data/test/test-double-array-trie.rb +7 -0
- data/test/test-fix-size-column.rb +12 -0
- data/test/test-hash.rb +7 -0
- data/test/test-index-column.rb +12 -0
- data/test/test-index-cursor.rb +93 -28
- data/test/test-patricia-trie.rb +7 -0
- data/test/test-variable-size-column.rb +19 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onigmo-config +2 -2
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +16 -3
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/include/groonga/groonga/cache.h +49 -0
- data/vendor/local/include/groonga/groonga/column.h +1 -1
- data/vendor/local/include/groonga/groonga/groonga.h +26 -16
- data/vendor/local/include/groonga/groonga/ii.h +7 -1
- data/vendor/local/include/groonga/groonga/obj.h +8 -1
- data/vendor/local/include/groonga/groonga/plugin.h +6 -1
- data/vendor/local/include/groonga/groonga/table.h +5 -0
- data/vendor/local/include/groonga/groonga/util.h +4 -1
- data/vendor/local/include/groonga/groonga/window_function.h +5 -1
- data/vendor/local/include/onigmo.h +6 -5
- data/vendor/local/include/zconf.h +32 -9
- data/vendor/local/include/zlib.h +298 -154
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +392 -53
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +1 -2
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +37 -14
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/command.rb +0 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_input.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -136
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +12 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +7 -8
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +234 -80
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +185 -0
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +27 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libonigmo.la +3 -3
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +2 -2
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/onigmo.pc +7 -7
- data/vendor/local/lib/pkgconfig/zlib.pc +4 -4
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +11 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +13 -47
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 -4
- 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 +181 -891
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +11 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +1086 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +45 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +632 -91
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +514 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +902 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +71 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +51 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +195 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +100 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +33 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +38 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +28 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +25 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions/record_number.txt → en/html/_sources/reference/window_functions/window_sum.txt} +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +3 -3
- 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 +102 -93
- 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 +326 -251
- data/vendor/local/share/doc/groonga/en/html/index.html +111 -104
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +24 -65
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +9 -9
- 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 -9
- 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 +213 -898
- 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 +7 -6
- 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 +16 -14
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +1148 -0
- 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 +90 -82
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +22 -22
- 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 +6 -6
- 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 +61 -17
- 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 +1727 -408
- 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 +526 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.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/query_expand.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 +1685 -492
- 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_copy.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 +19 -19
- 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 +14 -14
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -34
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +107 -82
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -23
- 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/fuzzy_search.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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +355 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +155 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/{record_number.html → string_length.html} +36 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +170 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.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 +36 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +27 -15
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +26 -26
- 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 +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +28 -28
- 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 +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +164 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +163 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +163 -0
- 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 +9 -9
- 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 +8 -8
- 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/contribution/development/release.txt +11 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +13 -47
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 -4
- 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 +181 -891
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +11 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +1086 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +45 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +632 -91
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +514 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +902 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +71 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +51 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +195 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +100 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +33 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +38 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +28 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +25 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions/record_number.txt → ja/html/_sources/reference/window_functions/window_sum.txt} +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +3 -3
- 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 +102 -93
- 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 +186 -118
- data/vendor/local/share/doc/groonga/ja/html/index.html +111 -104
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +24 -61
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +132 -761
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +1064 -0
- 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 +90 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +22 -22
- 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 +6 -6
- 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 +67 -17
- 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 +1629 -383
- 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 +6 -6
- 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 +508 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.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/query_expand.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 +1606 -478
- 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_copy.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 +19 -19
- 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 +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +76 -48
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +103 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -23
- 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/fuzzy_search.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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +370 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +150 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/{record_number.html → string_length.html} +36 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +171 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.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 +36 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +19 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +26 -26
- 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 +6 -6
- 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 +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +28 -28
- 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 +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +146 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +164 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +164 -0
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- 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 +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/mruby/LEGAL +4 -0
- data/vendor/local/share/license/mruby/AUTHORS +1 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/zlib/README +3 -3
- metadata +100 -67
- data/lib/2.4/groonga.so +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -105
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.14.
|
10
|
+
<title>7.14.15. query — Groonga v7.0.1-160-gda23e59 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
28
|
<link rel="index" title="Index" href="../../genindex.html" />
|
29
29
|
<link rel="search" title="Search" href="../../search.html" />
|
30
|
-
<link rel="top" title="Groonga
|
30
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59 documentation" href="../../index.html" />
|
31
31
|
<link rel="up" title="7.14. Function" href="../function.html" />
|
32
|
-
<link rel="next" title="7.14.
|
33
|
-
<link rel="prev" title="7.14.
|
32
|
+
<link rel="next" title="7.14.16. rand" href="rand.html" />
|
33
|
+
<link rel="prev" title="7.14.14. prefix_rk_search" href="prefix_rk_search.html" />
|
34
34
|
</head>
|
35
35
|
<body role="document">
|
36
36
|
<div class="header">
|
@@ -57,12 +57,12 @@
|
|
57
57
|
<a href="../../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="rand.html" title="7.14.
|
60
|
+
<a href="rand.html" title="7.14.16. rand"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="prefix_rk_search.html" title="7.14.
|
63
|
+
<a href="prefix_rk_search.html" title="7.14.14. prefix_rk_search"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
|
66
66
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
67
|
<li class="nav-item nav-item-2"><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
68
68
|
</ul>
|
@@ -74,9 +74,9 @@
|
|
74
74
|
<div class="body" role="main">
|
75
75
|
|
76
76
|
<div class="section" id="query">
|
77
|
-
<h1>7.14.
|
77
|
+
<h1>7.14.15. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<div class="section" id="summary">
|
79
|
-
<h2>7.14.
|
79
|
+
<h2>7.14.15.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
80
80
|
<p><code class="docutils literal"><span class="pre">query</span></code> provides <code class="docutils literal"><span class="pre">--match_columns</span></code> and <code class="docutils literal"><span class="pre">--query</span></code> parameters of
|
81
81
|
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a> feature as function. You can specify
|
82
82
|
multiple <code class="docutils literal"><span class="pre">query</span></code> functions in <code class="docutils literal"><span class="pre">--filter</span></code> parameter in
|
@@ -87,17 +87,27 @@ by combination of multiple <code class="docutils literal"><span class="pre">quer
|
|
87
87
|
<a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a>.</p>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="syntax">
|
90
|
-
<h2>7.14.
|
90
|
+
<h2>7.14.15.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
91
91
|
<p><code class="docutils literal"><span class="pre">query</span></code> requires two arguments - <code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query_string</span></code>.</p>
|
92
|
-
<p>The parameter <code class="docutils literal"><span class="pre">query_expander</span></code
|
92
|
+
<p>The parameter <code class="docutils literal"><span class="pre">query_expander</span></code>, <code class="docutils literal"><span class="pre">substitution_table</span></code> and
|
93
|
+
<code class="docutils literal"><span class="pre">options</span></code> are optional.</p>
|
93
94
|
<div class="highlight-none"><div class="highlight"><pre><span></span>query(match_columns, query_string)
|
94
95
|
query(match_columns, query_string, query_expander)
|
95
96
|
query(match_columns, query_string, substitution_table)
|
97
|
+
query(match_columns, query_string, options)
|
98
|
+
</pre></div>
|
99
|
+
</div>
|
100
|
+
<p><code class="docutils literal"><span class="pre">options</span></code> accepts the following keys:</p>
|
101
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>{
|
102
|
+
"expander": query_expander,
|
103
|
+
"default_mode": default_mode,
|
104
|
+
"flags": flags
|
105
|
+
}
|
96
106
|
</pre></div>
|
97
107
|
</div>
|
98
108
|
</div>
|
99
109
|
<div class="section" id="usage">
|
100
|
-
<h2>7.14.
|
110
|
+
<h2>7.14.15.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
101
111
|
<p>Here are a schema definition and sample data to show usage.</p>
|
102
112
|
<p>Sample schema:</p>
|
103
113
|
<p>Execution example:</p>
|
@@ -173,8 +183,8 @@ search by keyword 'alice' without using <code class="docutils literal"><span cla
|
|
173
183
|
# ]
|
174
184
|
</pre></div>
|
175
185
|
</div>
|
176
|
-
<p>When executing above query, the keyword
|
177
|
-
|
186
|
+
<p>When executing above query, the keyword <code class="docutils literal"><span class="pre">alice</span></code> is weighted to the
|
187
|
+
value <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
178
188
|
<p>Here are the contrasting examples with/without <code class="docutils literal"><span class="pre">query</span></code>.</p>
|
179
189
|
<p>Execution example:</p>
|
180
190
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select Users --output_columns name,memo,_score --match_columns "memo * 10" --query "memo:@groonga OR memo:@mroonga OR memo:@user" --sortby -_score
|
@@ -233,9 +243,9 @@ search by keyword 'alice' without using <code class="docutils literal"><span cla
|
|
233
243
|
# ]
|
234
244
|
</pre></div>
|
235
245
|
</div>
|
236
|
-
<p>In this case, the keywords
|
237
|
-
|
238
|
-
|
246
|
+
<p>In this case, the all keywords <code class="docutils literal"><span class="pre">groonga</span></code>, <code class="docutils literal"><span class="pre">mroonga</span></code> and <code class="docutils literal"><span class="pre">user</span></code>
|
247
|
+
use the default weight. You can't pass different weight value to each
|
248
|
+
keyword in this way.</p>
|
239
249
|
<p>Execution example:</p>
|
240
250
|
<div class="highlight-none"><div class="highlight"><pre><span></span>select Users --output_columns name,memo,_score --filter 'query("memo * 10", "groonga") || query("memo * 20", "mroonga") || query("memo * 1", "user")' --sortby -_score
|
241
251
|
# [
|
@@ -294,23 +304,23 @@ You can't pass different weight value to each keyword in this way.</p>
|
|
294
304
|
</pre></div>
|
295
305
|
</div>
|
296
306
|
<p>On the other hand, by specifying multiple <code class="docutils literal"><span class="pre">query</span></code>, the keywords
|
297
|
-
|
298
|
-
<p>As a result, you can control full text search result by
|
299
|
-
keywords on your purpose.</p>
|
307
|
+
<code class="docutils literal"><span class="pre">groonga</span></code>, <code class="docutils literal"><span class="pre">mroonga</span></code> and <code class="docutils literal"><span class="pre">user</span></code> use different weight.</p>
|
308
|
+
<p>As a result, you can control full text search result score by
|
309
|
+
specifying different weight to the keywords on your purpose.</p>
|
300
310
|
</div>
|
301
311
|
<div class="section" id="parameters">
|
302
|
-
<h2>7.14.
|
312
|
+
<h2>7.14.15.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
303
313
|
<div class="section" id="required-parameters">
|
304
|
-
<h3>7.14.
|
314
|
+
<h3>7.14.15.4.1. Required parameters<a class="headerlink" href="#required-parameters" title="Permalink to this headline">¶</a></h3>
|
305
315
|
<p>There are two required parameter, <code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query_string</span></code>.</p>
|
306
316
|
<div class="section" id="match-columns">
|
307
|
-
<h4>7.14.
|
317
|
+
<h4>7.14.15.4.1.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
308
318
|
<p>Specifies the default target column for fulltext search by
|
309
319
|
<code class="docutils literal"><span class="pre">query_string</span></code> parameter value. It is the same role as
|
310
320
|
<a class="reference internal" href="../commands/select.html#select-match-columns"><span class="std std-ref">match_columns</span></a> parameter in <code class="docutils literal"><span class="pre">select</span></code>.</p>
|
311
321
|
</div>
|
312
322
|
<div class="section" id="query-string">
|
313
|
-
<h4>7.14.
|
323
|
+
<h4>7.14.15.4.1.2. <code class="docutils literal"><span class="pre">query_string</span></code><a class="headerlink" href="#query-string" title="Permalink to this headline">¶</a></h4>
|
314
324
|
<p>Specifies the search condition in
|
315
325
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a>. It is the same role as
|
316
326
|
<code class="docutils literal"><span class="pre">query</span></code> parameter in <code class="docutils literal"><span class="pre">select</span></code>.</p>
|
@@ -319,36 +329,125 @@ keywords on your purpose.</p>
|
|
319
329
|
</div>
|
320
330
|
</div>
|
321
331
|
<div class="section" id="optional-parameter">
|
322
|
-
<h3>7.14.
|
332
|
+
<h3>7.14.15.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
|
323
333
|
<p>There are some optional parameters.</p>
|
324
334
|
<div class="section" id="query-expander">
|
325
|
-
<h4>7.14.
|
335
|
+
<h4>7.14.15.4.2.1. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
|
326
336
|
<p>Specifies the plugin name for query expansion.</p>
|
327
337
|
<p>There is one plugin bundled in official release - <a class="reference internal" href="../query_expanders/tsv.html"><span class="doc">QueryExpanderTSV</span></a>.</p>
|
328
338
|
<p>See <a class="reference internal" href="../query_expanders/tsv.html"><span class="doc">QueryExpanderTSV</span></a> about details.</p>
|
329
339
|
</div>
|
330
340
|
<div class="section" id="substitution-table">
|
331
|
-
<h4>7.14.
|
341
|
+
<h4>7.14.15.4.2.2. <code class="docutils literal"><span class="pre">substitution_table</span></code><a class="headerlink" href="#substitution-table" title="Permalink to this headline">¶</a></h4>
|
332
342
|
<p>Specifies the substitution table and substitution column name
|
333
343
|
by following format such as <code class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></code> for query expansion.</p>
|
334
344
|
<p>See <a class="reference internal" href="../commands/select.html#select-query-expander"><span class="std std-ref">query_expander</span></a> about details.</p>
|
335
345
|
</div>
|
346
|
+
<div class="section" id="default-mode">
|
347
|
+
<span id="query-default-mode"></span><h4>7.14.15.4.2.3. <code class="docutils literal"><span class="pre">default_mode</span></code><a class="headerlink" href="#default-mode" title="Permalink to this headline">¶</a></h4>
|
348
|
+
<p>Specifies the default search mode. You can custom the default search
|
349
|
+
mode by <code class="docutils literal"><span class="pre">column:@keyword</span></code> like syntax. The default search mode is
|
350
|
+
used when you just specify <code class="docutils literal"><span class="pre">keyword</span></code> instead of
|
351
|
+
<code class="docutils literal"><span class="pre">column:@keyword</span></code>. See <a class="reference internal" href="../grn_expr/query_syntax.html"><span class="doc">Query syntax</span></a> for
|
352
|
+
more syntax details.</p>
|
353
|
+
<p>Here are available modes. The default is <code class="docutils literal"><span class="pre">MATCH</span></code> mode. It does full
|
354
|
+
text search.</p>
|
355
|
+
<table border="1" class="docutils">
|
356
|
+
<colgroup>
|
357
|
+
<col width="33%" />
|
358
|
+
<col width="33%" />
|
359
|
+
<col width="33%" />
|
360
|
+
</colgroup>
|
361
|
+
<thead valign="bottom">
|
362
|
+
<tr class="row-odd"><th class="head">Mode</th>
|
363
|
+
<th class="head">Aliases</th>
|
364
|
+
<th class="head">Description</th>
|
365
|
+
</tr>
|
366
|
+
</thead>
|
367
|
+
<tbody valign="top">
|
368
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">EQUAL</span></code></td>
|
369
|
+
<td><code class="docutils literal"><span class="pre">==</span></code></td>
|
370
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-equal-condition"><span class="std std-ref">Equal condition</span></a> as the default mode.</td>
|
371
|
+
</tr>
|
372
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">NOT_EQUAL</span></code></td>
|
373
|
+
<td><code class="docutils literal"><span class="pre">!=</span></code></td>
|
374
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-not-equal-condition"><span class="std std-ref">Not equal condition</span></a> as the default mode.</td>
|
375
|
+
</tr>
|
376
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LESS</span></code></td>
|
377
|
+
<td><code class="docutils literal"><span class="pre"><</span></code></td>
|
378
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-less-than-condition"><span class="std std-ref">Less than condition</span></a> as the default mode.</td>
|
379
|
+
</tr>
|
380
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">GREATER</span></code></td>
|
381
|
+
<td><code class="docutils literal"><span class="pre">></span></code></td>
|
382
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-greater-than-condition"><span class="std std-ref">Greater than condition</span></a> as the default mode.</td>
|
383
|
+
</tr>
|
384
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LESS_EQUAL</span></code></td>
|
385
|
+
<td><code class="docutils literal"><span class="pre"><=</span></code></td>
|
386
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-less-than-or-equal-condition"><span class="std std-ref">Less than or equal to condition</span></a> as the
|
387
|
+
default mode.</td>
|
388
|
+
</tr>
|
389
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">GREATER_EQUAL</span></code></td>
|
390
|
+
<td><code class="docutils literal"><span class="pre">>=</span></code></td>
|
391
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-greater-than-or-equal-condition"><span class="std std-ref">Greater than or equal to condition</span></a> as the
|
392
|
+
default mode.</td>
|
393
|
+
</tr>
|
394
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">MATCH</span></code></td>
|
395
|
+
<td><code class="docutils literal"><span class="pre">@</span></code></td>
|
396
|
+
<td><p class="first">It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-full-text-search-condition"><span class="std std-ref">Full text search condition</span></a> as the
|
397
|
+
default mode.</p>
|
398
|
+
<p class="last">It's the default.</p>
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">NEAR</span></code></td>
|
402
|
+
<td><code class="docutils literal"><span class="pre">*N</span></code></td>
|
403
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-near-search-condition"><span class="std std-ref">Near search condition</span></a> as the default
|
404
|
+
mode.</td>
|
405
|
+
</tr>
|
406
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SIMILAR</span></code></td>
|
407
|
+
<td><code class="docutils literal"><span class="pre">*S</span></code></td>
|
408
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-similar-search-condition"><span class="std std-ref">Similar search condition</span></a> as the default
|
409
|
+
mode.</td>
|
410
|
+
</tr>
|
411
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">PREFIX</span></code></td>
|
412
|
+
<td><code class="docutils literal"><span class="pre">^</span></code>, <code class="docutils literal"><span class="pre">@^</span></code></td>
|
413
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-prefix-search-condition"><span class="std std-ref">Prefix search condition</span></a> as the default
|
414
|
+
mode.</td>
|
415
|
+
</tr>
|
416
|
+
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SUFFIX</span></code></td>
|
417
|
+
<td><code class="docutils literal"><span class="pre">$</span></code>, <code class="docutils literal"><span class="pre">@$</span></code></td>
|
418
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-suffix-search-condition"><span class="std std-ref">Suffix search condition</span></a> as the default
|
419
|
+
mode.</td>
|
420
|
+
</tr>
|
421
|
+
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">REGEXP</span></code></td>
|
422
|
+
<td><code class="docutils literal"><span class="pre">~</span></code>, <code class="docutils literal"><span class="pre">@~</span></code></td>
|
423
|
+
<td>It uses <a class="reference internal" href="../grn_expr/query_syntax.html#query-syntax-regular-expression-condition"><span class="std std-ref">Regular expression condition</span></a> as the default
|
424
|
+
mode.</td>
|
425
|
+
</tr>
|
426
|
+
</tbody>
|
427
|
+
</table>
|
428
|
+
</div>
|
429
|
+
<div class="section" id="flags">
|
430
|
+
<h4>7.14.15.4.2.4. <code class="docutils literal"><span class="pre">flags</span></code><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
|
431
|
+
<p>Specifies the flags that customizes how to parse query.</p>
|
432
|
+
<p>You can specify multiple flags by separating each flags by <code class="docutils literal"><span class="pre">|</span></code>. Here
|
433
|
+
is the example to specify multiple flags:</p>
|
434
|
+
<div class="highlight-none"><div class="highlight"><pre><span></span>query("title * 10 || content",
|
435
|
+
"keyword",
|
436
|
+
{"flags": "ALLOW_COLUMN|ALLOW_LEADING_NOT"})
|
437
|
+
</pre></div>
|
438
|
+
</div>
|
439
|
+
<p>See <a class="reference internal" href="../commands/select.html#select-query-flags"><span class="std std-ref">query_flags</span></a> for available flags.</p>
|
440
|
+
</div>
|
336
441
|
</div>
|
337
442
|
</div>
|
338
443
|
<div class="section" id="return-value">
|
339
|
-
<h2>7.14.
|
444
|
+
<h2>7.14.15.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
340
445
|
<p><code class="docutils literal"><span class="pre">query</span></code> returns whether any record is matched or not. If one or more
|
341
446
|
records are matched, it returns <code class="docutils literal"><span class="pre">true</span></code>. Otherwise, it returns
|
342
447
|
<code class="docutils literal"><span class="pre">false</span></code>.</p>
|
343
448
|
</div>
|
344
|
-
<div class="section" id="todo">
|
345
|
-
<h2>7.14.14.6. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
346
|
-
<ul class="simple">
|
347
|
-
<li>Support query_flags</li>
|
348
|
-
</ul>
|
349
|
-
</div>
|
350
449
|
<div class="section" id="see-also">
|
351
|
-
<h2>7.14.
|
450
|
+
<h2>7.14.15.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
352
451
|
<ul class="simple">
|
353
452
|
<li><a class="reference internal" href="../commands/select.html"><span class="doc">select</span></a></li>
|
354
453
|
</ul>
|
@@ -363,36 +462,37 @@ records are matched, it returns <code class="docutils literal"><span class="pre"
|
|
363
462
|
<div class="sphinxsidebarwrapper">
|
364
463
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
365
464
|
<ul>
|
366
|
-
<li><a class="reference internal" href="#">7.14.
|
367
|
-
<li><a class="reference internal" href="#summary">7.14.
|
368
|
-
<li><a class="reference internal" href="#syntax">7.14.
|
369
|
-
<li><a class="reference internal" href="#usage">7.14.
|
370
|
-
<li><a class="reference internal" href="#parameters">7.14.
|
371
|
-
<li><a class="reference internal" href="#required-parameters">7.14.
|
372
|
-
<li><a class="reference internal" href="#match-columns">7.14.
|
373
|
-
<li><a class="reference internal" href="#query-string">7.14.
|
465
|
+
<li><a class="reference internal" href="#">7.14.15. <code class="docutils literal"><span class="pre">query</span></code></a><ul>
|
466
|
+
<li><a class="reference internal" href="#summary">7.14.15.1. Summary</a></li>
|
467
|
+
<li><a class="reference internal" href="#syntax">7.14.15.2. Syntax</a></li>
|
468
|
+
<li><a class="reference internal" href="#usage">7.14.15.3. Usage</a></li>
|
469
|
+
<li><a class="reference internal" href="#parameters">7.14.15.4. Parameters</a><ul>
|
470
|
+
<li><a class="reference internal" href="#required-parameters">7.14.15.4.1. Required parameters</a><ul>
|
471
|
+
<li><a class="reference internal" href="#match-columns">7.14.15.4.1.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
|
472
|
+
<li><a class="reference internal" href="#query-string">7.14.15.4.1.2. <code class="docutils literal"><span class="pre">query_string</span></code></a></li>
|
374
473
|
</ul>
|
375
474
|
</li>
|
376
|
-
<li><a class="reference internal" href="#optional-parameter">7.14.
|
377
|
-
<li><a class="reference internal" href="#query-expander">7.14.
|
378
|
-
<li><a class="reference internal" href="#substitution-table">7.14.
|
475
|
+
<li><a class="reference internal" href="#optional-parameter">7.14.15.4.2. Optional parameter</a><ul>
|
476
|
+
<li><a class="reference internal" href="#query-expander">7.14.15.4.2.1. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
|
477
|
+
<li><a class="reference internal" href="#substitution-table">7.14.15.4.2.2. <code class="docutils literal"><span class="pre">substitution_table</span></code></a></li>
|
478
|
+
<li><a class="reference internal" href="#default-mode">7.14.15.4.2.3. <code class="docutils literal"><span class="pre">default_mode</span></code></a></li>
|
479
|
+
<li><a class="reference internal" href="#flags">7.14.15.4.2.4. <code class="docutils literal"><span class="pre">flags</span></code></a></li>
|
379
480
|
</ul>
|
380
481
|
</li>
|
381
482
|
</ul>
|
382
483
|
</li>
|
383
|
-
<li><a class="reference internal" href="#return-value">7.14.
|
384
|
-
<li><a class="reference internal" href="#
|
385
|
-
<li><a class="reference internal" href="#see-also">7.14.14.7. See also</a></li>
|
484
|
+
<li><a class="reference internal" href="#return-value">7.14.15.5. Return value</a></li>
|
485
|
+
<li><a class="reference internal" href="#see-also">7.14.15.6. See also</a></li>
|
386
486
|
</ul>
|
387
487
|
</li>
|
388
488
|
</ul>
|
389
489
|
|
390
490
|
<h4>Previous topic</h4>
|
391
491
|
<p class="topless"><a href="prefix_rk_search.html"
|
392
|
-
title="previous chapter">7.14.
|
492
|
+
title="previous chapter">7.14.14. <code class="docutils literal"><span class="pre">prefix_rk_search</span></code></a></p>
|
393
493
|
<h4>Next topic</h4>
|
394
494
|
<p class="topless"><a href="rand.html"
|
395
|
-
title="next chapter">7.14.
|
495
|
+
title="next chapter">7.14.16. rand</a></p>
|
396
496
|
<div role="note" aria-label="source link">
|
397
497
|
<h3>This Page</h3>
|
398
498
|
<ul class="this-page-menu">
|
@@ -421,12 +521,12 @@ records are matched, it returns <code class="docutils literal"><span class="pre"
|
|
421
521
|
<a href="../../genindex.html" title="General Index"
|
422
522
|
>index</a></li>
|
423
523
|
<li class="right" >
|
424
|
-
<a href="rand.html" title="7.14.
|
524
|
+
<a href="rand.html" title="7.14.16. rand"
|
425
525
|
>next</a> |</li>
|
426
526
|
<li class="right" >
|
427
|
-
<a href="prefix_rk_search.html" title="7.14.
|
527
|
+
<a href="prefix_rk_search.html" title="7.14.14. prefix_rk_search"
|
428
528
|
>previous</a> |</li>
|
429
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
529
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
|
430
530
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
431
531
|
<li class="nav-item nav-item-2"><a href="../function.html" >7.14. Function</a> »</li>
|
432
532
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.14.
|
10
|
+
<title>7.14.16. rand — Groonga v7.0.1-160-gda23e59 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '7.0.1-160-gda23e59',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
28
|
<link rel="index" title="Index" href="../../genindex.html" />
|
29
29
|
<link rel="search" title="Search" href="../../search.html" />
|
30
|
-
<link rel="top" title="Groonga
|
30
|
+
<link rel="top" title="Groonga v7.0.1-160-gda23e59 documentation" href="../../index.html" />
|
31
31
|
<link rel="up" title="7.14. Function" href="../function.html" />
|
32
|
-
<link rel="next" title="7.14.
|
33
|
-
<link rel="prev" title="7.14.
|
32
|
+
<link rel="next" title="7.14.17. snippet_html" href="snippet_html.html" />
|
33
|
+
<link rel="prev" title="7.14.15. query" href="query.html" />
|
34
34
|
</head>
|
35
35
|
<body role="document">
|
36
36
|
<div class="header">
|
@@ -57,12 +57,12 @@
|
|
57
57
|
<a href="../../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="
|
60
|
+
<a href="snippet_html.html" title="7.14.17. snippet_html"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="query.html" title="7.14.
|
63
|
+
<a href="query.html" title="7.14.15. query"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
65
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
|
66
66
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
67
67
|
<li class="nav-item nav-item-2"><a href="../function.html" accesskey="U">7.14. Function</a> »</li>
|
68
68
|
</ul>
|
@@ -74,34 +74,34 @@
|
|
74
74
|
<div class="body" role="main">
|
75
75
|
|
76
76
|
<div class="section" id="rand">
|
77
|
-
<h1>7.14.
|
77
|
+
<h1>7.14.16. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<div class="section" id="id1">
|
79
|
-
<h2>7.14.
|
79
|
+
<h2>7.14.16.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
80
80
|
<p>rand - 乱数を生成する</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="id2">
|
83
|
-
<h2>7.14.
|
83
|
+
<h2>7.14.16.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre><span></span>rand([max])
|
85
85
|
</pre></div>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="id3">
|
89
|
-
<h2>7.14.
|
89
|
+
<h2>7.14.16.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
90
90
|
<p>Groonga組込関数の一つであるrandについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
91
91
|
<p>rand() 関数は 0 から max の間の疑似乱数整数を返します。</p>
|
92
92
|
</div>
|
93
93
|
<div class="section" id="id4">
|
94
|
-
<h2>7.14.
|
94
|
+
<h2>7.14.16.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
95
95
|
<p><code class="docutils literal"><span class="pre">max</span></code></p>
|
96
96
|
<blockquote>
|
97
97
|
<div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="id5">
|
100
|
-
<h2>7.14.
|
100
|
+
<h2>7.14.16.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
101
101
|
<p>0 と max の間の数を表すInt32型の値を返します。</p>
|
102
102
|
</div>
|
103
103
|
<div class="section" id="id6">
|
104
|
-
<h2>7.14.
|
104
|
+
<h2>7.14.16.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
105
105
|
<div class="highlight-none"><div class="highlight"><pre><span></span>rand(10)
|
106
106
|
3
|
107
107
|
</pre></div>
|
@@ -117,23 +117,23 @@
|
|
117
117
|
<div class="sphinxsidebarwrapper">
|
118
118
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
119
119
|
<ul>
|
120
|
-
<li><a class="reference internal" href="#">7.14.
|
121
|
-
<li><a class="reference internal" href="#id1">7.14.
|
122
|
-
<li><a class="reference internal" href="#id2">7.14.
|
123
|
-
<li><a class="reference internal" href="#id3">7.14.
|
124
|
-
<li><a class="reference internal" href="#id4">7.14.
|
125
|
-
<li><a class="reference internal" href="#id5">7.14.
|
126
|
-
<li><a class="reference internal" href="#id6">7.14.
|
120
|
+
<li><a class="reference internal" href="#">7.14.16. rand</a><ul>
|
121
|
+
<li><a class="reference internal" href="#id1">7.14.16.1. 名前</a></li>
|
122
|
+
<li><a class="reference internal" href="#id2">7.14.16.2. 書式</a></li>
|
123
|
+
<li><a class="reference internal" href="#id3">7.14.16.3. 説明</a></li>
|
124
|
+
<li><a class="reference internal" href="#id4">7.14.16.4. 引数</a></li>
|
125
|
+
<li><a class="reference internal" href="#id5">7.14.16.5. 返値</a></li>
|
126
|
+
<li><a class="reference internal" href="#id6">7.14.16.6. 例</a></li>
|
127
127
|
</ul>
|
128
128
|
</li>
|
129
129
|
</ul>
|
130
130
|
|
131
131
|
<h4>Previous topic</h4>
|
132
132
|
<p class="topless"><a href="query.html"
|
133
|
-
title="previous chapter">7.14.
|
133
|
+
title="previous chapter">7.14.15. <code class="docutils literal"><span class="pre">query</span></code></a></p>
|
134
134
|
<h4>Next topic</h4>
|
135
|
-
<p class="topless"><a href="
|
136
|
-
title="next chapter">7.14.
|
135
|
+
<p class="topless"><a href="snippet_html.html"
|
136
|
+
title="next chapter">7.14.17. <code class="docutils literal"><span class="pre">snippet_html</span></code></a></p>
|
137
137
|
<div role="note" aria-label="source link">
|
138
138
|
<h3>This Page</h3>
|
139
139
|
<ul class="this-page-menu">
|
@@ -162,12 +162,12 @@
|
|
162
162
|
<a href="../../genindex.html" title="General Index"
|
163
163
|
>index</a></li>
|
164
164
|
<li class="right" >
|
165
|
-
<a href="
|
165
|
+
<a href="snippet_html.html" title="7.14.17. snippet_html"
|
166
166
|
>next</a> |</li>
|
167
167
|
<li class="right" >
|
168
|
-
<a href="query.html" title="7.14.
|
168
|
+
<a href="query.html" title="7.14.15. query"
|
169
169
|
>previous</a> |</li>
|
170
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
170
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v7.0.1-160-gda23e59 documentation</a> »</li>
|
171
171
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> »</li>
|
172
172
|
<li class="nav-item nav-item-2"><a href="../function.html" >7.14. Function</a> »</li>
|
173
173
|
</ul>
|