rroonga 4.0.6-x86-mingw32 → 4.0.7-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +1 -1
 - data/doc/text/news.textile +14 -2
 - data/ext/groonga/extconf.rb +0 -3
 - data/ext/groonga/rb-grn-expression.c +1 -6
 - data/ext/groonga/rb-grn-index-column.c +96 -0
 - data/ext/groonga/rb-grn-index-cursor.c +32 -8
 - data/ext/groonga/rb-grn-posting.c +26 -6
 - data/ext/groonga/rb-grn-utils.c +27 -0
 - data/ext/groonga/rb-grn.h +4 -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/rroonga-build.rb +3 -3
 - data/test/test-column.rb +50 -12
 - data/test/test-expression-builder.rb +1 -1
 - data/test/test-expression.rb +80 -25
 - data/test/test-index-column.rb +41 -0
 - data/test/test-index-cursor.rb +21 -1
 - data/test/test-table-key-support.rb +59 -1
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-1.dll +0 -0
 - data/vendor/local/bin/libmsgpack-3.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libonig-5.dll +0 -0
 - data/vendor/local/bin/libstdc++-6.dll +0 -0
 - data/vendor/local/bin/libwinpthread-1.dll +0 -0
 - data/vendor/local/bin/lz4 +0 -0
 - data/vendor/local/bin/lz4c +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/groonga.conf +1 -1
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
 - data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
 - data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
 - data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
 - data/vendor/local/etc/groonga/httpd/koi-win +103 -0
 - data/vendor/local/etc/groonga/httpd/mime.types +89 -0
 - data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
 - data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
 - data/vendor/local/etc/groonga/httpd/win-utf +126 -0
 - data/vendor/local/include/groonga/groonga/expr.h +108 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
 - data/vendor/local/include/groonga/groonga/ii.h +46 -0
 - data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
 - data/vendor/local/include/groonga/groonga/plugin.h +5 -3
 - data/vendor/local/include/groonga/groonga/token.h +136 -0
 - data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
 - data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
 - data/vendor/local/include/groonga/groonga/util.h +40 -0
 - data/vendor/local/include/groonga/groonga.h +5 -2095
 - data/vendor/local/include/lz4.h +323 -0
 - data/vendor/local/include/lz4hc.h +223 -0
 - data/vendor/local/include/zconf.h +511 -0
 - data/vendor/local/include/zlib.h +1768 -0
 - 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/scan_info_builder.rb +22 -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.4.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 +14 -0
 - 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 +13 -0
 - 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/development/release.txt +3 -24
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -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 +7 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
 - 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/underscore-1.3.1.js +999 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
 - 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 +19 -17
 - data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
 - data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
 - 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/gqtp.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
 - data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -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 +7 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
 - 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/underscore-1.3.1.js +999 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
 - 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 +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
 - 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/gqtp.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
 - data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
 - data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
 - data/vendor/local/share/groonga/html/admin/index.html +2 -2
 - data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
 - data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
 - data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
 - data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
 - data/vendor/local/share/license/lz4/LICENSE +24 -0
 - data/vendor/local/share/license/zlib/README +115 -0
 - data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
 - data/vendor/local/share/man/man1/groonga.1 +188 -227
 - data/vendor/local/share/man/man1/lz4.1 +88 -0
 - data/vendor/local/share/man/man1/lz4c.1 +33 -0
 - data/vendor/local/share/man/man1/lz4cat.1 +32 -0
 - metadata +117 -50
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
 - data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
 - data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
 - data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
 
| 
         @@ -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.2. Script syntax — Groonga v4.0. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.11.2. Script syntax — Groonga v4.0.8 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. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.8',
         
     | 
| 
       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. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.8 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.12. Function" href="../function.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="7.11.1. Query syntax" href="query_syntax.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body>
         
     | 
| 
      
 33 
     | 
    
         
            +
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       35 
35 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       36 
36 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -48,7 +48,7 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
            </div>
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 51 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       52 
52 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <ul>
         
     | 
| 
       54 
54 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="query_syntax.html" title="7.11.1. Query syntax"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0. 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.8 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,19 +69,19 @@ 
     | 
|
| 
       69 
69 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       70 
70 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       71 
71 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       72 
     | 
    
         
            -
                      <div class="body">
         
     | 
| 
      
 72 
     | 
    
         
            +
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="script-syntax">
         
     | 
| 
       75 
75 
     | 
    
         
             
            <h1>7.11.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <p>Script syntax is a syntax to specify complex search condition. It is
         
     | 
| 
       77 
     | 
    
         
            -
            similar to ECMAScript. For example, < 
     | 
| 
       78 
     | 
    
         
            -
            groonga searches records that < 
     | 
| 
      
 77 
     | 
    
         
            +
            similar to ECMAScript. For example, <code class="docutils literal"><span class="pre">_key</span> <span class="pre">==</span> <span class="pre">"book"</span></code> means that
         
     | 
| 
      
 78 
     | 
    
         
            +
            groonga searches records that <code class="docutils literal"><span class="pre">_key</span></code> value is <code class="docutils literal"><span class="pre">"book"</span></code>. All values
         
     | 
| 
       79 
79 
     | 
    
         
             
            are string in <a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> but its own type in script
         
     | 
| 
       80 
     | 
    
         
            -
            syntax. For example, < 
     | 
| 
       81 
     | 
    
         
            -
            < 
     | 
| 
      
 80 
     | 
    
         
            +
            syntax. For example, <code class="docutils literal"><span class="pre">"book"</span></code> is string, <code class="docutils literal"><span class="pre">1</span></code> is integer,
         
     | 
| 
      
 81 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">TokenBigram</span></code> is the object whose name is <code class="docutils literal"><span class="pre">TokenBigram</span></code> and so on.</p>
         
     | 
| 
       82 
82 
     | 
    
         
             
            <p>Script syntax doesn't support full ECMAScript syntax. For example,
         
     | 
| 
       83 
     | 
    
         
            -
            script syntax doesn't support statement such as < 
     | 
| 
       84 
     | 
    
         
            -
            statement, < 
     | 
| 
      
 83 
     | 
    
         
            +
            script syntax doesn't support statement such as <code class="docutils literal"><span class="pre">if</span></code> control
         
     | 
| 
      
 84 
     | 
    
         
            +
            statement, <code class="docutils literal"><span class="pre">for</span></code> iteration statement and variable definition
         
     | 
| 
       85 
85 
     | 
    
         
             
            statement. Function definion is not supported too. But script syntax
         
     | 
| 
       86 
86 
     | 
    
         
             
            addes the original additional operators.  They are described after
         
     | 
| 
       87 
87 
     | 
    
         
             
            ECMAScript syntax is described.</p>
         
     | 
| 
         @@ -122,53 +122,53 @@ load --table Entries 
     | 
|
| 
       122 
122 
     | 
    
         
             
            # [[0, 1337566253.89858, 0.000355720520019531], 5]
         
     | 
| 
       123 
123 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       124 
124 
     | 
    
         
             
            </div>
         
     | 
| 
       125 
     | 
    
         
            -
            <p>There is a table, < 
     | 
| 
      
 125 
     | 
    
         
            +
            <p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
         
     | 
| 
       126 
126 
     | 
    
         
             
            content and the number of likes for the entry. Title is key of
         
     | 
| 
       127 
     | 
    
         
            -
            < 
     | 
| 
       128 
     | 
    
         
            -
            number of likes is value of < 
     | 
| 
       129 
     | 
    
         
            -
            <p>< 
     | 
| 
       130 
     | 
    
         
            -
            using < 
     | 
| 
       131 
     | 
    
         
            -
            < 
     | 
| 
      
 127 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal"><span class="pre">Entries.content</span></code> column. The
         
     | 
| 
      
 128 
     | 
    
         
            +
            number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
         
     | 
| 
      
 129 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">Entries._key</span></code> column and <code class="docutils literal"><span class="pre">Entries.content</span></code> column are indexed
         
     | 
| 
      
 130 
     | 
    
         
            +
            using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal"><span class="pre">Entries._key</span></code> and
         
     | 
| 
      
 131 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
         
     | 
| 
       132 
132 
     | 
    
         
             
            <p>OK. The schema and data for examples are ready.</p>
         
     | 
| 
       133 
133 
     | 
    
         
             
            </div>
         
     | 
| 
       134 
134 
     | 
    
         
             
            <div class="section" id="literals">
         
     | 
| 
       135 
135 
     | 
    
         
             
            <h2>7.11.2.2. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       136 
136 
     | 
    
         
             
            <div class="section" id="integer">
         
     | 
| 
       137 
137 
     | 
    
         
             
            <h3>7.11.2.2.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       138 
     | 
    
         
            -
            <p>Integer literal is sequence of < 
     | 
| 
       139 
     | 
    
         
            -
            < 
     | 
| 
       140 
     | 
    
         
            -
            < 
     | 
| 
      
 138 
     | 
    
         
            +
            <p>Integer literal is sequence of <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code> such as
         
     | 
| 
      
 139 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">1234567890</span></code>. <code class="docutils literal"><span class="pre">+</span></code> or <code class="docutils literal"><span class="pre">-</span></code> can be prepended as sign such as
         
     | 
| 
      
 140 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">+29</span></code> and <code class="docutils literal"><span class="pre">-29</span></code>. Integer literal must be decimal. Octal notation,
         
     | 
| 
       141 
141 
     | 
    
         
             
            hex and so on can't be used.</p>
         
     | 
| 
       142 
     | 
    
         
            -
            <p>The maximum value of integer literal is < 
     | 
| 
       143 
     | 
    
         
            -
            <span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></ 
     | 
| 
       144 
     | 
    
         
            -
            < 
     | 
| 
      
 142 
     | 
    
         
            +
            <p>The maximum value of integer literal is <code class="docutils literal"><span class="pre">9223372036854775807</span></code> (<code class="docutils literal"><span class="pre">=</span> <span class="pre">2</span>
         
     | 
| 
      
 143 
     | 
    
         
            +
            <span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></code>). The minimum value of integer literal is
         
     | 
| 
      
 144 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">-9223372036854775808</span></code> (<code class="docutils literal"><span class="pre">=</span> <span class="pre">-(2</span> <span class="pre">**</span> <span class="pre">63)</span></code>).</p>
         
     | 
| 
       145 
145 
     | 
    
         
             
            </div>
         
     | 
| 
       146 
146 
     | 
    
         
             
            <div class="section" id="float">
         
     | 
| 
       147 
147 
     | 
    
         
             
            <h3>7.11.2.2.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       148 
     | 
    
         
            -
            <p>Float literal is sequence of < 
     | 
| 
       149 
     | 
    
         
            -
            such as < 
     | 
| 
       150 
     | 
    
         
            -
            < 
     | 
| 
       151 
     | 
    
         
            -
            < 
     | 
| 
       152 
     | 
    
         
            -
            < 
     | 
| 
      
 148 
     | 
    
         
            +
            <p>Float literal is sequence of <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code>, <code class="docutils literal"><span class="pre">.</span></code> and <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code>
         
     | 
| 
      
 149 
     | 
    
         
            +
            such as <code class="docutils literal"><span class="pre">3.14</span></code>. <code class="docutils literal"><span class="pre">+</span></code> or <code class="docutils literal"><span class="pre">-</span></code> can be prepended as sign such as
         
     | 
