rroonga 6.1.3-x86-mingw32 → 7.0.2-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 -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
 
| 
         @@ -0,0 +1,195 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            .. -*- rst -*-
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            .. highlightlang:: none
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 6 
     | 
    
         
            +
            .. database: functions_in_records
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            ``in_records``
         
     | 
| 
      
 9 
     | 
    
         
            +
            ==============
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            Summary
         
     | 
| 
      
 12 
     | 
    
         
            +
            -------
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            .. versionadded:: 7.0.2
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            You can use ``in_records`` for using an existing table as condition patterns. Each record in the existing table is treated as a condition pattern.
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            You may be able to reduce multiple queries to only one query by ``in_records``.
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            ``in_records`` is similar to :doc:`sub_filter`. Here are differences of them:
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              * ``sub_filter`` requires a reference column to condition table but ``in_records`` doesn't require.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
              * ``sub_filter`` requires an index column for the reference column but ``in_records`` doesn't require.
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
              * ``sub_filter`` can use all logical operations but ``in_records`` can use only AND logical operation in one pattern.
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
              * ``sub_filter`` can use only the value of one reference column for condition but ``in_records`` can use one or more values for condition. You can use multiple columns, functions and so on for multiple values.
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
              * ``sub_filter`` uses index search but ``in_records`` uses sequential search.
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            .. _in-records-syntax:
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            Syntax
         
     | 
| 
      
 35 
     | 
    
         
            +
            ------
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            ``in_records`` has four or more parameters::
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              in_records(condition_table,
         
     | 
| 
      
 40 
     | 
    
         
            +
                         value1, mode1, condition_column_name1,
         
     | 
| 
      
 41 
     | 
    
         
            +
                         ...,
         
     | 
| 
      
 42 
     | 
    
         
            +
                         valueN, modeN, condition_column_nameN)
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            .. _in-records-usage:
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            Usage
         
     | 
| 
      
 47 
     | 
    
         
            +
            -----
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            Here is a schema definition and sample data.
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            Sample schema:
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 54 
     | 
    
         
            +
            .. include:: ../../example/reference/functions/in_records/usage_setup_schema.log
         
     | 
| 
      
 55 
     | 
    
         
            +
            .. table_create Tags TABLE_PAT_KEY ShortText
         
     | 
| 
      
 56 
     | 
    
         
            +
            ..
         
     | 
| 
      
 57 
     | 
    
         
            +
            .. table_create Conditions TABLE_PAT_KEY ShortText
         
     | 
| 
      
 58 
     | 
    
         
            +
            .. column_create Conditions user_pattern COLUMN_SCALAR ShortText
         
     | 
| 
      
 59 
     | 
    
         
            +
            .. column_create Conditions tag COLUMN_SCALAR Tags
         
     | 
| 
      
 60 
     | 
    
         
            +
            .. column_create Conditions max_length COLUMN_SCALAR UInt32
         
     | 
| 
      
 61 
     | 
    
         
            +
            ..
         
     | 
| 
      
 62 
     | 
    
         
            +
            .. table_create Memos TABLE_HASH_KEY ShortText
         
     | 
| 
      
 63 
     | 
    
         
            +
            .. column_create Memos user COLUMN_SCALAR ShortText
         
     | 
| 
      
 64 
     | 
    
         
            +
            .. column_create Memos tag COLUMN_SCALAR Tags
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
            Sample data:
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 69 
     | 
    
         
            +
            .. include:: ../../example/reference/functions/in_records/usage_setup_data.log
         
     | 
| 
      
 70 
     | 
    
         
            +
            .. load --table Memos
         
     | 
| 
      
 71 
     | 
    
         
            +
            .. [
         
     | 
| 
      
 72 
     | 
    
         
            +
            .. {"_key": "Groonga is fast",          "user": "alice", "tag": "groonga"},
         
     | 
| 
      
 73 
     | 
    
         
            +
            .. {"_key": "Mroonga is fast",          "user": "alice", "tag": "mroonga"},
         
     | 
| 
      
 74 
     | 
    
         
            +
            .. {"_key": "Groonga is very good!",    "user": "alice", "tag": "groonga"},
         
     | 
| 
      
 75 
     | 
    
         
            +
            .. {"_key": "Droonga is fast",          "user": "david", "tag": "droonga"},
         
     | 
| 
      
 76 
     | 
    
         
            +
            .. {"_key": "Groonga is a HTTP server", "user": "david", "tag": "groonga"}
         
     | 
| 
      
 77 
     | 
    
         
            +
            .. ]
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
            Sample conditions:
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 82 
     | 
    
         
            +
            .. include:: ../../example/reference/functions/in_records/usage_setup_conditions.log
         
     | 
