rroonga 4.0.8-x86-mingw32 → 5.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/doc/text/news.textile +19 -0
- data/ext/groonga/rb-grn-exception.c +35 -1
- data/ext/groonga/rb-grn-normalizer.c +37 -7
- data/ext/groonga/rb-grn-table.c +106 -35
- data/ext/groonga/rb-grn.h +3 -2
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/record.rb +45 -1
- data/rroonga-build.rb +6 -5
- data/test/groonga-test-utils.rb +9 -0
- data/test/test-array.rb +11 -0
- data/test/test-exception.rb +3 -1
- data/test/test-normalizer.rb +28 -0
- data/test/test-record.rb +34 -0
- data/test/test-table-group.rb +366 -0
- data/test/test-table.rb +0 -182
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/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-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/include/groonga/groonga/command.h +79 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -74
- data/vendor/local/include/groonga/groonga/output.h +108 -0
- data/vendor/local/include/groonga/groonga/plugin.h +18 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -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 +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/command.rb +35 -0
- data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
- data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
- data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- 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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +16 -570
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -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 +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -2
- 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 +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- 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 +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
- data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
- data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/package.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +16 -570
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -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 +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -2
- 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 +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- 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 +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
- data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +85 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
- data/vendor/local/share/man/man1/groonga.1 +7192 -3297
- metadata +33 -4
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.11.1. Query syntax — Groonga
|
10
|
+
<title>7.11.1. Query syntax — Groonga v5.0.0 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '5.0.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,12 +25,12 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
28
|
+
<link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="7.11. grn_expr" href="../grn_expr.html" />
|
30
30
|
<link rel="next" title="7.11.2. Script syntax" href="script_syntax.html" />
|
31
31
|
<link rel="prev" title="7.11. grn_expr" href="../grn_expr.html" />
|
32
32
|
</head>
|
33
|
-
<body>
|
33
|
+
<body role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../grn_expr.html" title="7.11. grn_expr"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
63
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../grn_expr.html" accesskey="U">7.11. grn_expr</a> »</li>
|
66
66
|
</ul>
|
@@ -69,25 +69,25 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body">
|
72
|
+
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="query-syntax">
|
75
75
|
<h1>7.11.1. Query syntax<a class="headerlink" href="#query-syntax" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<p>Query syntax is a syntax to specify search condition for common Web
|
77
77
|
search form. It is similar to the syntax of Google's search form. For
|
78
|
-
example, <
|
79
|
-
contain both <
|
80
|
-
groogna searches records that contain either <
|
81
|
-
<p>Query syntax consists of <
|
82
|
-
<span class="pre">expression</span></
|
83
|
-
<span class="pre">expression</span></
|
84
|
-
disabled in <
|
78
|
+
example, <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></code> means that groonga searches records that
|
79
|
+
contain both <code class="docutils literal"><span class="pre">word1</span></code> and <code class="docutils literal"><span class="pre">word2</span></code>. <code class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></code> means that
|
80
|
+
groogna searches records that contain either <code class="docutils literal"><span class="pre">word1</span></code> or <code class="docutils literal"><span class="pre">word2</span></code>.</p>
|
81
|
+
<p>Query syntax consists of <code class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></code>, <code class="docutils literal"><span class="pre">combind</span>
|
82
|
+
<span class="pre">expression</span></code> and <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code>. Nomrally <code class="docutils literal"><span class="pre">assignment</span>
|
83
|
+
<span class="pre">expression</span></code> can be ignored. Because <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code> is
|
84
|
+
disabled in <code class="docutils literal"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a>. You can use
|
85
85
|
it if you use groonga as library and customize query syntax parser
|
86
86
|
options.</p>
|
87
|
-
<p><
|
88
|
-
<span class="pre">expression</span></
|
89
|
-
<
|
90
|
-
<span class="pre">expression</span></
|
87
|
+
<p><code class="docutils literal"><span class="pre">Conditinal</span> <span class="pre">expression</span></code> specifies an condition. <code class="docutils literal"><span class="pre">Combinded</span>
|
88
|
+
<span class="pre">expression</span></code> consists of one or more <code class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></code>,
|
89
|
+
<code class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></code> or <code class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></code>. <code class="docutils literal"><span class="pre">Assignment</span>
|
90
|
+
<span class="pre">expression</span></code> can assigns a column to a value.</p>
|
91
91
|
<div class="section" id="sample-data">
|
92
92
|
<h2>7.11.1.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p>Here are a schema definition and sample data to show usage.</p>
|
@@ -125,49 +125,50 @@ load --table Entries
|
|
125
125
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
126
126
|
</pre></div>
|
127
127
|
</div>
|
128
|
-
<p>There is a table, <
|
128
|
+
<p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
|
129
129
|
content and the number of likes for the entry. Title is key of
|
130
|
-
<
|
131
|
-
number of likes is value of <
|
132
|
-
<p><
|
133
|
-
using <
|
134
|
-
<
|
130
|
+
<code class="docutils literal"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal"><span class="pre">Entries.content</span></code> column. The
|
131
|
+
number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
|
132
|
+
<p><code class="docutils literal"><span class="pre">Entries._key</span></code> column and <code class="docutils literal"><span class="pre">Entries.content</span></code> column are indexed
|
133
|
+
using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal"><span class="pre">Entries._key</span></code> and
|
134
|
+
<code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
|
135
135
|
<p>OK. The schema and data for examples are ready.</p>
|
136
136
|
</div>
|
137
137
|
<div class="section" id="escape">
|
138
138
|
<h2>7.11.1.2. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h2>
|
139
139
|
<p>There are special characters in query syntax. To use a special
|
140
|
-
character as itself, it should be escaped by prepending <
|
141
|
-
example, <
|
140
|
+
character as itself, it should be escaped by prepending <code class="docutils literal"><span class="pre">\</span></code>. For
|
141
|
+
example, <code class="docutils literal"><span class="pre">"</span></code> is a special character. It is escaped as <code class="docutils literal"><span class="pre">\"</span></code>.</p>
|
142
142
|
<p>Here is a special character list:</p>
|
143
143
|
<blockquote>
|
144
144
|
<div><ul class="simple">
|
145
|
-
<li><
|
146
|
-
substitute <
|
147
|
-
in ASCII and <
|
148
|
-
<li><
|
149
|
-
<li><
|
150
|
-
<li><
|
151
|
-
<li><
|
152
|
-
<li><
|
145
|
+
<li><code class="docutils literal"><span class="pre">[space]</span></code> (escaped as <code class="docutils literal"><span class="pre">[backslash][space]</span></code>) (You should
|
146
|
+
substitute <code class="docutils literal"><span class="pre">[space]</span></code> with a white space character that is 0x20
|
147
|
+
in ASCII and <code class="docutils literal"><span class="pre">[backslash]</span></code> with <code class="docutils literal"><span class="pre">\\</span></code>.)</li>
|
148
|
+
<li><code class="docutils literal"><span class="pre">"</span></code> (escaped as <code class="docutils literal"><span class="pre">\"</span></code>)</li>
|
149
|
+
<li><code class="docutils literal"><span class="pre">'</span></code> (escaped as <code class="docutils literal"><span class="pre">\'</span></code>)</li>
|
150
|
+
<li><code class="docutils literal"><span class="pre">(</span></code> (escaped as <code class="docutils literal"><span class="pre">\(</span></code>)</li>
|
151
|
+
<li><code class="docutils literal"><span class="pre">)</span></code> (escaped as <code class="docutils literal"><span class="pre">\)</span></code>)</li>
|
152
|
+
<li><code class="docutils literal"><span class="pre">\</span></code> (escaped as <code class="docutils literal"><span class="pre">\\</span></code>)</li>
|
153
153
|
</ul>
|
154
154
|
</div></blockquote>
|
155
|
-
<p>You can use quote instead of escape special characters except <
|
155
|
+
<p>You can use quote instead of escape special characters except <code class="docutils literal"><span class="pre">\</span></code>
|
156
156
|
(backslash). You need to use backslash for escaping backslash like
|
157
|
-
<
|
158
|
-
<p>Quote syntax is <
|
159
|
-
<
|
160
|
-
<
|
161
|
-
quoted <
|
157
|
+
<code class="docutils literal"><span class="pre">\\</span></code> in quote.</p>
|
158
|
+
<p>Quote syntax is <code class="docutils literal"><span class="pre">"..."</span></code> or <code class="docutils literal"><span class="pre">'...'</span></code>. You need escape <code class="docutils literal"><span class="pre">"</span></code> as
|
159
|
+
<code class="docutils literal"><span class="pre">\"</span></code> in <code class="docutils literal"><span class="pre">"..."</span></code> quote syntax. You need escape <code class="docutils literal"><span class="pre">'</span></code> as <code class="docutils literal"><span class="pre">\'</span></code> in
|
160
|
+
<code class="docutils literal"><span class="pre">'...'</span></code> quote syntax. For example, <code class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></code> can be
|
161
|
+
quoted <code class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)"</span></code> or <code class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></code>.</p>
|
162
162
|
<div class="admonition note">
|
163
163
|
<p class="first admonition-title">Note</p>
|
164
|
-
<p class="last">There is
|
165
|
-
character is interpreted by command line shell. So if
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
164
|
+
<p class="last">There is an important point which you have to care. The <code class="docutils literal"><span class="pre">\</span></code>
|
165
|
+
(backslash) character is interpreted by command line shell. So if
|
166
|
+
you want to search <code class="docutils literal"><span class="pre">(</span></code> itself for example, you need to escape
|
167
|
+
twice (<code class="docutils literal"><span class="pre">\\(</span></code>) in command line shell. The command line shell
|
168
|
+
interprets <code class="docutils literal"><span class="pre">\\(</span></code> as <code class="docutils literal"><span class="pre">\(</span></code>, then pass such a literal to
|
169
|
+
Groonga. Groonga regards <code class="docutils literal"><span class="pre">\(</span></code> as <code class="docutils literal"><span class="pre">(</span></code>, then search <code class="docutils literal"><span class="pre">(</span></code> itself
|
170
|
+
from database. If you can't do intended search by Groonga, confirm
|
171
|
+
whether special character is escaped properly.</p>
|
171
172
|
</div>
|
172
173
|
</div>
|
173
174
|
<div class="section" id="conditional-expression">
|
@@ -175,20 +176,20 @@ special character is escaped properly.</p>
|
|
175
176
|
<p>Here is available conditional expression list.</p>
|
176
177
|
<div class="section" id="full-text-search-condition">
|
177
178
|
<span id="id2"></span><h3>7.11.1.3.1. Full text search condition<a class="headerlink" href="#full-text-search-condition" title="Permalink to this headline">¶</a></h3>
|
178
|
-
<p>Its syntax is <
|
179
|
-
<p><
|
179
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">keyword</span></code>.</p>
|
180
|
+
<p><code class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a full text search condition
|
180
181
|
against the default match columns. Match columns are full text search
|
181
182
|
target columns.</p>
|
182
183
|
<p>You should specify the default match columns for full text
|
183
|
-
search. They can be specified by <
|
184
|
+
search. They can be specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
184
185
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
185
186
|
columns, this conditional expression fails.</p>
|
186
187
|
<p>This conditional expression does full text search with
|
187
|
-
<
|
188
|
-
contains a space such as <
|
189
|
-
search conditions; <
|
188
|
+
<code class="docutils literal"><span class="pre">keyword</span></code>. <code class="docutils literal"><span class="pre">keyword</span></code> should not contain any spaces. If <code class="docutils literal"><span class="pre">keyword</span></code>
|
189
|
+
contains a space such as <code class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></code>, it means two full text
|
190
|
+
search conditions; <code class="docutils literal"><span class="pre">search</span></code> and <code class="docutils literal"><span class="pre">keyword</span></code>. If you want to
|
190
191
|
specifies a keyword that contains one or more spaces, you can use
|
191
|
-
<
|
192
|
+
<code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> that is described below.</p>
|
192
193
|
<p>Here is a simple exmaple.</p>
|
193
194
|
<p>Execution example:</p>
|
194
195
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
@@ -238,24 +239,24 @@ specifies a keyword that contains one or more spaces, you can use
|
|
238
239
|
# ]
|
239
240
|
</pre></div>
|
240
241
|
</div>
|
241
|
-
<p>The expression matches records that contain a word <
|
242
|
-
<
|
243
|
-
<p><
|
242
|
+
<p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
|
243
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
244
|
+
<p><code class="docutils literal"><span class="pre">content</span></code> column is the default match column.</p>
|
244
245
|
</div>
|
245
246
|
<div class="section" id="phrase-search-condition">
|
246
247
|
<span id="id3"></span><h3>7.11.1.3.2. Phrase search condition<a class="headerlink" href="#phrase-search-condition" title="Permalink to this headline">¶</a></h3>
|
247
|
-
<p>Its syntax is <
|
248
|
-
<p><
|
248
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></code>.</p>
|
249
|
+
<p><code class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> specifies a phrase search condition
|
249
250
|
against the default match columns.</p>
|
250
251
|
<p>You should specify the default match columns for full text
|
251
|
-
search. They can be specified by <
|
252
|
+
search. They can be specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
252
253
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
253
254
|
columns, this conditional expression fails.</p>
|
254
|
-
<p>This conditional expression does phrase search with <
|
255
|
-
<span class="pre">keyword</span></
|
256
|
-
<
|
257
|
-
adjacent. Thus, <
|
258
|
-
<
|
255
|
+
<p>This conditional expression does phrase search with <code class="docutils literal"><span class="pre">search</span>
|
256
|
+
<span class="pre">keyword</span></code>. Phrase search searches records that contain <code class="docutils literal"><span class="pre">search</span></code> and
|
257
|
+
<code class="docutils literal"><span class="pre">keyword</span></code> and those terms are appeared in the same order and
|
258
|
+
adjacent. Thus, <code class="docutils literal"><span class="pre">Put</span> <span class="pre">a</span> <span class="pre">search</span> <span class="pre">keyword</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">form</span></code> is matched but
|
259
|
+
<code class="docutils literal"><span class="pre">Search</span> <span class="pre">by</span> <span class="pre">the</span> <span class="pre">keyword</span></code> and <code class="docutils literal"><span class="pre">There</span> <span class="pre">is</span> <span class="pre">a</span> <span class="pre">keyword.</span> <span class="pre">Search</span> <span class="pre">by</span> <span class="pre">it!</span></code>
|
259
260
|
aren't matched.</p>
|
260
261
|
<p>Here is a simple exmaple.</p>
|
261
262
|
<p>Execution example:</p>
|
@@ -300,28 +301,28 @@ aren't matched.</p>
|
|
300
301
|
# ]
|
301
302
|
</pre></div>
|
302
303
|
</div>
|
303
|
-
<p>The expression matches records that contain a phrase <
|
304
|
-
<
|
305
|
-
<
|
306
|
-
<p><
|
304
|
+
<p>The expression matches records that contain a phrase <code class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></code> in
|
305
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn't matched because
|
306
|
+
<code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">started</span></code> aren't adjacent.</p>
|
307
|
+
<p><code class="docutils literal"><span class="pre">content</span></code> column is the default match column.</p>
|
307
308
|
</div>
|
308
309
|
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
309
310
|
<h3>7.11.1.3.3. Full text search condition (with explicit match column)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
310
|
-
<p>Its syntax is <
|
311
|
-
<p>It's similar to <
|
311
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:@keyword</span></code>.</p>
|
312
|
+
<p>It's similar to <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> but it doesn't require
|
312
313
|
the default match columns. You need to specify match column for the
|
313
|
-
full text search condition by <
|
314
|
-
<
|
314
|
+
full text search condition by <code class="docutils literal"><span class="pre">column:</span></code> instead of
|
315
|
+
<code class="docutils literal"><span class="pre">--match_columns</span></code> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
315
316
|
<p>This condtional expression is useful when you want to use two or more
|
316
317
|
full text search against different columns. The default match columns
|
317
|
-
specified by <
|
318
|
+
specified by <code class="docutils literal"><span class="pre">--match_columns</span></code> option can't be specified multiple
|
318
319
|
times. You need to specify the second match column by this conditional
|
319
320
|
expression.</p>
|
320
|
-
<p>The different between <
|
321
|
-
<span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></
|
322
|
-
match columns are supported or not. <
|
323
|
-
supports advanced match columns but <
|
324
|
-
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></
|
321
|
+
<p>The different between <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
322
|
+
<span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> is whether advanced
|
323
|
+
match columns are supported or not. <code class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code>
|
324
|
+
supports advanced match columns but <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
325
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> isn't supported. Advanced match columns has
|
325
326
|
the following features:</p>
|
326
327
|
<blockquote>
|
327
328
|
<div><ul class="simple">
|
@@ -330,7 +331,7 @@ the following features:</p>
|
|
330
331
|
<li>Using index column as a match column is supported.</li>
|
331
332
|
</ul>
|
332
333
|
</div></blockquote>
|
333
|
-
<p>See description of <
|
334
|
+
<p>See description of <code class="docutils literal"><span class="pre">--match_columns</span></code> option of
|
334
335
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> about them.</p>
|
335
336
|
<p>Here is a simple exmaple.</p>
|
336
337
|
<p>Execution example:</p>
|
@@ -381,23 +382,23 @@ the following features:</p>
|
|
381
382
|
# ]
|
382
383
|
</pre></div>
|
383
384
|
</div>
|
384
|
-
<p>The expression matches records that contain a word <
|
385
|
-
<
|
385
|
+
<p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
|
386
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
386
387
|
</div>
|
387
388
|
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
388
389
|
<h3>7.11.1.3.4. Phrase search condition (with explicit match column)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
389
|
-
<p>Its syntax is <
|
390
|
-
<p>It's similar to <
|
390
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></code>.</p>
|
391
|
+
<p>It's similar to <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> but it doesn't require the
|
391
392
|
default match columns. You need to specify match column for the phrase
|
392
|
-
search condition by <
|
393
|
+
search condition by <code class="docutils literal"><span class="pre">column:</span></code> instead of <code class="docutils literal"><span class="pre">--match_columns</span></code> option
|
393
394
|
of <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
394
|
-
<p>The different between <
|
395
|
-
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></
|
396
|
-
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></
|
397
|
-
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></
|
398
|
-
advanced match columns but <
|
399
|
-
<span class="pre">match</span> <span class="pre">column)</span></
|
400
|
-
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></
|
395
|
+
<p>The different between <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span>
|
396
|
+
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> is similar to between <code class="docutils literal"><span class="pre">full</span>
|
397
|
+
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
398
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code>. <code class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code> supports
|
399
|
+
advanced match columns but <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span>
|
400
|
+
<span class="pre">match</span> <span class="pre">column)</span></code> isn't supported. See description of <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span>
|
401
|
+
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></code> about advanced match columns.</p>
|
401
402
|
<p>Here is a simple exmaple.</p>
|
402
403
|
<p>Execution example:</p>
|
403
404
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'content:@"I started"'
|
@@ -441,26 +442,26 @@ advanced match columns but <tt class="docutils literal"><span class="pre">phrase
|
|
441
442
|
# ]
|
442
443
|
</pre></div>
|
443
444
|
</div>
|
444
|
-
<p>The expression matches records that contain a phrase <
|
445
|
-
<
|
446
|
-
<
|
445
|
+
<p>The expression matches records that contain a phrase <code class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></code> in
|
446
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></code> isn't matched because
|
447
|
+
<code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">started</span></code> aren't adjacent.</p>
|
447
448
|
</div>
|
448
449
|
<div class="section" id="prefix-search-condition">
|
449
450
|
<span id="id4"></span><h3>7.11.1.3.5. Prefix search condition<a class="headerlink" href="#prefix-search-condition" title="Permalink to this headline">¶</a></h3>
|
450
|
-
<p>Its syntax is <
|
451
|
-
<p>This conditional expression does prefix search with <
|
452
|
-
search searches records that contain a word that starts with <
|
451
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:^value</span></code> or <code class="docutils literal"><span class="pre">value*</span></code>.</p>
|
452
|
+
<p>This conditional expression does prefix search with <code class="docutils literal"><span class="pre">value</span></code>. Prefix
|
453
|
+
search searches records that contain a word that starts with <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
453
454
|
<p>You can use fast prefix search against a column. The column must be
|
454
455
|
indexed and index table must be patricia trie table
|
455
|
-
(<
|
456
|
-
(<
|
457
|
-
<
|
458
|
-
table. You don't need to index <
|
456
|
+
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
|
457
|
+
(<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
|
458
|
+
<code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
|
459
|
+
table. You don't need to index <code class="docutils literal"><span class="pre">_key</span></code>.</p>
|
459
460
|
<p>Prefix search can be used with other table types but it causes all
|
460
461
|
records scan. It's not problem for small records but it spends more
|
461
462
|
time for large records.</p>
|
462
|
-
<p>It doesn't require the default match columns such as <
|
463
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
463
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
464
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
464
465
|
<p>Here is a simple exmaple.</p>
|
465
466
|
<p>Execution example:</p>
|
466
467
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query '_key:^Goo'
|
@@ -511,21 +512,21 @@ time for large records.</p>
|
|
511
512
|
</pre></div>
|
512
513
|
</div>
|
513
514
|
<p>The expression matches records that contain a word that starts with
|
514
|
-
<
|
515
|
-
<
|
515
|
+
<code class="docutils literal"><span class="pre">Goo</span></code> in <code class="docutils literal"><span class="pre">_key</span></code> pseudo column value. <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></code> and
|
516
|
+
<code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
|
516
517
|
</div>
|
517
518
|
<div class="section" id="suffix-search-condition">
|
518
519
|
<span id="id5"></span><h3>7.11.1.3.6. Suffix search condition<a class="headerlink" href="#suffix-search-condition" title="Permalink to this headline">¶</a></h3>
|
519
|
-
<p>Its syntax is <
|
520
|
-
<p>This conditional expression does suffix search with <
|
521
|
-
search searches records that contain a word that ends with <
|
520
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:$value</span></code>.</p>
|
521
|
+
<p>This conditional expression does suffix search with <code class="docutils literal"><span class="pre">value</span></code>. Suffix
|
522
|
+
search searches records that contain a word that ends with <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
522
523
|
<p>You can use fast suffix search against a column. The column must be
|
523
524
|
indexed and index table must be patricia trie table
|
524
|
-
(<
|
525
|
-
suffix search against <
|
526
|
-
(<
|
527
|
-
index <
|
528
|
-
suffix search instead of <
|
525
|
+
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You can also use fast
|
526
|
+
suffix search against <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table
|
527
|
+
(<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You don't need to
|
528
|
+
index <code class="docutils literal"><span class="pre">_key</span></code>. We recommended that you use index column based fast
|
529
|
+
suffix search instead of <code class="docutils literal"><span class="pre">_key</span></code> based fast suffix search. <code class="docutils literal"><span class="pre">_key</span></code>
|
529
530
|
based fast suffix search returns automatically registered
|
530
531
|
substrings. (TODO: write document about suffix search and link to it
|
531
532
|
from here.)</p>
|
@@ -536,11 +537,11 @@ as hiragana in Japanese. You cannot use fast suffix search for
|
|
536
537
|
ASCII character.</p>
|
537
538
|
</div>
|
538
539
|
<p>Suffix search can be used with other table types or patricia trie
|
539
|
-
table without <
|
540
|
+
table without <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
|
540
541
|
scan. It's not problem for small records but it spends more time for
|
541
542
|
large records.</p>
|
542
|
-
<p>It doesn't require the default match columns such as <
|
543
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
543
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
544
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
544
545
|
<p>Here is a simple exmaple. It uses fast suffix search for hiragana in
|
545
546
|
Japanese that is one of non-ASCII characters.</p>
|
546
547
|
<p>Execution example:</p>
|
@@ -595,16 +596,16 @@ select Titles --query 'content:$んが'
|
|
595
596
|
# ]
|
596
597
|
</pre></div>
|
597
598
|
</div>
|
598
|
-
<p>The expression matches records that have value that ends with <
|
599
|
-
in <
|
599
|
+
<p>The expression matches records that have value that ends with <code class="docutils literal"><span class="pre">んが</span></code>
|
600
|
+
in <code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">ぐるんが</span></code> and <code class="docutils literal"><span class="pre">むるんが</span></code> are matched
|
600
601
|
with the expression.</p>
|
601
602
|
</div>
|
602
603
|
<div class="section" id="equal-condition">
|
603
604
|
<h3>7.11.1.3.7. Equal condition<a class="headerlink" href="#equal-condition" title="Permalink to this headline">¶</a></h3>
|
604
|
-
<p>Its syntax is <
|
605
|
-
<p>It matches records that <
|
606
|
-
<p>It doesn't require the default match columns such as <
|
607
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
605
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:value</span></code>.</p>
|
606
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is equal to <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
607
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
608
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
608
609
|
<p>Here is a simple exmaple.</p>
|
609
610
|
<p>Execution example:</p>
|
610
611
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
@@ -648,15 +649,15 @@ with the expression.</p>
|
|
648
649
|
# ]
|
649
650
|
</pre></div>
|
650
651
|
</div>
|
651
|
-
<p>The expression matches records that <
|
652
|
-
equal to <
|
652
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is
|
653
|
+
equal to <code class="docutils literal"><span class="pre">Groonga</span></code>.</p>
|
653
654
|
</div>
|
654
655
|
<div class="section" id="not-equal-condition">
|
655
656
|
<h3>7.11.1.3.8. Not equal condition<a class="headerlink" href="#not-equal-condition" title="Permalink to this headline">¶</a></h3>
|
656
|
-
<p>Its syntax is <
|
657
|
-
<p>It matches records that <
|
658
|
-
<p>It doesn't require the default match columns such as <
|
659
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
657
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:!value</span></code>.</p>
|
658
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value isn't equal to <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
659
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
660
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
660
661
|
<p>Here is a simple exmaple.</p>
|
661
662
|
<p>Execution example:</p>
|
662
663
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:!Groonga
|
@@ -718,19 +719,19 @@ equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
|
718
719
|
# ]
|
719
720
|
</pre></div>
|
720
721
|
</div>
|
721
|
-
<p>The expression matches records that <
|
722
|
-
to <
|
722
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is not equal
|
723
|
+
to <code class="docutils literal"><span class="pre">Groonga</span></code>.</p>
|
723
724
|
</div>
|
724
725
|
<div class="section" id="less-than-condition">
|
725
726
|
<h3>7.11.1.3.9. Less than condition<a class="headerlink" href="#less-than-condition" title="Permalink to this headline">¶</a></h3>
|
726
|
-
<p>Its syntax is <
|
727
|
-
<p>It matches records that <
|
728
|
-
<p>If <
|
729
|
-
value and <
|
730
|
-
type such as <
|
727
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:<value</span></code>.</p>
|
728
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is less than <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
729
|
+
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
730
|
+
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
731
|
+
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
731
732
|
compared as bit sequence.</p>
|
732
|
-
<p>It doesn't require the default match columns such as <
|
733
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
733
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
734
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
734
735
|
<p>Here is a simple exmaple.</p>
|
735
736
|
<p>Execution example:</p>
|
736
737
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<10
|
@@ -786,19 +787,19 @@ compared as bit sequence.</p>
|
|
786
787
|
# ]
|
787
788
|
</pre></div>
|
788
789
|
</div>
|
789
|
-
<p>The expression matches records that <
|
790
|
-
than <
|
790
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is less
|
791
|
+
than <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
791
792
|
</div>
|
792
793
|
<div class="section" id="greater-than-condition">
|
793
794
|
<h3>7.11.1.3.10. Greater than condition<a class="headerlink" href="#greater-than-condition" title="Permalink to this headline">¶</a></h3>
|
794
|
-
<p>Its syntax is <
|
795
|
-
<p>It matches records that <
|
796
|
-
<p>If <
|
797
|
-
value and <
|
798
|
-
type such as <
|
795
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:>value</span></code>.</p>
|
796
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is greater than <code class="docutils literal"><span class="pre">value</span></code>.</p>
|
797
|
+
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
798
|
+
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
799
|
+
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
799
800
|
compared as bit sequence.</p>
|
800
|
-
<p>It doesn't require the default match columns such as <
|
801
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
801
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
802
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
802
803
|
<p>Here is a simple exmaple.</p>
|
803
804
|
<p>Execution example:</p>
|
804
805
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>10
|
@@ -842,20 +843,20 @@ compared as bit sequence.</p>
|
|
842
843
|
# ]
|
843
844
|
</pre></div>
|
844
845
|
</div>
|
845
|
-
<p>The expression matches records that <
|
846
|
-
than <
|
846
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is greater
|
847
|
+
than <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
847
848
|
</div>
|
848
849
|
<div class="section" id="less-than-or-equal-to-condition">
|
849
850
|
<h3>7.11.1.3.11. Less than or equal to condition<a class="headerlink" href="#less-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
850
|
-
<p>Its syntax is <
|
851
|
-
<p>It matches records that <
|
852
|
-
<
|
853
|
-
<p>If <
|
854
|
-
value and <
|
855
|
-
type such as <
|
851
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:<=value</span></code>.</p>
|
852
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is less than or equal to
|
853
|
+
<code class="docutils literal"><span class="pre">value</span></code>.</p>
|
854
|
+
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
855
|
+
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
856
|
+
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
856
857
|
compared as bit sequence.</p>
|
857
|
-
<p>It doesn't require the default match columns such as <
|
858
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
858
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
859
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
859
860
|
<p>Here is a simple exmaple.</p>
|
860
861
|
<p>Execution example:</p>
|
861
862
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<=10
|
@@ -917,20 +918,20 @@ compared as bit sequence.</p>
|
|
917
918
|
# ]
|
918
919
|
</pre></div>
|
919
920
|
</div>
|
920
|
-
<p>The expression matches records that <
|
921
|
-
than or equal to <
|
921
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is less
|
922
|
+
than or equal to <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
922
923
|
</div>
|
923
924
|
<div class="section" id="greater-than-or-equal-to-condition">
|
924
925
|
<h3>7.11.1.3.12. Greater than or equal to condition<a class="headerlink" href="#greater-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
925
|
-
<p>Its syntax is <
|
926
|
-
<p>It matches records that <
|
927
|
-
<
|
928
|
-
<p>If <
|
929
|
-
value and <
|
930
|
-
type such as <
|
926
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">column:>=value</span></code>.</p>
|
927
|
+
<p>It matches records that <code class="docutils literal"><span class="pre">column</span></code> value is greater than or equal to
|
928
|
+
<code class="docutils literal"><span class="pre">value</span></code>.</p>
|
929
|
+
<p>If <code class="docutils literal"><span class="pre">column</span></code> type is numerical type such as <code class="docutils literal"><span class="pre">Int32</span></code>, <code class="docutils literal"><span class="pre">column</span></code>
|
930
|
+
value and <code class="docutils literal"><span class="pre">value</span></code> are compared as number. If <code class="docutils literal"><span class="pre">column</span></code> type is text
|
931
|
+
type such as <code class="docutils literal"><span class="pre">ShortText</span></code>, <code class="docutils literal"><span class="pre">column</span></code> value and <code class="docutils literal"><span class="pre">value</span></code> are
|
931
932
|
compared as bit sequence.</p>
|
932
|
-
<p>It doesn't require the default match columns such as <
|
933
|
-
<span class="pre">search</span> <span class="pre">condition</span></
|
933
|
+
<p>It doesn't require the default match columns such as <code class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
934
|
+
<span class="pre">search</span> <span class="pre">condition</span></code> and <code class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></code>.</p>
|
934
935
|
<p>Here is a simple exmaple.</p>
|
935
936
|
<p>Execution example:</p>
|
936
937
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>=10
|
@@ -980,8 +981,8 @@ compared as bit sequence.</p>
|
|
980
981
|
# ]
|
981
982
|
</pre></div>
|
982
983
|
</div>
|
983
|
-
<p>The expression matches records that <
|
984
|
-
greater than or equal to <
|
984
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
985
|
+
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code>.</p>
|
985
986
|
</div>
|
986
987
|
</div>
|
987
988
|
<div class="section" id="combined-expression">
|
@@ -989,10 +990,10 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span
|
|
989
990
|
<p>Here is available combined expression list.</p>
|
990
991
|
<div class="section" id="logical-or">
|
991
992
|
<h3>7.11.1.4.1. Logical OR<a class="headerlink" href="#logical-or" title="Permalink to this headline">¶</a></h3>
|
992
|
-
<p>Its syntax is <
|
993
|
-
<p><
|
993
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code>.</p>
|
994
|
+
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
994
995
|
assignment expressions.</p>
|
995
|
-
<p>If at least one of <
|
996
|
+
<p>If at least one of <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></code> is matched.</p>
|
996
997
|
<p>Here is a simple exmaple.</p>
|
997
998
|
<p>Execution example:</p>
|
998
999
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>10 OR content:@senna'
|
@@ -1042,17 +1043,17 @@ assignment expressions.</p>
|
|
1042
1043
|
# ]
|
1043
1044
|
</pre></div>
|
1044
1045
|
</div>
|
1045
|
-
<p>The expression matches records that <
|
1046
|
-
greater than <
|
1046
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1047
|
+
greater than <code class="docutils literal"><span class="pre">10</span></code> or contain a word <code class="docutils literal"><span class="pre">senna</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column
|
1047
1048
|
value.</p>
|
1048
1049
|
</div>
|
1049
1050
|
<div class="section" id="logical-and">
|
1050
1051
|
<h3>7.11.1.4.2. Logical AND<a class="headerlink" href="#logical-and" title="Permalink to this headline">¶</a></h3>
|
1051
|
-
<p>Its syntax is <
|
1052
|
-
<p><
|
1052
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> or just <code class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></code>.</p>
|
1053
|
+
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1053
1054
|
assignment expressions.</p>
|
1054
|
-
<p>If both <
|
1055
|
-
<p>You can specify <
|
1055
|
+
<p>If both <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></code> is matched.</p>
|
1056
|
+
<p>You can specify <code class="docutils literal"><span class="pre">+</span></code> the first expression such as <code class="docutils literal"><span class="pre">+a</span></code>. The <code class="docutils literal"><span class="pre">+</span></code>
|
1056
1057
|
is just ignored.</p>
|
1057
1058
|
<p>Here is a simple exmaple.</p>
|
1058
1059
|
<p>Execution example:</p>
|
@@ -1097,17 +1098,17 @@ is just ignored.</p>
|
|
1097
1098
|
# ]
|
1098
1099
|
</pre></div>
|
1099
1100
|
</div>
|
1100
|
-
<p>The expression matches records that <
|
1101
|
-
greater than or equal to <
|
1102
|
-
<
|
1101
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1102
|
+
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code> and contain a word <code class="docutils literal"><span class="pre">groonga</span></code> in
|
1103
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
1103
1104
|
</div>
|
1104
1105
|
<div class="section" id="logical-not">
|
1105
1106
|
<h3>7.11.1.4.3. Logical NOT<a class="headerlink" href="#logical-not" title="Permalink to this headline">¶</a></h3>
|
1106
|
-
<p>Its syntax is <
|
1107
|
-
<p><
|
1107
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code>.</p>
|
1108
|
+
<p><code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are conditional expressions, conbinded expressions or
|
1108
1109
|
assignment expressions.</p>
|
1109
|
-
<p>If <
|
1110
|
-
<p>You can not specify <
|
1110
|
+
<p>If <code class="docutils literal"><span class="pre">a</span></code> is matched and <code class="docutils literal"><span class="pre">b</span></code> is not matched, <code class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></code> is matched.</p>
|
1111
|
+
<p>You can not specify <code class="docutils literal"><span class="pre">-</span></code> the first expression such as <code class="docutils literal"><span class="pre">-a</span></code>. It's
|
1111
1112
|
syntax error.</p>
|
1112
1113
|
<p>Here is a simple exmaple.</p>
|
1113
1114
|
<p>Execution example:</p>
|
@@ -1152,17 +1153,17 @@ syntax error.</p>
|
|
1152
1153
|
# ]
|
1153
1154
|
</pre></div>
|
1154
1155
|
</div>
|
1155
|
-
<p>The expression matches records that <
|
1156
|
-
greater than or equal to <
|
1157
|
-
<
|
1156
|
+
<p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is
|
1157
|
+
greater than or equal to <code class="docutils literal"><span class="pre">10</span></code> and don't contain a word <code class="docutils literal"><span class="pre">groonga</span></code> in
|
1158
|
+
<code class="docutils literal"><span class="pre">content</span></code> column value.</p>
|
1158
1159
|
</div>
|
1159
1160
|
<div class="section" id="grouping">
|
1160
1161
|
<h3>7.11.1.4.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h3>
|
1161
|
-
<p>Its syntax is <
|
1162
|
-
<p><
|
1163
|
-
processed as an expression. <
|
1164
|
-
are matched or <
|
1165
|
-
one of <
|
1162
|
+
<p>Its syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. <code class="docutils literal"><span class="pre">...</span></code> is space separated expression list.</p>
|
1163
|
+
<p><code class="docutils literal"><span class="pre">(...)</span></code> groups one ore more expressions and they can be
|
1164
|
+
processed as an expression. <code class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code>
|
1165
|
+
are matched or <code class="docutils literal"><span class="pre">c</span></code> is matched. <code class="docutils literal"><span class="pre">a</span> <span class="pre">(b</span> <span class="pre">OR</span> <span class="pre">c)</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and
|
1166
|
+
one of <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code> are matched.</p>
|
1166
1167
|
<p>Here is a simple exmaple.</p>
|
1167
1168
|
<p>Execution example:</p>
|
1168
1169
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
@@ -1258,29 +1259,29 @@ select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
|
1258
1259
|
</pre></div>
|
1259
1260
|
</div>
|
1260
1261
|
<p>The first expression doesn't use grouping. It matches records that
|
1261
|
-
<
|
1262
|
-
<
|
1262
|
+
<code class="docutils literal"><span class="pre">n_likes:<5</span></code> and <code class="docutils literal"><span class="pre">content:@senna</span></code> are matched or
|
1263
|
+
<code class="docutils literal"><span class="pre">content:@fast</span></code> is matched.</p>
|
1263
1264
|
<p>The second expression uses grouping. It matches records that
|
1264
|
-
<
|
1265
|
+
<code class="docutils literal"><span class="pre">n_likes:<5</span></code> and one of <code class="docutils literal"><span class="pre">content:@senna</span></code> or <code class="docutils literal"><span class="pre">content:@fast</span></code>
|
1265
1266
|
are matched.</p>
|
1266
1267
|
</div>
|
1267
1268
|
</div>
|
1268
1269
|
<div class="section" id="assignment-expression">
|
1269
1270
|
<h2>7.11.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
|
1270
1271
|
<p>This section is for advanced users. Because assignment expression is
|
1271
|
-
disabled in <
|
1272
|
-
default. You need to specify <
|
1273
|
-
<
|
1272
|
+
disabled in <code class="docutils literal"><span class="pre">--query</span></code> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a> by
|
1273
|
+
default. You need to specify <code class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code> as
|
1274
|
+
<code class="docutils literal"><span class="pre">--query_flags</span></code> option value to enable assignment expression.</p>
|
1274
1275
|
<p>Assignment expression in query syntax has some limitations. So you
|
1275
1276
|
should use <a class="reference internal" href="script_syntax.html"><em>Script syntax</em></a> instead of query syntax for
|
1276
1277
|
assignment.</p>
|
1277
|
-
<p>There is only one syntax for assignment expression. It's <
|
1278
|
-
<p><
|
1279
|
-
string in query syntax. <
|
1278
|
+
<p>There is only one syntax for assignment expression. It's <code class="docutils literal"><span class="pre">column:=value</span></code>.</p>
|
1279
|
+
<p><code class="docutils literal"><span class="pre">value</span></code> is assigend to <code class="docutils literal"><span class="pre">column</span></code>. <code class="docutils literal"><span class="pre">value</span></code> is always processed as
|
1280
|
+
string in query syntax. <code class="docutils literal"><span class="pre">value</span></code> is casted to the type of <code class="docutils literal"><span class="pre">column</span></code>
|
1280
1281
|
automatically. It causes some limitations. For example, you cannot use
|
1281
|
-
boolean literal such as <
|
1282
|
-
column. You need to use empty string for <
|
1283
|
-
doesn't support <
|
1282
|
+
boolean literal such as <code class="docutils literal"><span class="pre">true</span></code> and <code class="docutils literal"><span class="pre">false</span></code> for <code class="docutils literal"><span class="pre">Bool</span></code> type
|
1283
|
+
column. You need to use empty string for <code class="docutils literal"><span class="pre">false</span></code> but query syntax
|
1284
|
+
doesn't support <code class="docutils literal"><span class="pre">column:=</span></code> syntax.</p>
|
1284
1285
|
<p>See <a class="reference internal" href="../cast.html"><em>Cast</em></a> about cast.</p>
|
1285
1286
|
</div>
|
1286
1287
|
</div>
|
@@ -1289,7 +1290,7 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1289
1290
|
</div>
|
1290
1291
|
</div>
|
1291
1292
|
</div>
|
1292
|
-
<div class="sphinxsidebar">
|
1293
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
1293
1294
|
<div class="sphinxsidebarwrapper">
|
1294
1295
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1295
1296
|
<ul>
|
@@ -1329,12 +1330,14 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1329
1330
|
<h4>Next topic</h4>
|
1330
1331
|
<p class="topless"><a href="script_syntax.html"
|
1331
1332
|
title="next chapter">7.11.2. Script syntax</a></p>
|
1332
|
-
<
|
1333
|
-
|
1334
|
-
<
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1333
|
+
<div role="note" aria-label="source link">
|
1334
|
+
<h3>This Page</h3>
|
1335
|
+
<ul class="this-page-menu">
|
1336
|
+
<li><a href="../../_sources/reference/grn_expr/query_syntax.txt"
|
1337
|
+
rel="nofollow">Show Source</a></li>
|
1338
|
+
</ul>
|
1339
|
+
</div>
|
1340
|
+
<div id="searchbox" style="display: none" role="search">
|
1338
1341
|
<h3>Quick search</h3>
|
1339
1342
|
<form class="search" action="../../search.html" method="get">
|
1340
1343
|
<input type="text" name="q" />
|
@@ -1351,7 +1354,7 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1351
1354
|
</div>
|
1352
1355
|
<div class="clearer"></div>
|
1353
1356
|
</div>
|
1354
|
-
<div class="related">
|
1357
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
1355
1358
|
<h3>Navigation</h3>
|
1356
1359
|
<ul>
|
1357
1360
|
<li class="right" style="margin-right: 10px">
|
@@ -1363,13 +1366,13 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1363
1366
|
<li class="right" >
|
1364
1367
|
<a href="../grn_expr.html" title="7.11. grn_expr"
|
1365
1368
|
>previous</a> |</li>
|
1366
|
-
<li><a href="../../index.html">Groonga
|
1369
|
+
<li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
|
1367
1370
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1368
1371
|
<li><a href="../grn_expr.html" >7.11. grn_expr</a> »</li>
|
1369
1372
|
</ul>
|
1370
1373
|
</div>
|
1371
|
-
<div class="footer">
|
1372
|
-
© Copyright 2009-
|
1374
|
+
<div class="footer" role="contentinfo">
|
1375
|
+
© Copyright 2009-2015, Brazil, Inc.
|
1373
1376
|
</div>
|
1374
1377
|
</body>
|
1375
1378
|
</html>
|