| 
      
 150 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">+3.14</span></code> and <code class="docutils literal"><span class="pre">-3.14</span></code>. <code class="docutils literal"><span class="pre">${RADIX}e${EXPORNENTIAL}</span></code> and
         
     | 
| 
      
 151 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></code> formats are also supported. For example,
         
     | 
| 
      
 152 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">314e-2</span></code> is the same as <code class="docutils literal"><span class="pre">3.14</span></code>.</p>
         
     | 
| 
       153 
153 
     | 
    
         
             
            </div>
         
     | 
| 
       154 
154 
     | 
    
         
             
            <div class="section" id="string">
         
     | 
| 
       155 
155 
     | 
    
         
             
            <h3>7.11.2.2.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       156 
     | 
    
         
            -
            <p>String literal is < 
     | 
| 
       157 
     | 
    
         
            -
            prepending < 
     | 
| 
       158 
     | 
    
         
            -
            a literal for < 
     | 
| 
      
 156 
     | 
    
         
            +
            <p>String literal is <code class="docutils literal"><span class="pre">"..."</span></code>. You need to escape <code class="docutils literal"><span class="pre">"</span></code> in literal by
         
     | 
| 
      
 157 
     | 
    
         
            +
            prepending <code class="docutils literal"><span class="pre">\\''</span> <span class="pre">such</span> <span class="pre">as</span> <span class="pre">``\"</span></code>. For example, <code class="docutils literal"><span class="pre">"Say</span> <span class="pre">\"Hello!\"."</span></code> is
         
     | 
| 
      
 158 
     | 
    
         
            +
            a literal for <code class="docutils literal"><span class="pre">Say</span> <span class="pre">"Hello!".</span></code> string.</p>
         
     | 
| 
       159 
159 
     | 
    
         
             
            <p>String encoding must be the same as encoding of database. The default
         
     | 
| 
       160 
     | 
    
         
            -
            encoding is UTF-8. It can be changed by < 
     | 
| 
       161 
     | 
    
         
            -
            configure option, < 
     | 
| 
      
 160 
     | 
    
         
            +
            encoding is UTF-8. It can be changed by <code class="docutils literal"><span class="pre">--with-default-encoding</span></code>
         
     | 
| 
      
 161 
     | 
    
         
            +
            configure option, <code class="docutils literal"><span class="pre">--encodiong</span></code> <a class="reference internal" href="../executables/groonga.html"><em>groonga command</em></a> option
         
     | 
| 
       162 
162 
     | 
    
         
             
            and so on.</p>
         
     | 
| 
       163 
163 
     | 
    
         
             
            </div>
         
     | 
| 
       164 
164 
     | 
    
         
             
            <div class="section" id="boolean">
         
     | 
| 
       165 
165 
     | 
    
         
             
            <h3>7.11.2.2.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       166 
     | 
    
         
            -
            <p>Boolean literal is < 
     | 
| 
       167 
     | 
    
         
            -
            < 
     | 
| 
      
 166 
     | 
    
         
            +
            <p>Boolean literal is <code class="docutils literal"><span class="pre">true</span></code> and <code class="docutils literal"><span class="pre">false</span></code>. <code class="docutils literal"><span class="pre">true</span></code> means true and
         
     | 
| 
      
 167 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">false</span></code> means false.</p>
         
     | 
| 
       168 
168 
     | 
    
         
             
            </div>
         
     | 
| 
       169 
169 
     | 
    
         
             
            <div class="section" id="null">
         
     | 
| 
       170 
170 
     | 
    
         
             
            <h3>7.11.2.2.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       171 
     | 
    
         
            -
            <p>Null literal is < 
     | 
| 
      
 171 
     | 
    
         
            +
            <p>Null literal is <code class="docutils literal"><span class="pre">null</span></code>. Groonga doesn't support null value but null
         
     | 
| 
       172 
172 
     | 
    
         
             
            literal is supported.</p>
         
     | 
| 
       173 
173 
     | 
    
         
             
            </div>
         
     | 
| 
       174 
174 
     | 
    
         
             
            <div class="section" id="time">
         
     | 
| 
         @@ -179,18 +179,18 @@ literal is supported.</p> 
     | 
|
| 
       179 
179 
     | 
    
         
             
            </div>
         
     | 
| 
       180 
180 
     | 
    
         
             
            <p>Time literal doesn't exit. There are string time notation, integer
         
     | 
| 
       181 
181 
     | 
    
         
             
            time notation and float time notation.</p>
         
     | 
| 
       182 
     | 
    
         
            -
            <p>String time notation is < 
     | 
| 
       183 
     | 
    
         
            -
            < 
     | 
| 
       184 
     | 
    
         
            -
            < 
     | 
| 
       185 
     | 
    
         
            -
            < 
     | 
| 
       186 
     | 
    
         
            -
            < 
     | 
| 
      
 182 
     | 
    
         
            +
            <p>String time notation is <code class="docutils literal"><span class="pre">"YYYY/MM/DD</span> <span class="pre">hh:mm:ss.uuuuuu"</span></code> or
         
     | 
| 
      
 183 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">"YYYY-MM-DD</span> <span class="pre">hh:mm:ss.uuuuuu"</span></code>. <code class="docutils literal"><span class="pre">YYYY</span></code> is year, <code class="docutils literal"><span class="pre">MM</span></code> is month,
         
     | 
| 
      
 184 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">DD</span></code> is day, <code class="docutils literal"><span class="pre">hh</span></code> is hour, <code class="docutils literal"><span class="pre">mm</span></code> is minute, <code class="docutils literal"><span class="pre">ss</span></code> is second and
         
     | 
| 
      
 185 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">uuuuuu</span></code> is micro second. It is local time. For example,
         
     | 
| 
      
 186 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">"2012/07/23</span> <span class="pre">02:41:10.436218"</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218</span></code> in
         
     | 
| 
       187 
187 
     | 
    
         
             
            ISO 8601 format.</p>
         
     | 
| 
       188 
188 
     | 
    
         
             
            <p>Integer time notation is the number of seconds that have elapsed since
         
     | 
| 
       189 
189 
     | 
    
         
             
            midnight UTC, January 1, 1970. It is also known as POSIX time. For
         
     | 
| 
       190 
     | 
    
         
            -
            example, < 
     | 
| 
      
 190 
     | 
    
         
            +
            example, <code class="docutils literal"><span class="pre">1343011270</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10Z</span></code> in ISO 8601 format.</p>
         
     | 
| 
       191 
191 
     | 
    
         
             
            <p>Float time notation is the number of seconds and micro seconds that
         
     | 
| 
       192 
192 
     | 
    
         
             
            have elapsed since midnight UTC, January 1, 1970. For example,
         
     | 
| 
       193 
     | 
    
         
            -
            < 
     | 
| 
      
 193 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">1343011270.436218</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218Z</span></code> in ISO 8601
         
     | 
| 
       194 
194 
     | 
    
         
             
            format.</p>
         
     | 
| 
       195 
195 
     | 
    
         
             
            </div>
         
     | 
| 
       196 
196 
     | 
    
         
             
            <div class="section" id="geo-point">
         
     | 
| 
         @@ -203,31 +203,31 @@ format.</p> 
     | 
|
| 
       203 
203 
     | 
    
         
             
            <p>String geo point notation has the following patterns:</p>
         
     | 
| 
       204 
204 
     | 
    
         
             
            <blockquote>
         
     | 
| 
       205 
205 
     | 
    
         
             
            <div><ul class="simple">
         
     | 
| 
       206 
     | 
    
         
            -
            <li>< 
     | 
| 
       207 
     | 
    
         
            -
            <li>< 
     | 
| 
       208 
     | 
    
         
            -
            <li>< 
     | 
| 
       209 
     | 
    
         
            -
            <li>< 
     | 
| 
      
 206 
     | 
    
         
            +
            <li><code class="docutils literal"><span class="pre">"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC"</span></code></li>
         
     | 
| 
      
 207 
     | 
    
         
            +
            <li><code class="docutils literal"><span class="pre">"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC"</span></code></li>
         
     | 
| 
      
 208 
     | 
    
         
            +
            <li><code class="docutils literal"><span class="pre">"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE"</span></code></li>
         
     | 
| 
      
 209 
     | 
    
         
            +
            <li><code class="docutils literal"><span class="pre">"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE"</span></code></li>
         
     | 
| 
       210 
210 
     | 
    
         
             
            </ul>
         
     | 
| 
       211 
211 
     | 
    
         
             
            </div></blockquote>
         
     | 
| 
       212 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 212 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">x</span></code> and <code class="docutils literal"><span class="pre">,</span></code> can be used for separator. Latitude and longitude can
         
     | 
| 
       213 
213 
     | 
    
         
             
            be represented in milliseconds or degree.</p>
         
     | 
| 
       214 
214 
     | 
    
         
             
            </div>
         
     | 
| 
       215 
215 
     | 
    
         
             
            <div class="section" id="array">
         
     | 
| 
       216 
216 
     | 
    
         
             
            <h3>7.11.2.2.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       217 
     | 
    
         
            -
            <p>Array literal is < 
     | 
| 
      
 217 
     | 
    
         
            +
            <p>Array literal is <code class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></code>.</p>
         
     | 
| 
       218 
218 
     | 
    
         
             
            </div>
         
     | 
| 
       219 
219 
     | 
    
         
             
            <div class="section" id="object-literal">
         
     | 
| 
       220 
220 
     | 
    
         
             
            <h3>7.11.2.2.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       221 
     | 
    
         
            -
            <p>Object literal is < 
     | 
| 
      
 221 
     | 
    
         
            +
            <p>Object literal is <code class="docutils literal"><span class="pre">{name1:</span> <span class="pre">value1,</span> <span class="pre">name2:</span> <span class="pre">value2,</span> <span class="pre">...}</span></code>. Groonga
         
     | 
| 
       222 
222 
     | 
    
         
             
            doesn't support object literal yet.</p>
         
     | 
| 
       223 
223 
     | 
    
         
             
            </div>
         
     | 
| 
       224 
224 
     | 
    
         
             
            </div>
         
     | 
| 
       225 
225 
     | 
    
         
             
            <div class="section" id="control-syntaxes">
         
     | 
| 
       226 
226 
     | 
    
         
             
            <h2>7.11.2.3. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       227 
227 
     | 
    
         
             
            <p>Script syntax doesn't support statement. So you cannot use control
         
     | 
| 
       228 
     | 
    
         
            -
            statement such as < 
     | 
| 
      
 228 
     | 
    
         
            +
            statement such as <code class="docutils literal"><span class="pre">if</span></code>. You can only use <code class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></code> expression as
         
     | 
| 
       229 
229 
     | 
    
         
             
            control syntax.</p>
         
     | 
| 
       230 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 230 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></code> returns <code class="docutils literal"><span class="pre">B</span></code> if <code class="docutils literal"><span class="pre">A</span></code> is true, <code class="docutils literal"><span class="pre">C</span></code> otherwise.</p>
         
     | 
| 
       231 
231 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
       232 
232 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       233 
233 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
         
     | 
| 
         @@ -283,17 +283,17 @@ control syntax.</p> 
     | 
|
| 
       283 