| 
      
 83 
     | 
    
         
            +
            .. load --table Conditions
         
     | 
| 
      
 84 
     | 
    
         
            +
            .. [
         
     | 
| 
      
 85 
     | 
    
         
            +
            .. {"_key": "lic + groonga", "user_pattern": "lic", "tag": "groonga", max_length: 20},
         
     | 
| 
      
 86 
     | 
    
         
            +
            .. {"_key": "dav + droonga", "user_pattern": "dav", "tag": "droonga", max_length: 50}
         
     | 
| 
      
 87 
     | 
    
         
            +
            .. ]
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
            Here is a simple usage of ``in_records`` that searches by records in ``Conditions`` table. Each record is used as a condition:
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 92 
     | 
    
         
            +
            .. include:: ../../example/reference/functions/in_records/usage_search.log
         
     | 
| 
      
 93 
     | 
    
         
            +
            .. plugin_register functions/string
         
     | 
| 
      
 94 
     | 
    
         
            +
            .. select \
         
     | 
| 
      
 95 
     | 
    
         
            +
            ..   --table Memos \
         
     | 
| 
      
 96 
     | 
    
         
            +
            ..   --filter 'in_records(Conditions, \
         
     | 
| 
      
 97 
     | 
    
         
            +
            ..                        user,                 "@", "user_pattern", \
         
     | 
| 
      
 98 
     | 
    
         
            +
            ..                        tag,                 "==", "tag", \
         
     | 
| 
      
 99 
     | 
    
         
            +
            ..                        string_length(_key), "<=", "max_length")' \
         
     | 
| 
      
 100 
     | 
    
         
            +
            ..   --sort_by _id \
         
     | 
| 
      
 101 
     | 
    
         
            +
            ..   --output_columns _key,user,tag
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
            The ``filter`` tries the following three conditions for each record:
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
              * ``Memos.user`` matches (``@``) ``Conditions.user_pattern``.
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
              * ``Memos.tag`` equals (``==``) ``Conditions.tag``.
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
              * The number of characters in ``Memos._key`` is less than or equals to ``Conditions.max_length``.
         
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
            If at least one record in ``Conditions`` table returns true for the all three conditions, the record in ``Memos`` is matched.
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
            The first record in ``Conditions`` table use the following conditions:
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
              * ``Memos.user`` has ``"lic"`` substring.
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
              * ``Memos.tag`` is ``"groonga"``.
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
      
 119 
     | 
    
         
            +
              * The number of characters in ``Memos._key`` is less than or equals to ``20``.
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
            This condition matches the following records:
         
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
              * ``{"_key": "Groonga is fast", "user": "alice", "tag": "groonga"}``
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
            The second record in ``Conditions`` table use the following conditions:
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
              * ``Memos.user`` has ``"dav"`` substring.
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
              * ``Memos.tag`` is ``"droonga"``.
         
     | 
| 
      
 130 
     | 
    
         
            +
             
     | 
| 
      
 131 
     | 
    
         
            +
              * The number of characters in ``Memos._key`` is less than or equals to ``50``.
         
     | 
| 
      
 132 
     | 
    
         
            +
             
     | 
| 
      
 133 
     | 
    
         
            +
            This condition matches the following records:
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
      
 135 
     | 
    
         
            +
              * ``{"_key": "Droonga is fast", "user": "david", "tag": "droonga"}``
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
            The result has the all above records.
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
      
 139 
     | 
    
         
            +
            .. _in-records-parameters:
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
            Parameters
         
     | 
| 
      
 142 
     | 
    
         
            +
            ----------
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
            ``in_records`` requires four or more parameters.
         
     | 
| 
      
 145 
     | 
    
         
            +
             
     | 
| 
      
 146 
     | 
    
         
            +
            .. _in-records-required-parameters:
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
            Required parameters
         
     | 
| 
      
 149 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
            ``condition_table`` and tuples of ``value``, ``mode_name`` and ``condition_column_name`` are required. You can specify multiple tuples of ``value``, ``mode_name`` and ``condition_column_name``
         
     | 
| 
      
 152 
     | 
    
         
            +
             
     | 
| 
      
 153 
     | 
    
         
            +
            .. _in-records-condition-table:
         
     | 
| 
      
 154 
     | 
    
         
            +
             
     | 
| 
      
 155 
     | 
    
         
            +
            ``condition_table``
         
     | 
| 
      
 156 
     | 
    
         
            +
            """""""""""""""""""
         
     | 
| 
      
 157 
     | 
    
         
            +
             
     | 
| 
      
 158 
     | 
    
         
            +
            Specifies a table that has conditions as its records.
         
     | 
