rroonga 7.0.2-x86-mingw32 → 7.1.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/doc/text/news.md +46 -7
- data/ext/groonga/rb-grn-array.c +1 -272
- data/ext/groonga/rb-grn-column-cache.c +240 -0
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +28 -4
- data/ext/groonga/rb-grn-expression.c +23 -1
- data/ext/groonga/rb-grn-object.c +44 -1
- data/ext/groonga/rb-grn-procedure.c +16 -1
- data/ext/groonga/rb-grn-query-logger.c +55 -6
- data/ext/groonga/rb-grn-table.c +170 -1
- data/ext/groonga/rb-grn-utils.c +21 -2
- data/ext/groonga/rb-grn.h +18 -3
- data/ext/groonga/rb-groonga.c +2 -1
- 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/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga.rb +8 -5
- data/lib/groonga/column.rb +0 -5
- data/lib/groonga/database.rb +0 -10
- data/lib/groonga/index-column.rb +0 -10
- data/lib/groonga/query-logger.rb +1 -1
- data/rroonga-build.rb +6 -6
- data/rroonga.gemspec +1 -1
- data/test/groonga-test-utils.rb +5 -8
- data/test/test-array.rb +1 -131
- data/test/test-column-cache.rb +46 -0
- data/test/test-command-select.rb +36 -1
- data/test/test-context.rb +1 -2
- data/test/test-database.rb +16 -2
- data/test/test-logger.rb +13 -1
- data/test/test-procedure.rb +7 -1
- data/test/test-query-logger.rb +12 -1
- data/test/test-table-arrow.rb +193 -0
- data/test/test-table-offset-and-limit.rb +3 -1
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +36 -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/libgcc_s_sjlj-1.dll +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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/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 +1 -1
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga.hpp +21 -0
- data/vendor/local/include/groonga/groonga/arrow.h +38 -0
- data/vendor/local/include/groonga/groonga/arrow.hpp +21 -0
- data/vendor/local/include/groonga/groonga/column.h +9 -0
- data/vendor/local/include/groonga/groonga/expr.h +9 -1
- data/vendor/local/include/groonga/groonga/groonga.h +19 -3
- data/vendor/local/include/groonga/groonga/obj.h +3 -0
- data/vendor/local/include/groonga/groonga/operator.h +2 -1
- data/vendor/local/include/groonga/groonga/plugin.h +8 -0
- data/vendor/local/include/groonga/groonga/portability.h +19 -1
- data/vendor/local/include/groonga/groonga/table.h +14 -0
- data/vendor/local/include/groonga/groonga/util.h +3 -0
- data/vendor/local/include/groonga/groonga/window_function.h +2 -0
- data/vendor/local/include/pcre.h +2 -2
- data/vendor/local/include/pcre_stringpiece.h +2 -2
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +41 -0
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +41 -0
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +1 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/ruby/eval.rb +1 -1
- data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +152 -0
- data/vendor/local/lib/groonga/plugins/sharding/keys_parsable.rb +12 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +149 -106
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +11 -3
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +80 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +43 -206
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +15 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +163 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line_parser.rb +12 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +8 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -0
- data/{lib/groonga/table.rb → vendor/local/lib/groonga/scripts/ruby/groonga-log.rb} +6 -12
- data/vendor/local/lib/groonga/scripts/ruby/groonga-log/parser.rb +81 -0
- data/vendor/local/lib/groonga/scripts/ruby/groonga-log/statistic.rb +23 -0
- data/vendor/local/lib/groonga/scripts/ruby/groonga-log/version.rb +3 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/labeled_arguments.rb +21 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/object.rb +7 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +3 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +40 -9
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +12 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.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/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +1 -1
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +1 -1
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/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/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/_static/basic.css +47 -19
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-1.11.1.js → jquery-3.1.0.js} +4245 -4479
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +112 -5
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/development.html +13 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +15 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +819 -1560
- data/vendor/local/share/doc/groonga/en/html/index.html +42 -45
- data/vendor/local/share/doc/groonga/en/html/install.html +11 -20
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -25
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +92 -28
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +12 -23
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +15 -25
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -29
- data/vendor/local/share/doc/groonga/en/html/limitations.html +13 -23
- data/vendor/local/share/doc/groonga/en/html/news.html +650 -43
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +15 -25
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +13 -23
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +12 -22
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +11 -21
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +12 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +10 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +56 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +42 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +583 -107
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +1143 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +166 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +138 -143
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +14 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +95 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +37 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +15 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +14 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +11 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +9 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +12 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +15 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +9 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +118 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +21 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +17 -28
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +44 -55
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +29 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +56 -111
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +15 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +37 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +50 -61
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +31 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +36 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +35 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +27 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +29 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +32 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +23 -34
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +14 -25
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +22 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +16 -26
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +14 -25
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +28 -39
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +23 -34
- data/vendor/local/share/doc/groonga/en/html/search.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/server/http.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/server/package.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -27
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +18 -24
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -31
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +188 -0
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +9 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +12 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +21 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +174 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -81
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +16 -26
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +14 -25
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +47 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-1.11.1.js → jquery-3.1.0.js} +4245 -4479
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +112 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +9 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +9 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +11 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +12 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +13 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +12 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +16 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/development.html +13 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +19 -38
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +819 -1560
- data/vendor/local/share/doc/groonga/ja/html/index.html +41 -44
- data/vendor/local/share/doc/groonga/ja/html/install.html +11 -20
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +18 -33
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +84 -32
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +15 -28
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +28 -55
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +12 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +17 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -29
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -35
- data/vendor/local/share/doc/groonga/ja/html/news.html +516 -158
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +15 -25
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +12 -22
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +10 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +144 -288
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +36 -72
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +266 -532
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +224 -441
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +258 -516
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +282 -562
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +213 -426
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +10 -20
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +14 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +10 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +12 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +11 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +31 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +56 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +29 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +14 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +55 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +498 -106
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +13 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +1051 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +166 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +33 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +17 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +13 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +54 -104
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +183 -233
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +14 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +14 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +136 -147
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +145 -271
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +23 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +28 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +9 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +22 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +12 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +15 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +18 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +13 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +11 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +113 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +11 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +21 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +10 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +70 -127
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +17 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +71 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +29 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +14 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +11 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +11 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +23 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +16 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +37 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +64 -89
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +31 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +42 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +38 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +27 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +29 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +32 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +23 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +13 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +18 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +37 -74
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +18 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +12 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +15 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +29 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +16 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +34 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +22 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +16 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +19 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +31 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +16 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +14 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +28 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +23 -34
- data/vendor/local/share/doc/groonga/ja/html/search.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +9 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +47 -95
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +26 -54
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +50 -93
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +18 -24
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +14 -25
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +186 -0
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -35
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +9 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +12 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +15 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +10 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -47
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +177 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +34 -129
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +9 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +18 -33
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +94 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +12 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +1 -1
- data/vendor/local/share/doc/pcre/html/pcrejit.html +52 -5
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +20 -17
- data/vendor/local/share/doc/pcre/html/pcretest.html +7 -2
- data/vendor/local/share/doc/pcre/pcre.txt +1103 -1055
- data/vendor/local/share/doc/pcre/pcretest.txt +6 -2
- data/vendor/local/share/groonga/groonga-log/README.md +44 -0
- data/vendor/local/share/groonga/groonga-log/lgpl-2.1.txt +502 -0
- data/vendor/local/share/groonga/mruby/LEGAL +4 -0
- data/vendor/local/share/license/cv2pdb/LICENSE +201 -0
- data/vendor/local/share/license/cv2pdb/README +138 -0
- data/vendor/local/share/license/groonga-log/README.md +44 -0
- data/vendor/local/share/license/groonga-log/lgpl-2.1.txt +502 -0
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/pcretest.1 +7 -3
- data/vendor/local/share/man/man3/pcrecompat.3 +1 -1
- data/vendor/local/share/man/man3/pcrejit.3 +48 -6
- data/vendor/local/share/man/man3/pcrepattern.3 +20 -17
- metadata +102 -559
- data/lib/groonga/statistic-measurer.rb +0 -37
- data/test/test-statistic-measurer.rb +0 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +0 -70
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +0 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +0 -49
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +0 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +0 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +0 -101
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +0 -94
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +0 -93
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/com.txt +0 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +0 -75
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/query.txt +0 -214
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +0 -790
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +0 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +0 -120
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/c-api.txt +0 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +0 -200
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +0 -81
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +0 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +0 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +0 -66
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -33
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +0 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +0 -106
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +0 -107
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +0 -97
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +0 -66
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +0 -273
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +0 -99
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +0 -92
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +0 -58
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +0 -315
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +0 -126
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +0 -289
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +0 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +0 -390
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +0 -52
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +0 -623
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +0 -539
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +0 -689
- data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +0 -1250
- data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +0 -1086
- data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +0 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -35
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +0 -164
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +0 -49
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_cache.txt +0 -114
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +0 -198
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_command_version.txt +0 -37
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +0 -39
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +0 -195
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +0 -134
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_encoding.txt +0 -49
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +0 -136
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +0 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_hook.txt +0 -67
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ii.txt +0 -35
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_index_cursor.txt +0 -44
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_info.txt +0 -56
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_match_escalation.txt +0 -39
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +0 -269
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_proc.txt +0 -56
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_search.txt +0 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table.txt +0 -219
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table_cursor.txt +0 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +0 -122
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_type.txt +0 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_user_data.txt +0 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +0 -54
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +0 -156
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +0 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +0 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +0 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +0 -40
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +0 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -332
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +0 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +0 -75
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +0 -228
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt +0 -45
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +0 -41
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +0 -78
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +0 -117
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +0 -87
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +0 -161
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +0 -60
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +0 -381
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +0 -800
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +0 -209
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +0 -57
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +0 -101
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +0 -95
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +0 -96
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +0 -96
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +0 -85
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +0 -110
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +0 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +0 -122
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +0 -202
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +0 -266
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +0 -100
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +0 -102
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +0 -90
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +0 -98
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +0 -87
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +0 -65
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +0 -62
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +0 -171
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +0 -134
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +0 -195
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +0 -1359
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +0 -103
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +0 -541
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +0 -155
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +0 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +0 -95
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +0 -899
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +0 -405
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +0 -140
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +0 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +0 -63
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/query_expand.txt +0 -38
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +0 -38
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +0 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +0 -69
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +0 -142
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +0 -134
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +0 -71
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +0 -71
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +0 -627
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +0 -2776
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +0 -113
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +0 -151
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +0 -271
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_copy.txt +0 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +0 -380
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +0 -81
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +0 -309
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +0 -90
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +0 -120
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +0 -110
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +0 -248
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +0 -63
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +0 -95
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/configuration.txt +0 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables.txt +0 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +0 -117
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +0 -68
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +0 -287
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +0 -552
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-server-http.txt +0 -57
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +0 -63
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +0 -470
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +0 -94
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -473
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +0 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +0 -105
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +0 -48
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/fuzzy_search.txt +0 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +0 -300
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +0 -81
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -127
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -105
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +0 -80
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +0 -195
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +0 -82
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +0 -36
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/number_classify.txt +0 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +0 -158
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +0 -254
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +0 -114
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +0 -33
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_substring.txt +0 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +0 -137
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_day.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_hour.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_minute.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_month.txt +0 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_second.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_week.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/time_classify_year.txt +0 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +0 -38
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +0 -76
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_slice.txt +0 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +0 -59
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +0 -652
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +0 -1126
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +0 -112
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +0 -236
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +0 -133
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +0 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +0 -52
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt +0 -76
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/output.txt +0 -164
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders.txt +0 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +0 -153
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +0 -436
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +0 -218
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +0 -136
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +0 -157
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -104
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest.txt +0 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +0 -271
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/correction.txt +0 -148
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/introduction.txt +0 -96
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/suggestion.txt +0 -132
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +0 -216
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +0 -120
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -517
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +0 -177
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +0 -170
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +0 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +0 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +0 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_sum.txt +0 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +0 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +0 -48
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +0 -298
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +0 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +0 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +0 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +0 -209
- data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +0 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +0 -280
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +0 -115
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +0 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +0 -45
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +0 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +0 -173
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +0 -130
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +0 -123
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +0 -294
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +0 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +0 -234
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +0 -539
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +0 -58
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +0 -69
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +0 -123
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +0 -70
- data/vendor/local/share/doc/groonga/ja/html/_sources/client.txt +0 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +0 -49
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +0 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +0 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +0 -101
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +0 -94
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +0 -93
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/com.txt +0 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +0 -75
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/query.txt +0 -214
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +0 -790
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +0 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +0 -120
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/c-api.txt +0 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +0 -200
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +0 -81
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +0 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +0 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +0 -66
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -33
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +0 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +0 -106
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +0 -107
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +0 -97
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +0 -66
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +0 -273
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +0 -99
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +0 -92
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +0 -58
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +0 -315
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +0 -126
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +0 -289
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +0 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +0 -390
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +0 -52
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +0 -623
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +0 -539
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +0 -689
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +0 -1250
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +0 -1086
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +0 -109
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -35
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +0 -164
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +0 -49
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_cache.txt +0 -114
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +0 -198
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_command_version.txt +0 -37
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +0 -39
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +0 -195
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +0 -134
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_encoding.txt +0 -49
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +0 -136
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +0 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_hook.txt +0 -67
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ii.txt +0 -35
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_index_cursor.txt +0 -44
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_info.txt +0 -56
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_match_escalation.txt +0 -39
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +0 -269
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_proc.txt +0 -56
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_search.txt +0 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table.txt +0 -219
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table_cursor.txt +0 -109
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +0 -122
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_type.txt +0 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_user_data.txt +0 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +0 -54
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +0 -156
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +0 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +0 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +0 -40
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +0 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -332
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +0 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +0 -75
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +0 -228
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt +0 -45
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +0 -41
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +0 -78
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +0 -117
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +0 -87
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +0 -161
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +0 -60
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +0 -381
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +0 -800
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +0 -209
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +0 -57
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +0 -101
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +0 -95
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +0 -96
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +0 -96
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +0 -85
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +0 -110
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +0 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +0 -122
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +0 -202
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +0 -266
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +0 -100
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +0 -102
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +0 -90
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +0 -98
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +0 -87
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +0 -65
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +0 -62
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +0 -171
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +0 -134
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +0 -195
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +0 -1359
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +0 -103
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +0 -541
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +0 -155
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +0 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +0 -95
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +0 -899
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +0 -405
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +0 -140
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +0 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +0 -63
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/query_expand.txt +0 -38
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +0 -38
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +0 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +0 -69
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +0 -142
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +0 -134
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +0 -71
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +0 -71
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +0 -627
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +0 -2776
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +0 -113
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +0 -151
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +0 -271
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_copy.txt +0 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +0 -380
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +0 -81
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +0 -309
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +0 -90
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +0 -120
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +0 -110
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +0 -248
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +0 -63
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +0 -95
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/configuration.txt +0 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables.txt +0 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +0 -117
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +0 -68
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +0 -287
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +0 -552
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-server-http.txt +0 -57
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +0 -63
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +0 -470
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +0 -94
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -473
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +0 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +0 -105
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +0 -48
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/fuzzy_search.txt +0 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +0 -300
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +0 -81
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -127
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -105
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +0 -80
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +0 -195
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +0 -82
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +0 -36
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/number_classify.txt +0 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +0 -158
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +0 -254
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +0 -114
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +0 -33
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_substring.txt +0 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +0 -137
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_day.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_hour.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_minute.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_month.txt +0 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_second.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_week.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/time_classify_year.txt +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +0 -38
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +0 -76
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_slice.txt +0 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +0 -59
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +0 -652
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +0 -1126
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +0 -112
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +0 -236
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +0 -133
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +0 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +0 -52
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt +0 -76
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/output.txt +0 -164
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders.txt +0 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +0 -153
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +0 -436
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +0 -218
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +0 -136
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +0 -157
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -104
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest.txt +0 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +0 -271
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/correction.txt +0 -148
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/introduction.txt +0 -96
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/suggestion.txt +0 -132
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +0 -216
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +0 -120
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -517
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +0 -177
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +0 -170
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +0 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +0 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_sum.txt +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +0 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +0 -48
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +0 -298
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +0 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +0 -209
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +0 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +0 -280
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +0 -115
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +0 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +0 -45
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +0 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +0 -173
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +0 -130
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +0 -123
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +0 -294
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +0 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +0 -234
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +0 -539
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +0 -58
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +0 -69
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +0 -123
@@ -1,1126 +0,0 @@
|
|
1
|
-
.. -*- rst -*-
|
2
|
-
|
3
|
-
.. highlightlang:: none
|
4
|
-
|
5
|
-
.. groonga-command
|
6
|
-
.. database: reference_grn_expr_script_syntax
|
7
|
-
|
8
|
-
Script syntax
|
9
|
-
=============
|
10
|
-
|
11
|
-
Script syntax is a syntax to specify complex search condition. It is
|
12
|
-
similar to ECMAScript. For example, ``_key == "book"`` means that
|
13
|
-
groonga searches records that ``_key`` value is ``"book"``. All values
|
14
|
-
are string in :doc:`query_syntax` but its own type in script
|
15
|
-
syntax. For example, ``"book"`` is string, ``1`` is integer,
|
16
|
-
``TokenBigram`` is the object whose name is ``TokenBigram`` and so on.
|
17
|
-
|
18
|
-
Script syntax doesn't support full ECMAScript syntax. For example,
|
19
|
-
script syntax doesn't support statement such as ``if`` control
|
20
|
-
statement, ``for`` iteration statement and variable definition
|
21
|
-
statement. Function definion is not supported too. But script syntax
|
22
|
-
addes the original additional operators. They are described after
|
23
|
-
ECMAScript syntax is described.
|
24
|
-
|
25
|
-
.. _script-syntax-security:
|
26
|
-
|
27
|
-
Security
|
28
|
-
--------
|
29
|
-
|
30
|
-
For security reason, you should not pass an input from users to
|
31
|
-
Groonga directly. If there is an evil user, the user may input a query
|
32
|
-
that retrieves records that should not be shown to the user.
|
33
|
-
|
34
|
-
Think about the following case.
|
35
|
-
|
36
|
-
A Groonga application constructs a Groonga request by the following
|
37
|
-
program::
|
38
|
-
|
39
|
-
filter = "column @ \"#{user_input}\""
|
40
|
-
select_options = {
|
41
|
-
# ...
|
42
|
-
:filter => filter,
|
43
|
-
}
|
44
|
-
groonga_client.select(select_options)
|
45
|
-
|
46
|
-
``user_input`` is an input from user. If the input is ``query``,
|
47
|
-
here is the constructed :ref:`select-filter` parameter::
|
48
|
-
|
49
|
-
column @ "query"
|
50
|
-
|
51
|
-
If the input is ``x" || true || "``, here is the constructed
|
52
|
-
:ref:`select-filter` parameter::
|
53
|
-
|
54
|
-
column @ "x" || true || ""
|
55
|
-
|
56
|
-
This query matches to all records. The user will get all records from
|
57
|
-
your database. The user may be evil.
|
58
|
-
|
59
|
-
It's better that you just receive an user input as a value. It means
|
60
|
-
that you don't accept that user input can contain operator such as
|
61
|
-
``@`` and ``&&``. If you accept operator, user can create evil query.
|
62
|
-
|
63
|
-
If user input has only value, you blocks evil query by escaping user
|
64
|
-
input value. Here is a list how to escape user input value:
|
65
|
-
|
66
|
-
* True value: Convert it to ``true``.
|
67
|
-
* False value: Convert it to ``false``.
|
68
|
-
* Numerical value: Convert it to :ref:`script-syntax-literal-integer`
|
69
|
-
or :ref:`script-syntax-literal-float`. For example, ``1.2``,
|
70
|
-
``-10``, ``314e-2`` and so on.
|
71
|
-
* String value: Replace ``"`` with ``\"`` and ``\`` with ``\\`` in
|
72
|
-
the string value and surround substituted string value by
|
73
|
-
``"``. For example, ``double " quote and back \ slash`` should be
|
74
|
-
converted to ``"double \" quote and back \\ slash"``.
|
75
|
-
|
76
|
-
Sample data
|
77
|
-
-----------
|
78
|
-
|
79
|
-
Here are a schema definition and sample data to show usage.
|
80
|
-
|
81
|
-
.. groonga-command
|
82
|
-
.. include:: ../../example/reference/grn_expr/query_syntax/setup.log
|
83
|
-
.. table_create Entries TABLE_PAT_KEY ShortText
|
84
|
-
.. column_create Entries content COLUMN_SCALAR Text
|
85
|
-
.. column_create Entries n_likes COLUMN_SCALAR UInt32
|
86
|
-
.. table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
87
|
-
.. column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
88
|
-
.. column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
89
|
-
.. load --table Entries
|
90
|
-
.. [
|
91
|
-
.. {"_key": "The first post!",
|
92
|
-
.. "content": "Welcome! This is my first post!",
|
93
|
-
.. "n_likes": 5},
|
94
|
-
.. {"_key": "Groonga",
|
95
|
-
.. "content": "I started to use Groonga. It's very fast!",
|
96
|
-
.. "n_likes": 10},
|
97
|
-
.. {"_key": "Mroonga",
|
98
|
-
.. "content": "I also started to use Mroonga. It's also very fast! Really fast!",
|
99
|
-
.. "n_likes": 15},
|
100
|
-
.. {"_key": "Good-bye Senna",
|
101
|
-
.. "content": "I migrated all Senna system!",
|
102
|
-
.. "n_likes": 3},
|
103
|
-
.. {"_key": "Good-bye Tritonn",
|
104
|
-
.. "content": "I also migrated all Tritonn system!",
|
105
|
-
.. "n_likes": 3}
|
106
|
-
.. ]
|
107
|
-
|
108
|
-
There is a table, ``Entries``, for blog entries. An entry has title,
|
109
|
-
content and the number of likes for the entry. Title is key of
|
110
|
-
``Entries``. Content is value of ``Entries.content`` column. The
|
111
|
-
number of likes is value of ``Entries.n_likes`` column.
|
112
|
-
|
113
|
-
``Entries._key`` column and ``Entries.content`` column are indexed
|
114
|
-
using ``TokenBigram`` tokenizer. So both ``Entries._key`` and
|
115
|
-
``Entries.content`` are fulltext search ready.
|
116
|
-
|
117
|
-
OK. The schema and data for examples are ready.
|
118
|
-
|
119
|
-
.. _script-syntax-literals:
|
120
|
-
|
121
|
-
Literals
|
122
|
-
--------
|
123
|
-
|
124
|
-
.. _script-syntax-literal-integer:
|
125
|
-
|
126
|
-
Integer
|
127
|
-
^^^^^^^
|
128
|
-
|
129
|
-
Integer literal is sequence of ``0`` to ``9`` such as
|
130
|
-
``1234567890``. ``+`` or ``-`` can be prepended as sign such as
|
131
|
-
``+29`` and ``-29``. Integer literal must be decimal. Octal notation,
|
132
|
-
hex and so on can't be used.
|
133
|
-
|
134
|
-
The maximum value of integer literal is ``9223372036854775807`` (``= 2
|
135
|
-
** 63 - 1``). The minimum value of integer literal is
|
136
|
-
``-9223372036854775808`` (``= -(2 ** 63)``).
|
137
|
-
|
138
|
-
.. _script-syntax-literal-float:
|
139
|
-
|
140
|
-
Float
|
141
|
-
^^^^^
|
142
|
-
|
143
|
-
Float literal is sequence of ``0`` to ``9``, ``.`` and ``0`` to ``9``
|
144
|
-
such as ``3.14``. ``+`` or ``-`` can be prepended as sign such as
|
145
|
-
``+3.14`` and ``-3.14``. ``${RADIX}e${EXPORNENTIAL}`` and
|
146
|
-
``${RADIX}E${EXPORNENTIAL}`` formats are also supported. For example,
|
147
|
-
``314e-2`` is the same as ``3.14``.
|
148
|
-
|
149
|
-
.. _script-syntax-literal-string:
|
150
|
-
|
151
|
-
String
|
152
|
-
^^^^^^
|
153
|
-
|
154
|
-
String literal is ``"..."``. You need to escape ``"`` in literal by
|
155
|
-
prepending ``\\'' such as ``\"``. For example, ``"Say \"Hello!\"."`` is
|
156
|
-
a literal for ``Say "Hello!".`` string.
|
157
|
-
|
158
|
-
String encoding must be the same as encoding of database. The default
|
159
|
-
encoding is UTF-8. It can be changed by ``--with-default-encoding``
|
160
|
-
configure option, ``--encodiong`` :doc:`/reference/executables/groonga` option
|
161
|
-
and so on.
|
162
|
-
|
163
|
-
.. _script-syntax-literal-boolean:
|
164
|
-
|
165
|
-
Boolean
|
166
|
-
^^^^^^^
|
167
|
-
|
168
|
-
Boolean literal is ``true`` and ``false``. ``true`` means true and
|
169
|
-
``false`` means false.
|
170
|
-
|
171
|
-
.. _script-syntax-literal-null:
|
172
|
-
|
173
|
-
Null
|
174
|
-
^^^^
|
175
|
-
|
176
|
-
Null literal is ``null``. Groonga doesn't support null value but null
|
177
|
-
literal is supported.
|
178
|
-
|
179
|
-
.. _script-syntax-literal-time:
|
180
|
-
|
181
|
-
Time
|
182
|
-
^^^^
|
183
|
-
|
184
|
-
.. note::
|
185
|
-
|
186
|
-
This is the groonga original notation.
|
187
|
-
|
188
|
-
Time literal doesn't exit. There are string time notation, integer
|
189
|
-
time notation and float time notation.
|
190
|
-
|
191
|
-
String time notation is ``"YYYY/MM/DD hh:mm:ss.uuuuuu"`` or
|
192
|
-
``"YYYY-MM-DD hh:mm:ss.uuuuuu"``. ``YYYY`` is year, ``MM`` is month,
|
193
|
-
``DD`` is day, ``hh`` is hour, ``mm`` is minute, ``ss`` is second and
|
194
|
-
``uuuuuu`` is micro second. It is local time. For example,
|
195
|
-
``"2012/07/23 02:41:10.436218"`` is ``2012-07-23T02:41:10.436218`` in
|
196
|
-
ISO 8601 format.
|
197
|
-
|
198
|
-
Integer time notation is the number of seconds that have elapsed since
|
199
|
-
midnight UTC, January 1, 1970. It is also known as POSIX time. For
|
200
|
-
example, ``1343011270`` is ``2012-07-23T02:41:10Z`` in ISO 8601 format.
|
201
|
-
|
202
|
-
Float time notation is the number of seconds and micro seconds that
|
203
|
-
have elapsed since midnight UTC, January 1, 1970. For example,
|
204
|
-
``1343011270.436218`` is ``2012-07-23T02:41:10.436218Z`` in ISO 8601
|
205
|
-
format.
|
206
|
-
|
207
|
-
.. _script-syntax-literal-geo-point:
|
208
|
-
|
209
|
-
Geo point
|
210
|
-
^^^^^^^^^
|
211
|
-
|
212
|
-
.. note::
|
213
|
-
|
214
|
-
This is the groonga original notation.
|
215
|
-
|
216
|
-
Geo point literal doesn't exist. There is string geo point notation.
|
217
|
-
|
218
|
-
String geo point notation has the following patterns:
|
219
|
-
|
220
|
-
* ``"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC"``
|
221
|
-
* ``"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC"``
|
222
|
-
* ``"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE"``
|
223
|
-
* ``"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE"``
|
224
|
-
|
225
|
-
``x`` and ``,`` can be used for separator. Latitude and longitude can
|
226
|
-
be represented in milliseconds or degree.
|
227
|
-
|
228
|
-
.. _script-syntax-literal-array:
|
229
|
-
|
230
|
-
Array
|
231
|
-
^^^^^
|
232
|
-
|
233
|
-
Array literal is ``[element1, element2, ...]``.
|
234
|
-
|
235
|
-
.. _script-syntax-literal-object:
|
236
|
-
|
237
|
-
Object literal
|
238
|
-
^^^^^^^^^^^^^^
|
239
|
-
|
240
|
-
Object literal is ``{name1: value1, name2: value2, ...}``. Groonga
|
241
|
-
doesn't support object literal yet.
|
242
|
-
|
243
|
-
Control syntaxes
|
244
|
-
----------------
|
245
|
-
|
246
|
-
Script syntax doesn't support statement. So you cannot use control
|
247
|
-
statement such as ``if``. You can only use ``A ? B : C`` expression as
|
248
|
-
control syntax.
|
249
|
-
|
250
|
-
``A ? B : C`` returns ``B`` if ``A`` is true, ``C`` otherwise.
|
251
|
-
|
252
|
-
Here is a simple example.
|
253
|
-
|
254
|
-
.. groonga-command
|
255
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
|
256
|
-
.. select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
|
257
|
-
|
258
|
-
The expression matches records that ``_id`` column value is equal to ``1``
|
259
|
-
and ``n_likes`` column value is equal to ``5`` or ``_id`` column value is
|
260
|
-
not equal to 1 and ``n_likes`` column value is equal to ``3``.
|
261
|
-
|
262
|
-
Grouping
|
263
|
-
--------
|
264
|
-
|
265
|
-
Its syntax is ``(...)``. ``...`` is comma separated expression list.
|
266
|
-
|
267
|
-
``(...)`` groups one ore more expressions and they can be processed as
|
268
|
-
an expression. ``a && b || c`` means that ``a`` and ``b`` are matched
|
269
|
-
or ``c`` is matched. ``a && (b || c)`` means that ``a`` and one of
|
270
|
-
``b`` and ``c`` are matched.
|
271
|
-
|
272
|
-
Here is a simple example.
|
273
|
-
|
274
|
-
.. groonga-command
|
275
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_grouping.log
|
276
|
-
.. select Entries --filter 'n_likes < 5 && content @ "senna" || content @ "fast"'
|
277
|
-
.. select Entries --filter 'n_likes < 5 && (content @ "senna" || content @ "fast")'
|
278
|
-
|
279
|
-
The first expression doesn't use grouping. It matches records that
|
280
|
-
``n_likes < 5`` and ``content @ "senna"`` are matched or
|
281
|
-
``content @ "fast"`` is matched.
|
282
|
-
|
283
|
-
The second expression uses grouping. It matches records that ``n_likes
|
284
|
-
< 5`` and one of ``content @ "senna"`` or ``content @ "fast"`` are
|
285
|
-
matched.
|
286
|
-
|
287
|
-
Function call
|
288
|
-
-------------
|
289
|
-
|
290
|
-
Its syntax is ``name(arugment1, argument2, ...)``.
|
291
|
-
|
292
|
-
``name(argument1, argument2, ...)`` calls a function that is named
|
293
|
-
``name`` with arguments ``argument1``, ``argument2`` and ``...``.
|
294
|
-
|
295
|
-
See :doc:`/reference/function` for available functin list.
|
296
|
-
|
297
|
-
Here is a simple example.
|
298
|
-
|
299
|
-
.. groonga-command
|
300
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_function.log
|
301
|
-
.. select Entries --filter 'edit_distance(_key, "Groonga") <= 1'
|
302
|
-
|
303
|
-
The expression uses :doc:`/reference/functions/edit_distance`. It
|
304
|
-
matches records that ``_key`` column value is similar to
|
305
|
-
``"Groonga"``. Similality of ``"Groonga"`` is computed as edit
|
306
|
-
distance. If edit distance is less than or equal to 1, the value is
|
307
|
-
treated as similar. In this case, ``"Groonga"`` and ``"Mroonga"`` are
|
308
|
-
treated as similar.
|
309
|
-
|
310
|
-
Basic operators
|
311
|
-
---------------
|
312
|
-
|
313
|
-
Groonga supports operators defined in ECMAScript.
|
314
|
-
|
315
|
-
Arithmetic operators
|
316
|
-
^^^^^^^^^^^^^^^^^^^^
|
317
|
-
|
318
|
-
Here are arithmetic operators.
|
319
|
-
|
320
|
-
Addition operator
|
321
|
-
"""""""""""""""""
|
322
|
-
|
323
|
-
Its syntax is ``number1 + number2``.
|
324
|
-
|
325
|
-
The operator adds ``number1`` and ``number2`` and returns the result.
|
326
|
-
|
327
|
-
Here is a simple example.
|
328
|
-
|
329
|
-
.. groonga-command
|
330
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_addition_operator.log
|
331
|
-
.. select Entries --filter 'n_likes == 10 + 5'
|
332
|
-
|
333
|
-
The expression matches records that ``n_likes`` column value is equal
|
334
|
-
to ``15`` (= ``10 + 5``).
|
335
|
-
|
336
|
-
Subtraction operator
|
337
|
-
""""""""""""""""""""
|
338
|
-
|
339
|
-
Its syntax is ``number1 - number2``.
|
340
|
-
|
341
|
-
The operator subtracts ``number2`` from ``number1`` and returns the result.
|
342
|
-
|
343
|
-
Here is a simple example.
|
344
|
-
|
345
|
-
.. groonga-command
|
346
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_subtraction_operator.log
|
347
|
-
.. select Entries --filter 'n_likes == 20 - 5'
|
348
|
-
|
349
|
-
The expression matches records that ``n_likes`` column value is equal
|
350
|
-
to ``15`` (= ``20 - 5``).
|
351
|
-
|
352
|
-
Multiplication operator
|
353
|
-
"""""""""""""""""""""""
|
354
|
-
|
355
|
-
Its syntax is ``number1 * number2``.
|
356
|
-
|
357
|
-
The operator multiplies ``number1`` and ``number2`` and returns the result.
|
358
|
-
|
359
|
-
Here is a simple example.
|
360
|
-
|
361
|
-
.. groonga-command
|
362
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_multiplication_operator.log
|
363
|
-
.. select Entries --filter 'n_likes == 3 * 5'
|
364
|
-
|
365
|
-
The expression matches records that ``n_likes`` column value is equal
|
366
|
-
to ``15`` (= ``3 * 5``).
|
367
|
-
|
368
|
-
Division operator
|
369
|
-
"""""""""""""""""
|
370
|
-
|
371
|
-
Its syntax is ``number1 / number2`` and ``number1 % number2``.
|
372
|
-
|
373
|
-
The operator divides ``number2`` by ``number1``. ``/`` returns the
|
374
|
-
quotient of result. ``%`` returns the remainder of result.
|
375
|
-
|
376
|
-
Here is simple examples.
|
377
|
-
|
378
|
-
.. groonga-command
|
379
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log
|
380
|
-
.. select Entries --filter 'n_likes == 26 / 7'
|
381
|
-
|
382
|
-
The expression matches records that ``n_likes`` column value is equal
|
383
|
-
to ``3`` (= ``26 / 7``).
|
384
|
-
|
385
|
-
.. groonga-command
|
386
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log
|
387
|
-
.. select Entries --filter 'n_likes == 26 % 7'
|
388
|
-
|
389
|
-
The expression matches records that ``n_likes`` column value is equal
|
390
|
-
to ``5`` (= ``26 % 7``).
|
391
|
-
|
392
|
-
Logical operators
|
393
|
-
^^^^^^^^^^^^^^^^^
|
394
|
-
|
395
|
-
Here are logical operators.
|
396
|
-
|
397
|
-
Logical NOT operator
|
398
|
-
""""""""""""""""""""
|
399
|
-
|
400
|
-
Its syntax is ``!condition``.
|
401
|
-
|
402
|
-
The operator inverts boolean value of ``condition``.
|
403
|
-
|
404
|
-
Here is a simple example.
|
405
|
-
|
406
|
-
.. groonga-command
|
407
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_not_operator.log
|
408
|
-
.. select Entries --filter '!(n_likes == 5)'
|
409
|
-
|
410
|
-
The expression matches records that ``n_likes`` column value is not
|
411
|
-
equal to ``5``.
|
412
|
-
|
413
|
-
Logical AND operator
|
414
|
-
""""""""""""""""""""
|
415
|
-
|
416
|
-
Its syntax is ``condition1 && condition2``.
|
417
|
-
|
418
|
-
The operator returns true if both of ``condition1`` and
|
419
|
-
``condition2`` are true, false otherwise.
|
420
|
-
|
421
|
-
Here is a simple example.
|
422
|
-
|
423
|
-
.. groonga-command
|
424
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_and_operator.log
|
425
|
-
.. select Entries --filter 'content @ "fast" && n_likes >= 10'
|
426
|
-
|
427
|
-
The expression matches records that ``content`` column value has the
|
428
|
-
word ``fast`` and ``n_likes`` column value is greater or equal to
|
429
|
-
``10``.
|
430
|
-
|
431
|
-
Logical OR operator
|
432
|
-
"""""""""""""""""""
|
433
|
-
|
434
|
-
Its syntax is ``condition1 || condition2``.
|
435
|
-
|
436
|
-
The operator returns true if either ``condition1`` or ``condition2`` is
|
437
|
-
true, false otherwise.
|
438
|
-
|
439
|
-
Here is a simple example.
|
440
|
-
|
441
|
-
.. groonga-command
|
442
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_or_operator.log
|
443
|
-
.. select Entries --filter 'n_likes == 5 || n_likes == 10'
|
444
|
-
|
445
|
-
The expression matches records that ``n_likes`` column value is equal
|
446
|
-
to ``5`` or ``10``.
|
447
|
-
|
448
|
-
Logical AND NOT operator
|
449
|
-
""""""""""""""""""""""""
|
450
|
-
|
451
|
-
Its syntax is ``condition1 &! condition2``.
|
452
|
-
|
453
|
-
The operator returns true if ``condition1`` is true but ``condition2``
|
454
|
-
is false, false otherwise. It returns difference set.
|
455
|
-
|
456
|
-
Here is a simple example.
|
457
|
-
|
458
|
-
.. groonga-command
|
459
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_but_operator.log
|
460
|
-
.. select Entries --filter 'content @ "fast" &! content @ "mroonga"'
|
461
|
-
|
462
|
-
The expression matches records that ``content`` column value has the
|
463
|
-
word ``fast`` but doesn't have the word ``mroonga``.
|
464
|
-
|
465
|
-
.. _script-syntax-bitwise-operators:
|
466
|
-
|
467
|
-
Bitwise operators
|
468
|
-
^^^^^^^^^^^^^^^^^
|
469
|
-
|
470
|
-
Here are bitwise operators.
|
471
|
-
|
472
|
-
.. _script-syntax-bitwise-not:
|
473
|
-
|
474
|
-
Bitwise NOT operator
|
475
|
-
""""""""""""""""""""
|
476
|
-
|
477
|
-
Its syntax is ``~number``.
|
478
|
-
|
479
|
-
The operator returns bitwise NOT of ``number``.
|
480
|
-
|
481
|
-
Here is a simple example.
|
482
|
-
|
483
|
-
.. groonga-command
|
484
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log
|
485
|
-
.. select Entries --filter '~n_likes == -6'
|
486
|
-
|
487
|
-
The expression matches records that ``n_likes`` column value is equal
|
488
|
-
to ``5`` because bitwise NOT of ``5`` is equal to ``-6``.
|
489
|
-
|
490
|
-
.. _script-syntax-bitwise-and:
|
491
|
-
|
492
|
-
Bitwise AND operator
|
493
|
-
""""""""""""""""""""
|
494
|
-
|
495
|
-
Its syntax is ``number1 & number2``.
|
496
|
-
|
497
|
-
The operator returns bitwise AND between ``number1`` and ``number2``.
|
498
|
-
|
499
|
-
Here is a simple example.
|
500
|
-
|
501
|
-
.. groonga-command
|
502
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log
|
503
|
-
.. select Entries --filter '(n_likes & 1) == 1'
|
504
|
-
|
505
|
-
The expression matches records that ``n_likes`` column value is even
|
506
|
-
number because bitwise AND between an even number and ``1`` is equal
|
507
|
-
to ``1`` and bitwise AND between an odd number and ``1`` is equal to
|
508
|
-
``0``.
|
509
|
-
|
510
|
-
.. _script-syntax-bitwise-or:
|
511
|
-
|
512
|
-
Bitwise OR operator
|
513
|
-
^^^^^^^^^^^^^^^^^^^
|
514
|
-
|
515
|
-
Its syntax is ``number1 | number2``.
|
516
|
-
|
517
|
-
The operator returns bitwise OR between ``number1`` and ``number2``.
|
518
|
-
|
519
|
-
Here is a simple example.
|
520
|
-
|
521
|
-
.. groonga-command
|
522
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log
|
523
|
-
.. select Entries --filter 'n_likes == (1 | 4)'
|
524
|
-
|
525
|
-
The expression matches records that ``n_likes`` column value is equal
|
526
|
-
to ``5`` (= ``1 | 4``).
|
527
|
-
|
528
|
-
.. _script-syntax-bitwise-xor:
|
529
|
-
|
530
|
-
Bitwise XOR operator
|
531
|
-
^^^^^^^^^^^^^^^^^^^^
|
532
|
-
|
533
|
-
Its syntax is ``number1 ^ number2``.
|
534
|
-
|
535
|
-
The operator returns bitwise XOR between ``number1`` and ``number2``.
|
536
|
-
|
537
|
-
Here is a simple example.
|
538
|
-
|
539
|
-
.. groonga-command
|
540
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log
|
541
|
-
.. select Entries --filter 'n_likes == (10 ^ 15)'
|
542
|
-
|
543
|
-
The expression matches records that ``n_likes`` column value is equal
|
544
|
-
to ``5`` (= ``10 ^ 15``).
|
545
|
-
|
546
|
-
.. _script-syntax-shift-operators:
|
547
|
-
|
548
|
-
Shift operators
|
549
|
-
^^^^^^^^^^^^^^^
|
550
|
-
|
551
|
-
Here are shift operators.
|
552
|
-
|
553
|
-
.. _script-syntax-shift-left:
|
554
|
-
|
555
|
-
Left shift operator
|
556
|
-
"""""""""""""""""""
|
557
|
-
|
558
|
-
Its syntax is ``number1 << number2``.
|
559
|
-
|
560
|
-
The operator performs a bitwise left shift operation on ``number1`` by
|
561
|
-
``number2``.
|
562
|
-
|
563
|
-
Here is a simple example.
|
564
|
-
|
565
|
-
.. groonga-command
|
566
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_left_shift_operator.log
|
567
|
-
.. select Entries --filter 'n_likes == (5 << 1)'
|
568
|
-
|
569
|
-
The expression matches records that ``n_likes`` column value is equal
|
570
|
-
to ``10`` (= ``5 << 1``).
|
571
|
-
|
572
|
-
.. _script-syntax-shift-signed-right:
|
573
|
-
|
574
|
-
Signed right shift operator
|
575
|
-
"""""""""""""""""""""""""""
|
576
|
-
|
577
|
-
Its syntax is ``number1 >> number2``.
|
578
|
-
|
579
|
-
The operator shifts bits of ``number1`` to right by ``number2``. The sign
|
580
|
-
of the result is the same as ``number1``.
|
581
|
-
|
582
|
-
Here is a simple example.
|
583
|
-
|
584
|
-
.. groonga-command
|
585
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log
|
586
|
-
.. select Entries --filter 'n_likes == -(-10 >> 1)'
|
587
|
-
|
588
|
-
The expression matches records that ``n_likes`` column value is equal
|
589
|
-
to ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``).
|
590
|
-
|
591
|
-
.. _script-syntax-shift-unsigned-right:
|
592
|
-
|
593
|
-
Unsigned right shift operator
|
594
|
-
"""""""""""""""""""""""""""""
|
595
|
-
|
596
|
-
Its syntax is ``number1 >>> number2``.
|
597
|
-
|
598
|
-
The operator shifts bits of ``number1`` to right by ``number2``. The
|
599
|
-
leftmost ``number2`` bits are filled by ``0``.
|
600
|
-
|
601
|
-
Here is a simple example.
|
602
|
-
|
603
|
-
.. groonga-command
|
604
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log
|
605
|
-
.. select Entries --filter 'n_likes == (2147483648 - (-10 >>> 1))'
|
606
|
-
|
607
|
-
The expression matches records that ``n_likes`` column value is equal
|
608
|
-
to ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``).
|
609
|
-
|
610
|
-
Comparison operators
|
611
|
-
^^^^^^^^^^^^^^^^^^^^
|
612
|
-
|
613
|
-
Here are comparison operators.
|
614
|
-
|
615
|
-
.. _script-syntax-equal-operator:
|
616
|
-
|
617
|
-
Equal operator
|
618
|
-
""""""""""""""
|
619
|
-
|
620
|
-
Its syntax is ``object1 == object2``.
|
621
|
-
|
622
|
-
The operator returns true if ``object1`` equals to ``object2``, false
|
623
|
-
otherwise.
|
624
|
-
|
625
|
-
Here is a simple example.
|
626
|
-
|
627
|
-
.. groonga-command
|
628
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_equal_operator.log
|
629
|
-
.. select Entries --filter 'n_likes == 5'
|
630
|
-
|
631
|
-
The expression matches records that ``n_likes`` column value is equal
|
632
|
-
to ``5``.
|
633
|
-
|
634
|
-
Not equal operator
|
635
|
-
""""""""""""""""""
|
636
|
-
|
637
|
-
Its syntax is ``object1 != object2``.
|
638
|
-
|
639
|
-
The operator returns true if ``object1`` does not equal to
|
640
|
-
``object2``, false otherwise.
|
641
|
-
|
642
|
-
Here is a simple example.
|
643
|
-
|
644
|
-
.. groonga-command
|
645
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_not_equal_operator.log
|
646
|
-
.. select Entries --filter 'n_likes != 5'
|
647
|
-
|
648
|
-
The expression matches records that ``n_likes`` column value is not
|
649
|
-
equal to ``5``.
|
650
|
-
|
651
|
-
Less than operator
|
652
|
-
""""""""""""""""""
|
653
|
-
|
654
|
-
TODO: ...
|
655
|
-
|
656
|
-
Less than or equal to operator
|
657
|
-
""""""""""""""""""""""""""""""
|
658
|
-
|
659
|
-
TODO: ...
|
660
|
-
|
661
|
-
Greater than operator
|
662
|
-
"""""""""""""""""""""
|
663
|
-
|
664
|
-
TODO: ...
|
665
|
-
|
666
|
-
Greater than or equal to operator
|
667
|
-
"""""""""""""""""""""""""""""""""
|
668
|
-
|
669
|
-
TODO: ...
|
670
|
-
|
671
|
-
Assignment operators
|
672
|
-
--------------------
|
673
|
-
|
674
|
-
|
675
|
-
Addition assignment operator
|
676
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
677
|
-
|
678
|
-
Its syntax is ``column1 += column2``.
|
679
|
-
|
680
|
-
The operator performs addition assignment operation on column1 by column2.
|
681
|
-
|
682
|
-
.. groonga-command
|
683
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_addition_assignment_operator.log
|
684
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score += n_likes'
|
685
|
-
|
686
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
687
|
-
then performs addition assignment operation such as '_score = _score + n_likes' for each records.
|
688
|
-
|
689
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
690
|
-
is 3.
|
691
|
-
|
692
|
-
So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result.
|
693
|
-
|
694
|
-
Subtraction assignment operator
|
695
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
696
|
-
|
697
|
-
Its syntax is ``column1 -= column2``.
|
698
|
-
|
699
|
-
The operator performs subtraction assignment operation on column1 by column2.
|
700
|
-
|
701
|
-
.. groonga-command
|
702
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_subtraction_assignment_operator.log
|
703
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score -= n_likes'
|
704
|
-
|
705
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
706
|
-
then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.
|
707
|
-
|
708
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
709
|
-
is 3.
|
710
|
-
|
711
|
-
So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result.
|
712
|
-
|
713
|
-
Multiplication assignment operator
|
714
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
715
|
-
|
716
|
-
Its syntax is ``column1 *= column2``.
|
717
|
-
|
718
|
-
The operator performs multiplication assignment operation on column1 by column2.
|
719
|
-
|
720
|
-
.. groonga-command
|
721
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_multiplication_assignment_operator.log
|
722
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score *= n_likes'
|
723
|
-
|
724
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
725
|
-
then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.
|
726
|
-
|
727
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
728
|
-
is 3.
|
729
|
-
|
730
|
-
So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result.
|
731
|
-
|
732
|
-
Division assignment operator
|
733
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
734
|
-
|
735
|
-
Its syntax is ``column1 /= column2``.
|
736
|
-
|
737
|
-
The operator performs division assignment operation on column1 by column2.
|
738
|
-
|
739
|
-
.. groonga-command
|
740
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_assignment_operator.log
|
741
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score /= n_likes'
|
742
|
-
|
743
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
744
|
-
then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.
|
745
|
-
|
746
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
747
|
-
is 3.
|
748
|
-
|
749
|
-
So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result.
|
750
|
-
|
751
|
-
Modulo assignment operator
|
752
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
753
|
-
|
754
|
-
Its syntax is ``column1 %= column2``.
|
755
|
-
|
756
|
-
The operator performs modulo assignment operation on column1 by column2.
|
757
|
-
|
758
|
-
.. groonga-command
|
759
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_modulo_assignment_operator.log
|
760
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score %= n_likes'
|
761
|
-
|
762
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
763
|
-
then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.
|
764
|
-
|
765
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
766
|
-
is 3.
|
767
|
-
|
768
|
-
So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result.
|
769
|
-
|
770
|
-
Bitwise left shift assignment operator
|
771
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
772
|
-
|
773
|
-
Its syntax is ``column1 <<= column2``.
|
774
|
-
|
775
|
-
The operator performs left shift assignment operation on column1 by column2.
|
776
|
-
|
777
|
-
.. groonga-command
|
778
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_left_shift_assignment_operator.log
|
779
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score <<= n_likes'
|
780
|
-
|
781
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
782
|
-
then performs subtraction assignment operation such as '_score = _score << n_likes' for each records.
|
783
|
-
|
784
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
785
|
-
is 3.
|
786
|
-
|
787
|
-
So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result.
|
788
|
-
|
789
|
-
Bitwise signed right shift assignment operator
|
790
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
791
|
-
|
792
|
-
Its syntax is ``column2 >>= column2``.
|
793
|
-
|
794
|
-
The operator performs signed right shift assignment operation on column1 by column2.
|
795
|
-
|
796
|
-
Bitwise unsigned right shift assignment operator
|
797
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
798
|
-
|
799
|
-
Its syntax is ``column1 >>>= column2``.
|
800
|
-
|
801
|
-
The operator performs unsigned right shift assignment operation on column1 by column2.
|
802
|
-
|
803
|
-
Bitwise AND assignment operator
|
804
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
805
|
-
|
806
|
-
Its syntax is ``column1 &= column2``.
|
807
|
-
|
808
|
-
The operator performs bitwise AND assignment operation on column1 by column2.
|
809
|
-
|
810
|
-
.. groonga-command
|
811
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_and_assignment_operator.log
|
812
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score &= n_likes'
|
813
|
-
|
814
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
815
|
-
then performs subtraction assignment operation such as '_score = _score & n_likes' for each records.
|
816
|
-
|
817
|
-
For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
|
818
|
-
is 10.
|
819
|
-
|
820
|
-
So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result.
|
821
|
-
|
822
|
-
.. _script-syntax-bitwise-or-assign:
|
823
|
-
|
824
|
-
Bitwise OR assignment operator
|
825
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
826
|
-
|
827
|
-
Its syntax is ``column1 |= column2``.
|
828
|
-
|
829
|
-
The operator performs bitwise OR assignment operation on column1 by column2.
|
830
|
-
|
831
|
-
.. groonga-command
|
832
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_or_assignment_operator.log
|
833
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score |= n_likes'
|
834
|
-
|
835
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
836
|
-
then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.
|
837
|
-
|
838
|
-
For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
|
839
|
-
is 10.
|
840
|
-
|
841
|
-
So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result.
|
842
|
-
|
843
|
-
Bitwise XOR assignment operator
|
844
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
845
|
-
|
846
|
-
Its syntax is ``column1 ^= column2``.
|
847
|
-
|
848
|
-
The operator performs bitwise XOR assignment operation on column1 by column2.
|
849
|
-
|
850
|
-
.. groonga-command
|
851
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_xor_assignment_operator.log
|
852
|
-
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score ^= n_likes'
|
853
|
-
|
854
|
-
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
855
|
-
then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.
|
856
|
-
|
857
|
-
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
858
|
-
is 3.
|
859
|
-
|
860
|
-
So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result.
|
861
|
-
|
862
|
-
Original operators
|
863
|
-
------------------
|
864
|
-
|
865
|
-
Script syntax adds the original binary opearators to ECMAScript
|
866
|
-
syntax. They operate search specific operations. They are starts with
|
867
|
-
``@`` or ``*``.
|
868
|
-
|
869
|
-
.. _script-syntax-match-operator:
|
870
|
-
|
871
|
-
Match operator
|
872
|
-
^^^^^^^^^^^^^^
|
873
|
-
|
874
|
-
Its syntax is ``column @ value``.
|
875
|
-
|
876
|
-
The operator searches ``value`` by inverted index of ``column``.
|
877
|
-
Normally, full text search is operated but tag search can be operated.
|
878
|
-
Because tag search is also implemented by inverted index.
|
879
|
-
|
880
|
-
:doc:`query_syntax` uses this operator by default.
|
881
|
-
|
882
|
-
Here is a simple example.
|
883
|
-
|
884
|
-
.. groonga-command
|
885
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_match_operator.log
|
886
|
-
.. select Entries --filter 'content @ "fast"' --output_columns content
|
887
|
-
|
888
|
-
The expression matches records that contain a word ``fast`` in
|
889
|
-
``content`` column value.
|
890
|
-
|
891
|
-
.. _script-syntax-prefix-search-operator:
|
892
|
-
|
893
|
-
Prefix search operator
|
894
|
-
^^^^^^^^^^^^^^^^^^^^^^
|
895
|
-
|
896
|
-
Its syntax is ``column @^ value``.
|
897
|
-
|
898
|
-
The operator does prefix search with ``value``. Prefix search searches
|
899
|
-
records that contain a word that starts with ``value``.
|
900
|
-
|
901
|
-
You can use fast prefix search against a column. The column must be
|
902
|
-
indexed and index table must be patricia trie table
|
903
|
-
(``TABLE_PAT_KEY``) or double array trie table
|
904
|
-
(``TABLE_DAT_KEY``). You can also use fast prefix search against
|
905
|
-
``_key`` pseudo column of patricia trie table or double array trie
|
906
|
-
table. You don't need to index ``_key``.
|
907
|
-
|
908
|
-
Prefix search can be used with other table types but it causes all
|
909
|
-
records scan. It's not problem for small records but it spends more
|
910
|
-
time for large records.
|
911
|
-
|
912
|
-
Here is a simple example.
|
913
|
-
|
914
|
-
.. groonga-command
|
915
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log
|
916
|
-
.. select Entries --filter '_key @^ "Goo"' --output_columns _key
|
917
|
-
|
918
|
-
The expression matches records that contain a word that starts with
|
919
|
-
``Goo`` in ``_key`` pseudo column value. ``Good-bye Senna`` and
|
920
|
-
``Good-bye Tritonn`` are matched with the expression.
|
921
|
-
|
922
|
-
.. _script-syntax-suffix-search-operator:
|
923
|
-
|
924
|
-
Suffix search operator
|
925
|
-
^^^^^^^^^^^^^^^^^^^^^^
|
926
|
-
|
927
|
-
Its syntax is ``column @$ value``.
|
928
|
-
|
929
|
-
This operator does suffix search with ``value``. Suffix search
|
930
|
-
searches records that contain a word that ends with ``value``.
|
931
|
-
|
932
|
-
You can use fast suffix search against a column. The column must be
|
933
|
-
indexed and index table must be patricia trie table
|
934
|
-
(``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You can also use fast
|
935
|
-
suffix search against ``_key`` pseudo column of patricia trie table
|
936
|
-
(``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You don't need to
|
937
|
-
index ``_key``. We recommended that you use index column based fast
|
938
|
-
suffix search instead of ``_key`` based fast suffix search. ``_key``
|
939
|
-
based fast suffix search returns automatically registered
|
940
|
-
substrings. (TODO: write document about suffix search and link to it
|
941
|
-
from here.)
|
942
|
-
|
943
|
-
.. note::
|
944
|
-
|
945
|
-
Fast suffix search can be used only for non-ASCII characters such
|
946
|
-
as hiragana in Japanese. You cannot use fast suffix search for
|
947
|
-
ASCII character.
|
948
|
-
|
949
|
-
Suffix search can be used with other table types or patricia trie
|
950
|
-
table without ``KEY_WITH_SIS`` flag but it causes all records
|
951
|
-
scan. It's not problem for small records but it spends more time for
|
952
|
-
large records.
|
953
|
-
|
954
|
-
Here is a simple example. It uses fast suffix search for hiragana in
|
955
|
-
Japanese that is one of non-ASCII characters.
|
956
|
-
|
957
|
-
.. groonga-command
|
958
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
|
959
|
-
.. table_create Titles TABLE_NO_KEY
|
960
|
-
.. column_create Titles content COLUMN_SCALAR ShortText
|
961
|
-
.. table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
962
|
-
.. column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
963
|
-
.. load --table Titles
|
964
|
-
.. [
|
965
|
-
.. {"content": "ぐるんが"},
|
966
|
-
.. {"content": "むるんが"},
|
967
|
-
.. {"content": "せな"},
|
968
|
-
.. {"content": "とりとん"}
|
969
|
-
.. ]
|
970
|
-
.. select Titles --query 'content:$んが'
|
971
|
-
|
972
|
-
The expression matches records that have value that ends with ``んが``
|
973
|
-
in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched
|
974
|
-
with the expression.
|
975
|
-
|
976
|
-
.. _script-syntax-near-search-operator:
|
977
|
-
|
978
|
-
Near search operator
|
979
|
-
^^^^^^^^^^^^^^^^^^^^
|
980
|
-
|
981
|
-
Its syntax is one of them::
|
982
|
-
|
983
|
-
column *N "word1 word2 ..."
|
984
|
-
column *N${MAX_INTERVAL} "word1 word2 ..."
|
985
|
-
|
986
|
-
Here are the examples of the second form::
|
987
|
-
|
988
|
-
column *N29 "word1 word2 ..."
|
989
|
-
column *N-1 "word1 word2 ..."
|
990
|
-
|
991
|
-
The first example means that ``29`` is used for the max interval.
|
992
|
-
|
993
|
-
The second example means that ``-1`` is used for the max interval.
|
994
|
-
``-1`` max interval means no limit.
|
995
|
-
|
996
|
-
The operator does near search with words ``word1 word2 ...``. Near
|
997
|
-
search searches records that contain the words and the words are
|
998
|
-
appeared in the specified order and the max interval.
|
999
|
-
|
1000
|
-
The max interval is ``10`` by default. The unit of the max interval is
|
1001
|
-
the number of characters in N-gram family tokenizers and the number of
|
1002
|
-
words in morphological analysis family tokenizers.
|
1003
|
-
|
1004
|
-
(TODO: Add a description about ``TokenBigram`` doesn't split ASCII
|
1005
|
-
only word into tokens. So the unit for ASCII words with
|
1006
|
-
``TokenBigram`` is the number of words even if ``TokenBigram`` is a
|
1007
|
-
N-gram family tokenizer.)
|
1008
|
-
|
1009
|
-
Note that an index column for full text search must be defined for
|
1010
|
-
``column``.
|
1011
|
-
|
1012
|
-
Here is a simple example.
|
1013
|
-
|
1014
|
-
.. groonga-command
|
1015
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_near_search_operator.log
|
1016
|
-
.. select Entries --filter 'content *N "I fast"' --output_columns content
|
1017
|
-
.. select Entries --filter 'content *N "I Really"' --output_columns content
|
1018
|
-
.. select Entries --filter 'content *N "also Really"' --output_columns content
|
1019
|
-
|
1020
|
-
The first expression matches records that contain ``I`` and ``fast``
|
1021
|
-
and the max interval of those words are in 10 words. So the record
|
1022
|
-
that its content is ``I also started to use mroonga. It's also very
|
1023
|
-
fast! ...`` is matched. The number of words between ``I`` and ``fast``
|
1024
|
-
is just 10.
|
1025
|
-
|
1026
|
-
The second expression matches records that contain ``I`` and
|
1027
|
-
``Really`` and the max interval of those words are in 10 words. So the
|
1028
|
-
record that its content is ``I also started to use mroonga. It's also
|
1029
|
-
very fast! Really fast!`` is not matched. The number of words between
|
1030
|
-
``I`` and ``Really`` is 11.
|
1031
|
-
|
1032
|
-
The third expression matches records that contain ``also`` and
|
1033
|
-
``Really`` and the max interval of those words are in 10 words. So
|
1034
|
-
the record that its content is ``I also st arted to use mroonga. It's
|
1035
|
-
also very fast! Really fast!`` is matched. The number of words between
|
1036
|
-
``also`` and ``Really`` is 10.
|
1037
|
-
|
1038
|
-
.. _script-syntax-similar-search-operator:
|
1039
|
-
|
1040
|
-
Similar search
|
1041
|
-
^^^^^^^^^^^^^^
|
1042
|
-
|
1043
|
-
Its syntax is ``column *S "document"``.
|
1044
|
-
|
1045
|
-
The operator does similar search with document ``document``. Similar
|
1046
|
-
search searches records that have similar content to
|
1047
|
-
``document``.
|
1048
|
-
|
1049
|
-
Note that an index column for full text search must be defined for
|
1050
|
-
``column``.
|
1051
|
-
|
1052
|
-
Here is a simple example.
|
1053
|
-
|
1054
|
-
.. groonga-command
|
1055
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_similar_search_operator.log
|
1056
|
-
.. select Entries --filter 'content *S "I migrated all Solr system!"' --output_columns content
|
1057
|
-
|
1058
|
-
The expression matches records that have similar content to ``I
|
1059
|
-
migrated all Solr system!``. In this case, records that have ``I
|
1060
|
-
migrated all XXX system!`` content are matched.
|
1061
|
-
|
1062
|
-
.. _script-syntax-term-extract-operator:
|
1063
|
-
|
1064
|
-
Term extract operator
|
1065
|
-
^^^^^^^^^^^^^^^^^^^^^
|
1066
|
-
|
1067
|
-
Its syntax is ``_key *T "document"``.
|
1068
|
-
|
1069
|
-
The operator extracts terms from ``document``. Terms must be
|
1070
|
-
registered as keys of the table of ``_key``.
|
1071
|
-
|
1072
|
-
Note that the table must be patricia trie (``TABLE_PAT_KEY``) or
|
1073
|
-
double array trie (``TABLE_DAT_KEY``). You can't use hash table
|
1074
|
-
(``TABLE_HASH_KEY``) and array (``TABLE_NO_KEY``) because they don't
|
1075
|
-
support longest common prefix search. Longest common prefix search is
|
1076
|
-
used to implement the operator.
|
1077
|
-
|
1078
|
-
Here is a simple example.
|
1079
|
-
|
1080
|
-
.. groonga-command
|
1081
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_term_extract_operator.log
|
1082
|
-
.. table_create Words TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
|
1083
|
-
.. load --table Words
|
1084
|
-
.. [
|
1085
|
-
.. {"_key": "groonga"},
|
1086
|
-
.. {"_key": "mroonga"},
|
1087
|
-
.. {"_key": "Senna"},
|
1088
|
-
.. {"_key": "Tritonn"}
|
1089
|
-
.. ]
|
1090
|
-
.. select Words --filter '_key *T "Groonga is the successor project to Senna."' --output_columns _key
|
1091
|
-
|
1092
|
-
The expression extrcts terms that included in document ``Groonga is
|
1093
|
-
the successor project to Senna.``. In this case, ``NormalizerAuto``
|
1094
|
-
normalizer is specified to ``Words``. So ``Groonga`` can be extracted
|
1095
|
-
even if it is loaded as ``groonga`` into ``Words``. All of extracted
|
1096
|
-
terms are also normalized.
|
1097
|
-
|
1098
|
-
.. _script-syntax-regular-expression-operator:
|
1099
|
-
|
1100
|
-
Regular expression operator
|
1101
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
1102
|
-
|
1103
|
-
.. versionadded:: 5.0.1
|
1104
|
-
|
1105
|
-
Its syntax is ``column @~ "pattern"``.
|
1106
|
-
|
1107
|
-
The operator searches records by the regular expression
|
1108
|
-
``pattern``. If a record's ``column`` value is matched to ``pattern``,
|
1109
|
-
the record is matched.
|
1110
|
-
|
1111
|
-
``pattern`` must be valid regular expression syntax. See
|
1112
|
-
:doc:`/reference/regular_expression` about regular expression syntax
|
1113
|
-
details.
|
1114
|
-
|
1115
|
-
The following example uses ``.roonga`` as pattern. It matches
|
1116
|
-
``Groonga``, ``Mroonga`` and so on.
|
1117
|
-
|
1118
|
-
.. groonga-command
|
1119
|
-
.. include:: ../../example/reference/grn_expr/script_syntax/simple_regular_expression_operator.log
|
1120
|
-
.. select Entries --filter 'content @~ ".roonga"'
|
1121
|
-
|
1122
|
-
In most cases, regular expression is evaluated sequentially. So it may
|
1123
|
-
be slow against many records.
|
1124
|
-
|
1125
|
-
In some cases, Groonga evaluates regular expression by index. It's
|
1126
|
-
very fast. See :doc:`/reference/regular_expression` for details.
|