283 
     | 
    
         
             
            # ]
         
     | 
| 
       284 
284 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       285 
285 
     | 
    
         
             
            </div>
         
     | 
| 
       286 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       287 
     | 
    
         
            -
            and < 
     | 
| 
       288 
     | 
    
         
            -
            not equal to 1 and < 
     | 
| 
      
 286 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">_id</span></code> column value is equal to <code class="docutils literal"><span class="pre">1</span></code>
         
     | 
| 
      
 287 
     | 
    
         
            +
            and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal to <code class="docutils literal"><span class="pre">5</span></code> or <code class="docutils literal"><span class="pre">_id</span></code> column value is
         
     | 
| 
      
 288 
     | 
    
         
            +
            not equal to 1 and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal to <code class="docutils literal"><span class="pre">3</span></code>.</p>
         
     | 
| 
       289 
289 
     | 
    
         
             
            </div>
         
     | 
| 
       290 
290 
     | 
    
         
             
            <div class="section" id="grouping">
         
     | 
| 
       291 
291 
     | 
    
         
             
            <h2>7.11.2.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       292 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       293 
     | 
    
         
            -
            <p>< 
     | 
| 
       294 
     | 
    
         
            -
            an expression. < 
     | 
| 
       295 
     | 
    
         
            -
            or < 
     | 
| 
       296 
     | 
    
         
            -
            < 
     | 
| 
      
 292 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. <code class="docutils literal"><span class="pre">...</span></code> is comma separated expression list.</p>
         
     | 
| 
      
 293 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">(...)</span></code> groups one ore more expressions and they can be processed as
         
     | 
| 
      
 294 
     | 
    
         
            +
            an expression. <code class="docutils literal"><span class="pre">a</span> <span class="pre">&&</span> <span class="pre">b</span> <span class="pre">||</span> <span class="pre">c</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched
         
     | 
| 
      
 295 
     | 
    
         
            +
            or <code class="docutils literal"><span class="pre">c</span></code> is matched. <code class="docutils literal"><span class="pre">a</span> <span class="pre">&&</span> <span class="pre">(b</span> <span class="pre">||</span> <span class="pre">c)</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and one of
         
     | 
| 
      
 296 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code> are matched.</p>
         
     | 
| 
       297 
297 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
       298 
298 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       299 
299 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes < 5 && content @ "senna" || content @ "fast"'
         
     | 
| 
         @@ -389,17 +389,17 @@ select Entries --filter 'n_likes < 5 && (content @ "senna&qu 
     | 
|
| 
       389 
389 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       390 
390 
     | 
    
         
             
            </div>
         
     | 
| 
       391 
391 
     | 
    
         
             
            <p>The first expression doesn't use grouping. It matches records that
         
     | 
| 
       392 
     | 
    
         
            -
            < 
     | 
| 
       393 
     | 
    
         
            -
            < 
     | 
| 
       394 
     | 
    
         
            -
            <p>The second expression uses grouping. It matches records that < 
     | 
| 
       395 
     | 
    
         
            -
            <span class="pre"><</span> <span class="pre">5</span></ 
     | 
| 
      
 392 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">n_likes</span> <span class="pre"><</span> <span class="pre">5</span></code> and <code class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></code> are matched or
         
     | 
| 
      
 393 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></code> is matched.</p>
         
     | 
| 
      
 394 
     | 
    
         
            +
            <p>The second expression uses grouping. It matches records that <code class="docutils literal"><span class="pre">n_likes</span>
         
     | 
| 
      
 395 
     | 
    
         
            +
            <span class="pre"><</span> <span class="pre">5</span></code> and one of <code class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></code> or <code class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></code> are
         
     | 
| 
       396 
396 
     | 
    
         
             
            matched.</p>
         
     | 
| 
       397 
397 
     | 
    
         
             
            </div>
         
     | 
| 
       398 
398 
     | 
    
         
             
            <div class="section" id="function-call">
         
     | 
| 
       399 
399 
     | 
    
         
             
            <h2>7.11.2.5. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       400 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       401 
     | 
    
         
            -
            <p>< 
     | 
| 
       402 
     | 
    
         
            -
            < 
     | 
| 
      
 400 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">name(arugment1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></code>.</p>
         
     | 
| 
      
 401 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">name(argument1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></code> calls a function that is named
         
     | 
| 
      
 402 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">name</span></code> with arguments <code class="docutils literal"><span class="pre">argument1</span></code>, <code class="docutils literal"><span class="pre">argument2</span></code> and <code class="docutils literal"><span class="pre">...</span></code>.</p>
         
     | 
| 
       403 
403 
     | 
    
         
             
            <p>See <a class="reference internal" href="../function.html"><em>Function</em></a> for available functin list.</p>
         
     | 
| 
       404 
404 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
       405 
405 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -451,10 +451,10 @@ matched.</p> 
     | 
|
| 
       451 
451 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       452 
452 
     | 
    
         
             
            </div>
         
     | 
| 
       453 
453 
     | 
    
         
             
            <p>The expression uses <a class="reference internal" href="../functions/edit_distance.html"><em>edit_distance</em></a>. It
         
     | 
| 
       454 
     | 
    
         
            -
            matches records that < 
     | 
| 
       455 
     | 
    
         
            -
            < 
     | 
| 
      
 454 
     | 
    
         
            +
            matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is similar to
         
     | 
| 
      
 455 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">"Groonga"</span></code>. Similality of <code class="docutils literal"><span class="pre">"Groonga"</span></code> is computed as edit
         
     | 
| 
       456 
456 
     | 
    
         
             
            distance. If edit distance is less than or equal to 1, the value is
         
     | 
| 
       457 
     | 
    
         
            -
            treated as similar. In this case, < 
     | 
| 
      
 457 
     | 
    
         
            +
            treated as similar. In this case, <code class="docutils literal"><span class="pre">"Groonga"</span></code> and <code class="docutils literal"><span class="pre">"Mroonga"</span></code> are
         
     | 
| 
       458 
458 
     | 
    
         
             
            treated as similar.</p>
         
     | 
| 
       459 
459 
     | 
    
         
             
            </div>
         
     | 
| 
       460 
460 
     | 
    
         
             
            <div class="section" id="basic-operators">
         
     | 
| 
         @@ -465,8 +465,8 @@ treated as similar.</p> 
     | 
|
| 
       465 
465 
     | 
    
         
             
            <p>Here are arithmetic operators.</p>
         
     | 
| 
       466 
466 
     | 
    
         
             
            <div class="section" id="addition-operator">
         
     | 
| 
       467 
467 
     | 
    
         
             
            <h4>7.11.2.6.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       468 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       469 
     | 
    
         
            -
            <p>The operator adds < 
     | 
| 
      
 468 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 469 
     | 
    
         
            +
            <p>The operator adds <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code> and returns the result.</p>
         
     | 
| 
       470 
470 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       471 
471 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       472 
472 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 10 + 5'
         
     | 
| 
         @@ -510,13 +510,13 @@ treated as similar.</p> 
     | 
|
| 
       510 
510 
     | 
    
         
             
            # ]
         
     | 
| 
       511 
511 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       512 
512 
     | 
    
         
             
            </div>
         
     | 
| 
       513 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       514 
     | 
    
         
            -
            to < 
     | 
| 
      
 513 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 514 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">10</span> <span class="pre">+</span> <span class="pre">5</span></code>).</p>
         
     | 
| 
       515 
515 
     | 
    
         
             
            </div>
         
     | 
| 
       516 
516 
     | 
    
         
             
            <div class="section" id="subtraction-operator">
         
     | 
| 
       517 
517 
     | 
    
         
             
            <h4>7.11.2.6.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       518 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       519 
     | 
    
         
            -
            <p>The operator subtracts < 
     | 
| 
      
 518 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 519 
     | 
    
         
            +
            <p>The operator subtracts <code class="docutils literal"><span class="pre">number2</span></code> from <code class="docutils literal"><span class="pre">number1</span></code> and returns the result.</p>
         
     | 
| 
       520 
520 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       521 
521 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       522 
522 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 20 - 5'
         
     | 
| 
         @@ -560,13 +560,13 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d 
     | 
|
| 
       560 
560 
     | 
    
         
             
            # ]
         
     | 
| 
       561 
561 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       562 
562 
     | 
    
         
             
            </div>
         
     | 
| 
       563 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       564 
     | 
    
         
            -
            to < 
     | 
| 
      
 563 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 564 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">20</span> <span class="pre">-</span> <span class="pre">5</span></code>).</p>
         
     | 
| 
       565 
565 
     | 
    
         
             
            </div>
         
     | 
| 
       566 
566 
     | 
    
         
             
            <div class="section" id="multiplication-operator">
         
     | 
| 
       567 
567 
     | 
    
         
             
            <h4>7.11.2.6.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       568 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       569 
     | 
    
         
            -
            <p>The operator multiplies < 
     | 
| 
      
 568 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 569 
     | 
    
         
            +
            <p>The operator multiplies <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code> and returns the result.</p>
         
     | 
| 
       570 
570 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       571 
571 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       572 
572 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 3 * 5'
         
     | 
| 
         @@ -610,14 +610,14 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d 
     | 
|
| 
       610 
610 
     | 
    
         
             
            # ]
         
     | 
| 
       611 
611 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       612 
612 
     | 
    
         
             
            </div>
         
     | 
| 
       613 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       614 
     | 
    
         
            -
            to < 
     | 
| 
      
 613 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 614 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">3</span> <span class="pre">*</span> <span class="pre">5</span></code>).</p>
         
     | 
| 
       615 
615 
     | 
    
         
             
            </div>
         
     | 
| 
       616 
616 
     | 
    
         
             
            <div class="section" id="division-operator">
         
     | 
| 
       617 
617 
     | 
    
         
             
            <h4>7.11.2.6.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       618 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       619 
     | 
    
         
            -
            <p>The operator divides < 
     | 
| 
       620 
     | 
    
         
            -
            quotient of result. < 
     | 
| 
      
 618 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">/</span> <span class="pre">number2</span></code> and <code class="docutils literal"><span class="pre">number1</span> <span class="pre">%</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 619 
     | 
    
         
            +
            <p>The operator divides <code class="docutils literal"><span class="pre">number2</span></code> by <code class="docutils literal"><span class="pre">number1</span></code>. <code class="docutils literal"><span class="pre">/</span></code> returns the
         
     | 
| 
      
 620 
     | 
    
         
            +
            quotient of result. <code class="docutils literal"><span class="pre">%</span></code> returns the remainder of result.</p>
         
     | 
| 
       621 
621 
     | 
    
         
             
            <p>Here is simple examples.</p>
         
     | 
| 
       622 
622 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       623 
623 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 / 7'
         
     | 
| 
         @@ -667,8 +667,8 @@ quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> 
     | 
|
| 
       667 
667 
     | 
    
         
             
            # ]
         
     | 
| 
       668 
668 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       669 
669 
     | 
    
         
             
            </div>
         
     | 
| 
       670 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       671 
     | 
    
         
            -
            to < 
     | 
| 
      
 670 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 671 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">3</span></code> (= <code class="docutils literal"><span class="pre">26</span> <span class="pre">/</span> <span class="pre">7</span></code>).</p>
         
     | 
| 
       672 