| 
      
 159 
     | 
    
         
            +
             
     | 
| 
      
 160 
     | 
    
         
            +
            .. _in-records-value:
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
            ``value``
         
     | 
| 
      
 163 
     | 
    
         
            +
            ^^^^^^^^^
         
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
            Specifies a value to be compared.
         
     | 
| 
      
 166 
     | 
    
         
            +
             
     | 
| 
      
 167 
     | 
    
         
            +
            .. _in-records-mode-name:
         
     | 
| 
      
 168 
     | 
    
         
            +
             
     | 
| 
      
 169 
     | 
    
         
            +
            ``mode_name``
         
     | 
| 
      
 170 
     | 
    
         
            +
            ^^^^^^^^^^^^^
         
     | 
| 
      
 171 
     | 
    
         
            +
             
     | 
| 
      
 172 
     | 
    
         
            +
            Specifies a mode name that specifies how to compare :ref:`in-records-value` with a value of :ref:`in-records-condition-column-name`.
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
            See :ref:`query-default-mode` for available mode names. All mode names except ``NEAR``, ``SIMILAR`` and ``SUFFIX`` are supported.
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
            .. _in-records-condition-column-name:
         
     | 
| 
      
 177 
     | 
    
         
            +
             
     | 
| 
      
 178 
     | 
    
         
            +
            ``condition_column_name``
         
     | 
| 
      
 179 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 180 
     | 
    
         
            +
             
     | 
| 
      
 181 
     | 
    
         
            +
            Specifies a column name of :ref:`in-records-condition-table` to be used as condition.
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
            .. _in-records-optional-parameters:
         
     | 
| 
      
 184 
     | 
    
         
            +
             
     | 
| 
      
 185 
     | 
    
         
            +
            Optional parameter
         
     | 
| 
      
 186 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 187 
     | 
    
         
            +
             
     | 
| 
      
 188 
     | 
    
         
            +
            There are no optional parameter.
         
     | 
| 
      
 189 
     | 
    
         
            +
             
     | 
| 
      
 190 
     | 
    
         
            +
            Return value
         
     | 
| 
      
 191 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 192 
     | 
    
         
            +
             
     | 
| 
      
 193 
     | 
    
         
            +
            ``in_records`` returns whether the record is matched one of records of the specified condition table or not.
         
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
      
 195 
     | 
    
         
            +
            If the record is matched, it returns ``true``. Otherwise, it returns ``false``.
         
     | 
| 
         @@ -27,13 +27,23 @@ Syntax 
     | 
|
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            ``query`` requires two arguments - ``match_columns`` and ``query_string``.
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
            The parameter ``query_expander 
     | 
| 
      
 30 
     | 
    
         
            +
            The parameter ``query_expander``, ``substitution_table`` and
         
     | 
| 
      
 31 
     | 
    
         
            +
            ``options`` are optional.
         
     | 
| 
       31 
32 
     | 
    
         | 
| 
       32 
33 
     | 
    
         
             
            ::
         
     | 
| 
       33 
34 
     | 
    
         | 
| 
       34 
35 
     | 
    
         
             
              query(match_columns, query_string)
         
     | 
| 
       35 
36 
     | 
    
         
             
              query(match_columns, query_string, query_expander)
         
     | 
| 
       36 
37 
     | 
    
         
             
              query(match_columns, query_string, substitution_table)
         
     | 
| 
      
 38 
     | 
    
         
            +
              query(match_columns, query_string, options)
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            ``options`` accepts the following keys::
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
              {
         
     | 
| 
      
 43 
     | 
    
         
            +
                "expander": query_expander,
         
     | 
| 
      
 44 
     | 
    
         
            +
                "default_mode": default_mode,
         
     | 
| 
      
 45 
     | 
    
         
            +
                "flags": flags
         
     | 
| 
      
 46 
     | 
    
         
            +
              }
         
     | 
| 
       37 
47 
     | 
    
         | 
| 
       38 
48 
     | 
    
         | 
| 
       39 
49 
     | 
    
         
             
            Usage
         
     | 
| 
         @@ -79,8 +89,8 @@ search by keyword 'alice' without using ``--match_columns`` and 
     | 
|
| 
       79 
89 
     | 
    
         
             
            .. include:: ../../example/reference/functions/query/usage_basic.log
         
     | 
| 
       80 
90 
     | 
    
         
             
            .. select Users --output_columns name,_score --filter 'query("name * 10", "alice")'
         
     | 
| 
       81 
91 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
            When executing above query, the keyword  
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
      
 92 
     | 
    
         
            +
            When executing above query, the keyword ``alice`` is weighted to the
         
     | 
