rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/doc/text/news.textile +17 -1
- data/ext/groonga/extconf.rb +2 -1
- data/ext/groonga/rb-grn-column.c +31 -0
- data/ext/groonga/rb-grn-database.c +33 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn.h +1 -1
- 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/geo-point.rb +2 -1
- data/rroonga-build.rb +3 -3
- data/test/test-column.rb +68 -6
- data/test/test-command-select.rb +0 -3
- data/test/test-database.rb +28 -1
- data/test/test-expression-builder.rb +1 -1
- data/test/test-geo-point.rb +15 -0
- data/test/test-variable-size-column.rb +2 -2
- 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_seh-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/libwinpthread-1.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 +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +4 -1
- data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
- data/vendor/local/include/lz4.h +21 -29
- data/vendor/local/include/lz4frame.h +252 -0
- data/vendor/local/include/lz4hc.h +14 -63
- 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/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/grndb.rb +169 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -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 +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- 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 +6 -6
- 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/contribution/documentation/introduction.txt +9 -12
- 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 +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
- 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 +10 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
- 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.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/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 +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
- 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 +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
- 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 +10 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
- 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.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/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 +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
- data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/groonga/html/admin/index.html +1 -1
- data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
- data/vendor/local/share/license/mruby/AUTHORS +11 -0
- data/vendor/local/share/license/mruby/README.md +32 -20
- data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
- data/vendor/local/share/man/man1/groonga.1 +930 -239
- metadata +104 -81
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -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 v4.0.8 documentation</title>
|
10
|
+
<title>7.11.1. Query syntax — Groonga v4.0.8-168-gae696d7 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: '4.0.8',
|
18
|
+
VERSION: '4.0.8-168-gae696d7',
|
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 v4.0.8 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.8-168-gae696d7 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>
|
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">
|
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 v4.0.8 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 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">
|
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, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means that groonga searches records that
|
79
|
+
contain both <tt class="docutils literal"><span class="pre">word1</span></tt> and <tt class="docutils literal"><span class="pre">word2</span></tt>. <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></tt> means that
|
80
|
+
groogna searches records that contain either <tt class="docutils literal"><span class="pre">word1</span></tt> or <tt class="docutils literal"><span class="pre">word2</span></tt>.</p>
|
81
|
+
<p>Query syntax consists of <tt class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></tt>, <tt class="docutils literal"><span class="pre">combind</span>
|
82
|
+
<span class="pre">expression</span></tt> and <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. Nomrally <tt class="docutils literal"><span class="pre">assignment</span>
|
83
|
+
<span class="pre">expression</span></tt> can be ignored. Because <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt> is
|
84
|
+
disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> 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><tt class="docutils literal"><span class="pre">Conditinal</span> <span class="pre">expression</span></tt> specifies an condition. <tt class="docutils literal"><span class="pre">Combinded</span>
|
88
|
+
<span class="pre">expression</span></tt> consists of one or more <tt class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></tt>,
|
89
|
+
<tt class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></tt> or <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. <tt class="docutils literal"><span class="pre">Assignment</span>
|
90
|
+
<span class="pre">expression</span></tt> 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,40 +125,40 @@ 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, <tt class="docutils literal"><span class="pre">Entries</span></tt>, 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
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
|
131
|
+
number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
|
132
|
+
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
|
133
|
+
using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
|
134
|
+
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> 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 <tt class="docutils literal"><span class="pre">\</span></tt>. For
|
141
|
+
example, <tt class="docutils literal"><span class="pre">"</span></tt> is a special character. It is escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>.</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><tt class="docutils literal"><span class="pre">[space]</span></tt> (escaped as <tt class="docutils literal"><span class="pre">[backslash][space]</span></tt>) (You should
|
146
|
+
substitute <tt class="docutils literal"><span class="pre">[space]</span></tt> with a white space character that is 0x20
|
147
|
+
in ASCII and <tt class="docutils literal"><span class="pre">[backslash]</span></tt> with <tt class="docutils literal"><span class="pre">\\</span></tt>.)</li>
|
148
|
+
<li><tt class="docutils literal"><span class="pre">"</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>)</li>
|
149
|
+
<li><tt class="docutils literal"><span class="pre">'</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\'</span></tt>)</li>
|
150
|
+
<li><tt class="docutils literal"><span class="pre">(</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\(</span></tt>)</li>
|
151
|
+
<li><tt class="docutils literal"><span class="pre">)</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\)</span></tt>)</li>
|
152
|
+
<li><tt class="docutils literal"><span class="pre">\</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\\</span></tt>)</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 <tt class="docutils literal"><span class="pre">\</span></tt>
|
156
156
|
(backslash). You need to use backslash for escaping backslash like
|
157
|
-
<
|
158
|
-
<p>Quote syntax is <
|
159
|
-
<
|
160
|
-
<
|
161
|
-
quoted <
|
157
|
+
<tt class="docutils literal"><span class="pre">\\</span></tt> in quote.</p>
|
158
|
+
<p>Quote syntax is <tt class="docutils literal"><span class="pre">"..."</span></tt> or <tt class="docutils literal"><span class="pre">'...'</span></tt>. You need escape <tt class="docutils literal"><span class="pre">"</span></tt> as
|
159
|
+
<tt class="docutils literal"><span class="pre">\"</span></tt> in <tt class="docutils literal"><span class="pre">"..."</span></tt> quote syntax. You need escape <tt class="docutils literal"><span class="pre">'</span></tt> as <tt class="docutils literal"><span class="pre">\'</span></tt> in
|
160
|
+
<tt class="docutils literal"><span class="pre">'...'</span></tt> quote syntax. For example, <tt class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> can be
|
161
|
+
quoted <tt class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)"</span></tt> or <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt>.</p>
|
162
162
|
<div class="admonition note">
|
163
163
|
<p class="first admonition-title">Note</p>
|
164
164
|
<p class="last">There is a important point which you have to care. The ''\'' (backslash)
|
@@ -175,20 +175,20 @@ special character is escaped properly.</p>
|
|
175
175
|
<p>Here is available conditional expression list.</p>
|
176
176
|
<div class="section" id="full-text-search-condition">
|
177
177
|
<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><
|
178
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">keyword</span></tt>.</p>
|
179
|
+
<p><tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a full text search condition
|
180
180
|
against the default match columns. Match columns are full text search
|
181
181
|
target columns.</p>
|
182
182
|
<p>You should specify the default match columns for full text
|
183
|
-
search. They can be specified by <
|
183
|
+
search. They can be specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
184
184
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
185
185
|
columns, this conditional expression fails.</p>
|
186
186
|
<p>This conditional expression does full text search with
|
187
|
-
<
|
188
|
-
contains a space such as <
|
189
|
-
search conditions; <
|
187
|
+
<tt class="docutils literal"><span class="pre">keyword</span></tt>. <tt class="docutils literal"><span class="pre">keyword</span></tt> should not contain any spaces. If <tt class="docutils literal"><span class="pre">keyword</span></tt>
|
188
|
+
contains a space such as <tt class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></tt>, it means two full text
|
189
|
+
search conditions; <tt class="docutils literal"><span class="pre">search</span></tt> and <tt class="docutils literal"><span class="pre">keyword</span></tt>. If you want to
|
190
190
|
specifies a keyword that contains one or more spaces, you can use
|
191
|
-
<
|
191
|
+
<tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> that is described below.</p>
|
192
192
|
<p>Here is a simple exmaple.</p>
|
193
193
|
<p>Execution example:</p>
|
194
194
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
@@ -238,24 +238,24 @@ specifies a keyword that contains one or more spaces, you can use
|
|
238
238
|
# ]
|
239
239
|
</pre></div>
|
240
240
|
</div>
|
241
|
-
<p>The expression matches records that contain a word <
|
242
|
-
<
|
243
|
-
<p><
|
241
|
+
<p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
|
242
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
243
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
244
244
|
</div>
|
245
245
|
<div class="section" id="phrase-search-condition">
|
246
246
|
<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><
|
247
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></tt>.</p>
|
248
|
+
<p><tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a phrase search condition
|
249
249
|
against the default match columns.</p>
|
250
250
|
<p>You should specify the default match columns for full text
|
251
|
-
search. They can be specified by <
|
251
|
+
search. They can be specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
252
252
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
253
253
|
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
|
-
<
|
254
|
+
<p>This conditional expression does phrase search with <tt class="docutils literal"><span class="pre">search</span>
|
255
|
+
<span class="pre">keyword</span></tt>. Phrase search searches records that contain <tt class="docutils literal"><span class="pre">search</span></tt> and
|
256
|
+
<tt class="docutils literal"><span class="pre">keyword</span></tt> and those terms are appeared in the same order and
|
257
|
+
adjacent. Thus, <tt 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></tt> is matched but
|
258
|
+
<tt class="docutils literal"><span class="pre">Search</span> <span class="pre">by</span> <span class="pre">the</span> <span class="pre">keyword</span></tt> and <tt 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></tt>
|
259
259
|
aren't matched.</p>
|
260
260
|
<p>Here is a simple exmaple.</p>
|
261
261
|
<p>Execution example:</p>
|
@@ -300,28 +300,28 @@ aren't matched.</p>
|
|
300
300
|
# ]
|
301
301
|
</pre></div>
|
302
302
|
</div>
|
303
|
-
<p>The expression matches records that contain a phrase <
|
304
|
-
<
|
305
|
-
<
|
306
|
-
<p><
|
303
|
+
<p>The expression matches records that contain a phrase <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> in
|
304
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> isn't matched because
|
305
|
+
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
|
306
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
307
307
|
</div>
|
308
308
|
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
309
309
|
<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 <
|
310
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@keyword</span></tt>.</p>
|
311
|
+
<p>It's similar to <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require
|
312
312
|
the default match columns. You need to specify match column for the
|
313
|
-
full text search condition by <
|
314
|
-
<
|
313
|
+
full text search condition by <tt class="docutils literal"><span class="pre">column:</span></tt> instead of
|
314
|
+
<tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
315
315
|
<p>This condtional expression is useful when you want to use two or more
|
316
316
|
full text search against different columns. The default match columns
|
317
|
-
specified by <
|
317
|
+
specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option can't be specified multiple
|
318
318
|
times. You need to specify the second match column by this conditional
|
319
319
|
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></
|
320
|
+
<p>The different between <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
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></tt> is whether advanced
|
322
|
+
match columns are supported or not. <tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt>
|
323
|
+
supports advanced match columns but <tt 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>
|
324
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt> isn't supported. Advanced match columns has
|
325
325
|
the following features:</p>
|
326
326
|
<blockquote>
|
327
327
|
<div><ul class="simple">
|
@@ -330,7 +330,7 @@ the following features:</p>
|
|
330
330
|
<li>Using index column as a match column is supported.</li>
|
331
331
|
</ul>
|
332
332
|
</div></blockquote>
|
333
|
-
<p>See description of <
|
333
|
+
<p>See description of <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
334
334
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> about them.</p>
|
335
335
|
<p>Here is a simple exmaple.</p>
|
336
336
|
<p>Execution example:</p>
|
@@ -381,23 +381,23 @@ the following features:</p>
|
|
381
381
|
# ]
|
382
382
|
</pre></div>
|
383
383
|
</div>
|
384
|
-
<p>The expression matches records that contain a word <
|
385
|
-
<
|
384
|
+
<p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
|
385
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
386
386
|
</div>
|
387
387
|
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
388
388
|
<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 <
|
389
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></tt>.</p>
|
390
|
+
<p>It's similar to <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require the
|
391
391
|
default match columns. You need to specify match column for the phrase
|
392
|
-
search condition by <
|
392
|
+
search condition by <tt class="docutils literal"><span class="pre">column:</span></tt> instead of <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option
|
393
393
|
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></
|
394
|
+
<p>The different between <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span>
|
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></tt> is similar to between <tt class="docutils literal"><span class="pre">full</span>
|
396
|
+
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt 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>
|
397
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt>. <tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> supports
|
398
|
+
advanced match columns but <tt 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>
|
399
|
+
<span class="pre">match</span> <span class="pre">column)</span></tt> isn't supported. See description of <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</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></tt> about advanced match columns.</p>
|
401
401
|
<p>Here is a simple exmaple.</p>
|
402
402
|
<p>Execution example:</p>
|
403
403
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'content:@"I started"'
|
@@ -441,26 +441,26 @@ advanced match columns but <code class="docutils literal"><span class="pre">phra
|
|
441
441
|
# ]
|
442
442
|
</pre></div>
|
443
443
|
</div>
|
444
|
-
<p>The expression matches records that contain a phrase <
|
445
|
-
<
|
446
|
-
<
|
444
|
+
<p>The expression matches records that contain a phrase <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> in
|
445
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> isn't matched because
|
446
|
+
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
|
447
447
|
</div>
|
448
448
|
<div class="section" id="prefix-search-condition">
|
449
449
|
<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 <
|
450
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:^value</span></tt> or <tt class="docutils literal"><span class="pre">value*</span></tt>.</p>
|
451
|
+
<p>This conditional expression does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix
|
452
|
+
search searches records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
453
453
|
<p>You can use fast prefix search against a column. The column must be
|
454
454
|
indexed and index table must be patricia trie table
|
455
|
-
(<
|
456
|
-
(<
|
457
|
-
<
|
458
|
-
table. You don't need to index <
|
455
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or double array trie table
|
456
|
+
(<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can also use fast prefix search against
|
457
|
+
<tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table or double array trie
|
458
|
+
table. You don't need to index <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
459
459
|
<p>Prefix search can be used with other table types but it causes all
|
460
460
|
records scan. It's not problem for small records but it spends more
|
461
461
|
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></
|
462
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
463
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
464
464
|
<p>Here is a simple exmaple.</p>
|
465
465
|
<p>Execution example:</p>
|
466
466
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query '_key:^Goo'
|
@@ -511,21 +511,21 @@ time for large records.</p>
|
|
511
511
|
</pre></div>
|
512
512
|
</div>
|
513
513
|
<p>The expression matches records that contain a word that starts with
|
514
|
-
<
|
515
|
-
<
|
514
|
+
<tt class="docutils literal"><span class="pre">Goo</span></tt> in <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column value. <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></tt> and
|
515
|
+
<tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
|
516
516
|
</div>
|
517
517
|
<div class="section" id="suffix-search-condition">
|
518
518
|
<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 <
|
519
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:$value</span></tt>.</p>
|
520
|
+
<p>This conditional expression does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix
|
521
|
+
search searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
522
522
|
<p>You can use fast suffix search against a column. The column must be
|
523
523
|
indexed and index table must be patricia trie table
|
524
|
-
(<
|
525
|
-
suffix search against <
|
526
|
-
(<
|
527
|
-
index <
|
528
|
-
suffix search instead of <
|
524
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You can also use fast
|
525
|
+
suffix search against <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table
|
526
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You don't need to
|
527
|
+
index <tt class="docutils literal"><span class="pre">_key</span></tt>. We recommended that you use index column based fast
|
528
|
+
suffix search instead of <tt class="docutils literal"><span class="pre">_key</span></tt> based fast suffix search. <tt class="docutils literal"><span class="pre">_key</span></tt>
|
529
529
|
based fast suffix search returns automatically registered
|
530
530
|
substrings. (TODO: write document about suffix search and link to it
|
531
531
|
from here.)</p>
|
@@ -536,11 +536,11 @@ as hiragana in Japanese. You cannot use fast suffix search for
|
|
536
536
|
ASCII character.</p>
|
537
537
|
</div>
|
538
538
|
<p>Suffix search can be used with other table types or patricia trie
|
539
|
-
table without <
|
539
|
+
table without <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag but it causes all records
|
540
540
|
scan. It's not problem for small records but it spends more time for
|
541
541
|
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></
|
542
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
543
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
544
544
|
<p>Here is a simple exmaple. It uses fast suffix search for hiragana in
|
545
545
|
Japanese that is one of non-ASCII characters.</p>
|
546
546
|
<p>Execution example:</p>
|
@@ -595,16 +595,16 @@ select Titles --query 'content:$んが'
|
|
595
595
|
# ]
|
596
596
|
</pre></div>
|
597
597
|
</div>
|
598
|
-
<p>The expression matches records that have value that ends with <
|
599
|
-
in <
|
598
|
+
<p>The expression matches records that have value that ends with <tt class="docutils literal"><span class="pre">んが</span></tt>
|
599
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">ぐるんが</span></tt> and <tt class="docutils literal"><span class="pre">むるんが</span></tt> are matched
|
600
600
|
with the expression.</p>
|
601
601
|
</div>
|
602
602
|
<div class="section" id="equal-condition">
|
603
603
|
<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></
|
604
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:value</span></tt>.</p>
|
605
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
606
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
607
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
608
608
|
<p>Here is a simple exmaple.</p>
|
609
609
|
<p>Execution example:</p>
|
610
610
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
@@ -648,15 +648,15 @@ with the expression.</p>
|
|
648
648
|
# ]
|
649
649
|
</pre></div>
|
650
650
|
</div>
|
651
|
-
<p>The expression matches records that <
|
652
|
-
equal to <
|
651
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
|
652
|
+
equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
653
653
|
</div>
|
654
654
|
<div class="section" id="not-equal-condition">
|
655
655
|
<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></
|
656
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:!value</span></tt>.</p>
|
657
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value isn't equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
658
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
659
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
660
660
|
<p>Here is a simple exmaple.</p>
|
661
661
|
<p>Execution example:</p>
|
662
662
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:!Groonga
|
@@ -718,19 +718,19 @@ equal to <code class="docutils literal"><span class="pre">Groonga</span></code>.
|
|
718
718
|
# ]
|
719
719
|
</pre></div>
|
720
720
|
</div>
|
721
|
-
<p>The expression matches records that <
|
722
|
-
to <
|
721
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is not equal
|
722
|
+
to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
723
723
|
</div>
|
724
724
|
<div class="section" id="less-than-condition">
|
725
725
|
<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 <
|
726
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<value</span></tt>.</p>
|
727
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
728
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
729
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
730
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
731
731
|
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></
|
732
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
733
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
734
734
|
<p>Here is a simple exmaple.</p>
|
735
735
|
<p>Execution example:</p>
|
736
736
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<10
|
@@ -786,19 +786,19 @@ compared as bit sequence.</p>
|
|
786
786
|
# ]
|
787
787
|
</pre></div>
|
788
788
|
</div>
|
789
|
-
<p>The expression matches records that <
|
790
|
-
than <
|
789
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is less
|
790
|
+
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
791
791
|
</div>
|
792
792
|
<div class="section" id="greater-than-condition">
|
793
793
|
<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 <
|
794
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>value</span></tt>.</p>
|
795
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
796
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
797
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
798
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
799
799
|
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></
|
800
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
801
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
802
802
|
<p>Here is a simple exmaple.</p>
|
803
803
|
<p>Execution example:</p>
|
804
804
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>10
|
@@ -842,20 +842,20 @@ compared as bit sequence.</p>
|
|
842
842
|
# ]
|
843
843
|
</pre></div>
|
844
844
|
</div>
|
845
|
-
<p>The expression matches records that <
|
846
|
-
than <
|
845
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is greater
|
846
|
+
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
847
847
|
</div>
|
848
848
|
<div class="section" id="less-than-or-equal-to-condition">
|
849
849
|
<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 <
|
850
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<=value</span></tt>.</p>
|
851
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than or equal to
|
852
|
+
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
853
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
854
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
855
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
856
856
|
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></
|
857
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
858
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
859
859
|
<p>Here is a simple exmaple.</p>
|
860
860
|
<p>Execution example:</p>
|
861
861
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<=10
|
@@ -917,20 +917,20 @@ compared as bit sequence.</p>
|
|
917
917
|
# ]
|
918
918
|
</pre></div>
|
919
919
|
</div>
|
920
|
-
<p>The expression matches records that <
|
921
|
-
than or equal to <
|
920
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is less
|
921
|
+
than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
922
922
|
</div>
|
923
923
|
<div class="section" id="greater-than-or-equal-to-condition">
|
924
924
|
<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 <
|
925
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>=value</span></tt>.</p>
|
926
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than or equal to
|
927
|
+
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
928
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
929
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
930
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
931
931
|
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></
|
932
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
933
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
934
934
|
<p>Here is a simple exmaple.</p>
|
935
935
|
<p>Execution example:</p>
|
936
936
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>=10
|
@@ -980,8 +980,8 @@ compared as bit sequence.</p>
|
|
980
980
|
# ]
|
981
981
|
</pre></div>
|
982
982
|
</div>
|
983
|
-
<p>The expression matches records that <
|
984
|
-
greater than or equal to <
|
983
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
984
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
985
985
|
</div>
|
986
986
|
</div>
|
987
987
|
<div class="section" id="combined-expression">
|
@@ -989,10 +989,10 @@ greater than or equal to <code class="docutils literal"><span class="pre">10</sp
|
|
989
989
|
<p>Here is available combined expression list.</p>
|
990
990
|
<div class="section" id="logical-or">
|
991
991
|
<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><
|
992
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt>.</p>
|
993
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
994
994
|
assignment expressions.</p>
|
995
|
-
<p>If at least one of <
|
995
|
+
<p>If at least one of <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt> is matched.</p>
|
996
996
|
<p>Here is a simple exmaple.</p>
|
997
997
|
<p>Execution example:</p>
|
998
998
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>10 OR content:@senna'
|
@@ -1042,17 +1042,17 @@ assignment expressions.</p>
|
|
1042
1042
|
# ]
|
1043
1043
|
</pre></div>
|
1044
1044
|
</div>
|
1045
|
-
<p>The expression matches records that <
|
1046
|
-
greater than <
|
1045
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1046
|
+
greater than <tt class="docutils literal"><span class="pre">10</span></tt> or contain a word <tt class="docutils literal"><span class="pre">senna</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column
|
1047
1047
|
value.</p>
|
1048
1048
|
</div>
|
1049
1049
|
<div class="section" id="logical-and">
|
1050
1050
|
<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><
|
1051
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> or just <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></tt>.</p>
|
1052
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1053
1053
|
assignment expressions.</p>
|
1054
|
-
<p>If both <
|
1055
|
-
<p>You can specify <
|
1054
|
+
<p>If both <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> is matched.</p>
|
1055
|
+
<p>You can specify <tt class="docutils literal"><span class="pre">+</span></tt> the first expression such as <tt class="docutils literal"><span class="pre">+a</span></tt>. The <tt class="docutils literal"><span class="pre">+</span></tt>
|
1056
1056
|
is just ignored.</p>
|
1057
1057
|
<p>Here is a simple exmaple.</p>
|
1058
1058
|
<p>Execution example:</p>
|
@@ -1097,17 +1097,17 @@ is just ignored.</p>
|
|
1097
1097
|
# ]
|
1098
1098
|
</pre></div>
|
1099
1099
|
</div>
|
1100
|
-
<p>The expression matches records that <
|
1101
|
-
greater than or equal to <
|
1102
|
-
<
|
1100
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1101
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt> and contain a word <tt class="docutils literal"><span class="pre">groonga</span></tt> in
|
1102
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1103
1103
|
</div>
|
1104
1104
|
<div class="section" id="logical-not">
|
1105
1105
|
<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><
|
1106
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt>.</p>
|
1107
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1108
1108
|
assignment expressions.</p>
|
1109
|
-
<p>If <
|
1110
|
-
<p>You can not specify <
|
1109
|
+
<p>If <tt class="docutils literal"><span class="pre">a</span></tt> is matched and <tt class="docutils literal"><span class="pre">b</span></tt> is not matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt> is matched.</p>
|
1110
|
+
<p>You can not specify <tt class="docutils literal"><span class="pre">-</span></tt> the first expression such as <tt class="docutils literal"><span class="pre">-a</span></tt>. It's
|
1111
1111
|
syntax error.</p>
|
1112
1112
|
<p>Here is a simple exmaple.</p>
|
1113
1113
|
<p>Execution example:</p>
|
@@ -1152,17 +1152,17 @@ syntax error.</p>
|
|
1152
1152
|
# ]
|
1153
1153
|
</pre></div>
|
1154
1154
|
</div>
|
1155
|
-
<p>The expression matches records that <
|
1156
|
-
greater than or equal to <
|
1157
|
-
<
|
1155
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1156
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt> and don't contain a word <tt class="docutils literal"><span class="pre">groonga</span></tt> in
|
1157
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1158
1158
|
</div>
|
1159
1159
|
<div class="section" id="grouping">
|
1160
1160
|
<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 <
|
1161
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is space separated expression list.</p>
|
1162
|
+
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be
|
1163
|
+
processed as an expression. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt>
|
1164
|
+
are matched or <tt class="docutils literal"><span class="pre">c</span></tt> is matched. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">(b</span> <span class="pre">OR</span> <span class="pre">c)</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and
|
1165
|
+
one of <tt class="docutils literal"><span class="pre">b</span></tt> and <tt class="docutils literal"><span class="pre">c</span></tt> are matched.</p>
|
1166
1166
|
<p>Here is a simple exmaple.</p>
|
1167
1167
|
<p>Execution example:</p>
|
1168
1168
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
@@ -1258,29 +1258,29 @@ select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
|
1258
1258
|
</pre></div>
|
1259
1259
|
</div>
|
1260
1260
|
<p>The first expression doesn't use grouping. It matches records that
|
1261
|
-
<
|
1262
|
-
<
|
1261
|
+
<tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> and <tt class="docutils literal"><span class="pre">content:@senna</span></tt> are matched or
|
1262
|
+
<tt class="docutils literal"><span class="pre">content:@fast</span></tt> is matched.</p>
|
1263
1263
|
<p>The second expression uses grouping. It matches records that
|
1264
|
-
<
|
1264
|
+
<tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> and one of <tt class="docutils literal"><span class="pre">content:@senna</span></tt> or <tt class="docutils literal"><span class="pre">content:@fast</span></tt>
|
1265
1265
|
are matched.</p>
|
1266
1266
|
</div>
|
1267
1267
|
</div>
|
1268
1268
|
<div class="section" id="assignment-expression">
|
1269
1269
|
<h2>7.11.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
|
1270
1270
|
<p>This section is for advanced users. Because assignment expression is
|
1271
|
-
disabled in <
|
1272
|
-
default. You need to specify <
|
1273
|
-
<
|
1271
|
+
disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a> by
|
1272
|
+
default. You need to specify <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as
|
1273
|
+
<tt class="docutils literal"><span class="pre">--query_flags</span></tt> option value to enable assignment expression.</p>
|
1274
1274
|
<p>Assignment expression in query syntax has some limitations. So you
|
1275
1275
|
should use <a class="reference internal" href="script_syntax.html"><em>Script syntax</em></a> instead of query syntax for
|
1276
1276
|
assignment.</p>
|
1277
|
-
<p>There is only one syntax for assignment expression. It's <
|
1278
|
-
<p><
|
1279
|
-
string in query syntax. <
|
1277
|
+
<p>There is only one syntax for assignment expression. It's <tt class="docutils literal"><span class="pre">column:=value</span></tt>.</p>
|
1278
|
+
<p><tt class="docutils literal"><span class="pre">value</span></tt> is assigend to <tt class="docutils literal"><span class="pre">column</span></tt>. <tt class="docutils literal"><span class="pre">value</span></tt> is always processed as
|
1279
|
+
string in query syntax. <tt class="docutils literal"><span class="pre">value</span></tt> is casted to the type of <tt class="docutils literal"><span class="pre">column</span></tt>
|
1280
1280
|
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 <
|
1281
|
+
boolean literal such as <tt class="docutils literal"><span class="pre">true</span></tt> and <tt class="docutils literal"><span class="pre">false</span></tt> for <tt class="docutils literal"><span class="pre">Bool</span></tt> type
|
1282
|
+
column. You need to use empty string for <tt class="docutils literal"><span class="pre">false</span></tt> but query syntax
|
1283
|
+
doesn't support <tt class="docutils literal"><span class="pre">column:=</span></tt> syntax.</p>
|
1284
1284
|
<p>See <a class="reference internal" href="../cast.html"><em>Cast</em></a> about cast.</p>
|
1285
1285
|
</div>
|
1286
1286
|
</div>
|
@@ -1289,7 +1289,7 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1289
1289
|
</div>
|
1290
1290
|
</div>
|
1291
1291
|
</div>
|
1292
|
-
<div class="sphinxsidebar"
|
1292
|
+
<div class="sphinxsidebar">
|
1293
1293
|
<div class="sphinxsidebarwrapper">
|
1294
1294
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1295
1295
|
<ul>
|
@@ -1329,14 +1329,12 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1329
1329
|
<h4>Next topic</h4>
|
1330
1330
|
<p class="topless"><a href="script_syntax.html"
|
1331
1331
|
title="next chapter">7.11.2. Script syntax</a></p>
|
1332
|
-
<
|
1333
|
-
|
1334
|
-
<
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
</div>
|
1339
|
-
<div id="searchbox" style="display: none" role="search">
|
1332
|
+
<h3>This Page</h3>
|
1333
|
+
<ul class="this-page-menu">
|
1334
|
+
<li><a href="../../_sources/reference/grn_expr/query_syntax.txt"
|
1335
|
+
rel="nofollow">Show Source</a></li>
|
1336
|
+
</ul>
|
1337
|
+
<div id="searchbox" style="display: none">
|
1340
1338
|
<h3>Quick search</h3>
|
1341
1339
|
<form class="search" action="../../search.html" method="get">
|
1342
1340
|
<input type="text" name="q" />
|
@@ -1353,7 +1351,7 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1353
1351
|
</div>
|
1354
1352
|
<div class="clearer"></div>
|
1355
1353
|
</div>
|
1356
|
-
<div class="related"
|
1354
|
+
<div class="related">
|
1357
1355
|
<h3>Navigation</h3>
|
1358
1356
|
<ul>
|
1359
1357
|
<li class="right" style="margin-right: 10px">
|
@@ -1365,12 +1363,12 @@ doesn't support <code class="docutils literal"><span class="pre">column:=</span>
|
|
1365
1363
|
<li class="right" >
|
1366
1364
|
<a href="../grn_expr.html" title="7.11. grn_expr"
|
1367
1365
|
>previous</a> |</li>
|
1368
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
1366
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
1369
1367
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
1370
1368
|
<li><a href="../grn_expr.html" >7.11. grn_expr</a> »</li>
|
1371
1369
|
</ul>
|
1372
1370
|
</div>
|
1373
|
-
<div class="footer"
|
1371
|
+
<div class="footer">
|
1374
1372
|
© Copyright 2009-2014, Brazil, Inc.
|
1375
1373
|
</div>
|
1376
1374
|
</body>
|