672 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       673 
673 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 % 7'
         
     | 
| 
       674 
674 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -711,8 +711,8 @@ to <tt class="docutils literal"><span class="pre">3</span></tt> (= <tt class="do 
     | 
|
| 
       711 
711 
     | 
    
         
             
            # ]
         
     | 
| 
       712 
712 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       713 
713 
     | 
    
         
             
            </div>
         
     | 
| 
       714 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       715 
     | 
    
         
            -
            to < 
     | 
| 
      
 714 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 715 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">26</span> <span class="pre">%</span> <span class="pre">7</span></code>).</p>
         
     | 
| 
       716 
716 
     | 
    
         
             
            </div>
         
     | 
| 
       717 
717 
     | 
    
         
             
            </div>
         
     | 
| 
       718 
718 
     | 
    
         
             
            <div class="section" id="logical-operators">
         
     | 
| 
         @@ -720,8 +720,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       720 
720 
     | 
    
         
             
            <p>Here are logical operators.</p>
         
     | 
| 
       721 
721 
     | 
    
         
             
            <div class="section" id="logical-not-operator">
         
     | 
| 
       722 
722 
     | 
    
         
             
            <h4>7.11.2.6.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       723 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       724 
     | 
    
         
            -
            <p>The operator inverts boolean value of < 
     | 
| 
      
 723 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">!condition</span></code>.</p>
         
     | 
| 
      
 724 
     | 
    
         
            +
            <p>The operator inverts boolean value of <code class="docutils literal"><span class="pre">condition</span></code>.</p>
         
     | 
| 
       725 
725 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       726 
726 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       727 
727 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter '!(n_likes == 5)'
         
     | 
| 
         @@ -783,14 +783,14 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       783 
783 
     | 
    
         
             
            # ]
         
     | 
| 
       784 
784 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       785 
785 
     | 
    
         
             
            </div>
         
     | 
| 
       786 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       787 
     | 
    
         
            -
            equal to < 
     | 
| 
      
 786 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
         
     | 
| 
      
 787 
     | 
    
         
            +
            equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
         
     | 
| 
       788 
788 
     | 
    
         
             
            </div>
         
     | 
| 
       789 
789 
     | 
    
         
             
            <div class="section" id="logical-and-operator">
         
     | 
| 
       790 
790 
     | 
    
         
             
            <h4>7.11.2.6.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       791 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       792 
     | 
    
         
            -
            <p>The operator returns true if both of < 
     | 
| 
       793 
     | 
    
         
            -
            < 
     | 
| 
      
 791 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">&&</span> <span class="pre">condition2</span></code>.</p>
         
     | 
| 
      
 792 
     | 
    
         
            +
            <p>The operator returns true if both of <code class="docutils literal"><span class="pre">condition1</span></code> and
         
     | 
| 
      
 793 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">condition2</span></code> are true, false otherwise.</p>
         
     | 
| 
       794 
794 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       795 
795 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       796 
796 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" && n_likes >= 10'
         
     | 
| 
         @@ -840,14 +840,14 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p> 
     | 
|
| 
       840 
840 
     | 
    
         
             
            # ]
         
     | 
| 
       841 
841 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       842 
842 
     | 
    
         
             
            </div>
         
     | 
| 
       843 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       844 
     | 
    
         
            -
            word < 
     | 
| 
       845 
     | 
    
         
            -
            < 
     | 
| 
      
 843 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
         
     | 
| 
      
 844 
     | 
    
         
            +
            word <code class="docutils literal"><span class="pre">fast</span></code> and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is greater or equal to
         
     | 
| 
      
 845 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">10</span></code>.</p>
         
     | 
| 
       846 
846 
     | 
    
         
             
            </div>
         
     | 
| 
       847 
847 
     | 
    
         
             
            <div class="section" id="logical-or-operator">
         
     | 
| 
       848 
848 
     | 
    
         
             
            <h4>7.11.2.6.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       849 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       850 
     | 
    
         
            -
            <p>The operator returns true if either < 
     | 
| 
      
 849 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></code>.</p>
         
     | 
| 
      
 850 
     | 
    
         
            +
            <p>The operator returns true if either <code class="docutils literal"><span class="pre">condition1</span></code> or <code class="docutils literal"><span class="pre">condition2</span></code> is
         
     | 
| 
       851 
851 
     | 
    
         
             
            true, false otherwise.</p>
         
     | 
| 
       852 
852 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       853 
853 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -898,13 +898,13 @@ true, false otherwise.</p> 
     | 
|
| 
       898 
898 
     | 
    
         
             
            # ]
         
     | 
| 
       899 
899 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       900 
900 
     | 
    
         
             
            </div>
         
     | 
| 
       901 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       902 
     | 
    
         
            -
            to < 
     | 
| 
      
 901 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 902 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> or <code class="docutils literal"><span class="pre">10</span></code>.</p>
         
     | 
| 
       903 
903 
     | 
    
         
             
            </div>
         
     | 
| 
       904 
904 
     | 
    
         
             
            <div class="section" id="logical-and-not-operator">
         
     | 
| 
       905 
905 
     | 
    
         
             
            <h4>7.11.2.6.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       906 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       907 
     | 
    
         
            -
            <p>The operator returns true if < 
     | 
| 
      
 906 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">&!</span> <span class="pre">condition2</span></code>.</p>
         
     | 
| 
      
 907 
     | 
    
         
            +
            <p>The operator returns true if <code class="docutils literal"><span class="pre">condition1</span></code> is true but <code class="docutils literal"><span class="pre">condition2</span></code>
         
     | 
| 
       908 
908 
     | 
    
         
             
            is false, false otherwise. It returns difference set.</p>
         
     | 
| 
       909 
909 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       910 
910 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -949,8 +949,8 @@ is false, false otherwise. It returns difference set.</p> 
     | 
|
| 
       949 
949 
     | 
    
         
             
            # ]
         
     | 
| 
       950 
950 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       951 
951 
     | 
    
         
             
            </div>
         
     | 
| 
       952 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       953 
     | 
    
         
            -
            word < 
     | 
| 
      
 952 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
         
     | 
| 
      
 953 
     | 
    
         
            +
            word <code class="docutils literal"><span class="pre">fast</span></code> but doesn't have the word <code class="docutils literal"><span class="pre">mroonga</span></code>.</p>
         
     | 
| 
       954 
954 
     | 
    
         
             
            </div>
         
     | 
| 
       955 
955 
     | 
    
         
             
            </div>
         
     | 
| 
       956 
956 
     | 
    
         
             
            <div class="section" id="bitwise-operators">
         
     | 
| 
         @@ -958,8 +958,8 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't 
     | 
|
| 
       958 
958 
     | 
    
         
             
            <p>Here are bitwise operators.</p>
         
     | 
| 
       959 
959 
     | 
    
         
             
            <div class="section" id="bitwise-not-operator">
         
     | 
| 
       960 
960 
     | 
    
         
             
            <h4>7.11.2.6.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       961 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       962 
     | 
    
         
            -
            <p>The operator returns bitwise NOT of < 
     | 
| 
      
 961 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">~number</span></code>.</p>
         
     | 
| 
      
 962 
     | 
    
         
            +
            <p>The operator returns bitwise NOT of <code class="docutils literal"><span class="pre">number</span></code>.</p>
         
     | 
| 
       963 
963 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       964 
964 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       965 
965 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter '~n_likes == -6'
         
     | 
| 
         @@ -1003,13 +1003,13 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't 
     | 
|
| 
       1003 
1003 
     | 
    
         
             
            # ]
         
     | 
| 
       1004 
1004 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1005 
1005 
     | 
    
         
             
            </div>
         
     | 
| 
       1006 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1007 
     | 
    
         
            -
            to < 
     | 
| 
      
 1006 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1007 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> because bitwise NOT of <code class="docutils literal"><span class="pre">5</span></code> is equal to <code class="docutils literal"><span class="pre">-6</span></code>.</p>
         
     | 
| 
       1008 
1008 
     | 
    
         
             
            </div>
         
     | 
| 
       1009 
1009 
     | 
    
         
             
            <div class="section" id="bitwise-and-operator">
         
     | 
| 
       1010 
1010 
     | 
    
         
             
            <h4>7.11.2.6.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1011 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1012 
     | 
    
         
            -
            <p>The operator returns bitwise AND between < 
     | 
| 
      
 1011 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">&</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1012 
     | 
    
         
            +
            <p>The operator returns bitwise AND between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
         
     | 
| 
       1013 
1013 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1014 
1014 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1015 
1015 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter '(n_likes & 1) == 1'
         
     | 
| 
         @@ -1071,16 +1071,16 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> because bitwise 
     | 
|
| 
       1071 
1071 
     | 
    
         
             
            # ]
         
     | 
| 
       1072 
1072 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1073 
1073 
     | 
    
         
             
            </div>
         
     | 
| 
       1074 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1075 
     | 
    
         
            -
            number because bitwise AND between an even number and < 
     | 
| 
       1076 
     | 
    
         
            -
            to < 
     | 
| 
       1077 
     | 
    
         
            -
            < 
     | 
| 
      
 1074 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is even
         
     | 
| 
      
 1075 
     | 
    
         
            +
            number because bitwise AND between an even number and <code class="docutils literal"><span class="pre">1</span></code> is equal
         
     | 
| 
      
 1076 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">1</span></code> and bitwise AND between an odd number and <code class="docutils literal"><span class="pre">1</span></code> is equal to
         
     | 
| 
      
 1077 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">0</span></code>.</p>
         
     | 
| 
       1078 
1078 
     | 
    
         
             
            </div>
         
     | 
| 
       1079 
1079 
     | 
    
         
             
            </div>
         
     | 
| 
       1080 
1080 
     | 
    
         
             
            <div class="section" id="bitwise-or-operator">
         
     | 
| 
       1081 
1081 
     | 
    
         
             
            <h3>7.11.2.6.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1082 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1083 
     | 
    
         
            -
            <p>The operator returns bitwise OR between < 
     | 
| 
      
 1082 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1083 
     | 
    
         
            +
            <p>The operator returns bitwise OR between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
         
     | 
| 
       1084 
1084 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1085 
1085 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1086 
1086 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (1 | 4)'
         
     | 
| 
         @@ -1124,13 +1124,13 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND 
     | 
|
| 
       1124 
1124 
     | 
    
         
             
            # ]
         
     | 
| 
       1125 
1125 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1126 
1126 
     | 
    
         
             
            </div>
         
     | 
| 
       1127 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1128 
     | 
    
         
            -
            to < 
     | 
| 
      
 1127 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1128 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">4</span></code>).</p>
         
     | 
| 
       1129 
1129 
     | 
    
         
             
            </div>
         
     | 
| 
       1130 
1130 
     | 
    
         
             
            <div class="section" id="bitwise-xor-operator">
         
     | 
| 
       1131 
1131 
     | 
    
         
             
            <h3>7.11.2.6.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1132 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1133 
     | 
    
         
            -
            <p>The operator returns bitwise XOR between < 
     | 
| 
      
 1132 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1133 
     | 
    
         
            +
            <p>The operator returns bitwise XOR between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
         
     | 
| 
       1134 
1134 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1135 
1135 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1136 
1136 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (10 ^ 15)'
         
     | 
| 
         @@ -1174,17 +1174,17 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1174 
1174 
     | 
    
         
             
            # ]
         
     | 
| 
       1175 
1175 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1176 
1176 
     | 
    
         
             
            </div>
         
     | 
| 
       1177 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1178 
     | 
    
         
            -
            to < 
     | 
| 
      
 1177 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1178 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">10</span> <span class="pre">^</span> <span class="pre">15</span></code>).</p>
         
     | 
| 
       1179 
1179 
     | 
    
         
             
            </div>
         
     | 
| 
       1180 
1180 
     | 
    
         
             
            <div class="section" id="shift-operators">
         
     | 
| 
       1181 
1181 
     | 
    
         
             
            <h3>7.11.2.6.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1182 
1182 
     | 
    
         
             
            <p>Here are shift operators.</p>
         
     | 
| 
       1183 
1183 
     | 
    
         
             
            <div class="section" id="left-shift-operator">
         
     | 
| 
       1184 
1184 
     | 
    
         
             
            <h4>7.11.2.6.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1185 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1186 
     | 
    
         
            -
            <p>The operator performs a bitwise left shift operation on < 
     | 
| 
       1187 
     | 
    
         
            -
            < 
     | 
| 
      
 1185 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre"><<</span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1186 
     | 
    
         
            +
            <p>The operator performs a bitwise left shift operation on <code class="docutils literal"><span class="pre">number1</span></code> by
         
     | 
| 
      
 1187 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">number2</span></code>.</p>
         
     | 
| 
       1188 
1188 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1189 
1189 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1190 
1190 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (5 << 1)'
         
     | 
| 
         @@ -1228,14 +1228,14 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1228 
1228 
     | 
    
         
             
            # ]
         
     | 
| 
       1229 
1229 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1230 
1230 
     | 
    
         
             
            </div>
         
     | 
| 
       1231 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1232 
     | 
    
         
            -
            to < 
     | 
| 
      
 1231 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1232 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">10</span></code> (= <code class="docutils literal"><span class="pre">5</span> <span class="pre"><<</span> <span class="pre">1</span></code>).</p>
         
     | 
| 
       1233 
1233 
     | 
    
         
             
            </div>
         
     | 
| 
       1234 
1234 
     | 
    
         
             
            <div class="section" id="signed-right-shift-operator">
         
     | 
| 
       1235 
1235 
     | 
    
         
             
            <h4>7.11.2.6.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1236 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1237 
     | 
    
         
            -
            <p>The operator shifts bits of < 
     | 
| 
       1238 
     | 
    
         
            -
            of the result is the same as < 
     | 
| 
      
 1236 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">>></span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1237 
     | 
    
         
            +
            <p>The operator shifts bits of <code class="docutils literal"><span class="pre">number1</span></code> to right by <code class="docutils literal"><span class="pre">number2</span></code>. The sign
         
     | 
| 
      
 1238 
     | 
    
         
            +
            of the result is the same as <code class="docutils literal"><span class="pre">number1</span></code>.</p>
         
     | 
| 
       1239 
1239 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1240 
1240 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1241 
1241 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == -(-10 >> 1)'
         
     | 
| 
         @@ -1279,14 +1279,14 @@ of the result is the same as <tt class="docutils literal"><span class="pre">numb 
     | 
|
| 
       1279 
1279 
     | 
    
         
             
            # ]
         
     | 
| 
       1280 
1280 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1281 
1281 
     | 
    
         
             
            </div>
         
     | 
| 
       1282 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1283 
     | 
    
         
            -
            to < 
     | 
| 
      
 1282 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1283 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">-(-10</span> <span class="pre">>></span> <span class="pre">1)</span></code> = <code class="docutils literal"><span class="pre">-(-5)</span></code>).</p>
         
     | 
| 
       1284 
1284 
     | 
    
         
             
            </div>
         
     | 
| 
       1285 
1285 
     | 
    
         
             
            <div class="section" id="unsigned-right-shift-operator">
         
     | 
| 
       1286 
1286 
     | 
    
         
             
            <h4>7.11.2.6.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1287 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1288 
     | 
    
         
            -
            <p>The operator shifts bits of < 
     | 
| 
       1289 
     | 
    
         
            -
            leftmost < 
     | 
| 
      
 1287 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">>>></span> <span class="pre">number2</span></code>.</p>
         
     | 
| 
      
 1288 
     | 
    
         
            +
            <p>The operator shifts bits of <code class="docutils literal"><span class="pre">number1</span></code> to right by <code class="docutils literal"><span class="pre">number2</span></code>. The
         
     | 
| 
      
 1289 
     | 
    
         
            +
            leftmost <code class="docutils literal"><span class="pre">number2</span></code> bits are filled by <code class="docutils literal"><span class="pre">0</span></code>.</p>
         
     | 
| 
       1290 
1290 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1291 
1291 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1292 
1292 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (2147483648 - (-10 >>> 1))'
         
     | 
| 
         @@ -1330,8 +1330,8 @@ leftmost <tt class="docutils literal"><span class="pre">number2</span></tt> bits 
     | 
|
| 
       1330 
1330 
     | 
    
         
             
            # ]
         
     | 
| 
       1331 
1331 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1332 
1332 
     | 
    
         
             
            </div>
         
     | 
| 
       1333 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1334 
     | 
    
         
            -
            to < 
     | 
| 
      
 1333 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1334 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">(-10</span> <span class="pre">>>></span> <span class="pre">1)</span></code> = <code class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">2147483643</span></code>).</p>
         
     | 