| 
      
 93 
     | 
    
         
            +
            value ``10``.
         
     | 
| 
       84 
94 
     | 
    
         | 
| 
       85 
95 
     | 
    
         
             
            Here are the contrasting examples with/without ``query``.
         
     | 
| 
       86 
96 
     | 
    
         | 
| 
         @@ -88,20 +98,19 @@ Here are the contrasting examples with/without ``query``. 
     | 
|
| 
       88 
98 
     | 
    
         
             
            .. include:: ../../example/reference/functions/query/usage_without_query.log
         
     | 
| 
       89 
99 
     | 
    
         
             
            .. select Users --output_columns name,memo,_score --match_columns "memo * 10" --query "memo:@groonga OR memo:@mroonga OR memo:@user" --sortby -_score
         
     | 
| 
       90 
100 
     | 
    
         | 
| 
       91 
     | 
    
         
            -
            In this case, the keywords  
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
      
 101 
     | 
    
         
            +
            In this case, the all keywords ``groonga``, ``mroonga`` and ``user``
         
     | 
| 
      
 102 
     | 
    
         
            +
            use the default weight. You can't pass different weight value to each
         
     | 
| 
      
 103 
     | 
    
         
            +
            keyword in this way.
         
     | 
| 
       95 
104 
     | 
    
         | 
| 
       96 
105 
     | 
    
         
             
            .. groonga-command
         
     | 
| 
       97 
106 
     | 
    
         
             
            .. include:: ../../example/reference/functions/query/usage_with_query.log
         
     | 
| 
       98 
107 
     | 
    
         
             
            .. select Users --output_columns name,memo,_score --filter 'query("memo * 10", "groonga") || query("memo * 20", "mroonga") || query("memo * 1", "user")' --sortby -_score
         
     | 
| 
       99 
108 
     | 
    
         | 
| 
       100 
109 
     | 
    
         
             
            On the other hand, by specifying multiple ``query``, the keywords
         
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
      
 110 
     | 
    
         
            +
            ``groonga``, ``mroonga`` and ``user`` use different weight.
         
     | 
| 
       102 
111 
     | 
    
         | 
| 
       103 
     | 
    
         
            -
            As a result, you can control full text search result by 
     | 
| 
       104 
     | 
    
         
            -
            keywords on your purpose.
         
     | 
| 
      
 112 
     | 
    
         
            +
            As a result, you can control full text search result score by
         
     | 
| 
      
 113 
     | 
    
         
            +
            specifying different weight to the keywords on your purpose.
         
     | 
| 
       105 
114 
     | 
    
         | 
| 
       106 
115 
     | 
    
         
             
            Parameters
         
     | 
| 
       107 
116 
     | 
    
         
             
            ----------
         
     | 
| 
         @@ -151,6 +160,87 @@ by following format such as ``${TABLE}.${COLUMN}`` for query expansion. 
     | 
|
| 
       151 
160 
     | 
    
         | 
| 
       152 
161 
     | 
    
         
             
            See :ref:`select-query-expander` about details.
         
     | 
| 
       153 
162 
     | 
    
         | 
| 
      
 163 
     | 
    
         
            +
            .. _query-default-mode:
         
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
            ``default_mode``
         
     | 