| 
       1335 
1335 
     | 
    
         
             
            </div>
         
     | 
| 
       1336 
1336 
     | 
    
         
             
            </div>
         
     | 
| 
       1337 
1337 
     | 
    
         
             
            <div class="section" id="comparison-operators">
         
     | 
| 
         @@ -1339,8 +1339,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1339 
1339 
     | 
    
         
             
            <p>Here are comparison operators.</p>
         
     | 
| 
       1340 
1340 
     | 
    
         
             
            <div class="section" id="equal-operator">
         
     | 
| 
       1341 
1341 
     | 
    
         
             
            <h4>7.11.2.6.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1342 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1343 
     | 
    
         
            -
            <p>The operator returns true if < 
     | 
| 
      
 1342 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></code>.</p>
         
     | 
| 
      
 1343 
     | 
    
         
            +
            <p>The operator returns true if <code class="docutils literal"><span class="pre">object1</span></code> equals to <code class="docutils literal"><span class="pre">object2</span></code>, false
         
     | 
| 
       1344 
1344 
     | 
    
         
             
            otherwise.</p>
         
     | 
| 
       1345 
1345 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1346 
1346 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1385,14 +1385,14 @@ otherwise.</p> 
     | 
|
| 
       1385 
1385 
     | 
    
         
             
            # ]
         
     | 
| 
       1386 
1386 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1387 
1387 
     | 
    
         
             
            </div>
         
     | 
| 
       1388 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1389 
     | 
    
         
            -
            to < 
     | 
| 
      
 1388 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
         
     | 
| 
      
 1389 
     | 
    
         
            +
            to <code class="docutils literal"><span class="pre">5</span></code>.</p>
         
     | 
| 
       1390 
1390 
     | 
    
         
             
            </div>
         
     | 
| 
       1391 
1391 
     | 
    
         
             
            <div class="section" id="not-equal-operator">
         
     | 
| 
       1392 
1392 
     | 
    
         
             
            <h4>7.11.2.6.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1393 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       1394 
     | 
    
         
            -
            <p>The operator returns true if < 
     | 
| 
       1395 
     | 
    
         
            -
            < 
     | 
| 
      
 1393 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></code>.</p>
         
     | 
| 
      
 1394 
     | 
    
         
            +
            <p>The operator returns true if <code class="docutils literal"><span class="pre">object1</span></code> does not equal to
         
     | 
| 
      
 1395 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">object2</span></code>, false otherwise.</p>
         
     | 
| 
       1396 
1396 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
       1397 
1397 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1398 
1398 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes != 5'
         
     | 
| 
         @@ -1454,8 +1454,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p> 
     | 
|
| 
       1454 
1454 
     | 
    
         
             
            # ]
         
     | 
| 
       1455 
1455 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1456 
1456 
     | 
    
         
             
            </div>
         
     | 
| 
       1457 
     | 
    
         
            -
            <p>The expression matches records that < 
     | 
| 
       1458 
     | 
    
         
            -
            equal to < 
     | 
| 
      
 1457 
     | 
    
         
            +
            <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
         
     | 
| 
      
 1458 
     | 
    
         
            +
            equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
         
     | 
| 
       1459 
1459 
     | 
    
         
             
            </div>
         
     | 
| 
       1460 
1460 
     | 
    
         
             
            <div class="section" id="less-than-operator">
         
     | 
| 
       1461 
1461 
     | 
    
         
             
            <h4>7.11.2.6.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
         @@ -1479,7 +1479,7 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p> 
     | 
|
| 
       1479 
1479 
     | 
    
         
             
            <h2>7.11.2.7. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       1480 
1480 
     | 
    
         
             
            <div class="section" id="addition-assignment-operator">
         
     | 
| 
       1481 
1481 
     | 
    
         
             
            <h3>7.11.2.7.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1482 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1482 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">+=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1483 
1483 
     | 
    
         
             
            <p>The operator performs addition assginment operation on column1 by column2.</p>
         
     | 
| 
       1484 
1484 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1485 
1485 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score += n_likes'
         
     | 
| 
         @@ -1538,15 +1538,15 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p> 
     | 
|
| 
       1538 
1538 
     | 
    
         
             
            # ]
         
     | 
| 
       1539 
1539 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1540 
1540 
     | 
    
         
             
            </div>
         
     | 
| 
       1541 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1541 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1542 
1542 
     | 
    
         
             
            then performs addition assignment operation such as '_score = _score + n_likes' for each records.</p>
         
     | 
| 
       1543 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1543 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1544 
1544 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1545 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1545 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1546 
1546 
     | 
    
         
             
            </div>
         
     | 
| 
       1547 
1547 
     | 
    
         
             
            <div class="section" id="subtraction-assignment-operator">
         
     | 
| 
       1548 
1548 
     | 
    
         
             
            <h3>7.11.2.7.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1549 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1549 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">-=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1550 
1550 
     | 
    
         
             
            <p>The operator performs subtraction assginment operation on column1 by column2.</p>
         
     | 
| 
       1551 
1551 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1552 
1552 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score -= n_likes'
         
     | 
| 
         @@ -1605,15 +1605,15 @@ is 3.</p> 
     | 
|
| 
       1605 
1605 
     | 
    
         
             
            # ]
         
     | 
| 
       1606 
1606 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1607 
1607 
     | 
    
         
             
            </div>
         
     | 
| 
       1608 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1608 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1609 
1609 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.</p>
         
     | 
| 
       1610 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1610 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1611 
1611 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1612 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1612 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">-</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1613 
1613 
     | 
    
         
             
            </div>
         
     | 
| 
       1614 
1614 
     | 
    
         
             
            <div class="section" id="multiplication-assignment-operator">
         
     | 
| 
       1615 
1615 
     | 
    
         
             
            <h3>7.11.2.7.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1616 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1616 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">*=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1617 
1617 
     | 
    
         
             
            <p>The operator performs multiplication assginment operation on column1 by column2.</p>
         
     | 
| 
       1618 
1618 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1619 
1619 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score *= n_likes'
         
     | 
| 
         @@ -1672,15 +1672,15 @@ is 3.</p> 
     | 
|
| 
       1672 
1672 
     | 
    
         
             
            # ]
         
     | 
| 
       1673 
1673 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1674 
1674 
     | 
    
         
             
            </div>
         
     | 
| 
       1675 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1675 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1676 
1676 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.</p>
         
     | 
| 
       1677 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1677 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1678 
1678 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1679 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1679 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">*</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1680 
1680 
     | 
    
         
             
            </div>
         
     | 
| 
       1681 
1681 
     | 
    
         
             
            <div class="section" id="division-assignment-operator">
         
     | 
| 
       1682 
1682 
     | 
    
         
             
            <h3>7.11.2.7.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1683 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1683 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">/=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1684 
1684 
     | 
    
         
             
            <p>The operator performs division assginment operation on column1 by column2.</p>
         
     | 
| 
       1685 
1685 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1686 
1686 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score /= n_likes'
         
     | 
| 
         @@ -1739,15 +1739,15 @@ is 3.</p> 
     | 
|
| 
       1739 
1739 
     | 
    
         
             
            # ]
         
     | 
| 
       1740 
1740 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1741 
1741 
     | 
    
         
             
            </div>
         
     | 
| 
       1742 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1742 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1743 
1743 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.</p>
         
     | 
| 
       1744 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1744 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1745 
1745 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1746 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1746 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1747 
1747 
     | 
    
         
             
            </div>
         
     | 
| 
       1748 
1748 
     | 
    
         
             
            <div class="section" id="modulo-assignment-operator">
         
     | 
| 
       1749 
1749 
     | 
    
         
             
            <h3>7.11.2.7.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1750 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1750 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">%=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1751 
1751 
     | 
    
         
             
            <p>The operator performs modulo assginment operation on column1 by column2.</p>
         
     | 
| 
       1752 
1752 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1753 
1753 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score %= n_likes'
         
     | 
| 
         @@ -1806,15 +1806,15 @@ is 3.</p> 
     | 
|
| 
       1806 
1806 
     | 
    
         
             
            # ]
         
     | 
| 
       1807 
1807 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1808 
1808 
     | 
    
         
             
            </div>
         
     | 
| 
       1809 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1809 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1810 
1810 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.</p>
         
     | 
| 
       1811 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1811 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1812 
1812 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1813 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1813 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">%</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1814 
1814 
     | 
    
         
             
            </div>
         
     | 
| 
       1815 
1815 
     | 
    
         
             
            <div class="section" id="bitwise-left-shift-assignment-operator">
         
     | 
| 
       1816 
1816 
     | 
    
         
             
            <h3>7.11.2.7.6. Bitwise left shift assignment operator<a class="headerlink" href="#bitwise-left-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1817 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1817 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre"><<=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1818 
1818 
     | 
    
         
             
            <p>The operator performs left shift assginment operation on column1 by column2.</p>
         
     | 
| 
       1819 
1819 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1820 
1820 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score <<= n_likes'
         
     | 
| 
         @@ -1873,25 +1873,25 @@ is 3.</p> 
     | 
|
| 
       1873 
1873 
     | 
    
         
             
            # ]
         
     | 
| 
       1874 
1874 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1875 
1875 
     | 
    
         
             
            </div>
         
     | 
| 
       1876 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1876 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1877 
1877 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score << n_likes' for each records.</p>
         
     | 
| 
       1878 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1878 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1879 
1879 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       1880 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1880 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre"><<</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1881 
1881 
     | 
    
         
             
            </div>
         
     | 
| 
       1882 
1882 
     | 
    
         
             
            <div class="section" id="bitwise-signed-right-shift-assignment-operator">
         
     | 
| 
       1883 
1883 
     | 
    
         
             
            <h3>7.11.2.7.7. Bitwise signed right shift assignment operator<a class="headerlink" href="#bitwise-signed-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1884 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1884 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column2</span> <span class="pre">>>=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1885 
1885 
     | 
    
         
             
            <p>The operator performs signed right shift assginment operation on column1 by column2.</p>
         
     | 
| 
       1886 
1886 
     | 
    
         
             
            </div>
         
     | 
| 
       1887 
1887 
     | 
    
         
             
            <div class="section" id="bitwise-unsigned-right-shift-assignment-operator">
         
     | 
| 
       1888 
1888 
     | 
    
         
             
            <h3>7.11.2.7.8. Bitwise unsigned right shift assignment operator<a class="headerlink" href="#bitwise-unsigned-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1889 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1889 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">>>>=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1890 
1890 
     | 
    
         
             
            <p>The operator performs unsigned right shift assginment operation on column1 by column2.</p>
         
     | 
| 
       1891 
1891 
     | 
    
         
             
            </div>
         
     | 
| 
       1892 
1892 
     | 
    
         
             
            <div class="section" id="bitwise-and-assignment-operator">
         
     | 
| 
       1893 
1893 
     | 
    
         
             
            <h3>7.11.2.7.9. Bitwise AND assignment operator<a class="headerlink" href="#bitwise-and-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1894 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1894 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">&=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1895 
1895 
     | 
    
         
             
            <p>The operator performs bitwise AND assignment operation on column1 by column2.</p>
         
     | 
| 
       1896 
1896 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1897 
1897 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score &= n_likes'
         
     | 
| 
         @@ -1950,15 +1950,15 @@ is 3.</p> 
     | 
|
| 
       1950 
1950 
     | 
    
         
             
            # ]
         
     | 
| 
       1951 
1951 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       1952 
1952 
     | 
    
         
             
            </div>
         
     | 
| 
       1953 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 1953 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       1954 
1954 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score & n_likes' for each records.</p>
         
     | 
| 
       1955 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 1955 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Groonga" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       1956 
1956 
     | 
    
         
             
            is 10.</p>
         
     | 
| 
       1957 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 1957 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">&</span> <span class="pre">10</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       1958 
1958 
     | 
    
         
             
            </div>
         
     | 
| 
       1959 
1959 
     | 
    
         
             
            <div class="section" id="bitwise-or-assignment-operator">
         
     | 
| 
       1960 
1960 
     | 
    
         
             
            <h3>7.11.2.7.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1961 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 1961 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       1962 
1962 
     | 
    
         
             
            <p>The operator performs bitwise OR assignment operation on column1 by column2.</p>
         
     | 
| 
       1963 
1963 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       1964 
1964 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score |= n_likes'
         
     | 
| 
         @@ -2017,15 +2017,15 @@ is 10.</p> 
     | 
|
| 
       2017 
2017 
     | 
    
         
             
            # ]
         
     | 
| 
       2018 
2018 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2019 
2019 
     | 
    
         
             
            </div>
         
     | 
| 
       2020 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 2020 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       2021 
2021 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.</p>
         
     | 
| 
       2022 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 2022 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Groonga" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       2023 
2023 
     | 
    
         
             
            is 10.</p>
         
     | 
| 
       2024 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 2024 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">10</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       2025 
2025 
     | 
    
         
             
            </div>
         
     | 
| 
       2026 
2026 
     | 
    
         
             
            <div class="section" id="bitwise-xor-assignment-operator">
         
     | 
| 
       2027 
2027 
     | 
    
         
             
            <h3>7.11.2.7.11. Bitwise XOR assignment operator<a class="headerlink" href="#bitwise-xor-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2028 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
      
 2028 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">^=</span> <span class="pre">column2</span></code>.</p>
         
     | 
| 
       2029 
2029 
     | 
    
         
             
            <p>The operator performs bitwise XOR assginment operation on column1 by column2.</p>
         
     | 
| 
       2030 
2030 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       2031 
2031 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score ^= n_likes'
         
     | 
| 
         @@ -2084,22 +2084,22 @@ is 10.</p> 
     | 
|
| 
       2084 
2084 
     | 
    
         
             
            # ]
         
     | 
| 
       2085 
2085 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2086 
2086 
     | 
    
         
             
            </div>
         
     | 
| 
       2087 
     | 
    
         
            -
            <p>The value of < 
     | 
| 
      
 2087 
     | 
    
         
            +
            <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
         
     | 
| 
       2088 
2088 
     | 
    
         
             
            then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.</p>
         
     | 
| 
       2089 
     | 
    
         
            -
            <p>For example, the value of < 
     | 
| 
      
 2089 
     | 
    
         
            +
            <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores "Good-bye Senna" as the <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       2090 
2090 
     | 
    
         
             
            is 3.</p>
         
     | 
| 
       2091 
     | 
    
         
            -
            <p>So the expression < 
     | 
| 
      
 2091 
     | 
    
         
            +
            <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">^</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
         
     | 
| 
       2092 
2092 
     | 
    
         
             
            </div>
         
     | 
| 
       2093 
2093 
     | 
    
         
             
            </div>
         
     | 
| 
       2094 
2094 
     | 
    
         
             
            <div class="section" id="original-operators">
         
     | 
| 
       2095 
2095 
     | 
    
         
             
            <h2>7.11.2.8. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       2096 
2096 
     | 
    
         
             
            <p>Script syntax adds the original binary opearators to ECMAScript
         
     | 
| 
       2097 
2097 
     | 
    
         
             
            syntax. They operate search specific operations. They are starts with
         
     | 
| 
       2098 
     | 
    
         
            -
            < 
     | 
| 
      
 2098 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">@</span></code> or <code class="docutils literal"><span class="pre">*</span></code>.</p>
         
     | 
| 
       2099 
2099 
     | 
    
         
             
            <div class="section" id="match-operator">
         
     | 
| 
       2100 
2100 
     | 
    
         
             
            <span id="match-oeprator"></span><h3>7.11.2.8.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2101 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2102 
     | 
    
         
            -
            <p>The operator searches < 
     | 
| 
      
 2101 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">@</span> <span class="pre">value</span></code>.</p>
         
     | 
| 
      
 2102 
     | 
    
         
            +
            <p>The operator searches <code class="docutils literal"><span class="pre">value</span></code> by inverted index of <code class="docutils literal"><span class="pre">column</span></code>.
         
     | 
| 
       2103 
2103 
     | 
    
         
             
            Normally, full text search is operated but tag search can be operated.
         
     | 
| 
       2104 
2104 
     | 
    
         
             
            Because tag search is also implemented by inverted index.</p>
         
     | 
| 
       2105 
2105 
     | 
    
         
             
            <p><a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> uses this operator by default.</p>
         
     | 
| 
         @@ -2134,20 +2134,20 @@ Because tag search is also implemented by inverted index.</p> 
     | 
|
| 
       2134 
2134 
     | 
    
         
             
            # ]
         
     | 
| 
       2135 
2135 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2136 
2136 
     | 
    
         
             
            </div>
         
     | 
| 
       2137 
     | 
    
         
            -
            <p>The expression matches records that contain a word < 
     | 
| 
       2138 
     | 
    
         
            -
            < 
     | 
| 
      
 2137 
     | 
    
         
            +
            <p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
         
     | 
| 
      
 2138 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">content</span></code> column value.</p>
         
     | 
| 
       2139 
2139 
     | 
    
         
             
            </div>
         
     | 