| 
      
 166 
     | 
    
         
            +
            """"""""""""""""
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
            Specifies the default search mode. You can custom the default search
         
     | 
| 
      
 169 
     | 
    
         
            +
            mode by ``column:@keyword`` like syntax. The default search mode is
         
     | 
| 
      
 170 
     | 
    
         
            +
            used when you just specify ``keyword`` instead of
         
     | 
| 
      
 171 
     | 
    
         
            +
            ``column:@keyword``. See :doc:`/reference/grn_expr/query_syntax` for
         
     | 
| 
      
 172 
     | 
    
         
            +
            more syntax details.
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
            Here are available modes. The default is ``MATCH`` mode. It does full
         
     | 
| 
      
 175 
     | 
    
         
            +
            text search.
         
     | 
| 
      
 176 
     | 
    
         
            +
             
     | 
| 
      
 177 
     | 
    
         
            +
            .. list-table::
         
     | 
| 
      
 178 
     | 
    
         
            +
               :header-rows: 1
         
     | 
| 
      
 179 
     | 
    
         
            +
             
     | 
| 
      
 180 
     | 
    
         
            +
               * - Mode
         
     | 
| 
      
 181 
     | 
    
         
            +
                 - Aliases
         
     | 
| 
      
 182 
     | 
    
         
            +
                 - Description
         
     | 
| 
      
 183 
     | 
    
         
            +
               * - ``EQUAL``
         
     | 
| 
      
 184 
     | 
    
         
            +
                 - ``==``
         
     | 
| 
      
 185 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-equal-condition` as the default mode.
         
     | 
| 
      
 186 
     | 
    
         
            +
               * - ``NOT_EQUAL``
         
     | 
| 
      
 187 
     | 
    
         
            +
                 - ``!=``
         
     | 
| 
      
 188 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-not-equal-condition` as the default mode.
         
     | 
| 
      
 189 
     | 
    
         
            +
               * - ``LESS``
         
     | 
| 
      
 190 
     | 
    
         
            +
                 - ``<``
         
     | 
| 
      
 191 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-less-than-condition` as the default mode.
         
     | 
| 
      
 192 
     | 
    
         
            +
               * - ``GREATER``
         
     | 
| 
      
 193 
     | 
    
         
            +
                 - ``>``
         
     | 
| 
      
 194 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-greater-than-condition` as the default mode.
         
     | 
| 
      
 195 
     | 
    
         
            +
               * - ``LESS_EQUAL``
         
     | 
| 
      
 196 
     | 
    
         
            +
                 - ``<=``
         
     | 
| 
      
 197 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-less-than-or-equal-condition` as the
         
     | 
| 
      
 198 
     | 
    
         
            +
                   default mode.
         
     | 
| 
      
 199 
     | 
    
         
            +
               * - ``GREATER_EQUAL``
         
     | 
| 
      
 200 
     | 
    
         
            +
                 - ``>=``
         
     | 
| 
      
 201 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-greater-than-or-equal-condition` as the
         
     | 
| 
      
 202 
     | 
    
         
            +
                   default mode.
         
     | 
| 
      
 203 
     | 
    
         
            +
               * - ``MATCH``
         
     | 
| 
      
 204 
     | 
    
         
            +
                 - ``@``
         
     | 
| 
      
 205 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-full-text-search-condition` as the
         
     | 
| 
      
 206 
     | 
    
         
            +
                   default mode.
         
     | 
| 
      
 207 
     | 
    
         
            +
             
     | 
| 
      
 208 
     | 
    
         
            +
                   It's the default.
         
     | 
| 
      
 209 
     | 
    
         
            +
               * - ``NEAR``
         
     | 
| 
      
 210 
     | 
    
         
            +
                 - ``*N``
         
     | 
| 
      
 211 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-near-search-condition` as the default
         
     | 
| 
      
 212 
     | 
    
         
            +
                   mode.
         
     | 
| 
      
 213 
     | 
    
         
            +
               * - ``SIMILAR``
         
     | 
| 
      
 214 
     | 
    
         
            +
                 - ``*S``
         
     | 
| 
      
 215 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-similar-search-condition` as the default
         
     | 
| 
      
 216 
     | 
    
         
            +
                   mode.
         
     | 
| 
      
 217 
     | 
    
         
            +
               * - ``PREFIX``
         
     | 
| 
      
 218 
     | 
    
         
            +
                 - ``^``, ``@^``
         
     | 
| 
      
 219 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-prefix-search-condition` as the default
         
     | 
| 
      
 220 
     | 
    
         
            +
                   mode.
         
     | 
| 
      
 221 
     | 
    
         
            +
               * - ``SUFFIX``
         
     | 
| 
      
 222 
     | 
    
         
            +
                 - ``$``, ``@$``
         
     | 
| 
      
 223 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-suffix-search-condition` as the default
         
     | 
| 
      
 224 
     | 
    
         
            +
                   mode.
         
     | 
| 
      
 225 
     | 
    
         
            +
               * - ``REGEXP``
         
     | 
| 
      
 226 
     | 
    
         
            +
                 - ``~``, ``@~``
         
     | 
| 
      
 227 
     | 
    
         
            +
                 - It uses :ref:`query-syntax-regular-expression-condition` as the default
         
     | 
| 
      
 228 
     | 
    
         
            +
                   mode.
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
      
 230 
     | 
    
         
            +
            ``flags``
         
     | 
| 
      
 231 
     | 
    
         
            +
            """""""""
         
     | 
| 
      
 232 
     | 
    
         
            +
             
     | 
| 
      
 233 
     | 
    
         
            +
            Specifies the flags that customizes how to parse query.
         
     | 
| 
      
 234 
     | 
    
         
            +
             
     | 
| 
      
 235 
     | 
    
         
            +
            You can specify multiple flags by separating each flags by ``|``. Here
         
     | 
| 
      
 236 
     | 
    
         
            +
            is the example to specify multiple flags::
         
     | 
| 
      
 237 
     | 
    
         
            +
             
     | 