| 
       2140 
2140 
     | 
    
         
             
            <div class="section" id="prefix-search-operator">
         
     | 
| 
       2141 
2141 
     | 
    
         
             
            <span id="id1"></span><h3>7.11.2.8.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2142 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2143 
     | 
    
         
            -
            <p>The operator does prefix search with < 
     | 
| 
       2144 
     | 
    
         
            -
            records that contain a word that starts with < 
     | 
| 
      
 2142 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">@^</span> <span class="pre">value</span></code>.</p>
         
     | 
| 
      
 2143 
     | 
    
         
            +
            <p>The operator does prefix search with <code class="docutils literal"><span class="pre">value</span></code>. Prefix search searches
         
     | 
| 
      
 2144 
     | 
    
         
            +
            records that contain a word that starts with <code class="docutils literal"><span class="pre">value</span></code>.</p>
         
     | 
| 
       2145 
2145 
     | 
    
         
             
            <p>You can use fast prefix search against a column. The column must be
         
     | 
| 
       2146 
2146 
     | 
    
         
             
            indexed and index table must be patricia trie table
         
     | 
| 
       2147 
     | 
    
         
            -
            (< 
     | 
| 
       2148 
     | 
    
         
            -
            (< 
     | 
| 
       2149 
     | 
    
         
            -
            < 
     | 
| 
       2150 
     | 
    
         
            -
            table. You don't need to index < 
     | 
| 
      
 2147 
     | 
    
         
            +
            (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
         
     | 
| 
      
 2148 
     | 
    
         
            +
            (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
         
     | 
| 
      
 2149 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
         
     | 
| 
      
 2150 
     | 
    
         
            +
            table. You don't need to index <code class="docutils literal"><span class="pre">_key</span></code>.</p>
         
     | 
| 
       2151 
2151 
     | 
    
         
             
            <p>Prefix search can be used with other table types but it causes all
         
     | 
| 
       2152 
2152 
     | 
    
         
             
            records scan. It's not problem for small records but it spends more
         
     | 
| 
       2153 
2153 
     | 
    
         
             
            time for large records.</p>
         
     | 
| 
         @@ -2183,21 +2183,21 @@ time for large records.</p> 
     | 
|
| 
       2183 
2183 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2184 
2184 
     | 
    
         
             
            </div>
         
     | 
| 
       2185 
2185 
     | 
    
         
             
            <p>The expression matches records that contain a word that starts with
         
     | 
| 
       2186 
     | 
    
         
            -
            < 
     | 
| 
       2187 
     | 
    
         
            -
            < 
     | 
| 
      
 2186 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Goo</span></code> in <code class="docutils literal"><span class="pre">_key</span></code> pseudo column value. <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></code> and
         
     | 
| 
      
 2187 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
         
     | 
| 
       2188 
2188 
     | 
    
         
             
            </div>
         
     | 
| 
       2189 
2189 
     | 
    
         
             
            <div class="section" id="suffix-search-operator">
         
     | 
| 
       2190 
2190 
     | 
    
         
             
            <span id="id2"></span><h3>7.11.2.8.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2191 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2192 
     | 
    
         
            -
            <p>This operator does suffix search with < 
     | 
| 
       2193 
     | 
    
         
            -
            searches records that contain a word that ends with < 
     | 
| 
      
 2191 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">@$</span> <span class="pre">value</span></code>.</p>
         
     | 
| 
      
 2192 
     | 
    
         
            +
            <p>This operator does suffix search with <code class="docutils literal"><span class="pre">value</span></code>. Suffix search
         
     | 
| 
      
 2193 
     | 
    
         
            +
            searches records that contain a word that ends with <code class="docutils literal"><span class="pre">value</span></code>.</p>
         
     | 
| 
       2194 
2194 
     | 
    
         
             
            <p>You can use fast suffix search against a column. The column must be
         
     | 
| 
       2195 
2195 
     | 
    
         
             
            indexed and index table must be patricia trie table
         
     | 
| 
       2196 
     | 
    
         
            -
            (< 
     | 
| 
       2197 
     | 
    
         
            -
            suffix search against < 
     | 
| 
       2198 
     | 
    
         
            -
            (< 
     | 
| 
       2199 
     | 
    
         
            -
            index < 
     | 
| 
       2200 
     | 
    
         
            -
            suffix search instead of < 
     | 
| 
      
 2196 
     | 
    
         
            +
            (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You can also use fast
         
     | 
| 
      
 2197 
     | 
    
         
            +
            suffix search against <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table
         
     | 
| 
      
 2198 
     | 
    
         
            +
            (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You don't need to
         
     | 
| 
      
 2199 
     | 
    
         
            +
            index <code class="docutils literal"><span class="pre">_key</span></code>. We recommended that you use index column based fast
         
     | 
| 
      
 2200 
     | 
    
         
            +
            suffix search instead of <code class="docutils literal"><span class="pre">_key</span></code> based fast suffix search. <code class="docutils literal"><span class="pre">_key</span></code>
         
     | 
| 
       2201 
2201 
     | 
    
         
             
            based fast suffix search returns automatically registered
         
     | 
| 
       2202 
2202 
     | 
    
         
             
            substrings. (TODO: write document about suffix search and link to it
         
     | 
| 
       2203 
2203 
     | 
    
         
             
            from here.)</p>
         
     | 
| 
         @@ -2208,7 +2208,7 @@ as hiragana in Japanese. You cannot use fast suffix search for 
     | 
|
| 
       2208 
2208 
     | 
    
         
             
            ASCII character.</p>
         
     | 
| 
       2209 
2209 
     | 
    
         
             
            </div>
         
     | 
| 
       2210 
2210 
     | 
    
         
             
            <p>Suffix search can be used with other table types or patricia trie
         
     | 
| 
       2211 
     | 
    
         
            -
            table without < 
     | 
| 
      
 2211 
     | 
    
         
            +
            table without <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
         
     | 
| 
       2212 
2212 
     | 
    
         
             
            scan. It's not problem for small records but it spends more time for
         
     | 
| 
       2213 
2213 
     | 
    
         
             
            large records.</p>
         
     | 
| 
       2214 
2214 
     | 
    
         
             
            <p>Here is a simple exmaple. It uses fast suffix search for hiragana in
         
     | 
| 
         @@ -2265,25 +2265,25 @@ select Titles --query 'content:$んが' 
     | 
|
| 
       2265 
2265 
     | 
    
         
             
            # ]
         
     | 
| 
       2266 
2266 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2267 
2267 
     | 
    
         
             
            </div>
         
     | 
| 
       2268 
     | 
    
         
            -
            <p>The expression matches records that have value that ends with < 
     | 
| 
       2269 
     | 
    
         
            -
            in < 
     | 
| 
      
 2268 
     | 
    
         
            +
            <p>The expression matches records that have value that ends with <code class="docutils literal"><span class="pre">んが</span></code>
         
     | 
| 
      
 2269 
     | 
    
         
            +
            in <code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">ぐるんが</span></code> and <code class="docutils literal"><span class="pre">むるんが</span></code> are matched
         
     | 
| 
       2270 
2270 
     | 
    
         
             
            with the expression.</p>
         
     | 
| 
       2271 
2271 
     | 
    
         
             
            </div>
         
     | 
| 
       2272 
2272 
     | 
    
         
             
            <div class="section" id="near-search-operator">
         
     | 
| 
       2273 
2273 
     | 
    
         
             
            <span id="id3"></span><h3>7.11.2.8.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2274 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2275 
     | 
    
         
            -
            <p>The operator does near search with words < 
     | 
| 
      
 2274 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">*N</span> <span class="pre">"word1</span> <span class="pre">word2</span> <span class="pre">..."</span></code>.</p>
         
     | 
| 
      
 2275 
     | 
    
         
            +
            <p>The operator does near search with words <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span> <span class="pre">...</span></code>. Near
         
     | 
| 
       2276 
2276 
     | 
    
         
             
            search searches records that contain the words and the words are
         
     | 
| 
       2277 
     | 
    
         
            -
            appeared in the near distance. Near distance is always < 
     | 
| 
      
 2277 
     | 
    
         
            +
            appeared in the near distance. Near distance is always <code class="docutils literal"><span class="pre">10</span></code> for
         
     | 
| 
       2278 
2278 
     | 
    
         
             
            now. The unit of near distance is the number of characters in N-gram
         
     | 
| 
       2279 
2279 
     | 
    
         
             
            family tokenizers and the number of words in morphological analysis
         
     | 
| 
       2280 
2280 
     | 
    
         
             
            family tokenizers.</p>
         
     | 
| 
       2281 
     | 
    
         
            -
            <p>(TODO: Add a description about < 
     | 
| 
      
 2281 
     | 
    
         
            +
            <p>(TODO: Add a description about <code class="docutils literal"><span class="pre">TokenBigram</span></code> doesn't split ASCII
         
     | 
| 
       2282 
2282 
     | 
    
         
             
            only word into tokens. So the unit for ASCII words with
         
     | 
| 
       2283 
     | 
    
         
            -
            < 
     | 
| 
      
 2283 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">TokenBigram</span></code> is the number of words even if <code class="docutils literal"><span class="pre">TokenBigram</span></code> is a
         
     | 
| 
       2284 
2284 
     | 
    
         
             
            N-gram family tokenizer.)</p>
         
     | 
| 
       2285 
2285 
     | 
    
         
             
            <p>Note that an index column for full text search must be defined for
         
     | 
| 
       2286 
     | 
    
         
            -
            < 
     | 
| 
      
 2286 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">column</span></code>.</p>
         
     | 
| 
       2287 
2287 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
       2288 
2288 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       2289 
2289 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *N "I fast"'      --output_columns content
         
     | 
| 
         @@ -2338,30 +2338,30 @@ select Entries --filter 'content *N "also Really"' --output_co 
     | 
|
| 
       2338 
2338 
     | 
    
         
             
            # ]
         
     | 
| 
       2339 
2339 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2340 
2340 
     | 
    
         
             
            </div>
         
     | 
| 
       2341 
     | 
    
         
            -
            <p>The first expression matches records that contain < 
     | 
| 
      
 2341 
     | 
    
         
            +
            <p>The first expression matches records that contain <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">fast</span></code>
         
     | 
| 
       2342 
2342 
     | 
    
         
             
            and the near distance of those words are in 10 words. So the record
         
     | 
| 
       2343 
     | 
    
         
            -
            that its content is < 
     | 
| 
       2344 
     | 
    
         
            -
            <span class="pre">fast!</span> <span class="pre">...</span></ 
     | 
| 
      
 2343 
     | 
    
         
            +
            that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span> <span class="pre">also</span> <span class="pre">very</span>
         
     | 
| 
      
 2344 
     | 
    
         
            +
            <span class="pre">fast!</span> <span class="pre">...</span></code> is matched. The number of words between <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">fast</span></code>
         
     | 
| 
       2345 
2345 
     | 
    
         
             
            is just 10.</p>
         
     | 
| 
       2346 
     | 
    
         
            -
            <p>The second expression matches records that contain < 
     | 
| 
       2347 
     | 
    
         
            -
            < 
     | 
| 
       2348 
     | 
    
         
            -
            the record that its content is < 
     | 
| 
       2349 
     | 
    
         
            -
            <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></ 
     | 
| 
       2350 
     | 
    
         
            -
            < 
     | 
| 
       2351 
     | 
    
         
            -
            <p>The third expression matches records that contain < 
     | 
| 
       2352 
     | 
    
         
            -
            < 
     | 
| 
       2353 
     | 
    
         
            -
            the record that its content is < 
     | 
| 
       2354 
     | 
    
         
            -
            <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></ 
     | 
| 
       2355 
     | 
    
         
            -
            < 
     | 
| 
      
 2346 
     | 
    
         
            +
            <p>The second expression matches records that contain <code class="docutils literal"><span class="pre">I</span></code> and
         
     | 
| 
      
 2347 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
         
     | 
| 
      
 2348 
     | 
    
         
            +
            the record that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
         
     | 
| 
      
 2349 
     | 
    
         
            +
            <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></code> is not matched. The number of words between
         
     | 
| 
      
 2350 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 11.</p>
         
     | 
| 
      
 2351 
     | 
    
         
            +
            <p>The third expression matches records that contain <code class="docutils literal"><span class="pre">also</span></code> and
         
     | 
| 
      
 2352 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
         
     | 
| 
      
 2353 
     | 
    
         
            +
            the record that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">st</span> <span class="pre">arted</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
         
     | 
| 
      
 2354 
     | 
    
         
            +
            <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></code> is matched. The number of words between
         
     | 
| 
      
 2355 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">also</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 10.</p>
         
     | 
| 
       2356 
2356 
     | 
    
         
             
            </div>
         
     | 
| 
       2357 
2357 
     | 
    
         
             
            <div class="section" id="similar-search">
         
     | 
| 
       2358 
2358 
     | 
    
         
             
            <span id="similar-search-operator"></span><h3>7.11.2.8.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2359 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2360 
     | 
    
         
            -
            <p>The operator does similar search with document < 
     | 
| 
      
 2359 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">*S</span> <span class="pre">"document"</span></code>.</p>
         
     | 
| 
      
 2360 
     | 
    
         
            +
            <p>The operator does similar search with document <code class="docutils literal"><span class="pre">document</span></code>. Similar
         
     | 
| 
       2361 
2361 
     | 
    
         
             
            search searches records that have similar content to
         
     | 
| 
       2362 
     | 
    
         
            -
            < 
     | 
| 
      
 2362 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">document</span></code>.</p>
         
     | 
| 
       2363 
2363 
     | 
    
         
             
            <p>Note that an index column for full text search must be defined for
         
     | 
| 
       2364 
     | 
    
         
            -
            < 
     | 
| 
      
 2364 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">column</span></code>.</p>
         
     | 
| 
       2365 
2365 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
       2366 
2366 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       2367 
2367 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *S "I migrated all Solr system!"' --output_columns content
         
     | 
| 
         @@ -2393,18 +2393,18 @@ search searches records that have similar content to 
     | 
|
| 
       2393 
2393 
     | 
    
         
             
            # ]
         
     | 
| 
       2394 
2394 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2395 
2395 
     | 
    
         
             
            </div>
         
     | 
| 
       2396 
     | 
    
         
            -
            <p>The expression matches records that have similar content to < 
     | 
| 
       2397 
     | 
    
         
            -
            <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></ 
     | 
| 
       2398 
     | 
    
         
            -
            <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></ 
     | 
| 
      
 2396 
     | 
    
         
            +
            <p>The expression matches records that have similar content to <code class="docutils literal"><span class="pre">I</span>
         
     | 
| 
      
 2397 
     | 
    
         
            +
            <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></code>. In this case, records that have <code class="docutils literal"><span class="pre">I</span>
         
     | 
| 
      
 2398 
     | 
    
         
            +
            <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></code> content are matched.</p>
         
     | 
| 
       2399 
2399 
     | 
    
         
             
            </div>
         
     | 
| 
       2400 
2400 
     | 
    
         
             
            <div class="section" id="term-extract-operator">
         
     | 
| 
       2401 
2401 
     | 
    
         
             
            <span id="id4"></span><h3>7.11.2.8.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2402 
     | 
    
         
            -
            <p>Its syntax is < 
     | 
| 
       2403 
     | 
    
         
            -
            <p>The operator extracts terms from < 
     | 
| 
       2404 
     | 
    
         
            -
            registered as keys of the table of < 
     | 
| 
       2405 
     | 
    
         
            -
            <p>Note that the table must be patricia trie (< 
     | 
| 
       2406 
     | 
    
         
            -
            double array trie (< 
     | 
| 
       2407 
     | 
    
         
            -
            (< 
     | 
| 
      
 2402 
     | 
    
         
            +
            <p>Its syntax is <code class="docutils literal"><span class="pre">_key</span> <span class="pre">*T</span> <span class="pre">"document"</span></code>.</p>
         
     | 
| 
      
 2403 
     | 
    
         
            +
            <p>The operator extracts terms from <code class="docutils literal"><span class="pre">document</span></code>. Terms must be
         
     | 
| 
      
 2404 
     | 
    
         
            +
            registered as keys of the table of <code class="docutils literal"><span class="pre">_key</span></code>.</p>
         
     | 
| 
      
 2405 
     | 
    
         
            +
            <p>Note that the table must be patricia trie (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or
         
     | 
| 
      
 2406 
     | 
    
         
            +
            double array trie (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can't use hash table
         
     | 
| 
      
 2407 
     | 
    
         
            +
            (<code class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></code>) and array (<code class="docutils literal"><span class="pre">TABLE_NO_KEY</span></code>) because they don't
         
     | 
| 
       2408 
2408 
     | 
    
         
             
            support longest common prefix search. Longest common prefix search is
         
     | 
| 
       2409 
2409 
     | 
    
         
             
            used to implement the operator.</p>
         
     | 
| 
       2410 
2410 
     | 
    
         
             
            <p>Here is a simple exmaple.</p>
         
     | 
| 
         @@ -2448,10 +2448,10 @@ select Words --filter '_key *T "Groonga is the successor project to Sen 
     | 
|
| 
       2448 
2448 
     | 
    
         
             
            # ]
         
     | 
| 
       2449 
2449 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       2450 
2450 
     | 
    
         
             
            </div>
         
     | 
| 
       2451 
     | 
    
         
            -
            <p>The expression extrcts terms that included in document < 
     | 
| 
       2452 
     | 
    
         
            -
            <span class="pre">the</span> <span class="pre">successor</span> <span class="pre">project</span> <span class="pre">to</span> <span class="pre">Senna.</span></ 
     | 
| 
       2453 
     | 
    
         
            -
            flag is specified to < 
     | 
| 
       2454 
     | 
    
         
            -
            if it is loaded as < 
     | 
| 
      
 2451 
     | 
    
         
            +
            <p>The expression extrcts terms that included in document <code class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
         
     | 
| 
      
 2452 
     | 
    
         
            +
            <span class="pre">the</span> <span class="pre">successor</span> <span class="pre">project</span> <span class="pre">to</span> <span class="pre">Senna.</span></code>. In this case, <code class="docutils literal"><span class="pre">KEY_NORMALIZE</span></code>
         
     | 
| 
      
 2453 
     | 
    
         
            +
            flag is specified to <code class="docutils literal"><span class="pre">Words</span></code>. So <code class="docutils literal"><span class="pre">Groonga</span></code> can be extracted even
         
     | 
| 
      
 2454 
     | 
    
         
            +
            if it is loaded as <code class="docutils literal"><span class="pre">groonga</span></code> into <code class="docutils literal"><span class="pre">Words</span></code>. All of extracted terms
         
     | 
| 
       2455 
2455 
     | 
    
         
             
            are also normalized.</p>
         
     | 
| 
       2456 
2456 
     | 
    
         
             
            </div>
         
     | 
| 
       2457 
2457 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -2461,7 +2461,7 @@ are also normalized.</p> 
     | 
|
| 
       2461 
2461 
     | 
    
         
             
                      </div>
         
     | 
| 
       2462 
2462 
     | 
    
         
             
                    </div>
         
     | 
| 
       2463 
2463 
     | 
    
         
             
                  </div>
         
     | 
| 
       2464 
     | 
    
         
            -
                  <div class="sphinxsidebar">
         
     | 
| 
      
 2464 
     | 
    
         
            +
                  <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         
     | 
| 
       2465 
2465 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       2466 
2466 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       2467 
2467 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -2554,12 +2554,14 @@ are also normalized.</p> 
     | 
|
| 
       2554 
2554 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       2555 
2555 
     | 
    
         
             
              <p class="topless"><a href="../function.html"
         
     | 
| 
       2556 
2556 
     | 
    
         
             
                                    title="next chapter">7.12. Function</a></p>
         
     | 
| 
       2557 
     | 
    
         
            -
              < 
     | 
| 
       2558 
     | 
    
         
            -
             
     | 
| 
       2559 
     | 
    
         
            -
                < 
     | 
| 
       2560 
     | 
    
         
            -
             
     | 
| 
       2561 
     | 
    
         
            -
             
     | 
| 
       2562 
     | 
    
         
            -
             
     | 
| 
      
 2557 
     | 
    
         
            +
              <div role="note" aria-label="source link">
         
     | 
| 
      
 2558 
     | 
    
         
            +
                <h3>This Page</h3>
         
     | 
| 
      
 2559 
     | 
    
         
            +
                <ul class="this-page-menu">
         
     | 
| 
      
 2560 
     | 
    
         
            +
                  <li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
         
     | 
| 
      
 2561 
     | 
    
         
            +
                        rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 2562 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 2563 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 2564 
     | 
    
         
            +
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
       2563 
2565 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       2564 
2566 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       2565 
2567 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -2576,7 +2578,7 @@ are also normalized.</p> 
     | 
|
| 
       2576 
2578 
     | 
    
         
             
                  </div>
         
     | 
| 
       2577 
2579 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       2578 
2580 
     | 
    
         
             
                </div>
         
     | 
| 
       2579 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 2581 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       2580 
2582 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       2581 
2583 
     | 
    
         
             
                  <ul>
         
     | 
| 
       2582 
2584 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -2588,12 +2590,12 @@ are also normalized.</p> 
     | 
|
| 
       2588 
2590 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       2589 
2591 
     | 
    
         
             
                      <a href="query_syntax.html" title="7.11.1. Query syntax"
         
     | 
| 
       2590 
2592 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       2591 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0. 
     | 
| 
      
 2593 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
       2592 
2594 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       2593 
2595 
     | 
    
         
             
                      <li><a href="../grn_expr.html" >7.11. grn_expr</a> »</li> 
         
     | 
| 
       2594 
2596 
     | 
    
         
             
                  </ul>
         
     | 
| 
       2595 
2597 
     | 
    
         
             
                </div>
         
     | 
| 
       2596 
     | 
    
         
            -
                <div class="footer">
         
     | 
| 
      
 2598 
     | 
    
         
            +
                <div class="footer" role="contentinfo">
         
     | 
| 
       2597 
2599 
     | 
    
         
             
                    © Copyright 2009-2014, Brazil, Inc.
         
     | 
| 
       2598 
2600 
     | 
    
         
             
                </div>
         
     | 
| 
       2599 
2601 
     | 
    
         
             
              </body>
         
     |