| 
      
 238 
     | 
    
         
            +
              query("title * 10 || content",
         
     | 
| 
      
 239 
     | 
    
         
            +
                    "keyword",
         
     | 
| 
      
 240 
     | 
    
         
            +
                    {"flags": "ALLOW_COLUMN|ALLOW_LEADING_NOT"})
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
            See :ref:`select-query-flags` for available flags.
         
     | 
| 
      
 243 
     | 
    
         
            +
             
     | 
| 
       154 
244 
     | 
    
         
             
            Return value
         
     | 
| 
       155 
245 
     | 
    
         
             
            ------------
         
     | 
| 
       156 
246 
     | 
    
         | 
| 
         @@ -158,11 +248,6 @@ Return value 
     | 
|
| 
       158 
248 
     | 
    
         
             
            records are matched, it returns ``true``. Otherwise, it returns
         
     | 
| 
       159 
249 
     | 
    
         
             
            ``false``.
         
     | 
| 
       160 
250 
     | 
    
         | 
| 
       161 
     | 
    
         
            -
            TODO
         
     | 
| 
       162 
     | 
    
         
            -
            ----
         
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
            * Support query_flags
         
     | 
| 
       165 
     | 
    
         
            -
             
     | 
| 
       166 
251 
     | 
    
         
             
            See also
         
     | 
| 
       167 
252 
     | 
    
         
             
            --------
         
     | 
| 
       168 
253 
     | 
    
         | 
| 
         @@ -0,0 +1,33 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            .. -*- rst -*-
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            .. highlightlang:: none
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 6 
     | 
    
         
            +
            .. database: string_length
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            ``string_length``
         
     | 
| 
      
 9 
     | 
    
         
            +
            =================
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            Summary
         
     | 
| 
      
 12 
     | 
    
         
            +
            -------
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            .. versionadded:: 6.0.0
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            It returns the number of characters in the given string.
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            Syntax
         
     | 
| 
      
 21 
     | 
    
         
            +
            ------
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            Usage
         
     | 
| 
      
 26 
     | 
    
         
            +
            -----
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            Return value
         
     | 
| 
      
 31 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            TODO
         
     | 
| 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            .. -*- rst -*-
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            .. highlightlang:: none
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            .. groonga-command
         
     | 
| 
      
 6 
     | 
    
         
            +
            .. database: vector_new
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            ``vector_new``
         
     | 
| 
      
 9 
     | 
    
         
            +
            ==============
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            Summary
         
     | 
| 
      
 12 
     | 
    
         
            +
            -------
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            .. versionadded:: 7.0.1
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            It creates a new vector from arguments.
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            Syntax
         
     | 
| 
      
 21 
     | 
    
         
            +
            ------
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            Usage
         
     | 
| 
      
 26 
     | 
    
         
            +
            -----
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            Parameters
         
     | 
| 
      
 31 
     | 
    
         
            +
            ----------
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            Return value
         
     | 
| 
      
 36 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            TODO
         
     | 
| 
         @@ -107,14 +107,14 @@ quoted ``"Alice's brother (Bob)"`` or ``'Alice\'s brother (Bob)'``. 
     | 
|
| 
       107 
107 
     | 
    
         
             
               from database. If you can't do intended search by Groonga, confirm
         
     | 
| 
       108 
108 
     | 
    
         
             
               whether special character is escaped properly.
         
     | 
| 
       109 
109 
     | 
    
         | 
| 
       110 
     | 
    
         
            -
            ..  
     | 
| 
      
 110 
     | 
    
         
            +
            .. _query-syntax-conditional-expression:
         
     | 
| 
       111 
111 
     | 
    
         | 
| 
       112 
112 
     | 
    
         
             
            Conditional expression
         
     | 
| 
       113 
113 
     | 
    
         
             
            ----------------------
         
     | 
| 
       114 
114 
     | 
    
         | 
| 
       115 
115 
     | 
    
         
             
            Here is available conditional expression list.
         
     | 
| 
       116 
116 
     | 
    
         | 
| 
       117 
     | 
    
         
            -
            ..  
     | 
| 
      
 117 
     | 
    
         
            +
            .. _query-syntax-full-text-search-condition:
         
     | 
| 
       118 
118 
     | 
    
         | 
| 
       119 
119 
     | 
    
         
             
            Full text search condition
         
     | 
| 
       120 
120 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
         @@ -148,7 +148,7 @@ The expression matches records that contain a word ``fast`` in 
     | 
|
| 
       148 
148 
     | 
    
         | 
| 
       149 
149 
     | 
    
         
             
            ``content`` column is the default match column.
         
     | 
| 
       150 
150 
     | 
    
         | 
| 
       151 
     | 
    
         
            -
            ..  
     | 
| 
      
 151 
     | 
    
         
            +
            .. _query-syntax-phrase-search-condition:
         
     | 
| 
       152 
152 
     | 
    
         | 
| 
       153 
153 
     | 
    
         
             
            Phrase search condition
         
     | 
| 
       154 
154 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
         @@ -182,6 +182,8 @@ The expression matches records that contain a phrase ``I started`` in 
     | 
|
| 
       182 
182 
     | 
    
         | 
| 
       183 
183 
     | 
    
         
             
            ``content`` column is the default match column.
         
     | 
| 
       184 
184 
     | 
    
         | 
| 
      
 185 
     | 
    
         
            +
            .. _query-syntax-full-text-search-condition-with-explicit-match-column:
         
     | 
| 
      
 186 
     | 
    
         
            +
             
     | 
| 
       185 
187 
     | 
    
         
             
            Full text search condition (with explicit match column)
         
     | 
| 
       186 
188 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       187 
189 
     | 
    
         | 
| 
         @@ -249,7 +251,7 @@ The expression matches records that contain a phrase ``I started`` in 
     | 
|
| 
       249 
251 
     | 
    
         
             
            ``content`` column value. ``I also started`` isn't matched because
         
     | 
| 
       250 
252 
     | 
    
         
             
            ``I`` and ``started`` aren't adjacent.
         
     | 
| 
       251 
253 
     | 
    
         | 
| 
       252 
     | 
    
         
            -
            ..  
     | 
| 
      
 254 
     | 
    
         
            +
            .. _query-syntax-prefix-search-condition:
         
     | 
| 
       253 
255 
     | 
    
         | 
| 
       254 
256 
     | 
    
         
             
            Prefix search condition
         
     | 
| 
       255 
257 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
         @@ -283,7 +285,7 @@ The expression matches records that contain a word that starts with 
     | 
|
| 
       283 
285 
     | 
    
         
             
            ``Goo`` in ``_key`` pseudo column value. ``Good-bye Senna`` and
         
     | 
| 
       284 
286 
     | 
    
         
             
            ``Good-bye Tritonn`` are matched with the expression.
         
     | 
| 
       285 
287 
     | 
    
         | 
| 
       286 
     | 
    
         
            -
            ..  
     | 
| 
      
 288 
     | 
    
         
            +
            .. _query-syntax-suffix-search-condition:
         
     | 
| 
       287 
289 
     | 
    
         | 
| 
       288 
290 
     | 
    
         
             
            Suffix search condition
         
     | 
| 
       289 
291 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
         @@ -340,6 +342,22 @@ The expression matches records that have value that ends with ``んが`` 
     | 
|
| 
       340 
342 
     | 
    
         
             
            in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched
         
     | 
| 
       341 
343 
     | 
    
         
             
            with the expression.
         
     | 
| 
       342 
344 
     | 
    
         | 
| 
      
 345 
     | 
    
         
            +
            .. _query-syntax-near-search-condition:
         
     | 
| 
      
 346 
     | 
    
         
            +
             
     | 
| 
      
 347 
     | 
    
         
            +
            Near search condition
         
     | 
| 
      
 348 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 349 
     | 
    
         
            +
             
     | 
| 
      
 350 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 351 
     | 
    
         
            +
             
     | 
| 
      
 352 
     | 
    
         
            +
            .. _query-syntax-similar-search-condition:
         
     | 
| 
      
 353 
     | 
    
         
            +
             
     | 
| 
      
 354 
     | 
    
         
            +
            Similar search condition
         
     | 
| 
      
 355 
     | 
    
         
            +
            ^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
      
 356 
     | 
    
         
            +
             
     | 
| 
      
 357 
     | 
    
         
            +
            TODO
         
     | 
| 
      
 358 
     | 
    
         
            +
             
     | 
| 
      
 359 
     | 
    
         
            +
            .. _query-syntax-equal-condition:
         
     | 
| 
      
 360 
     | 
    
         
            +
             
     | 
| 
       343 
361 
     | 
    
         
             
            Equal condition
         
     | 
| 
       344 
362 
     | 
    
         
             
            ^^^^^^^^^^^^^^^
         
     | 
| 
       345 
363 
     | 
    
         | 
| 
         @@ -359,6 +377,8 @@ Here is a simple example. 
     | 
|
| 
       359 
377 
     | 
    
         
             
            The expression matches records that ``_key`` column value is
         
     | 
| 
       360 
378 
     | 
    
         
             
            equal to ``Groonga``.
         
     | 
| 
       361 
379 
     | 
    
         | 
| 
      
 380 
     | 
    
         
            +
            .. _query-syntax-not-equal-condition:
         
     | 
| 
      
 381 
     | 
    
         
            +
             
     | 
| 
       362 
382 
     | 
    
         
             
            Not equal condition
         
     | 
| 
       363 
383 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       364 
384 
     | 
    
         | 
| 
         @@ -378,6 +398,8 @@ Here is a simple example. 
     | 
|
| 
       378 
398 
     | 
    
         
             
            The expression matches records that ``_key`` column value is not equal
         
     | 
| 
       379 
399 
     | 
    
         
             
            to ``Groonga``.
         
     | 
| 
       380 
400 
     | 
    
         | 
| 
      
 401 
     | 
    
         
            +
            .. _query-syntax-less-than-condition:
         
     | 
| 
      
 402 
     | 
    
         
            +
             
     | 
| 
       381 
403 
     | 
    
         
             
            Less than condition
         
     | 
| 
       382 
404 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       383 
405 
     | 
    
         | 
| 
         @@ -402,6 +424,8 @@ Here is a simple example. 
     | 
|
| 
       402 
424 
     | 
    
         
             
            The expression matches records that ``n_likes`` column value is less
         
     | 
| 
       403 
425 
     | 
    
         
             
            than ``10``.
         
     | 
| 
       404 
426 
     | 
    
         | 
| 
      
 427 
     | 
    
         
            +
            .. _query-syntax-greater-than-condition:
         
     | 
| 
      
 428 
     | 
    
         
            +
             
     | 
| 
       405 
429 
     | 
    
         
             
            Greater than condition
         
     | 
| 
       406 
430 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       407 
431 
     | 
    
         | 
| 
         @@ -426,6 +450,8 @@ Here is a simple example. 
     | 
|
| 
       426 
450 
     | 
    
         
             
            The expression matches records that ``n_likes`` column value is greater
         
     | 
| 
       427 
451 
     | 
    
         
             
            than ``10``.
         
     | 
| 
       428 
452 
     | 
    
         | 
| 
      
 453 
     | 
    
         
            +
            .. _query-syntax-less-than-or-equal-condition:
         
     | 
| 
      
 454 
     | 
    
         
            +
             
     | 
| 
       429 
455 
     | 
    
         
             
            Less than or equal to condition
         
     | 
| 
       430 
456 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       431 
457 
     | 
    
         | 
| 
         @@ -451,6 +477,8 @@ Here is a simple example. 
     | 
|
| 
       451 
477 
     | 
    
         
             
            The expression matches records that ``n_likes`` column value is less
         
     | 
| 
       452 
478 
     | 
    
         
             
            than or equal to ``10``.
         
     | 
| 
       453 
479 
     | 
    
         | 
| 
      
 480 
     | 
    
         
            +
            .. _query-syntax-greater-than-or-equal-condition:
         
     | 
| 
      
 481 
     | 
    
         
            +
             
     | 
| 
       454 
482 
     | 
    
         
             
            Greater than or equal to condition
         
     | 
| 
       455 
483 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
       456 
484 
     | 
    
         | 
| 
         @@ -476,7 +504,7 @@ Here is a simple example. 
     | 
|
| 
       476 
504 
     | 
    
         
             
            The expression matches records that ``n_likes`` column value is
         
     | 
| 
       477 
505 
     | 
    
         
             
            greater than or equal to ``10``.
         
     | 
| 
       478 
506 
     | 
    
         | 
| 
       479 
     | 
    
         
            -
            .. _query-regular-expression-condition:
         
     | 
| 
      
 507 
     | 
    
         
            +
            .. _query-syntax-regular-expression-condition:
         
     | 
| 
       480 
508 
     | 
    
         | 
| 
       481 
509 
     | 
    
         
             
            Regular expression condition
         
     | 
| 
       482 
510 
     | 
    
         
             
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         
     | 
| 
         @@ -502,7 +530,7 @@ be slow against many records. 
     | 
|
| 
       502 
530 
     | 
    
         
             
            In some cases, Groonga evaluates regular expression by index. It's
         
     | 
| 
       503 
531 
     | 
    
         
             
            very fast. See :doc:`/reference/regular_expression` for details.
         
     | 
| 
       504 
532 
     | 
    
         | 
| 
       505 
     | 
    
         
            -
            ..  
     | 
| 
      
 533 
     | 
    
         
            +
            .. _query-syntax-combined-expression:
         
     | 
| 
       506 
534 
     | 
    
         | 
| 
       507 
535 
     | 
    
         
             
            Combined expression
         
     | 
| 
       508 
536 
     | 
    
         
             
            -------------------
         
     |